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