RecordingObserver¶ class torch.ao.quantization.observer.RecordingObserver(dtype=torch.quint8)[source][source]¶ 該模組主要用於除錯,並在執行時記錄張量值。 引數 dtype – 量化資料型別 qscheme – 要使用的量化方案 reduce_range – 將量化資料型別的範圍減少 1 位