Shortcuts

RecordingObserver

class torch.ao.quantization.observer.RecordingObserver(dtype=torch.quint8)[source][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

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources