code: def test_sparsify_tensor(
      tensor_data,
      test_flags,
      on_device,
      fn_name,
      backend_fw,
  ):
      dtype, tensor, card = tensor_data
  
      helpers.test_function(
          backend_to_test=backend_fw,
          test_flags=test_flags,
          on_device=on_device,
          fn_name=fn_name,
          input_dtypes=dtype,
          tensor=tensor,
          card=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 31 for calling a global function with example usage: test_sparsify_tensor(tensor_data, test_flags, on_device, fn_name, backend_fw) without return types