Expand description
Range types used when slicing tensors.
Structs§
- Slice
Range - A range for slicing a
TensororNdTensor.
Enums§
- Slice
Item - Specifies a subset of a dimension to include when slicing a tensor or view.
Traits§
- Into
Slice Items - Used to convert sequences of indices and/or ranges into a uniform
[SliceItem]array that can be used to slice a tensor.
Functions§
- to_
slice_ items - Convert a slice of indices into
SliceItems.
Type Aliases§
- DynSlice
Items - Dynamically sized array of
SliceItems, which avoids allocating in the common case where the length is small.