code: def emit_Constant(self, IR_node):
      if IR_node.get_attr("value"):
          value = "np.array({}, dtype=np.float32)".format(
              IR_node.get_attr("value")
          )
          self.add_body(
              1,
              "{:15} = {}".format(
                  IR_node.variable_name + "_value_array", value
              ),
          )
      else:
          self.add_body(
              1,
              "{:15} = _weights_dict['{}']['value']".format(
                  IR_node.variable_name + "_value_array", IR_node.name
              ),
          )
      self.add_body(
          1,
          "{:15} = helper.make_node('Constant', inputs=[], outputs=['{}'], value=helper.make_tensor(name='const_tensor', data_type=onnx.mapping.NP_TYPE_TO_TENSOR_TYPE[{}.dtype], dims={}.shape, vals={}.flatten().astype(float)), name='{}')".format(
              IR_node.variable_name,
              IR_node.variable_name,
              IR_node.variable_name + "_value_array",
              IR_node.variable_name + "_value_array",
              IR_node.variable_name + "_value_array",
              IR_node.variable_name,
          ),
      )
      self.nodes.append(IR_node.variable_name)
  
imports: from mmdnn.conversion.common.DataStructure.emitter import Emitter
  from mmdnn.conversion.common.IR.IR_graph import IRGraph
  import os.path
  import mmdnn.conversion.common.IR.graph_pb2
  import numpy
  import sys
label_desc: Use image node_id 19 for calling the OnnxEmitter obj's underlying member method code with example usage: obj.emit_Constant(IR_node) without return types