aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortxh18 <[email protected]>2015-12-20 22:07:02 +0800
committertxh18 <[email protected]>2015-12-20 22:07:02 +0800
commit2be64c382aa8d2fedd6aaf69dff212e7afef22b5 (patch)
tree917ac9edec45d9c2356c349ff8be53d6bacd2f01
parent60ddaa4807978af9277edd0ad6758e1006d25223 (diff)
added find_param method for layersT
-rw-r--r--nerv/tnn/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/nerv/tnn/init.lua b/nerv/tnn/init.lua
index 979f5d8..4bbff12 100644
--- a/nerv/tnn/init.lua
+++ b/nerv/tnn/init.lua
@@ -33,6 +33,8 @@ function LayerT:check_dim_len(len_in, len_out)
end
end
+layerT.find_param = nerv.layer.find_param
+
function LayerT:get_params()
nerv.error_method_not_implemented()
end