mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-28 21:21:21 +08:00
Added TeX line breaks to mlx.optimizers.Lion docstring (#595)
Fixes the "misplaced &" MathJax error in documentation.
This commit is contained in:
parent
199aebcf77
commit
bad67fec37
@ -465,8 +465,8 @@ class Lion(Optimizer):
|
||||
|
||||
.. math::
|
||||
|
||||
c_{t + 1} &= \beta_1 m_t + (1 - \beta_1) g_t
|
||||
m_{t + 1} &= \beta_2 m_t + (1 - \beta_2) g_t
|
||||
c_{t + 1} &= \beta_1 m_t + (1 - \beta_1) g_t \\
|
||||
m_{t + 1} &= \beta_2 m_t + (1 - \beta_2) g_t \\
|
||||
w_{t + 1} &= w_t - \eta (\text{sign}(c_t) + \lambda w_t)
|
||||
|
||||
Args:
|
||||
|
Loading…
Reference in New Issue
Block a user