-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Fix/fp64 #10346
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
Fix/fp64 #10346
Conversation
AddAttr<AttrType>("scale", | ||
"(float, default 1.0)" | ||
"The scaling factor of the scale operator.") | ||
AddAttr<float>("scale", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why only support float
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the Attr is a static variable, we cannot select its type based the input, and I think the attribute be float is enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, yet do we need some test to ensure fp64 model works?
That's true. I will add a test later. |
support of float64 in se-renext