aboutsummaryrefslogtreecommitdiff
path: root/nerv/nn/param_repo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nerv/nn/param_repo.lua')
-rw-r--r--nerv/nn/param_repo.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/nerv/nn/param_repo.lua b/nerv/nn/param_repo.lua
index aba7765..1e7a366 100644
--- a/nerv/nn/param_repo.lua
+++ b/nerv/nn/param_repo.lua
@@ -65,7 +65,7 @@ function ParamRepo.merge(repos, loc_type)
return self
end
-function ParamRepo:import(param_files, pids, gconf)
+function ParamRepo:import(param_files, gconf, pids)
if type(param_files) ~= "table" then
nerv.error("param file table is need")
end
@@ -109,7 +109,7 @@ function ParamRepo:get_param(pid)
return p
end
-function ParamRepo:copy(loc_type, pids)
+function ParamRepo:copy(loc_type, gconf, pids)
local copier
local target = nerv.ParamRepo(nil, loc_type)
if loc_type == nil then