code: def _sparsify_tensor_stg(draw):
      dtype, tensor, shape = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("numeric"),
              ret_shape=True,
              min_num_dims=1,
              min_dim_size=1,
              min_value=10,
          )
      )
  
      size = 1
      for dim in shape:
          size *= dim
  
      card = draw(st.integers(min_value=1, max_value=size))
  
      return dtype, tensor[0], card
  
imports: from hypothesis import strategies
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test
label_desc: Use image node_id 5 for calling a global function with example usage: _sparsify_tensor_stg(draw) and returns: dtype,  tensor,  card