native_neural_network 0.3.1

Lib no_std Rust for native neural network (.rnn)
Documentation
mod budget;
mod estimate;
mod flops;
mod no_alloc;
mod profile;

pub(crate) use budget::{check_runtime_budget, fit_from_estimate, BudgetFit};
pub(crate) use estimate::{estimate_runtime_memory, RuntimeError, RuntimeEstimate};
pub(crate) use flops::{
    estimate_runtime_flops, estimate_tokens_per_second, RuntimeFlopsEstimate, ThroughputEstimate,
};
pub use no_alloc::FixedSliceVec;
pub use profile::RuntimeProfile;

pub use crate::benchmark::{
    decode_benchmark_blob, encode_benchmark_blob, encoded_size_benchmark_blob,
    persist_benchmark_blob, BenchmarkClock, BenchmarkEncodeError, BenchmarkIoError,
    BenchmarkMetrics, BenchmarkMetricsView, BenchmarkStorage,
};
pub use crate::benchmark::{
    BenchmarkClock as RuntimeClock, BenchmarkIoError as RuntimeIoError,
    BenchmarkStorage as RuntimeStorage,
};