diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2018-08-02 12:02:48 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | 6b4e604aa2f8598bce37abe76654b87a41ababb7 (patch) | |
tree | 8e65c4144d77573dcd0022d4326c7c8e1b042675 /src/runtime/CL/functions/CLDepthConvertLayer.cpp | |
parent | 088c2b038ea2de67e90f8a7179c129133127f854 (diff) | |
download | ComputeLibrary-6b4e604aa2f8598bce37abe76654b87a41ababb7.tar.gz |
COMPMID-1303: CLDepthConvert : Add support for FP32 -> FP16 and FP16 -> FP32 + validate() function
Change-Id: I6808de0254a7c4bca440322cc14b795b3b32465b
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/142427
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLDepthConvertLayer.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLDepthConvertLayer.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLDepthConvertLayer.cpp b/src/runtime/CL/functions/CLDepthConvertLayer.cpp index b448465909..2e52e8aadc 100644 --- a/src/runtime/CL/functions/CLDepthConvertLayer.cpp +++ b/src/runtime/CL/functions/CLDepthConvertLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -36,3 +36,8 @@ void CLDepthConvertLayer::configure(const ICLTensor *input, ICLTensor *output, C k->configure(input, output, policy, shift); _kernel = std::move(k); } + +Status CLDepthConvertLayer::validate(const ITensorInfo *input, const ITensorInfo *output, ConvertPolicy policy, uint32_t shift) +{ + return CLDepthConvertLayerKernel::validate(input, output, policy, shift); +} |