Skip to content

Effect of del on Unused Parameters in Jitted JAX Functions #23161

Answered by dfm
helpingstar asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure this is the right place to open an optax discussion :D, but...

No, this doesn't provide any performance benefits! This pattern is adopted from Google's Python style guide, and it can be useful for making sure that you actually don't use variables, and it can appease the little red squiggles in some editors.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@helpingstar
Comment options

Answer selected by helpingstar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants