lc0_dart 0.1.2
lc0_dart: ^0.1.2 copied to clipboard
LC0 (Leela Chess Zero) classical CNN inference in pure Dart with a PUCT / virtual-loss MCTS and a UCI shell. Loads a .pb.gz LC0 network (LINEAR16 / FLOAT16 / BFLOAT16), folds BatchNorm at load time, r [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add lc0_dartWith Flutter:
$ flutter pub add lc0_dartThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
lc0_dart: ^0.1.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:lc0_dart/lc0_dart.dart';