pub struct MatMulBackward {
pub output_id: TensorId,
pub lhs_id: Option<TensorId>,
pub rhs_id: Option<TensorId>,
pub lhs_data: Buffer,
pub rhs_data: Buffer,
pub lhs_shape: Shape,
pub rhs_shape: Shape,
}Expand description
The backward operation for matrix multiplication.
Fields§
§output_id: TensorId§lhs_id: Option<TensorId>§rhs_id: Option<TensorId>§lhs_data: Buffer§rhs_data: Buffer§lhs_shape: Shape§rhs_shape: ShapeTrait Implementations§
Source§impl TapeAction for MatMulBackward
impl TapeAction for MatMulBackward
Auto Trait Implementations§
impl Freeze for MatMulBackward
impl RefUnwindSafe for MatMulBackward
impl Send for MatMulBackward
impl Sync for MatMulBackward
impl Unpin for MatMulBackward
impl UnsafeUnpin for MatMulBackward
impl UnwindSafe for MatMulBackward
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more