<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/official/core/base_trainer.py) |

Standard Trainer implementation.

The base trainer implements the Orbit `StandardTrainable` and
`StandardEvaluable` interfaces. Trainers inside this project should be
interchangable and independent on model architectures and tasks.

## Classes

[`class ExperimentConfig`](https://www.tensorflow.org/api_docs/python/tfm/core/base_trainer/ExperimentConfig): Top-level configuration.

[`class Trainer`](https://www.tensorflow.org/api_docs/python/tfm/core/base_trainer/Trainer): Implements the common trainer shared for TensorFlow models.

[`class TrainerConfig`](https://www.tensorflow.org/api_docs/python/tfm/core/base_trainer/TrainerConfig): Configuration for trainer.

## Functions

[`get_runtime_options(...)`](https://www.tensorflow.org/api_docs/python/tfm/core/base_trainer/get_runtime_options): Get tf.distribute.RunOptions from config.