Expand description
§FEAGI Runtime Abstraction
Cross-platform runtime traits and implementations for neural processing.
This crate provides:
- Traits (always available):
Runtime,NeuronStorage,SynapseStorage - Std Implementation (behind
stdfeature):StdRuntimefor desktop/server - Embedded Implementation (behind
embeddedfeature):EmbeddedRuntimefor no_std
§Features
default=[](traits only, no_std compatible)std= Standard library runtime implementation (Vec-based, parallel)embedded= Embedded runtime implementation (fixed arrays, no_std)alloc= Heap allocation without std (for some trait methods)
§Usage
§Desktop/Server
[dependencies]
feagi-npu-runtime = { version = "2.0", features = ["std"] }use feagi_npu_runtime::StdRuntime;
let runtime = StdRuntime::new();§Embedded
[dependencies]
feagi-npu-runtime = { version = "2.0", features = ["embedded"], default-features = false }use feagi_npu_runtime::embedded::EmbeddedRuntime;
let runtime = EmbeddedRuntime::new();§Traits Only (for custom implementations)
[dependencies]
feagi-npu-runtime = { version = "2.0", default-features = false }use feagi_npu_runtime::{Runtime, NeuronStorage, SynapseStorage};
// Implement your own runtimeRe-exports§
pub use traits::NeuronStorage;pub use traits::Result;pub use traits::Runtime;pub use traits::RuntimeError;pub use traits::SynapseStorage;
Modules§
- traits
- Runtime abstraction traits for cross-platform neural processing
Constants§
- RUNTIME_
TRAIT_ VERSION - Version of the runtime trait API
- VERSION
- Crate version from Cargo.toml
Traits§
- Neural
Value - Trait for neural computation values
Functions§
- runtime_
trait_ version - Get the runtime trait API version