disable_observer
-
class
torch.quantization.fake_quantize.
disable_observer
(mod)[source] Disable observation for this module, if applicable. Example usage:
# model is any PyTorch model model.apply(torch.ao.quantization.disable_observer)
torch.quantization.fake_quantize.
disable_observer
(mod)[source]Disable observation for this module, if applicable. Example usage:
# model is any PyTorch model
model.apply(torch.ao.quantization.disable_observer)