Package-level declarations
Types
A materialization strategy that immediately copies all data from a tensor view into a new, standalone tensor with contiguous memory layout.
Default implementation of TensorViewStrategy that prefers views when possible.
Interface for coordinate transformation between tensor view space and parent tensor space.
Thrown when an index value is outside the allowed range.
A materialization strategy that defers copying of tensor view data until individual elements are actually accessed.
Strategy interface for materializing tensor views into concrete tensors.
Memory-pressure-aware tensor view strategy.
Detects NCHW-optimized slicing patterns for efficient memory access.
Thrown when an index tensor contains a non-integral value while strict validation is enabled.
Builder for configuring a single dimension slice within a segment { } block.
DSL builder for creating tensor slices with fluent syntax.
Strategy interface for deciding between view creation and tensor copying.
Functions
Provides a more detailed contiguity analysis with diagnostic information.
Materializes a list of tensor views into a list of standalone tensors efficiently.
Materializes a list of tensor views using a specific materialization strategy.
Checks if this tensor view can be materialized using the default strategy.
Checks if this tensor view can be materialized using a specific strategy.
Detects the NCHW slicing pattern for optimization purposes.
Estimates the total memory overhead for batch materializing a list of views.
Estimates the total memory overhead using a specific materialization strategy.
Estimates the memory overhead of materializing this tensor view.
Estimates the memory overhead of materializing this tensor view with a specific strategy.
Determines if this tensor view represents a contiguous memory layout.
Materializes this tensor view into a standalone tensor using the default strategy.
Materializes this tensor view using a specific materialization strategy.
Creates a view of an existing tensor view, enabling view chaining.
Creates a zero-copy view of this tensor using the provided slicing DSL.