cudnn.torch icon indicating copy to clipboard operation
cudnn.torch copied to clipboard

SpatialBatchNormalization doesn't support affine=false

Open fmassa opened this issue 9 years ago • 0 comments

If affine is set to false, the weight and bias are nil, leading to an error in createIODescriptors. Maybe it would be better to assert in the constructor itself that affine==false is not permitted at the moment ?

fmassa avatar Feb 17 '16 16:02 fmassa