pub enum ScaleOp {
Multiply,
Divide,
}Expand description
Descriptor for GEMM epilogues applied to C = A * B before storing to C.
Supported operations:
- Scale by
alphaand add scalarbeta. - Multiply output by per-row and/or per-column scale vectors (broadcasted).
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScaleOp
impl<'de> Deserialize<'de> for ScaleOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for ScaleOp
impl Eq for ScaleOp
impl StructuralPartialEq for ScaleOp
Auto Trait Implementations§
impl Freeze for ScaleOp
impl RefUnwindSafe for ScaleOp
impl Send for ScaleOp
impl Sync for ScaleOp
impl Unpin for ScaleOp
impl UnwindSafe for ScaleOp
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