W3cubDocs

/PyTorch 2.9

InstanceNorm2d

class torch.ao.nn.quantized.InstanceNorm2d(num_features, weight, bias, scale, zero_point, eps=1e-05, momentum=0.1, affine=False, track_running_stats=False, device=None, dtype=None) [source]

This is the quantized version of InstanceNorm2d.

Additional args:
  • scale - quantization scale of the output, type: double.
  • zero_point - quantization zero point of the output, type: long.

© 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.quantized.InstanceNorm2d.html