Skip to content

[AutoDiff] Fix AdjointEmitter::getAdjointBuffer, clean up tests. #24793

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
May 15, 2019

Conversation

dan-zheng
Copy link
Contributor

  • Fix emitZeroIndirect for local buffer in AdjointEmitter::getAdjointBuffer.
    • Add test to test/AutoDiff/generics.swift.
  • Clean up tests.
    • Re-enable parts of test/AutoDiff/autodiff_diagnostics.swift.
    • Delete unuseful test/AutoDiff/generic_real_vector.swift.
    • Move generic diagnostic test to test/AutoDiff/autodiff_indirect_diagnostics.swift.
  • Gardening.

- Fix `emitZeroIndirect` for local buffer in
  `AdjointEmitter::getAdjointBuffer`.
  - Add test to test/AutoDiff/generics.swift.
- Clean up tests.
  - Re-enable parts of test/AutoDiff/autodiff_diagnostics.swift.
  - Delete unuseful test/AutoDiff/generic_real_vector.swift.
  - Move generic diagnostic test to
    test/AutoDiff/autodiff_indirect_diagnostics.swift.
- Gardening.
@dan-zheng dan-zheng added the tensorflow This is for "tensorflow" branch PRs. label May 15, 2019
@dan-zheng dan-zheng requested a review from rxwei May 15, 2019 01:06
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

@dan-zheng dan-zheng merged commit 65d14d0 into swiftlang:tensorflow May 15, 2019
@dan-zheng dan-zheng deleted the autodiff-patch branch May 15, 2019 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tensorflow This is for "tensorflow" branch PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants