code: def _compare_to_original(
      self, output_actions, output_policy_info, traj
  ):
      # policy_info & action between collected & original is different because the
      # policy will be emitting different outputs.
      self.assertFalse(
          np.all(np.isclose(output_policy_info, traj.policy_info))
      )
      self.assertFalse(np.all(np.isclose(output_actions, traj.action)))
  
file_path: agents/tf_agents/environments/trajectory_replay_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from tf_agents.drivers import test_utils
  from tf_agents.environments import trajectory_replay
  from tf_agents.utils import test_utils
label_desc: Use image node_id 1 for calling the TrajectoryReplayTest obj's underlying member method code with example usage: obj._compare_to_original(output_actions, output_policy_info, traj) without return types