Recursive AI

onemodel docs

Everything about OneModel: getting started, running models, exact mode and precision, the operators, the kernels, how it is checked against ONNX Runtime and the ONNX backend tests, and the reference. OneModel is a preview: 0.3.0-preview.1.

Operators

Operators for coverageSemantics the ONNX text leaves open, as settled by ONNX's backend-test data or, where that is silent, by ONNX Runtime 1.31.1's output on crafted inputs. Operators are checked against the backend tests (docs/conformance.md) and against ONNX Runtime on random inputs…Element-wise operatorsNormative notes for the operators in src/OneModel/Graph/Operators/Elementwise/. Semantics come from the ONNX operator specification; where the specification leaves a case open, the choice below was settled by running ONNX Runtime 1.31.1 on a crafted input (cases in…Normalization and reductionsNormative for the exact flavour; the fast flavour is the same unless a section says otherwise. Source: src/OneModel/Kernels/Exact/NormKernels.cs, Exact/ReduceKernels.cs, Kernels/Softmax.cs, src/OneModel/Graph/Operators/Norms/. Operators and opsets served:Convolution and poolingBehaviour of the operators of this family beyond what the ONNX operator text says: which cases are supported, how the open edges were settled, and which bits each operator promises. The kernels' arithmetic is in kernels-gemm.md (Conv) and below. Edge behaviour was settled by…Shape and indexingNotes on the operators that move, select or describe elements without computing on them: what each one does where the ONNX text leaves room, and how each choice was settled. Semantics come from ONNX's Operators.md and Changelog.md; open points were settled by running ONNX…RNN, GRU, LSTMSemantics are those of Operators.md (opsets 7, 14, 22 are one implementation: the attributes and inputs did not change in a way that needs a second one; layout arrived in opset 14). This note records what the specification leaves open, how each point was settled, and the…CTC decodingA helper for consumers of recognisers and speech models (not an ONNX operator): RecursiveAI.OneModel.Tensors.Ctc. It turns per-step class scores into label sequences. Scores are row-major [steps, classes] (a batch is [batch, steps, classes]), either logits or natural-log…