code: def __init__(self, **kwargs):
      self._fields = {}
      for k, v in kwargs.items():
          self._fields[k] = v
  
file_path: nni/nni/compression/utils/quantization/settings.py
imports: from typing import Any, Optional
  from .literal import QuantDtype, QuantType, QuantScheme
  from .utils import calculate_qmin_qmax, get_bits_length
label_desc: Use image node_id 1 to create a new TensorQuantSetting object from inherited base classes: object with example: obj = TensorQuantSetting()