Skip to content

[SR-9443] [AD] Fix TBDGen and linkage issues for autodiff associated functions #51907

@rxwei

Description

@rxwei
Previous ID SR-9443
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: 232786fa0f3930ee91ababc00561adf0

Issue Description:

See #21106 for context.

AD associated functions should not have non-abi linkage. We should make sure TBDGen emits AD associated functions. This also needs us to switch the existing @differentiable protocol implementation to use SILDeclRef.

Metadata

Metadata

Assignees

Labels

bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.swift for tensorflow

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions