loadModel static method

Future<int> loadModel(
  1. dynamic modelPath
)

Implementation

@pragma('vm:entry-point')
static Future<int> loadModel(dynamic modelPath) async {
  PytorchFfi.init();
  return await loadModelManager.compute(modelPath);
}