.NET Standard 2.0
dotnet add package libtorch-cpu --version
NuGet\Install-Package libtorch-cpu -Version
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="libtorch-cpu" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add libtorch-cpu --version
#r "nuget: libtorch-cpu,"
#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.
// Install libtorch-cpu as a Cake Addin
#addin nuget:?package=libtorch-cpu&version=

// Install libtorch-cpu as a Cake Tool
#tool nuget:?package=libtorch-cpu&version=

TorchSharp makes PyTorch available for .NET users. libtorch-cpu contains components of the PyTorch LibTorch library version 1.13.0 redistributed as a NuGet package with added support for TorchSharp.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on libtorch-cpu:

Package Downloads

TorchSharp makes PyTorch available for .NET users. This package combines the TorchSharp package with LibTorch 1.13.0 CPU support.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 3,027 11/8/2022 5,924 6/2/2022 5,545 11/6/2021 2,088 9/30/2021 2,194 6/23/2021 425 6/22/2021 398 6/22/2021 383 6/21/2021 353 6/20/2021 2,456 3/19/2021 807 3/19/2021 644 3/18/2021 2,695 11/11/2020
1.7.0 1,006 11/11/2020
1.5.6 3,835 6/3/2020
1.5.5 703 6/3/2020
1.5.0 964 5/24/2020
0.3.52215 774 5/24/2020
0.3.52209 932 5/22/2020