optim.FISTABlock#
- class bartorch.optim.FISTABlock#
Bases:
ISTBlockOne step of fast iterative soft thresholding,
italgos.c’sfista.ISTBlockwith Nesterov’s ravine step between the threshold and the gradient; the momentum isfista_formulawithpqr.hogwildhalves the step after 10 steps, then 20, then 40.- start()#
The run’s state: the start, and
A^H ykept for every step.
- forward()#
Define the computation performed at every call.
Should be overridden by all subclasses.
Note
Although the recipe for forward pass needs to be defined within this function, one should call the
Moduleinstance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.
Also has the methods and properties of ISTBlock.