jaxopt.prox.prox_none

jaxopt.prox.prox_none(x, hyperparams=None, scaling=1.0)[source]

Proximal operator for \(g(x) = 0\), i.e., the identity function.

Since \(g(x) = 0\), the output is:

\[\underset{y}{\text{argmin}} ~ \frac{1}{2} ||x - y||_2^2 = x\]
Parameters
  • x (Any) – input pytree.

  • hyperparams (Optional[Any]) – ignored.

  • scaling (float) – ignored.

Return type

Any

Returns

output pytree, with the same structure as x.