快捷鍵

load_observer_state_dict

class torch.ao.quantization.observer.load_observer_state_dict(mod, obs_dict)[原始碼][原始碼]

給定輸入模型和包含模型觀察器統計資料的 state_dict,將統計資料載回模型。可以使用 torch.ao.quantization.get_observer_state_dict 來儲存觀察器 state_dict。

文件

存取 PyTorch 的完整開發者文件

檢視文件

教學

取得適合初學者和進階開發者的深入教學

檢視教學

資源

尋找開發資源並獲得問題解答

檢視資源