W3cubDocs

/PyTorch 2.9

BNReLU2d

class torch.ao.nn.intrinsic.quantized.BNReLU2d(num_features, eps=1e-05, momentum=0.1, device=None, dtype=None) [source]

A BNReLU2d module is a fused module of BatchNorm2d and ReLU

We adopt the same interface as torch.ao.nn.quantized.BatchNorm2d.

Variables

torch.ao.nn.quantized.BatchNorm2d (Same as) –

© 2025, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.9/generated/torch.ao.nn.intrinsic.quantized.BNReLU2d.html