code: def update(self):
      new_axis_val = self.transpose_axes[self.axis_var.val]
      inputs = list(self.op.inputs["values"])
  
      # to be used, if there is a consant inputs to the concat op
      transpose_perm_for_const = [0] * len(self.transpose_axes)
      for i, axis in enumerate(self.transpose_axes):
          transpose_perm_for_const[axis] = i
  
      # if there is a constant input, transpose it
      for input_var in inputs:
          if input_var.op.op_type == "const":
              const_val = input_var.val
              new_const_val = np.transpose(
                  const_val, transpose_perm_for_const
              )
              # insert a new constant JUST before the op
              with self.op.enclosing_block:
                  new_const_input_var = mb.const(
                      val=new_const_val,
                      mode="immediate_value",
                      before_op=self.op,
                  )
              self.op.enclosing_block.replace_uses_of_var_after_op(
                  anchor_op=new_const_input_var.op,
                  end_op=self.op,
                  old_var=input_var,
                  new_var=new_const_input_var,
                  no_check_var_types=True,
              )
  
      # insert a new constant for the new axis, JUST before the op
      with self.op.enclosing_block:
          new_axis_var = mb.const(
              val=new_axis_val,
              mode="immediate_value",
              before_op=self.op,
          )
  
      self.op.enclosing_block.replace_uses_of_var_after_op(
          anchor_op=new_axis_var.op,
          end_op=self.op,
          old_var=self.axis_var,
          new_var=new_axis_var,
          no_check_var_types=True,
      )
  
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
  from coremltools.converters.mil.mil.var import Var
  import logging
  import numpy
  import copy
  from collections import defaultdict
label_desc: Use image node_id 3 for calling the transform_concat obj's underlying member method code with example usage: obj.update() without return types