bound_lower_sharp

bound_lower_sharp(param: Tensor, update: Tensor, limit: float, **kwargs) Tensor[source]

Computes the scaled update of lower-bound sharp parameter dependence.

This is sometimes also referred to as “hard parameter dependence”.

\[U_- = \Theta(P - P_\text{min}) U_-\]

Where

\[\begin{split}\Theta(x) = \begin{cases} 1 &x \geq 0 \\ 0 & x < 0 \end{cases}\end{split}\]
Parameters:
  • param (torch.Tensor) – parameter with update bounding, \(P\).

  • update (torch.Tensor) – depressive update being applied, \(U_-\).

  • limit (float) – value of the upper bound, \(P_\text{min}\).

Returns:

bounded update.

Return type:

torch.Tensor