Skip to content

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

Merged
merged 7 commits into from
May 3, 2018
Merged

Fix/fp64 #10346

merged 7 commits into from
May 3, 2018

Conversation

dzhwinter
Copy link
Contributor

support of float64 in se-renext

AddAttr<AttrType>("scale",
"(float, default 1.0)"
"The scaling factor of the scale operator.")
AddAttr<float>("scale",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why only support float?

Copy link
Contributor Author

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.

Copy link
Contributor

@typhoonzero typhoonzero left a 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?

@dzhwinter
Copy link
Contributor Author

That's true. I will add a test later.

@dzhwinter dzhwinter merged commit f63ff90 into PaddlePaddle:develop May 3, 2018
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.

3 participants