pub struct AdReport {
pub failures: Vec<Failure>,
pub checked: usize,
pub unsupported: bool,
pub forward_only: bool,
pub reverse_only: bool,
}Expand description
The result of check_op_ad.
Fields§
§failures: Vec<Failure>The failures.
checked: usizeThe number of samples checked.
unsupported: boolWhether a rule was missing (the primitive is not differentiable yet).
forward_only: boolWhether only forward mode is supported (a transpose rule was missing; the samples were checked in forward mode only).
reverse_only: boolWhether only reverse mode is supported (forward-mode evaluation was
rejected, as for custom_vjp_call; reverse mode was checked against
finite differences).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdReport
impl RefUnwindSafe for AdReport
impl Send for AdReport
impl Sync for AdReport
impl Unpin for AdReport
impl UnsafeUnpin for AdReport
impl UnwindSafe for AdReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more