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

tf_agents.bandits.policies.policy_utilities.has_bandit_policy_type

View source on GitHub

Check if policy info has bandit_policy_type field/tensor.

tf_agents.bandits.policies.policy_utilities.has_bandit_policy_type(
    info, check_for_tensor=False
)