Package-level declarations
Types
Browser-specific ONNX parsing result for WASM JS.
Minimal, proto-agnostic view of an ONNX graph. This keeps the importer independent of the generated proto surface while we wire in pbandk-generated classes.
Holder for the parsed ONNX model alongside its serialized form.
Minimal pbandk-backed ONNX loader.
Parsed model metadata from an ONNX file.
ONNX model parser extending BaseModelParser. Provides metadata-first parsing of ONNX model files using SKaiNET's ONNX I/O capabilities.
Stub importer that will map an ONNX graph view to a ComputeGraph. The mapping logic will be filled in as operator support lands.
Utility for loading ONNX model initializers (weights) into SKaiNET Module parameters.
Streaming ONNX reader that parses metadata without loading tensor data.
Functions
Android implementation of createOnnxRandomAccessSource.
Platform-specific factory for creating RandomAccessSource instances for ONNX files.
JS implementation of createOnnxRandomAccessSource.
JVM implementation of createOnnxRandomAccessSource.
Native implementation of createOnnxRandomAccessSource.
WASM JS implementation of createOnnxRandomAccessSource.
Create a RandomAccessSource from a browser Blob or File.
Create a RandomAccessSource from a browser Blob or File.
Load tensor data asynchronously.
Load tensor data asynchronously by name.
Load tensor data asynchronously for a specific tensor.
Load tensor data asynchronously by name.
Load tensor data asynchronously for a specific tensor.
Parse ONNX model metadata from a browser Blob or File.
Parse ONNX model from a browser Blob/File for WASM JS.
Utility to build a simplified graph view from a parsed ONNX model.
Convert an ONNX TensorProto into an SKaiNET tensor.
Convenience to decode through the OnnxTensorView wrapper.