Web Analytics

go-torch

⭐ 125 stars French by Abinesh-Mathivanan

go-torch

go-torch est un framework d'apprentissage profond open-source développé entièrement en Go pur. Il offre une API modulaire, similaire à PyTorch, pour construire et entraîner des réseaux neuronaux avec un moteur d'auto-différentiation stable.

mail - abineshmathivanan31@gmail.com

blog - https://abinesh-mathivanan.vercel.app/en/posts/post-5/

fonctionnalités


Tableau de bord TUI

alt text


À FAIRE


prérequis


utilisation

cloner le dépôt

git clone https://github.com/abinesh-mathivanan/go-torch.git
cd go-torch

installer les dépendances

`` bash go mod tidy

exécuter

exécutez le fichier d'entraînement mnist pour tester les fonctionnalités.
bash go run ./cnn_benchmark/go_bench.go
``


Benchmark

| Détail du Benchmark | 128x128 | 512x512 | 1024x1024 | |:------------------------------------------|:-------------|:------------|:-------------| | Multiplication de Matrices | 510.33 µs | 13.54 ms | 130.50 ms | | Addition Élément par Élément | 71.72 µs | 1.29 ms | 4.13 ms | | Multiplication Élément par Élément | 47.83 µs | 1.63 ms | 3.91 ms | | Activation ReLU | 121.18 µs | 1.75 ms | 6.45 ms | | Propagation Avant Couche Linéaire (B32,I128,O10) | 71.93 µs | | | | CrossEntropyLoss (B32,C10) | 11.16 µs | | | | Propagation Avant-Arrière Complète (Net:128-256-10, B32) | 4.02 ms | | |



Graphique Historique des Étoiles

--- Tranlated By Open Ai Tx | Last indexed: 2025-12-26 ---