評價此頁

RecordingObserver#

class torch.ao.quantization.observer.RecordingObserver(dtype=torch.quint8)[原始碼]#

該模組主要用於除錯,並在執行時記錄張量值。

引數
  • dtype – 量化資料型別

  • qscheme – Quantization scheme to be used

  • reduce_range – Reduces the range of the quantized data type by 1 bit