code: def disable_calibration(model):
      """Disables calibration in whole network. Should be run always before running interference."""
      for name, module in model.named_modules():
          if isinstance(module, quant_nn.TensorQuantizer):
              if module._calibrator is not None:
                  module.enable_quant()
                  module.disable_calib()
              else:
                  module.enable()
  
file_path: DALI/docs/examples/use_cases/pytorch/efficientnet/image_classification/quantization.py
imports: from tqdm import tqdm
  import torch
  import contextlib
  import time
  import logging
  from pytorch_quantization import quant_modules
  from pytorch_quantization import nn
  from pytorch_quantization import calib
  from pytorch_quantization.tensor_quant import QuantDescriptor
  from .None import logger
  from .utils import calc_ips
  import dllogger
label_desc: Use image node_id 3 for calling a global function with example usage: disable_calibration(model) without return types