pub struct TensorCoreOperation<T: Float + Debug + Send + Sync + 'static> {
pub op_type: TensorCoreOpType<T>,
pub output_dims: (usize, usize),
pub precision: TensorCorePrecision,
pub priority: i32,
pub dependencies: Vec<usize>,
pub compute_cost: f64,
pub memory_bandwidth: f64,
}Expand description
Detailed tensor core operation descriptor
Fields§
§op_type: TensorCoreOpType<T>Operation type and parameters
output_dims: (usize, usize)Output dimensions
precision: TensorCorePrecisionPrecision to use
priority: i32Operation priority (higher = more important)
dependencies: Vec<usize>Dependencies on other operations
compute_cost: f64Estimated compute cost
memory_bandwidth: f64Memory bandwidth requirement
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TensorCoreOperation<T>where
T: Freeze,
impl<T> RefUnwindSafe for TensorCoreOperation<T>where
T: RefUnwindSafe,
impl<T> Send for TensorCoreOperation<T>
impl<T> Sync for TensorCoreOperation<T>
impl<T> Unpin for TensorCoreOperation<T>where
T: Unpin,
impl<T> UnwindSafe for TensorCoreOperation<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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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