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

RecordingObserver#

class torch.ao.quantization.observer.RecordingObserver(dtype=torch.quint8)[source]#

The module is mainly for debug and records the tensor values during runtime.

Parameters
  • dtype โ€“ Quantized data type

  • qscheme โ€“ Quantization scheme to be used

  • reduce_range โ€“ Reduces the range of the quantized data type by 1 bit