<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/actions.py) |

Provides TFM orbit actions and associated helper functions/classes.

## Classes

[`class EMACheckpointing`](https://www.tensorflow.org/api_docs/python/tfm/core/actions/EMACheckpointing): Eval action to save checkpoint with average weights when EMA is used.

[`class PruningAction`](https://www.tensorflow.org/api_docs/python/tfm/core/actions/PruningAction): Train action to updates pruning related information.

[`class RecoveryAction`](https://www.tensorflow.org/api_docs/python/tfm/core/actions/RecoveryAction): Train action to recover from loss blowup.

[`class RecoveryCondition`](https://www.tensorflow.org/api_docs/python/tfm/core/actions/RecoveryCondition): Recovery Condition.

## Functions

[`get_eval_actions(...)`](https://www.tensorflow.org/api_docs/python/tfm/core/actions/get_eval_actions): Gets eval actions for TFM trainer.

[`get_train_actions(...)`](https://www.tensorflow.org/api_docs/python/tfm/core/actions/get_train_actions): Gets train actions for TFM trainer.