Skip to content

Support value_{int, ints, float, floats} attributes in Constant op #649

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

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

robertknight
Copy link
Owner

In RTen, Constant operators are converted to constant graph nodes at model conversion time. Previously the converter only supported the value attribute. Values can also be specified via the value_{int, ints, float, floats, string, strings} attributes. Support the int/float cases here. The string cases are not supported because RTen doesn't support string-valued operator inputs yet.

In RTen, `Constant` operators are converted to constant graph nodes at model
conversion time. Previously the converter only supported the `value` attribute.
Values can also be specified via the `value_{int, ints, float, floats, string,
strings}` attributes. Support the int/float cases here. The string cases are not
supported because RTen doesn't support string-valued operator inputs yet.
@robertknight robertknight merged commit 2c868b8 into main Apr 2, 2025
2 checks passed
@robertknight robertknight deleted the constant-op-value-fields branch April 2, 2025 07:16
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