You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 attributeself.affine
nor passed to thesuper().__init__
method, whereas it is the case fornum_features
,eps
andmomentum
.self.affine
is however used in theforward
method.If I am not mistaken, it means that passing
affine=False
toBFBatchNorm2d
would not do anything?The text was updated successfully, but these errors were encountered: