Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Minor fix for AD. #106

Merged
merged 2 commits into from
Apr 21, 2019
Merged

Minor fix for AD. #106

merged 2 commits into from
Apr 21, 2019

Conversation

eaplatanios
Copy link
Contributor

@rxwei This is based on what you mentioned in this email thread.

@rxwei
Copy link
Contributor

rxwei commented Apr 21, 2019

Thanks!

@rxwei
Copy link
Contributor

rxwei commented Apr 21, 2019

It's not a bug though. We just need a API that allows you to use any function/property while forcing the derivative to be zero.

@rxwei rxwei merged commit c499e16 into tensorflow:master Apr 21, 2019
@eaplatanios
Copy link
Contributor Author

It's not a bug though. We just need a API that allows you to use any function/property while forcing the derivative to be zero.

Sorry, the "bug fix" commit was referring to the use of _TFGetScalarOrDie in Math.swift, which was missing from the previous PR moving stuff over from stdlib. :)

@rxwei
Copy link
Contributor

rxwei commented Apr 21, 2019

Got it!

@rxwei
Copy link
Contributor

rxwei commented Apr 21, 2019

Since this doesn't compile with SwiftPM, I'll have to revert it along with #70 to iterate further. Happy to help with resolving the compilation issues!

rxwei added a commit that referenced this pull request Apr 21, 2019
@rxwei rxwei mentioned this pull request Apr 21, 2019
rxwei added a commit that referenced this pull request Apr 21, 2019
Shashi456 pushed a commit to Shashi456/swift-apis that referenced this pull request Apr 29, 2019
Shashi456 pushed a commit to Shashi456/swift-apis that referenced this pull request Apr 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants