aboutsummaryrefslogtreecommitdiff
path: root/nerv.lua
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-26 12:47:22 +0800
committerDeterminant <[email protected]>2015-05-26 12:47:22 +0800
commit8c5246a8794011ca0c25f15643771f031d258594 (patch)
tree42a4f9d87c99ed35d0c6c1eb768f007387c7d851 /nerv.lua
parent81c115e09f9449ae61c7352edd77c68e9029f2dc (diff)
correct the oop_example
Diffstat (limited to 'nerv.lua')
-rw-r--r--nerv.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/nerv.lua b/nerv.lua
index d7f7e91..0b8943e 100644
--- a/nerv.lua
+++ b/nerv.lua
@@ -1,6 +1,4 @@
require 'libnerv'
-require 'matrix.init'
-require 'io.init'
nerv.utils = require 'pl.utils'
function nerv.error(fmt, ...)
@@ -72,3 +70,7 @@ function table.tostring(tbl)
end
return "{" .. table.concat(result, ",") .. "}"
end
+
+require 'matrix.init'
+require 'io.init'
+require 'layer.init'