评价此页

get_observer_state_dict#

class torch.ao.quantization.observer.get_observer_state_dict(mod)[source]#

返回对应观察器统计数据的状态字典。遍历模型状态字典并提取统计数据。