快捷方式

RecordingObserver

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

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

引數
  • dtype – 量化資料型別

  • qscheme – 要使用的量化方案

  • reduce_range – 將量化資料型別的範圍減少 1 位

文件

查閱 PyTorch 的完整開發者文件

檢視文件

教程

獲取面向初學者和高階開發者的深度教程

檢視教程

資源

查詢開發資源並獲得問題解答

檢視資源