code: def remove_split(split_op, block):
      input_var = split_op.x
      input_op = input_var.op
  
      split_op.enclosing_block.replace_uses_of_var_after_op(
          anchor_op=input_op,
          old_var=split_op.outputs[0],
          new_var=input_var,
      )
  
      # Remove all the ops at once
      block.remove_ops([split_op])
      return True
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/converters/mil/mil/passes/noop_elimination.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from coremltools.converters.mil.mil.passes.pass_registry import register_pass
  from coremltools.converters.mil.mil import Builder
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: remove_split(split_op, block) and returns: True