Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tfa.callbacks.TimeStopping

View source on GitHub

Class TimeStopping

Stop training when a specified amount of time has passed.

Args:

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

__init__

View source

__init__(
    seconds=86400,
    verbose=0
)

Initialize self. See help(type(self)) for accurate signature.

Methods

get_config

View source

get_config()

set_model

set_model(model)

set_params

set_params(params)