tfa.optimizers.TriangularCyclicalLearningRate

A LearningRateSchedule that uses cyclical schedule.

Inherits From: CyclicalLearningRate

initial_learning_rateA scalar float32 or float64 Tensor or a Python number. The initial learning rate.
maximal_learning_rateA scalar float32 or float64 Tensor or a Python number. The maximum learning rate.
step_sizeA scalar float32 or float64 Tensor or a Python number. Step size denotes the number of training iterations it takes to get to maximal_learning_rate
scale_mode['cycle', 'iterations']. Mode to apply during cyclic schedule
name(Optional) Name for the operation.

Methods

from_config

Instantiates a LearningRateSchedule from its config.

Args
configOutput of get_config().

Returns
A LearningRateSchedule instance.

get_config

View source

__call__

View source

Call self as a function.