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
Enable empty list of values as attribute #5559
Conversation
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Just wondering: Do we know definitively which field is set (to know the dtype) when they are empty? |
Yes ... AttributeProto has a |
I see! |
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
@xadupre : any further comments on this PR? Thanks! |
This PR makes two fixes:
This allows a Constant op to construct an empty 1D tensor of ints or floats, for example, conveniently.