code: def __init__(self, dtype=None):
      if not (
          isinstance(self.fill_value, chainer.get_array_types())
          or numpy.isscalar(self.fill_value)
      ):
          raise ValueError(
              "fill_value must be either scalar, numpy.ndarray, "
              "cupy.ndarray or chainerx.ndarray."
          )
      super(_Constant, self).__init__(dtype)
  
imports: import numpy
  import chainer
  from chainer import backend
  from chainer import initializer
  from chainer import types
label_desc: Use image node_id 1 to create a new _Constant object from inherited base classes: initializer with example: obj = _Constant(dtype)