Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf_agents.trajectories.policy_step.CommonFields

View source on GitHub

Strings which can be used for querying returned PolicyStep.info field.

For example, use getattr(info, CommonFields.LOG_PROBABILITY, None) to check if log probabilities are returned in the step or not.

Class Variables

  • LOG_PROBABILITY = 'log_probability'