Skip to main content

Crate drivers_neural_network

Crate drivers_neural_network 

Source

Structs§

COMPUTE
GET_INPUT_COUNT
GET_INPUT_INFO
GET_INPUT_QUANTIZATION
GET_OUTPUT_COUNT
GET_OUTPUT_INFO
GET_OUTPUT_QUANTIZATION
LOAD
LoadRequest
Request payload for the LOAD control command.
LoaderDevice
A portable VFS character device providing runtime model loading.
ModelBuffer
An owned byte buffer guaranteed to be 16-byte aligned.
NeuralNetworkDevice
A portable VFS character device backed by a statically selected inference backend.
QuantizationEntry
One scale/zero-point pair for a tensor quantization axis. Layout: scale at offset 0, reserved at offset 4 (must be zero when read back), zero_point at offset 8; 16 bytes, no padding.
QuantizationRequest
Selects a quantization entry for an input or output tensor.
SET_INPUT_INDEX
SET_OUTPUT_INDEX
TensorInfo
Metadata returned by GET_INPUT_INFO and GET_OUTPUT_INFO.

Enums§

ModelEncoding
Model serialization formats supported by inference backends.

Constants§

MAX_TENSOR_RANK
Maximum rank in the version-one VFS tensor metadata layout. Maximum rank in the version-one VFS tensor metadata layout.

Traits§

Backend
An immutable prepared model, with independent mutable execution storage per open.
Loader
Lower-half interface for backends capable of dynamic model loading at runtime.