pub struct TensorCoreBatch<T: Float + Debug + Send + Sync + 'static> {
pub a: Array2<T>,
pub b: Array2<T>,
pub alpha: T,
pub beta: T,
pub output_m: usize,
pub output_n: usize,
}Expand description
Batch operation for tensor cores
Fields§
§a: Array2<T>§b: Array2<T>§alpha: T§beta: T§output_m: usize§output_n: usizeTrait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TensorCoreBatch<T>where
T: Freeze,
impl<T> RefUnwindSafe for TensorCoreBatch<T>where
T: RefUnwindSafe,
impl<T> Send for TensorCoreBatch<T>
impl<T> Sync for TensorCoreBatch<T>
impl<T> Unpin for TensorCoreBatch<T>where
T: Unpin,
impl<T> UnsafeUnpin for TensorCoreBatch<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for TensorCoreBatch<T>where
T: UnwindSafe + RefUnwindSafe,
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