brainpy.optimizers.PolynomialDecay#

class brainpy.optimizers.PolynomialDecay(lr, decay_steps, final_lr, power=1.0)[source]#
__init__(lr, decay_steps, final_lr, power=1.0)[source]#

Methods

__init__(lr, decay_steps, final_lr[, power])

load_states(filename[, verbose])

Load the model states.

nodes([method, level, include_self])

Collect all children nodes.

register_implicit_nodes(*nodes, **named_nodes)

register_implicit_vars(*variables, ...)

save_states(filename[, variables])

Save the model states.

train_vars([method, level, include_self])

The shortcut for retrieving all trainable variables.

unique_name([name, type_])

Get the unique name for this object.

update()

vars([method, level, include_self])

Collect all variables in this node and the children nodes.

Attributes

name

Name of the model.