code: def is_per_channel(quant_scheme):
      if quant_scheme in [
          QuantScheme.PER_CHANNEL_AFFINE,
          QuantScheme.PER_CHANNEL_SYMMETRIC,
      ]:
          return True
      else:
          return False
  
file_path: nni/nni/compression/utils/quantization/utils.py
imports: import torch
  from nni.common.version import TORCH_VERSION
  from .literal import QuantDtype, QuantScheme, QuantType
label_desc: Use image node_id 6 for calling a global function with example usage: is_per_channel(quant_scheme) and returns: True, False