Skip to content

Open other normalization function  #983

Closed
@GuillaumeErhard

Description

@GuillaumeErhard

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions