code: def _assert_outputs_equal(outputs):
      for i in range(1, len(outputs)):
          for key in outputs[0].keys():
              assert np.allclose(
                  outputs[0][key], outputs[i][key]
              ), "outputs are different but they shouldn't be."
  
file_path: ray/rllib_contrib/dt/tests/test_dt_model.py
imports: import unittest
  import gymnasium
  import numpy
  from rllib_dt.dt.dt_torch_model import DTTorchModel
  import ray
  from ray.rllib.policy.sample_batch import SampleBatch
  from ray.rllib.utils.framework import try_import_tf, try_import_torch
  from ray.rllib.utils.numpy import convert_to_numpy
  from ray.rllib.utils.torch_utils import convert_to_torch_tensor
label_desc: Use image node_id 1 for calling a global function with example usage: _assert_outputs_equal(outputs) without return types