Assignment arrow
Assignment in an algorithm: replace the variable on the left with the value on the right.
In ML papers
means "set to ", as in code. It appears in algorithm boxes and update rules: overwrites the parameters with their updated values. Unlike , it is not a claim that the two sides are equal.
How to type it
| LaTeX | Shows |
|---|---|
\leftarrow | |
\gets |
A worked example
Increment a counter: nonsense as an equation, normal as an assignment.