getInputDetailsAsync method

Future<(VecF32, VecI32)> getInputDetailsAsync()

Implementation

Future<(VecF32, VecI32)> getInputDetailsAsync() async {
  final sc = calloc<cvg.VecF32>();
  final zp = calloc<cvg.VecI32>();
  return cvRunAsync0(
    (callback) => cdnn.cv_dnn_Net_getInputDetails(ref, sc, zp, callback),
    (c) {
      return c.complete((VecF32.fromPointer(sc), VecI32.fromPointer(zp)));
    },
  );
}