XtractOpen / Meganet.jl

A fresh approach to deep learning written in Julia
http://www.xtract.ai/
Other
14 stars 9 forks source link

Remove copy(Y) in affine scaling layer #67

Open DavidBegert opened 6 years ago

DavidBegert commented 6 years ago

in affinescalinglayer apply: Y = reshape(copy(Y),this.nData[1], this.nData[2],:)

Just change the copy(Y) to Y - dont see any need for it not to be done in place

EZ PZ