isEmpty property

bool get isEmpty

Empty returns true if there are no layers in the network.

For further details, please see: https://docs.opencv.org/master/db/d30/classcv_1_1dnn_1_1Net.html#a6a5778787d5b8770deab5eda6968e66c

Implementation

bool get isEmpty {
  return cvRunArena<bool>((arena) {
    final p = arena<ffi.Bool>();
    cvRun(() => cdnn.Net_Empty(ref, p));
    return p.value;
  });
}