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。