Skip to content

Add flag for variables in nnx.merge#5381

Merged
copybara-service[bot] merged 2 commits into
google:mainfrom
samanklesaria:variables-in-merge
Apr 13, 2026
Merged

Add flag for variables in nnx.merge#5381
copybara-service[bot] merged 2 commits into
google:mainfrom
samanklesaria:variables-in-merge

Conversation

@samanklesaria

Copy link
Copy Markdown
Collaborator

Currently, nnx.map always maps Variables to Variables. This PR allows it to produce non-variable leaves by modifying `nnx.merge.

@copybara-service copybara-service Bot merged commit 4c9d11f into google:main Apr 13, 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