code: def _get_distance_kernel_code(
      int_type, dist_int_type, raw_out_var=True
  ):
      code = _generate_shape(
          ndim=3,
          int_type=int_type,
          var_name="dist",
          raw_var=raw_out_var,
      )
      code += _generate_indices_ops(ndim=3, int_type=int_type)
      code += _generate_distance_computation(int_type, dist_int_type)
      return code
  
imports: import math
  import os
  import cupy
  import numpy
  from ._util import _get_inttype
  from ._pba_2d import _check_distances, _check_indices, _distance_tranform_arg_check, _generate_indices_ops, _generate_shape, _get_block_size, lcm
label_desc: Use image node_id 9 for calling a global function with example usage: _get_distance_kernel_code(int_type, dist_int_type, raw_out_var) and returns: code