Skip to content

Commit 7457963

Browse files
author
Flax Authors
committed
Merge pull request #3068 from chiamp:api_ref
PiperOrigin-RevId: 529234087
2 parents b7a10e8 + 3df449f commit 7457963

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

docs/api_reference/flax.config.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
flax.config package
33
====================
44

5-
Flax has the following global config options.
6-
7-
.. automodule:: flax.config
5+
.. automodule:: flax.configurations
6+
:members:
7+
:exclude-members: use_regular_dict

docs/api_reference/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ API Reference
44
.. toctree::
55
:maxdepth: 3
66

7+
flax.config
8+
flax.core.frozen_dict
9+
flax.errors
10+
flax.jax_utils
711
flax.linen
812
flax.serialization
9-
flax.core.frozen_dict
1013
flax.struct
11-
flax.jax_utils
1214
flax.traceback_util
13-
flax.traverse_util
1415
flax.training
15-
flax.config
16-
flax.errors
16+
flax.traverse_util

flax/configurations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
"""Global configuration options for Flax.
1616
17-
Now a wrapper over jax.config, in which all config vars have a 'flax_' prefix.
17+
Now a wrapper over jax.config, in which all config vars have a 'flax\_' prefix.
1818
1919
To modify a config value on run time, call:
20-
`flax.config.update('flax_<config_name>', <value>)`
20+
``flax.config.update('flax_<config_name>', <value>)``
2121
2222
"""
2323

0 commit comments

Comments
 (0)