評價此頁

get_observer_state_dict#

class torch.ao.quantization.observer.get_observer_state_dict(mod)[原始碼]#

返回與觀察者統計資訊相對應的 state dict。遍歷模型 state_dict 並提取統計資訊。