hardswish¶ class torch.ao.nn.quantized.functional.hardswish(input, scale, zero_point)[source][source]¶ 这是量化版本的 hardswish()。 参数 input (Tensor) – 量化输入 scale (float) – 输出张量的量化比例 zero_point (int) – 输出张量的量化零点 返回类型 Tensor