Expand description
ConfigOutputs, the programmatic form of a model’s output description.
This is what DecoderBuilder::with_config takes, and what the JSON and
YAML config strings deserialize into. Each ConfigOutput declares one
output tensor’s role, shape, and quantization; the builder reads the set of
them to select a model-type variant.
Declare shape and dshape in physical memory order, outermost axis
first. See the output tensor physical-order contract in the crate’s
ARCHITECTURE.md — mis-declaring it makes every element access index the
wrong byte, and nothing at runtime can detect it.
Structs§
- Config
Outputs - Used to represent the outputs in the model configuration.