Re-exports§
pub use types::FileComposite;pub use types::FileCompositeNode;pub use types::FileItem;pub use types::FileTensor;pub use types::FileWriterOptions;pub use types::IndexEntry;pub use types::KvValue;pub use types::DEFAULT_MAX_COMPOSITE_DEPTH;pub use reader::FileReader;pub use writer::FileWriter;
Modules§
Structs§
- Composite
Write - One tensor of a flattened composite, ready to hand to
FileWriterCore::tensor. - File
Reader Core - Reads a Hurray file from bytes a driver fetches by range.
- File
Write Op - One item being written: a tensor, the header, or the footer.
- File
Writer Core - Writes the Hurray file container into bytes a driver sends onward.
Enums§
- File
Step - What the core needs next from its driver.
Functions§
- flatten_
composite - Validates a composite tree and flattens it into the order its tensors go on disk.