Closed XuehaiPan closed 1 year ago
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:
Coverage data is based on head (
0b6aa78
) compared to base (b41db31
). Patch coverage: 100.00% of modified lines in pull request are covered.:exclamation: Current head 0b6aa78 differs from pull request most recent head 25d3872. Consider uploading reports for the commit 25d3872 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.
Add
PyStructSequence
types as internal node types.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 #15213Resolves #29.
Without this PR:
StructSequence
s are leavesWith this PR:
StructSequence
s behave liketuple
sNew helper functions:
is_structseq
is_structseq_class
structseq_fields
Types 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)