# Module: tf_agents.train.learner

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/train/learner.py) |

Learner implementation for Agents. Refer to the examples dir.

## Classes

[`class Learner`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/train/Learner): Manages all the learning details needed when training an agent.

## Type Aliases

[`ExperienceAndSampleInfo`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/train/learner/ExperienceAndSampleInfo)

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| COLLECT_POLICY_SAVED_MODEL_DIR | `'collect_policy'` |
| GREEDY_POLICY_SAVED_MODEL_DIR | `'greedy_policy'` |
| POLICY_CHECKPOINT_DIR | `'checkpoints'` |
| POLICY_SAVED_MODEL_DIR | `'policies'` |
| RAW_POLICY_SAVED_MODEL_DIR | `'policy'` |
| REPLAY_BUFFER_CHECKPOINT_DIR | `'replay_buffer_checkpoints'` |
| TRAIN_DIR | `'train'` |

<br />