Struct burn_wgpu::kernel::reduce::MeanDimAutotuneOperationSet
source · pub struct MeanDimAutotuneOperationSet<E: WgpuElement, const D: usize> { /* private fields */ }Expand description
Set of mean_dim implementations available for autotune Autotune key is given by concatenating the closest upper power of 2 of dim to reduce, and product of others
Trait Implementations§
source§impl<E: WgpuElement + Element, const D: usize> AutotuneOperationSet<WgpuAutotuneKey> for MeanDimAutotuneOperationSet<E, D>
impl<E: WgpuElement + Element, const D: usize> AutotuneOperationSet<WgpuAutotuneKey> for MeanDimAutotuneOperationSet<E, D>
source§fn key(&self) -> WgpuAutotuneKey
fn key(&self) -> WgpuAutotuneKey
The key used in the tune cache
source§fn autotunables(&self) -> Vec<Box<dyn AutotuneOperation>>
fn autotunables(&self) -> Vec<Box<dyn AutotuneOperation>>
All candidate operations for autotuning this operation type
Operations can run on toy tensors of relevant size
Auto Trait Implementations§
impl<E, const D: usize> !RefUnwindSafe for MeanDimAutotuneOperationSet<E, D>
impl<E, const D: usize> Send for MeanDimAutotuneOperationSet<E, D>
impl<E, const D: usize> Sync for MeanDimAutotuneOperationSet<E, D>
impl<E, const D: usize> Unpin for MeanDimAutotuneOperationSet<E, D>where E: Unpin,
impl<E, const D: usize> !UnwindSafe for MeanDimAutotuneOperationSet<E, D>
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