aboutsummaryrefslogtreecommitdiff
path: root/nerv/layer/duplicate.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nerv/layer/duplicate.lua')
-rw-r--r--nerv/layer/duplicate.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/nerv/layer/duplicate.lua b/nerv/layer/duplicate.lua
index 137472b..2621cdf 100644
--- a/nerv/layer/duplicate.lua
+++ b/nerv/layer/duplicate.lua
@@ -20,10 +20,7 @@ function DuplicateLayer:batch_resize()
end
function DuplicateLayer:propagate(input, output)
- for i = 1, #self.dim_out do
- output[i]:copy_from(input[1])
- -- FIXME: use reference copy to speed up
- end
+ -- do nothing, use reference copy in nn/network.lua
end
function DuplicateLayer:back_propagate(bp_err, next_bp_err)