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

[SR-13699] Differentiation transform: support active enum values #53353

Open
dan-zheng opened this issue Jun 18, 2019 · 0 comments
Open

[SR-13699] Differentiation transform: support active enum values #53353

dan-zheng opened this issue Jun 18, 2019 · 0 comments

Comments

@dan-zheng
Copy link
Contributor

Previous ID SR-13699
Radar None
Original Reporter @dan-zheng
Type Sub-task
Additional Detail from JIRA
Votes 0
Component/s
Labels Sub-task
Assignee None
Priority Medium

md5: 2a55bd2f0fb3d16f2f93210145515ac6

Parent-Task:

Issue Description:

Differentiation transform needs to propagate adjoint values of enum associated values correctly. This is non-trivial because the switch_enum operand and successor block arguments have different types: the operand has an enum type but successor block arguments have associated values' type. Adjoint value propagation needs to construct enum adjoint value from associated values' adjoint values.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
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

No branches or pull requests

1 participant