espnet2.gan_codec.shared.encoder.seanet.get_norm_module
Less than 1 minute
espnet2.gan_codec.shared.encoder.seanet.get_norm_module
espnet2.gan_codec.shared.encoder.seanet.get_norm_module(module: Module, causal: bool = False, norm: str = 'none', **norm_kwargs) → Module
Return the proper normalization module. If causal is True, this will ensure the returned module is causal, or return an error if the normalization doesn’t support causal evaluation.