Skip to content

Commit 1addfe0

Browse files
committed
[AutoDiff] Remove @differentiable attribute jvp: and vjp: argument syntax.
Remove `MaybeJVP` and `MaybeVJP` from `DifferentiableAttributeArguments`.
1 parent 4e85c51 commit 1addfe0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

utils/gyb_syntax_support/AttributeNodes.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
Node('DifferentiableAttributeArguments', kind='Syntax',
213213
description='''
214214
The arguments for the `@differentiable` attribute: an optional
215-
differentiation parameter list and associated functions.
215+
differentiation parameter list and an optional `where` clause.
216216
''',
217217
children=[
218218
Child('DiffParams', kind='DifferentiationParamsClause',
@@ -221,10 +221,6 @@
221221
The comma following the differentiation parameters clause,
222222
if it exists.
223223
''', is_optional=True),
224-
Child('MaybeJVP', kind='DifferentiableAttributeFuncSpecifier',
225-
is_optional=True),
226-
Child('MaybeVJP', kind='DifferentiableAttributeFuncSpecifier',
227-
is_optional=True),
228224
Child('WhereClause', kind='GenericWhereClause', is_optional=True),
229225
]),
230226

0 commit comments

Comments
 (0)