torchd 0.0.2
torchd: ^0.0.2 copied to clipboard
A Dart port of LibTorch (PyTorch's C++ API) that brings the full deep learning and tensor computation functionality to Dart via FFI.
We analyzed this package 39 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/ApaxPhoenix/Torchd was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
33 out of 34 API elements (97.1 %) have documentation comments.
Some symbols that are missing documentation: torchd.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:torchd/torchd.dartthat imports:package:torchd/src/tensor.dartthat imports:package:torchd/src/ffi/tensor_ffi.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf8.dartthat imports:dart:ffi
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
WARNING: Unused import: 'package:ffi/ffi.dart'.
lib/src/ffi/ops_ffi.dart:2:8
╷
2 │ import 'package:ffi/ffi.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ffi/ops_ffi.dart
WARNING: The library 'package:torchd/src/activations.dart' doesn't export a member with the shown name 'Activations'.
lib/torchd.dart:2:36
╷
2 │ export 'src/activations.dart' show Activations;
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/torchd.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.7.0 |
2.7.0 | 2.7.0 | |
ffi |
^2.0.0 |
2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Dart 3.13.5.
Check the analysis log for details.