getInputDetailsAsync method

Future<(VecF32, VecI32)> getInputDetailsAsync()

Implementation

Future<(VecF32, VecI32)> getInputDetailsAsync() async {
  final rval = cvRunAsync2<(VecF32, VecI32)>(
    (callback) => cdnn.Net_GetInputDetails_Async(ref, callback),
    (c, sc, zp) => c.complete(
      (VecF32.fromPointer(sc.cast<cdnn.VecF32>()), VecI32.fromPointer(zp.cast<cdnn.VecI32>())),
    ),
  );
  return rval;
}