Closed
Description
Current implementation of Conv2dReLU, which is widely used in the codebase, has the use_batchnorm parameter that was set up first as a boolean before evolving for the use case for inplace batchnorm with an implicit string usage.
Why not modify the current API and use a normalization string parameter, which could be used to set up groupnorm or layernorm, which perform better with smaller batch sizes?
I can do the code quickly for that, and I will also add a warning that use_batchnorm might be deprecated in the future.
Metadata
Metadata
Assignees
Labels
No labels