diff options
author | Determinant <[email protected]> | 2015-06-02 20:28:16 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-06-02 20:28:16 +0800 |
commit | 74d9e9e7371c80394698fb9805cbf0cbde67a8f3 (patch) | |
tree | 36b070f1fcfa2be8fc80c50b7a221862a0dfd14a /nerv.lua | |
parent | 60083f2e51935ce55cec7a4c39d1724a16d9c769 (diff) |
add ParamRepo, LayerRepo, DAGLayer
Diffstat (limited to 'nerv.lua')
-rw-r--r-- | nerv.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -71,6 +71,11 @@ function table.tostring(tbl) return "{" .. table.concat(result, ",") .. "}" end +function nerv.get_type(typename) + return assert(loadstring("return " .. typename))() +end + require 'matrix.init' require 'io.init' require 'layer.init' +require 'nn.init' |