What does the param "axis" do in Scale Layer

29 views
Skip to first unread message

Buggiant

unread,
Aug 16, 2016, 1:11:21 AM8/16/16
to Caffe Users
I understand that Scale Layer works as z = x * y where y is "broadcasted" to match the shape of x.
Here is my question:
I have bottom[0] as N*C*H*W, with bottom[1] as N*1*H*W,
and I want to tile bottom[1] to N*C*H*W, then computing the elementwise product.
How should I set the parameters, especially "axis"?
Thx a lot.
Reply all
Reply to author
Forward
0 new messages