Skip to main content

webnn_graph/
lib.rs

1pub mod ast;
2pub mod debug;
3pub mod external_weights;
4pub use external_weights::{
5    resolve_external_weights, write_external_weights_safetensors, WeightResolveError,
6    WeightWriteError, PACKED_4BIT_METADATA_KEY, PACKED_4BIT_METADATA_VERSION,
7};
8
9pub mod emit_html;
10pub mod emit_js;
11pub mod parser;
12pub mod serialize;
13pub mod validate;
14pub mod weights;
15pub mod weights_io;
16
17#[cfg(feature = "onnx")]
18pub mod onnx;
19#[cfg(feature = "onnx")]
20pub mod protos;