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-9511] [AD] Make thick @autodiff functions use a special type info #51963

Closed
rxwei opened this issue Dec 14, 2018 · 0 comments
Closed

[SR-9511] [AD] Make thick @autodiff functions use a special type info #51963

rxwei opened this issue Dec 14, 2018 · 0 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. swift for tensorflow

Comments

@rxwei
Copy link
Member

rxwei commented Dec 14, 2018

Previous ID SR-9511
Radar None
Original Reporter @rxwei
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Swift for TensorFlow
Labels Bug
Assignee @marcrasi
Priority Medium

md5: 64b3242605890a868f52f5703fd39d2e

Issue Description:

When lowering types to IRGen, we currently convert @autodiff functions to a tuple representing the function bundle. However, this does not work well with thick functions because tuples' lowered type is not a ReferenceType. We need a special type info for thick @autodiff functions: DifferentiableFunctionTypeInfo.

Luckily, I have some prior work (or, boilerplate) that I can directly port over to support thick functions: 79c17ac

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. swift for tensorflow
Projects
None yet
Development

No branches or pull requests

1 participant