File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1519,8 +1519,9 @@ pub(crate) mod builtin {
1519
1519
( $file: expr $( , ) ?) => { { /* compiler built-in */ } } ;
1520
1520
}
1521
1521
1522
- /// the derivative of a given function in the forward mode of differentiation.
1523
- /// It may only be applied to a function.
1522
+ /// This macro uses forward-mode automatic differentiation to generate a new function.
1523
+ /// It may only be applied to a function. The new function will compute the derivative
1524
+ /// of the function to which the macro was applied.
1524
1525
///
1525
1526
/// The expected usage syntax is:
1526
1527
/// `#[autodiff_forward(NAME, INPUT_ACTIVITIES, OUTPUT_ACTIVITY)]`
@@ -1537,9 +1538,9 @@ pub(crate) mod builtin {
1537
1538
/* compiler built-in */
1538
1539
}
1539
1540
1540
- /// Automatic Differentiation macro which allows generating a new function to compute
1541
- /// the derivative of a given function in the reverse mode of differentiation.
1542
- /// It may only be applied to a function .
1541
+ /// This macro uses reverse-mode automatic differentiation to generate a new function.
1542
+ /// It may only be applied to a function. The new function will compute the derivative
1543
+ /// of the function to which the macro was applied .
1543
1544
///
1544
1545
/// The expected usage syntax is:
1545
1546
/// `#[autodiff_reverse(NAME, INPUT_ACTIVITIES, OUTPUT_ACTIVITY)]`
You can’t perform that action at this time.
0 commit comments