评价此页

Hardswish#

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

This is the quantized version of Hardswish.

参数
  • scale – 输出张量的量化尺度

  • zero_point – 输出张量的量化零点