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

Extend capabilities of tree_get, tree_set. #878

Merged
merged 1 commit into from
Mar 22, 2024
Merged

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Mar 21, 2024

Extend capabilities of tree_get, tree_set.

  1. Enable tree_get, tree_set to filter for the name of a named tuple in the path to a key (hence filter the name of a state in a chained transformation).
    This enables distinguishing for attributes identical in two different states except that the names of the states are different.

  2. Enable tree_get, tree_set to fetch or set named tuples by the name of the name tuple. This is handy to fetch a given state in the overall state of a chained optimizer.

@copybara-service copybara-service bot force-pushed the test_617976030 branch 2 times, most recently from a1c0143 to 60e8710 Compare March 22, 2024 01:34
@copybara-service copybara-service bot changed the title Enable tree_get, tree_set to filter in the path to a key for the name of a named tuple (hence the name of a state in a chained transformation). Extend capabilities of tree_get, tree_set. Mar 22, 2024
@copybara-service copybara-service bot force-pushed the test_617976030 branch 6 times, most recently from f48fbf9 to 7112208 Compare March 22, 2024 20:39
1. Enable tree_get, tree_set to filter for the name of a named tuple in the path to a key (hence filter the name of a state in a chained transformation).
This enables distinguishing for attributes identical in two different states except that the names of the states are different.

2. Enable tree_get, tree_set to fetch or set named tuples by the name of the name tuple. This is handy to fetch a given state in the overall state of a chained optimizer.

PiperOrigin-RevId: 618278195
@copybara-service copybara-service bot merged commit b555b4f into main Mar 22, 2024
@copybara-service copybara-service bot deleted the test_617976030 branch March 22, 2024 20:53
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