pub struct TensorCoreInfo {
pub compute_capability: (u32, u32),
pub supports_fp16: bool,
pub supports_bf16: bool,
pub supports_tf32: bool,
pub supports_fp8: bool,
pub supports_int8: bool,
pub supports_sparse: bool,
pub max_tensor_ops_per_second: f64,
}Expand description
Tensor core capability information
Fields§
§compute_capability: (u32, u32)§supports_fp16: bool§supports_bf16: bool§supports_tf32: bool§supports_fp8: bool§supports_int8: bool§supports_sparse: bool§max_tensor_ops_per_second: f64Trait Implementations§
Source§impl Clone for TensorCoreInfo
impl Clone for TensorCoreInfo
Source§fn clone(&self) -> TensorCoreInfo
fn clone(&self) -> TensorCoreInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TensorCoreInfo
impl RefUnwindSafe for TensorCoreInfo
impl Send for TensorCoreInfo
impl Sync for TensorCoreInfo
impl Unpin for TensorCoreInfo
impl UnsafeUnpin for TensorCoreInfo
impl UnwindSafe for TensorCoreInfo
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