Skip to content

Commit

Permalink
Merge pull request #3752 from chiamp:intercept
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 615488628
  • Loading branch information
Flax Authors committed Mar 13, 2024
2 parents 9fbf69d + fca6b45 commit 50b589f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flax/linen/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def intercept_methods(interceptor: Interceptor):
The following methods couldn't be intercepted:
1. Methods decoratored with ``nn.nowrap``.
2. Dunder methods including '__eq__', '__repr__', '__init__', '__hash__', and '__post_init__'.
2. Dunder methods including ``__eq__``, ``__repr__``, ``__init__``, ``__hash__``, and ``__post_init__``.
3. Module dataclass fields.
4. Module descriptors.
Expand Down

0 comments on commit 50b589f

Please sign in to comment.