TYoshimura.TensorShader 5.6.0

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

// Install TYoshimura.TensorShader as a Cake Tool
#tool nuget:?package=TYoshimura.TensorShader&version=5.6.0



Deep Learning .NET library, For Regression.


Define and Run / NHWC format Deep learning library

Supports High-Dimensional Convolution Neural Networks. (Complex, Quaternion, Vector3D)

For regression problems: High precision calculate by FP32-FP32 arithmetic


.NET 6.0
CUDA 10+, Compute Capability 5.0+

validated: Windows
experiment: Linux, MacOS

CUDNN 7,8 (See MNIST sample to enable.)



Supported Functions

  • Connection Layers
    • Real
      • Convolution 1D,2D,3D and Pointwise/Depthwise
      • Dense
    • Complex
      • Convolution 1D,2D,3D
      • Dense
    • Quaternion
      • Convolution 1D,2D,3D
      • Dense
    • Trivector (UnitState : Vector3D, Weight : Quaternion)
      • Convolution 1D,2D,3D
      • Dense
  • Pooling
    • Max Average
  • Sizing
    • ZeroPad EdgePad Trim
    • NeighborZoom LinearZoom
  • Array Manipulation
    • Sort ArgSort Flip Reshape Concat Separate
    • ChannelToSpace SpaceToChannel 1D,2D,3D
    • ImageToColumn 1D,2D,3D
    • ExtractChannel Sum
  • Real Functions
    • Add Sub Mul Div Abs Sign Pow Sqrt Square Cbrt Cube Rsqrt Neg Rcp
    • Sin Cos Tan Arcsin Arccos Arctan Sinh Cosh Tanh LogCosh
    • Exp Log Floor Ceil Clip Step NanAsZero Maximum Minimum
  • Complex Functions
    • Mul Square Conjugate Squash NonlinearDecay RRelu ZRelu Normalize
  • Quaternion Functions
    • Mul Square Conjugate Squash NonlinearDecay RRelu Normalize
  • Trivector Functions
    • QuaternionMul Length Norm CrossProduct Squash NonlinearDecay Normalize
  • Aggregation Functions
    • Max Min Mean Sum SquareSum SquareMean Variance
  • Logical Functions
    • Equal NotEqual GreaterThan LessThan GreaterThanOrEqual LessThanOrEqual
    • And Or Not Xor
    • IsNan IsFinite
  • Activation Functions
    • Relu Elu LeakyRelu SoftPlus Softmax Sigmoid
  • Loss Functions
    • SoftmaxCrossEntropy AbsoluteError SquareError HingeLoss HuberLoss MultiBoxLoss
  • Optimizers
    • SGD MomentumSGD NesterovAG AdaGrad AdaDelta Adam Adamax RMSprop RMSpropGraves Nadam
  • Random Generation
    • Uniform Normal BernoulliBinary
  • Experimentals
    • Yamatani Activation

See also...


Download DLL
Download Nuget package

  • To install, just import the DLL.
  • This library does not change the environment at all.






Can't load Cuda dll!

→Install GeForce Experience and Cuda. Check your environment variables.

System.BadImageFormatException is thrown and DLL cannot be loaded!

→Specify x64 as the project platform.

Product Versions
.NET 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
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

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
5.6.0 271 9/18/2022
5.5.3 211 11/22/2021
5.5.2 241 11/10/2021

.net6 update