aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/ClLayerSupport.cpp
diff options
context:
space:
mode:
authorRyan OShea <Ryan.OShea2@arm.com>2020-01-29 16:19:55 +0000
committerRyan O'Shea <ryan.oshea2@arm.com>2020-01-29 18:16:31 +0000
commit412424c7f3553d7469c17deb2a68d07d15a5602b (patch)
tree32e75ddcbe85131a5186eb07b8315d4b2a88f002 /src/backends/cl/ClLayerSupport.cpp
parente49755b914a2c8f6f8b836adfcc61bf8f9a5b3a3 (diff)
downloadarmnn-412424c7f3553d7469c17deb2a68d07d15a5602b.tar.gz
IVGCVSW-4149 Enable quantisation multiplier > 1 in all convolutions
Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Change-Id: I9652844a868ce8e05c0433c051e7079cf203c422
Diffstat (limited to 'src/backends/cl/ClLayerSupport.cpp')
-rw-r--r--src/backends/cl/ClLayerSupport.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/backends/cl/ClLayerSupport.cpp b/src/backends/cl/ClLayerSupport.cpp
index 7bf7f1529e..e8548e4b5a 100644
--- a/src/backends/cl/ClLayerSupport.cpp
+++ b/src/backends/cl/ClLayerSupport.cpp
@@ -147,14 +147,6 @@ bool IsSupportedForDataTypeCl(Optional<std::string&> reasonIfUnsupported,
&FalseFunc<>,
std::forward<Params>(params)...);
}
-
-#if defined(ARMCOMPUTECL_ENABLED)
-#define IS_QUANT_MULTIPLIER_SUPPORTED(input, output, weights) \
-armcomputetensorutils::IsQuantMultiplierSupported(input, output, weights)
-#else
-#define IS_QUANT_MULTIPLIER_SUPPORTED(input, output, weights) true
-#endif
-
} // anonymous namespace
bool ClLayerSupport::IsAbsSupported(const TensorInfo& input,
@@ -329,11 +321,6 @@ bool ClLayerSupport::IsConvolution2dSupported(const TensorInfo& input,
const Optional<TensorInfo>& biases,
Optional<std::string&> reasonIfUnsupported) const
{
- if (!IS_QUANT_MULTIPLIER_SUPPORTED(input, output, weights))
- {
- return false;
- }
-
FORWARD_WORKLOAD_VALIDATE_FUNC(ClConvolution2dWorkloadValidate,
reasonIfUnsupported,
input,
@@ -372,11 +359,6 @@ bool ClLayerSupport::IsDepthwiseConvolutionSupported(const TensorInfo& input,
const Optional<TensorInfo>& biases,
Optional<std::string&> reasonIfUnsupported) const
{
- if (!IS_QUANT_MULTIPLIER_SUPPORTED(input, output, weights))
- {
- return false;
- }
-
FORWARD_WORKLOAD_VALIDATE_FUNC(ClDepthwiseConvolutionWorkloadValidate,
reasonIfUnsupported,
input,
@@ -393,11 +375,6 @@ bool ClLayerSupport::IsDilatedDepthwiseConvolutionSupported(const TensorInfo& in
const Optional<TensorInfo>& biases,
Optional<std::string&> reasonIfUnsupported) const
{
- if (!IS_QUANT_MULTIPLIER_SUPPORTED(input, output, weights))
- {
- return false;
- }
-
FORWARD_WORKLOAD_VALIDATE_FUNC(ClDepthwiseConvolutionWorkloadValidate,
reasonIfUnsupported,
input,
@@ -833,11 +810,6 @@ bool ClLayerSupport::IsTransposeConvolution2dSupported(const TensorInfo& input,
const Optional<TensorInfo>& biases,
Optional<std::string&> reasonIfUnsupported) const
{
- if (!IS_QUANT_MULTIPLIER_SUPPORTED(input, output, weights))
- {
- return false;
- }
-
FORWARD_WORKLOAD_VALIDATE_FUNC(ClTransposeConvolution2dWorkloadValidate,
reasonIfUnsupported,
input,