1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Tensor Manipulation Operations - Modular Architecture
//!
//! This module has been refactored into a modular architecture for better maintainability
//! and organization. The functionality has been split into specialized modules by operation type:
//!
//! ## Module Organization
//!
//! - **common**: Shared helper functions and GPU dispatch utilities
//! - **shape**: Shape manipulation operations (reshape, expand_dims, squeeze, etc.)
//! - **transpose**: Transposition and permutation operations (transpose, flip, roll)
//! - **indexing**: Slicing and indexing operations (slice, gather, scatter, etc.)
//! - **concatenation**: Concatenation and stacking operations (concat, stack, split, etc.) ✓ extracted
//! - **utilities**: Utility operations (identity, cast, pad, one_hot) ✓ extracted
//!
//! All operations maintain 100% backward compatibility through strategic re-exports.
// Import the modularized tensor manipulation functionality
// Indexing operations extracted from manipulation.rs.bak
// Utility operations extracted from manipulation.rs.bak // Concatenation operations extracted from manipulation.rs.bak
// Re-export all operations for backward compatibility
// Shape operations
pub use ;
// Transposition operations
pub use ;
// Indexing operations
pub use ;
// Concatenation operations
pub use ;
// Utility operations
pub use ;
// Re-export common utilities for internal use by other modules
pub use ;