Warning: This project is deprecated. TensorFlow Addons has stopped development, The project will only be providing minimal maintenance releases until May 2024. See the full announcement here or on github.

tfa.callbacks.TimeStopping

View source on GitHub

Stop training when a specified amount of time has passed.

tfa.callbacks.TimeStopping(
 seconds: int = 86400, verbose: int = 0
)

Used in the notebooks

Used in the tutorials

Args

seconds maximum amount of time before stopping. Defaults to 86400 (1 day).
verbose verbosity mode. Defaults to 0.

Methods

get_config

View source

get_config()

set_model

set_model(
 model
)

set_params

set_params(
 params
)

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.

Last updated 2023年05月25日 UTC.