LayerNorm¶ class torch.ao.nn.quantized.LayerNorm(normalized_shape, weight, bias, scale, zero_point, eps=1e-05, elementwise_affine=True, device=None, dtype=None)[原始碼][原始碼]¶ 這是 LayerNorm 的量化版本。 額外參數 scale - 輸出的量化比例,類型:double。 zero_point - 輸出的量化零點,類型:long。