code: def _is_per_tensor(qscheme: "torch.qscheme") -> bool:
      return qscheme in [
          torch.per_tensor_symmetric,
          torch.per_tensor_affine,
      ]
  
imports: import torch
  from torch.nn import Module
  from torch.ao.quantization.observer import MovingAverageMinMaxObserver, HistogramObserver, MovingAveragePerChannelMinMaxObserver, FixedQParamsObserver, default_fixed_qparams_range_0to1_observer, default_fixed_qparams_range_neg1to1_observer, _with_args
  import re
  from abc import ABC, abstractmethod
  from typing import Any, Tuple
label_desc: Use image node_id 2 for calling a global function with example usage: _is_per_tensor(qscheme) and returns: unknown