KittenFrontRunner.load constructor

KittenFrontRunner.load(
  1. String snapshotPath
)

Implementation

factory KittenFrontRunner.load(String snapshotPath) {
  final config = ModelConfig.fromSnapshot(snapshotPath);
  final tensors = loadKittenTensors(snapshotPath);
  return KittenFrontRunner.fromTensors(config: config, tensors: tensors);
}