class_docstr: A visitor to traverse subgraphs and build Core ML models.
code: def visit_constant(self, const):
      output = "buf_" + str(self.buf_idx_)
      self.builder.add_load_constant_nd(
          name=output,
          output_name=output,
          constant_value=const.data.numpy(),
          shape=const.data.shape,
      )
      self.buf_idx_ = self.buf_idx_ + 1
      self.out_map[const] = [output]
  
imports: import os
  import shutil
  import tvm._ffi
  from ...relay.expr_functor import ExprVisitor
  from ..None import xcode, coreml_runtime
label_desc: Use image node_id 2 for calling the CodegenCoreML obj's underlying member method code with example usage: obj.visit_constant(const) without return types