Stable API: Initial Style vs Final Style transforms #19725
-
Hi, we are thinking of writing some JAX transforms and we have been debating about whether to use Initial Style vs Final Style. We have noticed that the classes for How unstable are the classes needed to implement a Final Style transform (like EDIT: I know technically a lot of Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Thanks for the question – I think @mattjj and @froystig might also want to weigh in here, but I think it is not our intent that the tools for writing custom transformations would be part of JAX's public/stable API. Things at that level are still considered internal APIs, and we don't expect most users to have to interact with them. We might think about putting pieces of it into Out of curiosity, what is the use-case that you have in mind? |
Beta Was this translation helpful? Give feedback.
Thanks for the question – I think @mattjj and @froystig might also want to weigh in here, but I think it is not our intent that the tools for writing custom transformations would be part of JAX's public/stable API. Things at that level are still considered internal APIs, and we don't expect most users to have to interact with them. We might think about putting pieces of it into
jax.extend
(see https://jax.readthedocs.io/en/latest/jep/15856-jex.html) but that is still evolving at the moment.Out of curiosity, what is the use-case that you have in mind?