pub struct CacheOptimizedTensorOps { /* private fields */ }Expand description
Cache-optimized tensor operations
Implementations§
Source§impl CacheOptimizedTensorOps
impl CacheOptimizedTensorOps
Sourcepub fn analyze_access_pattern(
&mut self,
_operation: &str,
_data_sizes: &[usize],
) -> MemoryAccessPattern
pub fn analyze_access_pattern( &mut self, _operation: &str, _data_sizes: &[usize], ) -> MemoryAccessPattern
Analyze memory access patterns for given tensor operation
Sourcepub fn optimize_tensor_operation(
&self,
_operation: &str,
access_pattern: &MemoryAccessPattern,
) -> OptimizationStrategy
pub fn optimize_tensor_operation( &self, _operation: &str, access_pattern: &MemoryAccessPattern, ) -> OptimizationStrategy
Optimize tensor operation based on access pattern analysis
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CacheOptimizedTensorOps
impl RefUnwindSafe for CacheOptimizedTensorOps
impl Send for CacheOptimizedTensorOps
impl Sync for CacheOptimizedTensorOps
impl Unpin for CacheOptimizedTensorOps
impl UnsafeUnpin for CacheOptimizedTensorOps
impl UnwindSafe for CacheOptimizedTensorOps
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