OTTT#
- class braintrace.OTTT(model, mode='A', leak=None, name=None, vjp_method='single-step', **kwargs)#
Online Training Through Time.
- Parameters:
- init_etrace_state(*args, **kwargs)[source]#
Initialize the eligibility trace states of the etrace algorithm.
This method is needed after compiling the etrace graph. See .compile_graph() for the details.
- Parameters:
*args – The positional arguments.
**kwargs – The keyword arguments.
- Raises:
NotImplementedError – This method must be implemented by subclasses.