Module view

Module view 

Source
Expand description

Views and Slicing - Tensor Indexing Operations

Provides functionality for creating views into tensors through slicing, indexing, and masking operations. Views share storage with the original tensor when possible, avoiding unnecessary copies.

§Key Features

  • Zero-copy slicing for contiguous ranges
  • Advanced indexing with integer arrays
  • Boolean masking
  • Gather and scatter operations

@version 0.1.0 @author AutomataNexus Development Team

Enums§

SliceSpec
Specifies how to slice along a single dimension.

Functions§

cat
Concatenates tensors along an existing dimension.
stack
Stacks tensors along a new dimension.