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 = 0Swift
case DNN_BACKEND_DEFAULT = 0 -
Declaration
Objective-C
DNN_BACKEND_HALIDE = 0+1Swift
case DNN_BACKEND_HALIDE = 1 -
Declaration
Objective-C
DNN_BACKEND_INFERENCE_ENGINE = 0+2Swift
case DNN_BACKEND_INFERENCE_ENGINE = 2 -
Declaration
Objective-C
DNN_BACKEND_OPENCV = 0+3Swift
case DNN_BACKEND_OPENCV = 3 -
Declaration
Objective-C
DNN_BACKEND_VKCOM = 0+4Swift
case DNN_BACKEND_VKCOM = 4 -
Declaration
Objective-C
DNN_BACKEND_CUDA = 0+5Swift
case DNN_BACKEND_CUDA = 5
View on GitHub
Backend Enumeration Reference