diff options
author | Determinant <[email protected]> | 2016-03-17 13:32:06 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2016-03-17 13:32:06 +0800 |
commit | 49d62c459c27791b08fff318f4b70958fc4e6542 (patch) | |
tree | f4dadb6cb351b76bbc8df177a0a1e6783c3ed68c /nerv/nn | |
parent | 941a3a6ee81587568a7f8e7458e5c5f9a8595342 (diff) |
adjust the parameter order of methods from ParamRepo
Diffstat (limited to 'nerv/nn')
-rw-r--r-- | nerv/nn/param_repo.lua | 4 |
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 |