pub struct AutogradMeta {
pub grad: Option<CpuTensor>,
pub grad_fn: Option<Box<dyn GradFn>>,
pub requires_grad: bool,
}Expand description
Autograd メタデータ
Fields§
§grad: Option<CpuTensor>§grad_fn: Option<Box<dyn GradFn>>§requires_grad: boolAuto Trait Implementations§
impl Freeze for AutogradMeta
impl !RefUnwindSafe for AutogradMeta
impl !Send for AutogradMeta
impl !Sync for AutogradMeta
impl Unpin for AutogradMeta
impl UnsafeUnpin for AutogradMeta
impl !UnwindSafe for AutogradMeta
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