tf_agents.policies.utils.has_chosen_arm_features
Stay organized with collections
Save and categorize content based on your preferences.
Check if policy info has chosen_arm_features
field/tensor.
tf_agents.policies.utils.has_chosen_arm_features(
info: Optional[Union[tf_agents.policies.utils.PolicyInfo
, tf_agents.policies.utils.PerArmPolicyInfo
]],
check_for_tensor: bool = False
) -> bool
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tf_agents.policies.utils.has_chosen_arm_features\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/policies/utils.py#L272-L284) |\n\nCheck if policy info has `chosen_arm_features` field/tensor. \n\n tf_agents.policies.utils.has_chosen_arm_features(\n info: Optional[Union[../../../tf_agents/policies/utils/PolicyInfo, ../../../tf_agents/policies/utils/PerArmPolicyInfo]],\n check_for_tensor: bool = False\n ) -\u003e bool"]]