评价此页

get_observer_state_dict#

class torch.ao.quantization.observer.get_observer_state_dict(mod)[源代码]#

返回与观察者统计信息相对应的 state dict。遍历模型 state_dict 并提取统计信息。