Question: Why does scaled_back_data shared across samples within a batch?
Closed this issue · 1 comments
hzxie commented
bilateralNN/bilateralnn_code/src/caffe/layers/permutohedral_layer.cu
Lines 134 to 148 in e174e4e
According to the code above, the scaled_back_data
is shared across samples within a batch?
Could you tell me the reason?
I think the scaled_back_data
should be decalred within the for loop.
hzxie commented
Because the variable is used to save the result for the current sample.