scivex-nn 0.1.0

Scivex — Neural networks, autograd, layers, optimizers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Model serialization formats: SafeTensors and GGUF.
//!
//! This module provides support for reading and writing neural network weights
//! in industry-standard formats:
//!
//! - **SafeTensors** — HuggingFace's format for safe, fast tensor storage
//! - **GGUF** — llama.cpp's format for (optionally quantized) model storage

mod gguf;
mod safetensors;

pub use gguf::{GgufFile, GgufValue, load_gguf, save_gguf};
pub use safetensors::{
    load_safetensors, load_safetensors_from_reader, save_safetensors, save_safetensors_to_writer,
};