opto.optimizers.optimizer#

Module Contents#

Classes#

AbstractOptimizer

Optimizer

API#

class AbstractOptimizer(parameters: List[opto.trace.nodes.ParameterNode], *args, **kwargs)[source]#

Initialization

abstract step()[source]#
abstract zero_feedback()[source]#
abstract property propagator#
class Optimizer(parameters: List[opto.trace.nodes.ParameterNode], *args, propagator: opto.trace.propagators.propagators.Propagator = None, **kwargs)[source]#

Bases: opto.optimizers.optimizer.AbstractOptimizer

property propagator#
property trace_graph#
step(*args, **kwargs)[source]#
propose(*args, **kwargs)[source]#
update(update_dict: Dict[opto.trace.nodes.ParameterNode, Any])[source]#
zero_feedback()[source]#
default_propagator()[source]#
backward(node: opto.trace.nodes.Node, *args, **kwargs)[source]#