class_docstr: Specialization class to retrieve arguments of a rescale parameters
  (to fill in rescale field in Vela NpuElementWiseOperation) on a predefined ordering
class_docstr_tok: ["Specialization","class","to","retrieve","arguments","of","a","rescale","parameters","(","to","fill","in","rescale","field","in","Vela","NpuElementWiseOperation",")","on","a","predefined","ordering"]
code: def __init__(self, use_rescale: bool, scale: int, shift: int):
      self.use_rescale = use_rescale
      self.scale = scale
      self.shift = shift
  
imports: from typing import Union
  from typing import get_type_hints
  from inspect import isclass
  import tvm
  from tvm.relay.backend.contrib.ethosu import util
label_desc: Use image node_id 1 to create a new SerialRescaleConfig object from inherited base classes: SerializableFormat with example: obj = SerialRescaleConfig(use_rescale, scale, shift)