-
I think supporting hooking the See FLAX's latest documentation on Module class and PyTorch's register_forward_hook. |
Beta Was this translation helpful? Give feedback.
Answered by
2catycm
May 9, 2024
Replies: 1 comment 1 reply
-
OK, now I find it, it is called interceptor https://flax.readthedocs.io/en/latest/api_reference/flax.linen/module.html#flax.linen.intercept_methods |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
2catycm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK, now I find it, it is called interceptor https://flax.readthedocs.io/en/latest/api_reference/flax.linen/module.html#flax.linen.intercept_methods