larq.callbacks

HyperparameterScheduler

HyperparameterScheduler(schedule, hyperparameter, verbose=0)
Generic hyperparameter scheduler.

Arguments

  • schedule: a function that takes an epoch index as input (integer, indexed from 0) and returns a new hyperparameter as output.
  • hyperparameter: str. the name of the hyperparameter to be scheduled.
  • verbose: int. 0: quiet, 1: update messages.