code: def test_stack_and_pad_tensor_dict_list():
      result = stack_and_pad_tensor_dict_list(data, max_len=5)
      assert np.array_equal(
          result["obs"], np.array([[1, 1, 1, 0, 0], [1, 1, 1, 0, 0]])
      )
      assert np.array_equal(
          result["info"]["lala"],
          np.array([[1, 1, 0, 0, 0], [1, 1, 0, 0, 0]]),
      )
      assert np.array_equal(
          result["info"]["baba"],
          np.array([[2, 2, 0, 0, 0], [2, 2, 0, 0, 0]]),
      )
  
file_path: garage/tests/garage/np/test_functions.py
imports: import warnings
  import numpy
  from garage.np import concat_tensor_dict_list, explained_variance_1d, pad_batch_array, pad_tensor, stack_and_pad_tensor_dict_list, stack_tensor_dict_list
label_desc: Use image node_id 5 for calling a global function with example usage: test_stack_and_pad_tensor_dict_list() without return types