From cd5571c656ddaf32147ddf146b5a1e53201372a9 Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Fri, 31 May 2019 10:19:03 +0100 Subject: [PATCH] IVGCVSW-3165 Added accidentally removed CreateFakeQuantization Function Signed-off-by: Sadik Armagan Change-Id: I50a1a364f13df03dea0833023ec0f2c2794f24db --- src/backends/cl/ClWorkloadFactory.cpp | 7 +++++++ src/backends/cl/ClWorkloadFactory.hpp | 3 +++ src/backends/neon/NeonWorkloadFactory.cpp | 7 +++++++ src/backends/neon/NeonWorkloadFactory.hpp | 3 +++ 4 files changed, 20 insertions(+) diff --git a/src/backends/cl/ClWorkloadFactory.cpp b/src/backends/cl/ClWorkloadFactory.cpp index e3ce73f..a1f2aff 100644 --- a/src/backends/cl/ClWorkloadFactory.cpp +++ b/src/backends/cl/ClWorkloadFactory.cpp @@ -252,6 +252,13 @@ std::unique_ptr ClWorkloadFactory::CreateResizeBilinear( return MakeWorkload(descriptor, info); } +std::unique_ptr ClWorkloadFactory::CreateFakeQuantization( + const FakeQuantizationQueueDescriptor& descriptor, + const WorkloadInfo& info) const +{ + return nullptr; +} + std::unique_ptr ClWorkloadFactory::CreateQuantize(const QuantizeQueueDescriptor& descriptor, const WorkloadInfo& info) const { diff --git a/src/backends/cl/ClWorkloadFactory.hpp b/src/backends/cl/ClWorkloadFactory.hpp index 9d38ac7..c1216cb 100644 --- a/src/backends/cl/ClWorkloadFactory.hpp +++ b/src/backends/cl/ClWorkloadFactory.hpp @@ -91,6 +91,9 @@ public: std::unique_ptr CreateResizeBilinear(const ResizeBilinearQueueDescriptor& descriptor, const WorkloadInfo& info) const override; + std::unique_ptr CreateFakeQuantization(const FakeQuantizationQueueDescriptor& descriptor, + const WorkloadInfo& info) const override; + std::unique_ptr CreateQuantize(const QuantizeQueueDescriptor& descriptor, const WorkloadInfo& info) const override; diff --git a/src/backends/neon/NeonWorkloadFactory.cpp b/src/backends/neon/NeonWorkloadFactory.cpp index 86fb404..f44ce41 100644 --- a/src/backends/neon/NeonWorkloadFactory.cpp +++ b/src/backends/neon/NeonWorkloadFactory.cpp @@ -225,6 +225,13 @@ std::unique_ptr NeonWorkloadFactory::CreateResizeBilinear( return std::make_unique(descriptor, info); } +std::unique_ptr NeonWorkloadFactory::CreateFakeQuantization( + const FakeQuantizationQueueDescriptor& descriptor, + const WorkloadInfo& info) const +{ + return nullptr; +} + std::unique_ptr NeonWorkloadFactory::CreateQuantize(const QuantizeQueueDescriptor& descriptor, const WorkloadInfo& info) const { diff --git a/src/backends/neon/NeonWorkloadFactory.hpp b/src/backends/neon/NeonWorkloadFactory.hpp index 1b1305c..4ad52e4 100644 --- a/src/backends/neon/NeonWorkloadFactory.hpp +++ b/src/backends/neon/NeonWorkloadFactory.hpp @@ -95,6 +95,9 @@ public: std::unique_ptr CreateResizeBilinear(const ResizeBilinearQueueDescriptor& descriptor, const WorkloadInfo& info) const override; + std::unique_ptr CreateFakeQuantization(const FakeQuantizationQueueDescriptor& descriptor, + const WorkloadInfo& info) const override; + std::unique_ptr CreateQuantize(const QuantizeQueueDescriptor& descriptor, const WorkloadInfo& info) const override; -- 2.7.4