parameters: (mod)
docstring: Disable observation for this module, if applicable. Example usage::
  
        # model is any PyTorch model
        model.apply(torch.ao.quantization.disable_observer)
docstring_summary: Disable observation for this module, if applicable. Example usage::
docstring_tokens: Disable observation for this module if applicable . Example usage ::
function: def disable_observer(mod):
      """
      Disable observation for this module, if applicable. Example usage::
  
        # model is any PyTorch model
        model.apply(torch.ao.quantization.disable_observer)
  
      """
      if isinstance(mod, FakeQuantizeBase) or _is_fake_quant_script_module(mod):
          mod.disable_observer()
function_tokens: def disable_observer ( mod ) : if isinstance ( mod , FakeQuantizeBase ) or _is_fake_quant_script_module ( mod ) : mod . disable_observer ( )