code: def _get_dtype_value1_value2_axis_for_tensordot(
      draw,
      available_dtypes,
      min_value=None,
      max_value=None,
      allow_inf=False,
      exclude_min=False,
      exclude_max=False,
      min_num_dims=1,
      max_num_dims=10,
      min_dim_size=1,
      max_dim_size=10,
  ):
      shape = draw(
          helpers.get_shape(
              allow_none=False,
              min_num_dims=min_num_dims,
              max_num_dims=max_num_dims,
              min_dim_size=min_dim_size,
              max_dim_size=max_dim_size,
          )
      )
      axis = draw(helpers.ints(min_value=1, max_value=len(shape)))
      dtype = draw(st.sampled_from(draw(available_dtypes)))
  
      values = []
      for i in range(2):
          values.append(
              draw(
                  helpers.array_values(
                      dtype=dtype,
                      shape=shape,
                      min_value=min_value,
                      max_value=max_value,
                      allow_inf=allow_inf,
                      exclude_min=exclude_min,
                      exclude_max=exclude_max,
                      large_abs_safety_factor=72,
                      small_abs_safety_factor=72,
                      safety_factor_scale="log",
                  )
              )
          )
  
      value1, value2 = values[0], values[1]
      if not isinstance(axis, list):
          value2 = value2.transpose(
              [k for k in range(len(shape) - axis, len(shape))]
              + [k for k in range(0, len(shape) - axis)]
          )
      return [dtype], value1, value2, axis
  
imports: import sys
  import numpy
  from hypothesis import assume, strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, BackendHandler
  from ivy_tests.test_ivy.helpers.hypothesis_helpers.general_helpers import matrix_is_stable
label_desc: Use image node_id 5 for calling a global function with example usage: _get_dtype_value1_value2_axis_for_tensordot(draw, available_dtypes, min_value, max_value, allow_inf, exclude_min, exclude_max, min_num_dims, max_num_dims, min_dim_size, max_dim_size) and returns: list,  value1,  value2,  axis