EricLouchez.Shorokoo.Core
0.1.9-dev
This is a prerelease version of EricLouchez.Shorokoo.Core.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package EricLouchez.Shorokoo.Core --version 0.1.9-dev
NuGet\Install-Package EricLouchez.Shorokoo.Core -Version 0.1.9-dev
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="EricLouchez.Shorokoo.Core" Version="0.1.9-dev" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EricLouchez.Shorokoo.Core" Version="0.1.9-dev" />
<PackageReference Include="EricLouchez.Shorokoo.Core" />
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 EricLouchez.Shorokoo.Core --version 0.1.9-dev
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EricLouchez.Shorokoo.Core, 0.1.9-dev"
#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 EricLouchez.Shorokoo.Core@0.1.9-dev
#: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=EricLouchez.Shorokoo.Core&version=0.1.9-dev&prerelease
#tool nuget:?package=EricLouchez.Shorokoo.Core&version=0.1.9-dev&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Shorokoo
Define, train, and run neural networks in pure C# — no Python required.
- Define models as C# classes — strongly typed
Tensor<float32>,Scalar<int64>, shapes checked as you build. - Train them — reverse-mode autodiff, optimizers, learning-rate schedules, checkpointing.
- Run them fast — execution backed by ONNX Runtime on CPU or GPU.
- Interoperate — export models as
.onnx, load pretrained weights from.safetensors.
Getting started
Install this package plus one backend for your platform, and (recommended)
the source generator for the [Module] syntax:
dotnet add package Shorokoo
dotnet add package Shorokoo.LinuxCPU # or Shorokoo.LinuxGPU / Shorokoo.WinCPU / Shorokoo.WinGPU
dotnet add package Shorokoo.CodeGen
For ready-made layers, losses, and optimizers also add:
dotnet add package Shorokoo.Modules
using Shorokoo;
using Shorokoo.Modules;
using static Shorokoo.Globals;
using static Shorokoo.NN;
[Module]
public partial class Dense
{
public static Tensor<float32> Inline(
Tensor<float32> x,
[Hyper] Scalar<int64> outFeatures)
{
// ... build the layer from tensor ops ...
}
}
Documentation
Guides, API reference, and samples: https://github.com/Eric-Louchez/Shorokoo
| 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
- Microsoft.CodeAnalysis.CSharp (>= 4.13.0)
- protobuf-net (>= 3.2.30)
- RandN (>= 0.4.0)
- ZstdSharp.Port (>= 0.8.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 |
|---|