Skip to content

Commit

Permalink
Add license of RandomBinaryConvolution.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
nagadomi committed Dec 15, 2018
1 parent 8c13150 commit 1282223
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions lib/EdgeFilter.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- EdgeFilter.lua
-- from https://github.com/juefeix/lbcnn.torch
require 'cunn'
local EdgeFilter, parent = torch.class('w2nn.EdgeFilter', 'nn.SpatialConvolution')

Expand Down
23 changes: 23 additions & 0 deletions lib/RandomBinaryConvolution.lua
Original file line number Diff line number Diff line change
@@ -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')
Expand Down

0 comments on commit 1282223

Please sign in to comment.