class_docstr: Class enabling the proper definition of constants.
code: def __setattr__(self, name, value):
      if name in self.__dict__:
          raise ConstantError(
              "Overwriting a constant is not allowed {}".format(name)
          )
      self.__dict__[name] = value
  
imports: from packaging.version import Version, parse
  from types import ModuleType
  import numpy
  import torch
  import os
  import warnings
  import shutil
  from hummingbird.ml.exceptions import ConstantError
label_desc: Use image node_id 2 for calling the _Constants obj's underlying member method code with example usage: obj.__setattr__(name, value) without return types