code: def _truncated_svd_data(draw):
      x_dtype, x, shape = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("float"),
              min_num_dims=2,
              max_num_dims=2,
              min_dim_size=2,
              max_dim_size=5,
              min_value=0.1,
              max_value=10.0,
              ret_shape=True,
          )
      )
      uv = draw(st.booleans())
      n_eigen = draw(
          helpers.ints(min_value=1, max_value=max(shape[-2:]))
      )
      return x_dtype, x[0], uv, n_eigen
  
imports: import math
  from hypothesis import strategies
  from hypothesis import assume
  import numpy
  import pytest
  import itertools
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, BackendHandler
  import ivy
label_desc: Use image node_id 18 for calling a global function with example usage: _truncated_svd_data(draw) and returns: x_dtype,  x,  uv,  n_eigen