Backend
Objective-C
NS_ENUM(int, Backend) {
DNN_BACKEND_DEFAULT = 0,
DNN_BACKEND_HALIDE = 0+1,
DNN_BACKEND_INFERENCE_ENGINE = 0+2,
DNN_BACKEND_OPENCV = 0+3,
DNN_BACKEND_VKCOM = 0+4,
DNN_BACKEND_CUDA = 0+5
}
Swift
enum Backend : Int32
-
Declaration
Objective-C
DNN_BACKEND_DEFAULT = 0
Swift
case DNN_BACKEND_DEFAULT = 0
-
Declaration
Objective-C
DNN_BACKEND_HALIDE = 0+1
Swift
case DNN_BACKEND_HALIDE = 1
-
Declaration
Objective-C
DNN_BACKEND_INFERENCE_ENGINE = 0+2
Swift
case DNN_BACKEND_INFERENCE_ENGINE = 2
-
Declaration
Objective-C
DNN_BACKEND_OPENCV = 0+3
Swift
case DNN_BACKEND_OPENCV = 3
-
Declaration
Objective-C
DNN_BACKEND_VKCOM = 0+4
Swift
case DNN_BACKEND_VKCOM = 4
-
Declaration
Objective-C
DNN_BACKEND_CUDA = 0+5
Swift
case DNN_BACKEND_CUDA = 5