Shortcuts

LayerNorm

class torch.ao.nn.quantized.LayerNorm(normalized_shape, weight, bias, scale, zero_point, eps=1e-05, elementwise_affine=True, device=None, dtype=None)[source]

This is the quantized version of LayerNorm.

Additional args:
  • scale - quantization scale of the output, type: double.

  • zero_point - quantization zero point of the output, type: long.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources