X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dagnn.git;a=blobdiff_plain;f=dagnn.lua;h=158ef785d446fb22f6226248c6a07c83cf47b6c3;hp=0f93d95f63a87b320d9e6d261a89c9798b4d9b55;hb=e6516772e13dd5424f0a1b7e2063a7417614844c;hpb=d0743d66135ed7cedcb3777cfa5dda883cbeadb3 diff --git a/dagnn.lua b/dagnn.lua index 0f93d95..158ef78 100755 --- a/dagnn.lua +++ b/dagnn.lua @@ -1,4 +1,23 @@ +--[[ + + Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/ + Written by Francois Fleuret + + This file is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License version 3 as + published by the Free Software Foundation. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public + License for more details. + + You should have received a copy of the GNU General Public License + along with this file. If not, see . + +]]-- + require 'torch' require 'nn' @@ -235,5 +254,3 @@ function DAG:accGradParameters(input, gradOutput, scale) nnm:accGradParameters(node.input, self:computeGradInput(node.gradInputSucc), scale) end end - -return DAG