See the version list below for details.
dotnet add package TorchSharp.Fun --version 0.76.0
NuGet\Install-Package TorchSharp.Fun -Version 0.76.0
<PackageReference Include="TorchSharp.Fun" Version="0.76.0" />
paket add TorchSharp.Fun --version 0.76.0
#r "nuget: TorchSharp.Fun, 0.76.0"
// Install TorchSharp.Fun as a Cake Addin #addin nuget:?package=TorchSharp.Fun&version=0.76.0 // Install TorchSharp.Fun as a Cake Tool #tool nuget:?package=TorchSharp.Fun&version=0.76.0
A wrapper over TorchSharp that provides a function-compostion style of model construction. Makes the model structure more apparent. It is easier to make incremental changes to the model. Makes iterative model development faster.
let lisht() = F   (fun z -> use g = torch.nn.functional.tanh(z) z * g ) let model = torch.nn.EmbeddingBag(EMB_INDX_DIM,EMB_DIM) ->> torch.nn.Linear(EMB_DIM,BTL_N) ->> lisht() ->> torch.nn.Dropout(0.1) ->> torch.nn.Linear(BTL_N,BTL_N) ->> lisht() ->> torch.nn.Dropout(0.1) ->> torch.nn.Linear(BTL_N,BASE_TGTS)
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
Better handling of parameters when moving model to another device.