pub enum Feature {
Autodiff,
BatchExecution,
SparseTensors,
MixedPrecision,
SIMDAcceleration,
GPUAcceleration,
DistributedExecution,
JIT,
Custom(u32),
}Expand description
Backend feature flags
Variants§
Autodiff
Supports automatic differentiation
BatchExecution
Supports batched execution
SparseTensors
Supports sparse tensors
MixedPrecision
Supports mixed precision
SIMDAcceleration
Supports SIMD acceleration
GPUAcceleration
Supports GPU execution
DistributedExecution
Supports distributed execution
JIT
Supports JIT compilation
Custom(u32)
Custom feature
Implementations§
Trait Implementations§
impl Copy for Feature
impl Eq for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
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