swift
bfa1f54e - [AutoDiff upstream] Add `@derivative(of:)` attribute.

Commit
6 years ago
[AutoDiff upstream] Add `@derivative(of:)` attribute. The `@derivative(of:)` attribute registers a function as a derivative of another function. This patch adds the `@derivative(of:)` attribute definition, syntax, parsing, and printing. Resolves TF-826. Todos: - Type-checking (TF-829). - Serialization (TF-837).
Author
Committer
Parents
Loading