Public Member Functions | |
| __init__ (self, np.ndarray x) | |
| update (self, int it, np.ndarray input_grad, *args) | |
Public Member Functions inherited from lsst.scarlet.lite.parameters.Parameter | |
| __init__ (self, np.ndarray x, dict[str, np.ndarray] helpers, Callable|float step, Callable|None grad=None, Callable|None prox=None) | |
| float | step (self) |
| tuple[int,...] | shape (self) |
| npt.DTypeLike | dtype (self) |
| Parameter | copy (self) |
| resize (self, Box old_box, Box new_box) | |
Additional Inherited Members | |
Public Attributes inherited from lsst.scarlet.lite.parameters.Parameter | |
| x = x | |
| helpers = helpers | |
| grad = grad | |
| prox = prox | |
Protected Attributes inherited from lsst.scarlet.lite.parameters.Parameter | |
| _step = _step | |
A parameter that is not updated
| lsst.scarlet.lite.parameters.FixedParameter.update | ( | self, | |
| int | it, | ||
| np.ndarray | input_grad, | ||
| * | args ) |
Update the parameter in one iteration.
This includes the gradient update, proximal update,
and any meta parameters that are stored as class
attributes to update the parameter.
Parameters
----------
it:
The current iteration
input_grad:
The gradient from the full model, passed to the parameter.
Reimplemented from lsst.scarlet.lite.parameters.Parameter.