View source on GitHub |
A LearningRateSchedule that uses cyclical schedule.
Inherits From: CyclicalLearningRate
tfa.optimizers.Triangular2CyclicalLearningRate(
initial_learning_rate: Union[FloatTensorLike, Callable],
maximal_learning_rate: Union[FloatTensorLike, Callable],
step_size: tfa.types.FloatTensorLike
,
scale_mode: str = 'cycle',
name: str = 'Triangular2CyclicalLearningRate'
)
Methods
from_config
@classmethod
from_config( config )
Instantiates a LearningRateSchedule
from its config.
Args | |
---|---|
config
|
Output of get_config() .
|
Returns | |
---|---|
A LearningRateSchedule instance.
|
get_config
get_config()
__call__
__call__(
step
)
Call self as a function.