Skip to content

Commit

Permalink
Update NNX Variable class docs in variablelib.py
Browse files Browse the repository at this point in the history
  • Loading branch information
8bitmp3 committed Dec 17, 2024
1 parent fc38f21 commit 724855d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flax/nnx/variablelib.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ class VariableMetadata(tp.Generic[A]):


class Variable(tp.Generic[A], reprlib.Representable):
"""The base class for all ``Variable`` types. Create custom ``Variable``
types by subclassing this class. Numerous NNX graph functions can filter
for specific ``Variable`` types, for example, :func:`split`, :func:`state`,
:func:`pop`, and :func:`State.filter`.
"""The base class for all :class:`flax.nnx.Variable` types. Creates custom
``nnx.Variable`` types by subclassing this class. Numerous NNX graph functions
can filter for specific ``nnx.Variable`` types, for example, :func:`flax.nnx.split`,
:func:`flax.nnx.state`, :func:`flax.nnx.pop`, and :func:`flax.nnx.State.filter`.
Example usage::
Expand Down

0 comments on commit 724855d

Please sign in to comment.