code: def _get_dtype_and_rank_2k_tensors(draw):
      arbitrary_dims = draw(helpers.get_shape(max_dim_size=5))
      shape = arbitrary_dims + arbitrary_dims
      return draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("valid"),
              shape=shape,
              min_value=-10,
              max_value=10,
          )
      )
  
imports: import numpy
  from hypothesis import assume, strategies
  import sys
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test, assert_all_close
  from ivy_tests.test_ivy.test_functional.test_core.test_linalg import _get_dtype_value1_value2_axis_for_tensordot
  from ivy_tests.test_ivy.helpers.hypothesis_helpers.general_helpers import matrix_is_stable
  from ivy_tests.test_ivy.test_functional.test_core.test_linalg import _matrix_rank_helper
label_desc: Use image node_id 4 for calling a global function with example usage: _get_dtype_and_rank_2k_tensors(draw) and returns: draw