code: def _create_const_node(self, name, value):
      for i in range(len(value)):
          fixed_name = name
          if i > 0:
              original_name = name + ":" + str(i)
              fixed_name = original_name.replace(":", "_")
              self._rename_node_dict[original_name] = fixed_name
          tensor_content = value[i].tobytes()
          dt = tf.as_dtype(value[i].dtype).as_datatype_enum
          tensor_shape = TensorShapeProto(
              dim=[TensorShapeProto.Dim(size=s) for s in value[i].shape]
          )
          tensor_proto = TensorProto(
              tensor_content=tensor_content,
              tensor_shape=tensor_shape,
              dtype=dt,
          )
          node = tf.compat.v1.NodeDef(
              name=fixed_name,
              op="Const",
              attr={
                  "value": tf.compat.v1.AttrValue(tensor=tensor_proto),
                  "dtype": tf.compat.v1.AttrValue(type=dt),
              },
          )
          self.op_dict[fixed_name] = Operator(node)
  
imports: import numpy
  import tensorflow.compat.v1
  from tensorflow.core.framework.tensor_pb2 import TensorProto
  from tensorflow.core.framework.tensor_shape_pb2 import TensorShapeProto
label_desc: Use image node_id 11 for calling the RefineGraph obj's underlying member method code with example usage: obj._create_const_node(name, value) without return types