code: def test_list_of_array_like(ray_start_regular_shared):
      data = [torch.Tensor([1, 2, 3]), torch.Tensor([4, 5, 6])]
      output = do_map_batches(data)
      assert_structure_equals(
          output, np.array([[1, 2, 3], [4, 5, 6]], dtype=np.float32)
      )
  
imports: import numpy
  import pytest
  import torch
  import ray
  from ray.air.util.tensor_extensions.utils import create_ragged_ndarray
  from ray.data.tests.conftest import *
  from ray.tests.conftest import *
label_desc: Use image node_id 8 for calling a global function with example usage: test_list_of_array_like(ray_start_regular_shared) without return types