Skip to content
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

Models: use explictly typed math operations (NFC) #322

Merged
merged 1 commit into from Feb 15, 2020

Conversation

compnerd
Copy link
Contributor

Use the typed math operations powf, sqrtf. This is required to
ensure that we can build on Windows.

Use the typed math operations `powf`, `sqrtf`.  This is required to
ensure that we can build on Windows.
Copy link
Member

@saeta saeta left a comment

Choose a reason for hiding this comment

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

I'm okay with this going in for now, but I think it would be good to figure out a way to have the untyped functions build properly on Windows, if at all possible. Otherwise, this will be a perennial problem with cross-platform code.

@saeta saeta merged commit 5ac57ba into tensorflow:master Feb 15, 2020
Shashi456 pushed a commit to Shashi456/swift-models that referenced this pull request Feb 20, 2020
Use the typed math operations `powf`, `sqrtf`.  This is required to
ensure that we can build on Windows.
Shashi456 pushed a commit to Shashi456/swift-models that referenced this pull request Feb 20, 2020
Use the typed math operations `powf`, `sqrtf`.  This is required to
ensure that we can build on Windows.
@compnerd compnerd deleted the typing branch February 27, 2021 23:26
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.

None yet

3 participants