[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# Module: tf_agents.train.actor\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/train/actor.py) |\n\nActor to use for data collection or evaluation.\n| **Note:** the actor currently only supports py_envs, policies/drivers.\n\nClasses\n-------\n\n[`class Actor`](../../tf_agents/train/Actor): Actor.\n\nFunctions\n---------\n\n[`collect_metrics(...)`](../../tf_agents/train/actor/collect_metrics): Utilitiy to create metrics often used during data collection.\n\n[`eval_metrics(...)`](../../tf_agents/train/actor/eval_metrics): Utilitiy to create metrics often used during policy evaluation."]]