pytorch / 1 / generated / torch.quantization.observer.recordingobserver.html

RecordingObserver

class torch.quantization.observer.RecordingObserver(dtype=torch.quint8, **kwargs) [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

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/1.13/generated/torch.quantization.observer.RecordingObserver.html