fromOnnxBytesAsync static method
Implementation
static Future<Net> fromOnnxBytesAsync(Uint8List bufferModel) async {
final bufM = VecUChar.fromList(bufferModel);
final rval =
await cvRunAsync<Net>((callback) => cffi.Net_ReadNetFromONNXBytes_Async(bufM.ref, callback), (c, p) {
return c.complete(Net.fromPointer(p.cast<cvg.Net>()));
});
return rval;
}