pytorch / 2 / generated / torch.ao.nn.intrinsic.quantized.bnrelu2d.html

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) –

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