Rate this Page
โ˜… โ˜… โ˜… โ˜… โ˜…

Hardswish#

class torch.ao.nn.quantized.Hardswish(scale, zero_point, device=None, dtype=None)[source]#

This is the quantized version of Hardswish.

Parameters
  • scale โ€“ quantization scale of the output tensor

  • zero_point โ€“ quantization zero point of the output tensor