docstr: Create a Intel Neural Compressor Quantization object for Pytorch.
docstr_tok: ["Create","a","Intel","Neural","Compressor","Quantization","object","for","Pytorch","."]
code: def __init__(self, framework="pytorch_fx", thread_num=None, **kwargs):
      """
      Create a Intel Neural Compressor Quantization object for Pytorch.
      """
      kwargs["framework"] = framework
      super().__init__(**kwargs)
      self._inc_metric_cls = PytorchINCMetric
      self.thread_num = thread_num
  
file_path: BigDL/python/nano/src/bigdl/nano/deps/neural_compressor/pytorch/quantization.py
imports: from typing import Callable
  from collections.abc import Iterable
  from bigdl.nano.utils.common import invalidInputError
  from ..core import BaseQuantization
  from .utils import _check_loader
  from .metric import PytorchINCMetric
  from .quantized_model import PytorchQuantizedModel
  from torchmetrics import Metric
  import torch
  from bigdl.nano.utils.pytorch import patch_attrs_from_model_to_object
label_desc: Use image node_id 1 to create a new PytorchQuantization object from inherited base classes: BaseQuantization with example: obj = PytorchQuantization(framework, thread_num)