RecursiveAI.OneModel.Training
1.0.0
Prefix Reserved
See the version list below for details.
dotnet add package RecursiveAI.OneModel.Training --version 1.0.0
NuGet\Install-Package RecursiveAI.OneModel.Training -Version 1.0.0
<PackageReference Include="RecursiveAI.OneModel.Training" Version="1.0.0" />
<PackageVersion Include="RecursiveAI.OneModel.Training" Version="1.0.0" />
<PackageReference Include="RecursiveAI.OneModel.Training" />
paket add RecursiveAI.OneModel.Training --version 1.0.0
#r "nuget: RecursiveAI.OneModel.Training, 1.0.0"
#:package RecursiveAI.OneModel.Training@1.0.0
#addin nuget:?package=RecursiveAI.OneModel.Training&version=1.0.0
#tool nuget:?package=RecursiveAI.OneModel.Training&version=1.0.0
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. |
-
net10.0
- RecursiveAI.OneModel (>= 1.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RecursiveAI.OneModel.Training:
| Package | Downloads |
|---|---|
|
RecursiveAI.OneNlp.Neural
spaCy-class NLP for .NET: the neural layer on OneModel. Fast and transformer encoders, tagger, morphologizer, lemmatizer, dependency parser, entity recognizer, text classifier and span categorizer, Train for training and fine-tuning in C#, saved pipelines and sentence embeddings. Unaffiliated with other projects named OneNLP. |
GitHub repositories
This package is not used by any popular GitHub repositories.
See CHANGELOG.md in the repository.