loadParakeetTdtBundle function

Future<ParakeetTdtBundle> loadParakeetTdtBundle(
  1. String bundlePath
)

Implementation

Future<ParakeetTdtBundle> loadParakeetTdtBundle(String bundlePath) async {
  final manifest = await readParakeetTdtManifest(bundlePath);
  final data = mx.io.loadSafetensors(manifest.weightsPath);
  return ParakeetTdtBundle(
    path: manifest.rootPath,
    manifest: manifest,
    tensors: data.tensors,
    metadata: data.metadata,
  );
}