-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels