StepLR

torch.optim.lr_scheduler.StepLR

Decays the learning rate of each parameter group by gamma every step_size epochs.

Notice that such decay can happen simultaneously with other changes to the learning rate from outside this scheduler.

Attributes

Source
StepLR.scala
Graph
Supertypes
trait LRScheduler
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def step(): Unit

Attributes

Source
StepLR.scala