MovingAverageAbsMaxScale

class paddle.nn.quant.quant_layers. MovingAverageAbsMaxScale ( name: str | None = None, moving_rate: float = 0.9, dtype: DTypeLike = 'float32', reduce_type: Literal[max] | None = None ) [source]
forward ( input: Tensor ) Tensor

forward

Defines the computation performed at every call. Should be overridden by all subclasses.

Parameters
  • *inputs (tuple) – unpacked tuple arguments

  • **kwargs (dict) – unpacked dict arguments