code: def get_reward(self, obs, acs):
      sess = tf.get_default_session()
      if len(obs.shape) == 1:
          obs = np.expand_dims(obs, 0)
      if len(acs.shape) == 1:
          acs = np.expand_dims(acs, 0)
      feed_dict = {
          self.generator_obs_ph: obs,
          self.generator_acs_ph: acs,
      }
      reward = sess.run(self.reward_op, feed_dict)
      return reward
  
file_path: baselines/baselines/gail/adversary.py
imports: import tensorflow
  import numpy
  from baselines.common.mpi_running_mean_std import RunningMeanStd
  from baselines.common import tf_util
label_desc: Use image node_id 5 for calling the TransitionClassifier obj's underlying member method code with example usage: obj.get_reward(obs, acs) and returns: reward