Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsoumith <soumith@fb.com>2016-03-01 02:28:19 +0300
committersoumith <soumith@fb.com>2016-03-01 02:28:19 +0300
commita2292b341314242137d92e91f39c173824252ec8 (patch)
tree0b4289b996e9c1406b107f39a4d292330150aa6a /init.lua
parent3bcf29546aaffa6ba702b0edbec8b6e85beaa0a5 (diff)
removing useless init.c
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 158bc97..96cbb53 100644
--- a/init.lua
+++ b/init.lua
@@ -1,5 +1,7 @@
require('torch')
-require('libnn')
+
+nn = {} -- define the global nn table
+
require('nn.THNN')
require('nn.utils')