sigpy.prox.L2Proj¶
-
class
sigpy.prox.
L2Proj
(shape, epsilon, y=0, axes=None)[source]¶ Proximal operator for l2 norm projection.
\[\min_x \frac{1}{2} \| x - y \|_2^2 + 1\{\| x \|_2 < \epsilon\}\]Parameters: - shape (tuple of ints) – Input shape.
- epsilon (float) – Regularization parameter.
- y (scalar or array) – Bias term.
-
__init__
(shape, epsilon, y=0, axes=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(shape, epsilon[, y, axes])Initialize self.