Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nnx] cleanup graph #3915

Merged
merged 1 commit into from
May 13, 2024
Merged

[nnx] cleanup graph #3915

merged 1 commit into from
May 13, 2024

Conversation

cgarciae
Copy link
Collaborator

@cgarciae cgarciae commented May 9, 2024

What does this PR do?

  • Renames NodeDef.variables to leaves.
  • Changes to type of NodeDef.leaves to allow passing None indexes.
  • Adds non-VariableState leaves to NodeDef.leaves during flattening with a None index.
  • Adds more comments to the unflatten code and cleans up the logic a bit.

@copybara-service copybara-service bot merged commit a2a6242 into main May 13, 2024
21 checks passed
@copybara-service copybara-service bot deleted the nnx-graph-comments branch May 13, 2024 13:06
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