On this page
get_observer_state_dict
class torch.ao.quantization.observer.get_observer_state_dict(mod)
[source]-
Returns the state dict corresponding to the observer stats. Traverse the model state_dict and extract out the stats.
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.ao.quantization.observer.get_observer_state_dict.html