-
Notifications
You must be signed in to change notification settings - Fork 4.3k
NuGet Package
The CNTK Eval NuGet package is a NuGet package containing the necessary libraries and assemblies to enable .NET and Windows C++ applications to perform CNTK model evaluation. There are 3 Nuget packages:
- CNTK.CPUOnly: provides CNTK C#/.NET Managed Eval Library and C++ Library for CPU only machines.
- CNTK.GPU: provides CNTK C#/.NET Managed Eval Library and C++ Library for GPU enabled machines.
- Microsoft.Research.CNTK.CpuEval-mkl: provides CNTK EvalDll API. It supports CPU only.
The package may be obtained through the NuGet Package Manager inside Visual Studio by searching for "CNTK", or downloaded directly from NuGet:
- https://www.nuget.org/packages/CNTK.CPUOnly/2.0.0-rc2
- https://www.nuget.org/packages/CNTK.GPU/2.0.0-rc2
- https://www.nuget.org/packages/Microsoft.Research.CNTK.CpuEval-mkl/2.0.0-rc2
The current version is 2.0-rc2
. When installing, please select the option "Include Prerelease" in "Manage Nuget Packages".
The CNTK NuGet packages may be installed on a Visual C++ or .NET project (C#, VB.Net, F#, ...). The Nuget package contains both debug and release versions of C++ library and dlls, and the release version of C# assembly and its dependent dlls. Once installed the project will contain a reference to the managed dll and the required dependent binary libraries will be copied to the output directory after building the project.
For instructions on how to install a NuGet package, please refer to the NuGet documentation at: https://docs.nuget.org/consume/installing-nuget
The current release of CNTK Eval Nuget Packages support the following interfaces
- CNTK Library Managed Eval Interface
- CNTK Library C++ Eval Interface
- EvalDll C# Interface
- EvalDll C++ Interface
There is a Linux equivalent set of libraries (albeit not available through NuGet) that enables CNTK model evaluations in Linux using C++. Refer to the CNTK Evaluation Overview page for details.