optim.FISTABlock#

class bartorch.optim.FISTABlock#

Bases: ISTBlock

One step of fast iterative soft thresholding, italgos.c’s fista.

ISTBlock with Nesterov’s ravine step between the threshold and the gradient; the momentum is fista_formula with pqr. hogwild halves the step after 10 steps, then 20, then 40.

start()#

The run’s state: the start, and A^H y kept 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 Module instance 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.