sigpy.prox.Prox¶
-
class
sigpy.prox.
Prox
(shape, repr_str=None)[source]¶ Abstraction for proximal operator.
Prox can be called on a float (\(\alpha\)) and a NumPy or CuPy array (\(x\)) to perform a proximal operation.
\[\text{prox}_{\alpha g} (y) = \text{argmin}_x \frac{1}{2} || x - y ||_2^2 + \alpha g(x)\]Prox can be stacked, and conjugated.
Parameters: - shape – Input/output shape.
- repr_str (string or None) – default: class name.
-
shape
¶ Input/output shape.
-
__init__
(shape, repr_str=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(shape[, repr_str])Initialize self.