Module safetensors::slice
source · Expand description
Module handling lazy loading via iterating on slices on the original buffer.
Structs
- Iterator used to return the bits of the overall tensor buffer when client asks for a slice of the original tensor.
Enums
- Error representing invalid slicing attempt
- Generic structure used to index a slice of the tensor
Traits
- Trait used to implement multiple signatures for ease of use of the slicing of a tensor