Skip to content

Conversation

@dan-zheng
Copy link
Contributor

@dan-zheng dan-zheng commented Aug 17, 2020

Cherry-pick of #33483 to tensorflow branch.


Add differentiation support for non-active try_apply SIL instructions.

Notable pullback generation changes:

  • Original basic blocks are now visited in a different order:
  • starting from the original basic block, all its predecessors
  • are visited in a breadth-first search order. This ensures that
  • all successors of any block are visited before the block itself.

Resolves TF-433.

Add differentiation support for non-active `try_apply` SIL instructions.

Notable pullback generation changes:
* Original basic blocks are now visited in a different order:
* starting from the original basic block, all its predecessors
* are visited in a breadth-first search order. This ensures that
* all successors of any block are visited before the block itself.

Resolves TF-433.
@dan-zheng dan-zheng requested a review from marcrasi August 17, 2020 21:29
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

@dan-zheng dan-zheng added the tensorflow This is for "tensorflow" branch PRs. label Aug 17, 2020
@dan-zheng dan-zheng merged commit d2aece7 into swiftlang:tensorflow Aug 18, 2020
@dan-zheng dan-zheng deleted the tensorflow-autodiff branch August 18, 2020 06:45
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