class_docstr: Class enabling the proper definition of constants.
code: def __init__(self, constants, other_constants=None):
      for constant in dir(constants):
          if constant.isupper():
              setattr(self, constant, getattr(constants, constant))
      for constant in dir(other_constants):
          if constant.isupper():
              setattr(
                  self, constant, getattr(other_constants, constant)
              )
  
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 1 to create a new _Constants object from inherited base classes: object with example: obj = _Constants(constants, other_constants)