diff options
Diffstat (limited to 'nerv/nn/layer_repo.lua')
-rw-r--r-- | nerv/nn/layer_repo.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nerv/nn/layer_repo.lua b/nerv/nn/layer_repo.lua index ec0f80a..ef333a7 100644 --- a/nerv/nn/layer_repo.lua +++ b/nerv/nn/layer_repo.lua @@ -23,9 +23,6 @@ function LayerRepo:add_layers(layer_spec, param_repo, global_conf) end for pname, pid in pairs(spec[1]) do layer_config[pname] = param_repo:get_param(pid) - if layer_config[pname] == nil then - nerv.error("did not find parameter in paramRepo") - end end layers[id] = layer_type(id, global_conf, layer_config) end |