|
209 | 209 | # generic-where-clause?
|
210 | 210 | Node('DifferentiableAttributeArguments', kind='Syntax',
|
211 | 211 | description='''
|
212 |
| - The arguments for the `@differentiable` attribute: an optional \ |
| 212 | + The arguments for the `@differentiable` attribute: an optional |
213 | 213 | differentiation parameter list and associated functions.
|
214 | 214 | ''',
|
215 | 215 | children=[
|
|
219 | 219 | The comma following the differentiation parameters clause,
|
220 | 220 | if it exists.
|
221 | 221 | ''', is_optional=True),
|
222 |
| - Child('MaybePrimal', kind='DifferentiableAttributeFuncSpecifier', |
223 |
| - is_optional=True), |
224 |
| - Child('MaybeAdjoint', kind='DifferentiableAttributeFuncSpecifier', |
225 |
| - is_optional=True), |
226 | 222 | Child('MaybeJVP', kind='DifferentiableAttributeFuncSpecifier',
|
227 | 223 | is_optional=True),
|
228 | 224 | Child('MaybeVJP', kind='DifferentiableAttributeFuncSpecifier',
|
|
266 | 262 | # differentiation-param -> ('self' | identifer) ','?
|
267 | 263 | Node('DifferentiationParam', kind='Syntax',
|
268 | 264 | description='''
|
269 |
| - A differentiation parameter: either the "self" identifier or a \ |
| 265 | + A differentiation parameter: either the "self" identifier or a |
270 | 266 | function parameter name.
|
271 | 267 | ''',
|
272 | 268 | traits=['WithTrailingComma'],
|
|
283 | 279 | # ('jvp' | 'vjp') ':' func-decl-name ','?
|
284 | 280 | Node('DifferentiableAttributeFuncSpecifier', kind='Syntax',
|
285 | 281 | description='''
|
286 |
| - A function specifier, consisting of an identifier, colon, and a \ |
| 282 | + A function specifier, consisting of an identifier, colon, and a |
287 | 283 | function declaration name (e.g. `vjp: foo(_:_:)`).
|
288 | 284 | ''',
|
289 | 285 | traits=['WithTrailingComma'],
|
|
313 | 309 | ]),
|
314 | 310 | Child('Arguments', kind='DeclNameArguments',
|
315 | 311 | is_optional=True, description='''
|
316 |
| - The argument labels of the referenced function, optionally \ |
| 312 | + The argument labels of the referenced function, optionally |
317 | 313 | specified.
|
318 | 314 | '''),
|
319 | 315 | ]),
|
|
0 commit comments