DotTorch.Core
9.2.4
dotnet add package DotTorch.Core --version 9.2.4
NuGet\Install-Package DotTorch.Core -Version 9.2.4
<PackageReference Include="DotTorch.Core" Version="9.2.4" />
<PackageVersion Include="DotTorch.Core" Version="9.2.4" />
<PackageReference Include="DotTorch.Core" />
paket add DotTorch.Core --version 9.2.4
#r "nuget: DotTorch.Core, 9.2.4"
#:package DotTorch.Core@9.2.4
#addin nuget:?package=DotTorch.Core&version=9.2.4
#tool nuget:?package=DotTorch.Core&version=9.2.4
DotTorch.Core — Модульное ядро для работы с тензорами и автодифференцированием
Содержание / Contents / Inhalt / 目录
Русский
DotTorch.Core — современное и высокопроизводительное ядро для работы с многомерными тензорами и автоматическим дифференцированием на платформе .NET. Пакет предназначен для разработчиков, работающих с машинным обучением и научными вычислениями, обеспечивая простой и гибкий API.
Основные возможности:
- Поддержка многомерных тензоров с произвольной формой.
- Расширенный broadcasting для операций и функций активации.
- Арифметические операции: сложение, умножение, матричное умножение, возведение в степень.
- Популярные функции активации: ReLU, Sigmoid, Tanh, SoftMax.
- Loss-функции: MSE, CrossEntropy.
- Автоматическое дифференцирование с вычислительным графом и обратным проходом.
- Операции суммирования, усреднения, максимума и минимума по осям.
- Эффективные методы изменения формы без копирования данных (reshape, view, slice).
- Полное покрытие тестами для стабильной и надежной работы.
DotTorch.Core позволяет создавать и обучать нейросети, реализовывать сложные вычисления и легко расширять функционал под конкретные задачи, используя преимущества .NET экосистемы.
English
DotTorch.Core is a modern, high-performance core library for multidimensional tensor operations and automatic differentiation on the .NET platform. This package is designed for developers involved in machine learning and scientific computing, providing a simple yet flexible API.
Key features:
- Support for multidimensional tensors with arbitrary shapes.
- Advanced broadcasting for operations and activation functions.
- Arithmetic operations: addition, multiplication, matrix multiplication, power.
- Popular activation functions: ReLU, Sigmoid, Tanh, SoftMax.
- Loss functions: MSE, CrossEntropy.
- Automatic differentiation with computation graph and backward pass support.
- Sum, mean, max, and min operations along specified axes.
- Efficient shape manipulation methods without data copying (reshape, view, slice).
- Comprehensive testing coverage ensuring stability and reliability.
DotTorch.Core enables building and training neural networks, implementing complex computations, and easily extending functionality leveraging the power of the .NET ecosystem.
Deutsch
DotTorch.Core ist eine moderne, leistungsstarke Kernbibliothek für multidimensionale Tensoroperationen und automatische Differenzierung auf der .NET-Plattform. Dieses Paket richtet sich an Entwickler im Bereich maschinelles Lernen und wissenschaftliches Rechnen und bietet eine einfache und flexible API.
Hauptfunktionen:
- Unterstützung von mehrdimensionalen Tensoren mit beliebigen Formen.
- Erweiterte Broadcasting-Unterstützung für Operationen und Aktivierungsfunktionen.
- Arithmetische Operationen: Addition, Multiplikation, Matrixmultiplikation, Potenzierung.
- Beliebte Aktivierungsfunktionen: ReLU, Sigmoid, Tanh, SoftMax.
- Verlustfunktionen: MSE, CrossEntropy.
- Automatische Differenzierung mit Rechengraph und Backward-Pass.
- Summen-, Mittelwert-, Max- und Min-Operationen entlang bestimmter Achsen.
- Effiziente Methoden zur Formänderung ohne Datenkopie (reshape, view, slice).
- Umfassende Tests für Stabilität und Zuverlässigkeit.
DotTorch.Core ermöglicht den Aufbau und das Training von neuronalen Netzen, die Durchführung komplexer Berechnungen und die einfache Erweiterung der Funktionalität unter Nutzung des .NET-Ökosystems.
中文
DotTorch.Core 是一个现代高性能的 .NET 平台多维张量操作和自动微分核心库。该包面向机器学习和科学计算开发者,提供简洁灵活的 API。
主要功能:
- 支持任意形状的多维张量。
- 支持高级广播机制,适用于运算和激活函数。
- 算术运算:加法、乘法、矩阵乘法、幂运算。
- 常用激活函数:ReLU、Sigmoid、Tanh、SoftMax。
- 损失函数:均方误差 (MSE)、交叉熵 (CrossEntropy)。
- 自动微分,支持计算图和反向传播。
- 支持沿指定轴的求和、均值、最大值和最小值操作。
- 高效的形状变换方法,无需数据复制(reshape、view、slice)。
- 全面测试覆盖,确保稳定可靠。
DotTorch.Core 使开发者能够构建和训练神经网络,执行复杂计算,并充分利用 .NET 生态系统轻松扩展功能。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- System.Text.Json (>= 9.0.2)
-
net8.0
- System.Text.Json (>= 9.0.2)
-
net9.0
- System.Text.Json (>= 9.0.2)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on DotTorch.Core:
Package | Downloads |
---|---|
DotTorch.Losses
DotTorch Losses is the dedicated .NET 8/9 library providing a comprehensive set of loss functions for deep learning and machine learning tasks. This package integrates seamlessly with DotTorch.Core, enabling robust automatic differentiation and efficient tensor operations. The initial 9.0.0 release introduces key loss primitives such as MSE, Cross-Entropy, Binary Cross-Entropy, Huber, KL Divergence, NLL, and Hinge Loss with full support for broadcasting and reduction options. |
|
DotTorch.Layers
DotTorch Layers is a high-performance, modular neural network layers library for .NET 8 and .NET 9. It includes core layers such as Linear, ReLU, Sequential, Dropout, Embedding, Sigmoid, SoftMax, Tanh, LeakyReLU, GELU, ELU, and Flatten. Advanced recurrent layers like RNN, LSTM, and GRU are also implemented, along with powerful Transformer layers. The package features normalization layers: LayerNorm (currently not optimized) and BatchNorm (optimized, with LayerNorm mode support). All layers seamlessly integrate with the DotTorch.Core autograd system, enabling automatic differentiation and backpropagation. Designed for ease of use, extensibility, and efficient execution on CPU and GPU devices. This library supports modern .NET frameworks and follows best practices for maintainability and performance in machine learning model construction. |
|
DotTorch.Optimizers
DotTorch.Optimizers provides first-class implementations of gradient-based optimization algorithms for training neural networks in .NET 8 and .NET 9 environments. The library includes essential optimizers such as SGD, Momentum, RMSprop, Adam, and more. It is fully compatible with DotTorch.Core and supports dynamic computation graphs, automatic differentiation, and batched parameter updates. Optimizers can be seamlessly integrated into training loops and customized for research and production use. Designed with extensibility, testability, and high-performance execution in mind, it empowers developers to efficiently train deep learning models on CPU and GPU. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated | |
---|---|---|---|
9.2.4 | 199 | 7/14/2025 | |
9.2.3 | 253 | 7/14/2025 | |
9.2.2 | 227 | 7/14/2025 | |
9.2.1 | 235 | 7/13/2025 | |
9.2.0 | 229 | 7/13/2025 | |
9.1.0 | 193 | 7/13/2025 | |
9.0.21 | 134 | 7/13/2025 | |
9.0.20 | 196 | 7/13/2025 | |
9.0.19 | 196 | 7/12/2025 | |
9.0.18 | 167 | 7/12/2025 | |
9.0.17 | 249 | 7/10/2025 | |
9.0.16 | 309 | 7/10/2025 | |
9.0.15 | 404 | 7/9/2025 | |
9.0.14 | 393 | 7/9/2025 | |
9.0.13 | 397 | 7/9/2025 | |
9.0.12 | 393 | 7/9/2025 | |
9.0.11 | 389 | 7/9/2025 | |
9.0.10 | 393 | 7/9/2025 | |
9.0.9 | 390 | 7/9/2025 | |
9.0.8 | 394 | 7/9/2025 | |
9.0.7 | 392 | 7/8/2025 | |
9.0.6 | 388 | 7/8/2025 | |
9.0.5 | 397 | 7/8/2025 | |
9.0.4 | 394 | 7/8/2025 | |
9.0.3 | 385 | 7/8/2025 | |
9.0.2 | 389 | 7/8/2025 | |
9.0.1 | 389 | 7/8/2025 | |
9.0.0 | 430 | 7/8/2025 |
RU:
EN:
DE:
CN: