(self, axis: int = -1)
| 89 | """ |
| 90 | |
| 91 | def __init__(self, axis: int = -1) -> None: |
| 92 | super().__init__() |
| 93 | self.scaling_factor = Parameter(shape=(), dtype='float32') |
| 94 | self.axis = axis |
| 95 | |
| 96 | def forward(self, input): |
| 97 | return dequantize(input, self.scaling_factor.value, self.axis) |