We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa6d358 commit 2759069Copy full SHA for 2759069
library/core/src/macros/mod.rs
@@ -1533,6 +1533,8 @@ pub(crate) mod builtin {
1533
/// # Example
1534
///
1535
/// ```rust
1536
+ /// use std::autodiff::autodiff_forward;
1537
+ ///
1538
/// #[autodiff_forward(df, Dual, Dual, Dual)]
1539
/// fn f(x: f64, y: f64) -> f64 {
1540
/// x * y
@@ -1561,6 +1563,8 @@ pub(crate) mod builtin {
1561
1563
1562
1564
1565
1566
+ /// use std::autodiff::autodiff_reverse;
1567
1568
/// #[autodiff_reverse(df, Active, Active, Active)]
1569
1570
0 commit comments