Hello,
I'd like to use your implementation of BFBatchNorm2d.
As I read the code, I observed that affine=True appears in the arguments of the constructor, but is not stored in an instance attribute self.affine nor passed to the super().__init__ method, whereas it is the case for num_features, eps and momentum.
self.affine is however used in the forward method.
If I am not mistaken, it means that passing affine=False to BFBatchNorm2d would not do anything?
Hello,
I'd like to use your implementation of BFBatchNorm2d.
As I read the code, I observed that
affine=Trueappears in the arguments of the constructor, but is not stored in an instance attributeself.affinenor passed to thesuper().__init__method, whereas it is the case fornum_features,epsandmomentum.self.affineis however used in theforwardmethod.If I am not mistaken, it means that passing
affine=FalsetoBFBatchNorm2dwould not do anything?