pub struct MulBackward {
pub output_id: TensorId,
pub lhs_id: Option<TensorId>,
pub rhs_id: Option<TensorId>,
pub lhs_data: Buffer,
pub rhs_data: Buffer,
}Expand description
The backward operation for element-wise multiplication.
Fields§
§output_id: TensorId§lhs_id: Option<TensorId>§rhs_id: Option<TensorId>§lhs_data: Buffer§rhs_data: BufferTrait Implementations§
Source§impl TapeAction for MulBackward
impl TapeAction for MulBackward
Auto Trait Implementations§
impl Freeze for MulBackward
impl RefUnwindSafe for MulBackward
impl Send for MulBackward
impl Sync for MulBackward
impl Unpin for MulBackward
impl UnsafeUnpin for MulBackward
impl UnwindSafe for MulBackward
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