34 static const std::map<std::string, arm_compute::DataLayout> data_layouts =
40 #ifndef ARM_COMPUTE_EXCEPTIONS_DISABLED 46 #ifndef ARM_COMPUTE_EXCEPTIONS_DISABLED 48 catch(
const std::out_of_range &)
50 throw std::invalid_argument(name);
58 static const std::map<std::string, Target> targets =
65 #ifndef ARM_COMPUTE_EXCEPTIONS_DISABLED 71 #ifndef ARM_COMPUTE_EXCEPTIONS_DISABLED 73 catch(
const std::out_of_range &)
75 throw std::invalid_argument(name);
82 static const std::map<std::string, ConvolutionMethod> methods =
90 #ifndef ARM_COMPUTE_EXCEPTIONS_DISABLED 96 #ifndef ARM_COMPUTE_EXCEPTIONS_DISABLED 98 catch(
const std::out_of_range &)
100 throw std::invalid_argument(name);
107 static const std::map<std::string, DepthwiseConvolutionMethod> methods =
113 #ifndef ARM_COMPUTE_EXCEPTIONS_DISABLED 119 #ifndef ARM_COMPUTE_EXCEPTIONS_DISABLED 121 catch(
const std::out_of_range &)
123 throw std::invalid_argument(name);
Arm® Neon™ capable target device.
DepthwiseConvolutionMethod depthwise_convolution_method_from_name(const std::string &name)
Converts a string to a strong types enumeration DepthwiseConvolutionMethod.
ConvolutionMethod Convolution_method_from_name(const std::string &name)
Converts a string to a strong types enumeration ConvolutionMethod.
CLVK capable target device.
Copyright (c) 2017-2021 Arm Limited.
std::string tolower(std::string string)
Convert string to lower case.
arm_compute::DataLayout data_layout_from_name(const std::string &name)
Converts a string to a strong types enumeration DataLayout.
DepthwiseConvolutionMethod
Supported Depthwise Convolution layer methods.
Num samples, channels, height, width.
Target target_from_name(const std::string &name)
Converts a string to a strong types enumeration Target.
Num samples, height, width, channels.
ConvolutionMethod
Supported Convolution layer methods.
Default approach using internal heuristics.
Default approach using internal heuristics.
Winograd based convolution.
Optimized 3x3 direct depthwise convolution.
OpenCL capable target device.
DataLayout
[DataLayout enum definition]