RecursiveAI.OneModel.Training
1.0.0
dotnet add package RecursiveAI.OneModel.Training --version 1.0.0
NuGet\Install-Package RecursiveAI.OneModel.Training -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RecursiveAI.OneModel.Training" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecursiveAI.OneModel.Training" Version="1.0.0" />
<PackageReference Include="RecursiveAI.OneModel.Training" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RecursiveAI.OneModel.Training --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RecursiveAI.OneModel.Training, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RecursiveAI.OneModel.Training@1.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RecursiveAI.OneModel.Training&version=1.0.0
#tool nuget:?package=RecursiveAI.OneModel.Training&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OneModel
A neural-network runtime for .NET in pure managed C#, with no native binaries and no dependency beyond the shared framework.
- RecursiveAI.OneModel: ONNX import, graph optimization and SIMD CPU kernels (AVX2, AVX-512, NEON, portable SIMD) for inference in fp32, fp16/bf16 and int8; thread-safe sessions; an opt-in exact mode with bit-identical results on every platform; its own memory-mappable model format. NativeAOT-, trim- and WebAssembly-compatible.
- RecursiveAI.OneModel.Training: reverse-mode autodiff, modules, losses, SGD/Adam/AdamW, data loading, checkpoints, and tracing a trained module into a graph.
using RecursiveAI.OneModel;
using var m = Model.Load("model.onnx");
float[] v = m.Run(tokens); // names and shapes come from the model
Several inputs, tensors, exact mode, training, tracing and migration notes from ONNX Runtime and TorchSharp: the usage guide.
using RecursiveAI.OneModel;
using RecursiveAI.OneModel.Graph;
using RecursiveAI.OneModel.Tensors;
using var session = Session.Load("model.onnx", new ModelOptions { Mode = ArithmeticMode.Exact });
using Tensor x = Tensor.FromSpan<float>(values, 2, 16);
using SessionOutputs outputs = session.Run(new Dictionary<string, Tensor> { ["x"] = x });
float[] y = outputs["y"].ToArray<float>();
The public API follows Semantic Versioning. Documentation, supported operators, source and issues: https://github.com/recursive-ai-oss/onemodel-csharp.
Licensed MIT OR Apache-2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- RecursiveAI.OneModel (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 51 | 10/31/2026 |
See CHANGELOG.md in the repository.