[AutoDiff] forbid derivative registration using @differentiable (#30001)

Delete `@differentiable` attribute `jvp:` and `vjp:` arguments for derivative
registration. `@derivative` attribute is now the canonical way to register
derivatives.

Resolves TF-1001.
This commit is contained in:
marcrasi
2020-03-24 00:41:27 -07:00
committed by GitHub
parent d0fb9c65c3
commit 1be86adbfc
18 changed files with 138 additions and 1063 deletions

View File

@@ -1816,10 +1816,6 @@ namespace decls_block {
Differentiable_DECL_ATTR,
BCFixed<1>, // Implicit flag.
BCFixed<1>, // Linear flag.
IdentifierIDField, // JVP name.
DeclIDField, // JVP function declaration.
IdentifierIDField, // VJP name.
DeclIDField, // VJP function declaration.
GenericSignatureIDField, // Derivative generic signature.
BCArray<BCFixed<1>> // Differentiation parameter indices' bitvector.
>;