aboutsummaryrefslogtreecommitdiff
path: root/nerv.lua
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-25 16:20:50 +0800
committerDeterminant <[email protected]>2015-05-25 16:20:50 +0800
commit7dadb31a364c3dbe30c05c9a9040c48f1d4a9095 (patch)
tree6be00c4735f66e478d41936accaefb857b0f431e /nerv.lua
parentf6c23565901561cfe1d7c3c29266ee60ce1f7bdd (diff)
add comments to nerv.c
Diffstat (limited to 'nerv.lua')
-rw-r--r--nerv.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv.lua b/nerv.lua
index 1c4ba39..d7f7e91 100644
--- a/nerv.lua
+++ b/nerv.lua
@@ -1,7 +1,6 @@
require 'libnerv'
require 'matrix.init'
require 'io.init'
--- nerv.class = require 'pl.class'
nerv.utils = require 'pl.utils'
function nerv.error(fmt, ...)
@@ -12,6 +11,7 @@ function nerv.error_method_not_implement()
nerv.error("method not implemented");
end
+-- Torch C API wrapper
function nerv.class(tname, parenttname)
local function constructor(...)