Rate this Page

LayerNorm#

classtorch.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 ofLayerNorm.

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

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