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