forward method
Forward runs forward pass to compute output of layer with name outputName.
For further details, please see: https://docs.opencv.org/4.x/db/d30/classcv_1_1dnn_1_1Net.html#a98ed94cb6ef7063d3697259566da310b
Implementation
Mat forward({String outputName = ""}) {
return cvRunArena<Mat>((arena) {
final m = Mat.empty();
cvRun(() => cffi.Net_Forward(ref, outputName.toNativeUtf8(allocator: arena).cast(), m.ptr));
return m;
});
}