Skip to content

Update view guide to mention with_ and as_ prefixes#5416

Merged
copybara-service[bot] merged 1 commit intogoogle:mainfrom
samanklesaria:view_guide_change
Apr 23, 2026
Merged

Update view guide to mention with_ and as_ prefixes#5416
copybara-service[bot] merged 1 commit intogoogle:mainfrom
samanklesaria:view_guide_change

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

@copybara-service copybara-service Bot merged commit b1f0e22 into google:main Apr 23, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants