tfm.core.actions.RecoveryCondition
Stay organized with collections
Save and categorize content based on your preferences.
Recovery Condition.
tfm.core.actions.RecoveryCondition(
global_step: tf.Variable,
loss_upper_bound: float,
recovery_begin_steps: int = 0,
recovery_max_trials: int = 3
)
Methods
__call__
View source
__call__(
outputs: orbit.runner.Output
)
Call self as a function.
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. Some content is licensed under the numpy license.
Last updated 2024-02-02 UTC.
[null,null,["Last updated 2024-02-02 UTC."],[],[],null,["# tfm.core.actions.RecoveryCondition\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/models/blob/v2.15.0/official/core/actions.py#L144-L175) |\n\nRecovery Condition. \n\n tfm.core.actions.RecoveryCondition(\n global_step: tf.Variable,\n loss_upper_bound: float,\n recovery_begin_steps: int = 0,\n recovery_max_trials: int = 3\n )\n\nMethods\n-------\n\n### `__call__`\n\n[View source](https://github.com/tensorflow/models/blob/v2.15.0/official/core/actions.py#L158-L175) \n\n __call__(\n outputs: orbit.runner.Output\n )\n\nCall self as a function."]]