A new NN layer type - help in defining

12 views
Skip to first unread message

Omry Sendik

unread,
Apr 19, 2017, 2:29:18 PM4/19/17
to torch7
Hi all,

Say I have an output NN layer with a size of 2H over W with D filters.
I would like to reshape it into a H over W with 2D filters by taking the first and the Hth element and stacking them. Then by taking the second and the H+1 element and stacking them. And so one...
Can you please help me implement this (supposedly) simply layer?

Thanks!
Omry
Reply all
Reply to author
Forward
0 new messages