Closed XuehaiPan closed 1 year ago
Base: 94.04% // Head: 100.00% // Increases project coverage by +5.96%
:tada:
Coverage data is based on head (
2c0cf62
) compared to base (645fdfb
). Patch coverage: 100.00% of modified lines in pull request are covered.:exclamation: Current head 2c0cf62 differs from pull request most recent head b1db354. Consider uploading reports for the commit b1db354 to get more accurate results
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Description
Describe your changes in detail.
PyTreeSpec.type
and methodPyTreeSpec.is_leaf
.Motivation and Context
Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. You can use the syntax
close #15213
if this solves the issue #15213Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply:Checklist
Go over all the following points, and put an
x
in all the boxes that apply. If you are unsure about any of these, don't hesitate to ask. We are here to help!make format
. (required)make lint
. (required)make test
pass. (required)