1
0
Fork 0
mirror of synced 2024-04-25 08:42:00 +12:00

Add license of RandomBinaryConvolution.lua

This commit is contained in:
nagadomi 2018-12-15 14:38:56 +09:00
parent 8c13150916
commit 128222332b
3 changed files with 24 additions and 3 deletions

2
NOTICE
View file

@ -1,4 +1,4 @@
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/).
lib/sRGB2014.lua: sRGB2014.icc from http://www.color.org/srgbprofiles.xalter
lib/RandomBinaryConvolution.lua: from from https://github.com/juefeix/lbcnn.torch

View file

@ -1,5 +1,3 @@
-- EdgeFilter.lua
-- from https://github.com/juefeix/lbcnn.torch
require 'cunn'
local EdgeFilter, parent = torch.class('w2nn.EdgeFilter', 'nn.SpatialConvolution')

View file

@ -1,5 +1,28 @@
-- RandomBinaryConvolution.lua
-- 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 RandomBinaryConvolution, parent = torch.class('w2nn.RandomBinaryConvolution', 'nn.SpatialConvolution')