aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nerv/tnn/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/tnn/init.lua b/nerv/tnn/init.lua
index 4bbff12..b375fa8 100644
--- a/nerv/tnn/init.lua
+++ b/nerv/tnn/init.lua
@@ -33,7 +33,7 @@ function LayerT:check_dim_len(len_in, len_out)
end
end
-layerT.find_param = nerv.layer.find_param
+LayerT.find_param = nerv.Layer.find_param
function LayerT:get_params()
nerv.error_method_not_implemented()