DAG Shape and Reduction Primitives #
Reductions, transposes, gathers, broadcasting, concatenation, slicing, and shape-preserving views.
Sum a statically nonempty tensor axis.
Instances For
Pure evaluation of an axis sum.
Average a statically nonempty tensor axis.
Instances For
Pure evaluation of an axis mean.
Swap adjacent tensor axes at a statically chosen depth.
Instances For
Pure evaluation of an adjacent-axis swap.
Select one bounded coordinate along an arbitrary tensor axis.
Instances For
Expand singleton or missing dimensions according to a checked broadcasting derivation.
Instances For
Moving a replacement extent from the front to axis realizes replaceAxis.
Replacing an in-bounds axis by its existing extent leaves the shape unchanged.
Move a chosen runtime axis to the front, retaining the unchanged axes in their order.
Instances For
Restore a front runtime axis to its original position.
Instances For
Concatenate tensors along an arbitrary statically valid axis.
Instances For
Concatenate along axis; shape supplies every unchanged axis extent.
Instances For
The pure meaning of arbitrary-axis concatenation.
Select a checked contiguous range along an arbitrary statically valid axis.
Instances For
The pure meaning of a checked arbitrary-axis contiguous slice.
Reshape a tensor while preserving its statically known number of entries.
Instances For
Pure evaluation of a shape-preserving view.