Add license of RandomBinaryConvolution.lua
This commit is contained in:
parent
8c13150916
commit
128222332b
2
NOTICE
2
NOTICE
|
@ -1,4 +1,4 @@
|
||||||
images/miku_*: CC BY-NC by piapro (http://piapro.net/en_for_creators.html)
|
images/miku_*: CC BY-NC by piapro (http://piapro.net/en_for_creators.html)
|
||||||
webgen/assets/bg.png: Generated by chibichara maker (http://tetrabo.com/chibichara/).
|
webgen/assets/bg.png: Generated by chibichara maker (http://tetrabo.com/chibichara/).
|
||||||
lib/sRGB2014.lua: sRGB2014.icc from http://www.color.org/srgbprofiles.xalter
|
lib/sRGB2014.lua: sRGB2014.icc from http://www.color.org/srgbprofiles.xalter
|
||||||
|
lib/RandomBinaryConvolution.lua: from from https://github.com/juefeix/lbcnn.torch
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
-- EdgeFilter.lua
|
|
||||||
-- from https://github.com/juefeix/lbcnn.torch
|
|
||||||
require 'cunn'
|
require 'cunn'
|
||||||
local EdgeFilter, parent = torch.class('w2nn.EdgeFilter', 'nn.SpatialConvolution')
|
local EdgeFilter, parent = torch.class('w2nn.EdgeFilter', 'nn.SpatialConvolution')
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,28 @@
|
||||||
-- RandomBinaryConvolution.lua
|
-- RandomBinaryConvolution.lua
|
||||||
-- from https://github.com/juefeix/lbcnn.torch
|
-- from https://github.com/juefeix/lbcnn.torch
|
||||||
|
--[[
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2017 Felix Juefei Xu
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
--]]
|
||||||
|
|
||||||
local THNN = require 'nn.THNN'
|
local THNN = require 'nn.THNN'
|
||||||
local RandomBinaryConvolution, parent = torch.class('w2nn.RandomBinaryConvolution', 'nn.SpatialConvolution')
|
local RandomBinaryConvolution, parent = torch.class('w2nn.RandomBinaryConvolution', 'nn.SpatialConvolution')
|
||||||
|
|
Loading…
Reference in a new issue