Skip to content

Rename vars_as to with_vars#5384

Open
samanklesaria wants to merge 2 commits intogoogle:mainfrom
samanklesaria:vars_as_rename
Open

Rename vars_as to with_vars#5384
samanklesaria wants to merge 2 commits intogoogle:mainfrom
samanklesaria:vars_as_rename

Conversation

@samanklesaria
Copy link
Copy Markdown
Collaborator

This PR is part of a series (extracted from #5376) that standardizes the naming conventions around NNX views, unifying behavior when possible. Ideally all view API names would now have a with_ or as_ prefix. Additionally all view functions will expose an only argument that accepts a filter, be implemented using nnx.map or nnx.recursive_map, and expose a graph argument.

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@samanklesaria samanklesaria marked this pull request as ready for review March 31, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant