rustorch 0.6.29

Production-ready PyTorch-compatible deep learning library in Rust with special mathematical functions (gamma, Bessel, error functions), statistical distributions, Fourier transforms (FFT/RFFT), matrix decomposition (SVD/QR/LU/eigenvalue), automatic differentiation, neural networks, computer vision transforms, complete GPU acceleration (CUDA/Metal/OpenCL), SIMD optimizations, parallel processing, WebAssembly browser support, comprehensive distributed learning support, and performance validation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Memory Management Module for RusTorch Tensors
//! RusTorchテンソルのメモリ管理モジュール
//!
//! This module provides comprehensive memory management capabilities including:
//! - SIMD-aligned allocation for high-performance computing
//! - Advanced memory pooling strategies
//! - Zero-copy operations and memory sharing detection
//! - Memory optimization and analysis tools

pub mod aligned;
pub mod optimization;
pub mod pool;

// Re-export commonly used types and functions
pub use aligned::{SimdAllocator, SIMD_ALIGNMENT};
pub use optimization::TensorMemoryInfo;