diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-07-16 14:40:09 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | e29acf14f5c3f2d2c20799a1ea3e4aad50dff834 (patch) | |
tree | ca7a01ed169605404b2b954fc0d174ee00e121f2 /arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h | |
parent | 76259ca5a74a60ef2b80f29431ab53bbac9fdb63 (diff) | |
download | ComputeLibrary-e29acf14f5c3f2d2c20799a1ea3e4aad50dff834.tar.gz |
COMPMID-1365: Add support for NHWC in CLDepthConcatenateLayer
Change-Id: I3ed55bdb95d888aff0b0b76fb841bf1669659308
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/139963
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h')
-rw-r--r-- | arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h b/arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h index d505814e73..bafce1c66f 100644 --- a/arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h +++ b/arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h @@ -52,10 +52,34 @@ public: CLDepthConcatenateLayer(); /** Initialise the kernel's inputs vector and output. * - * @param[in,out] inputs_vector The vectors containing all the tensors to concatenate. Data types supported: F16/F32. + * @param[in,out] inputs_vector The vectors containing all the tensors to concatenate. Data types supported: QASYMM8/F16/F32. + * Input dimensions might differ for each input for the first three dimensions (width, height, depth) + * and must match for the rest. + * Note that the difference between the minimum and maximum width and height among the input tensors + * must be divisible by 2 otherwise it is not clear how padding should be added on the inputs' width and + * height when they are less than the maximum input sizes. * @param[out] output Output tensor. Data types supported: Same as @p input. + * Output tensor dimensions match the inputs' ones from the fourth dimension and above, + * while width and height are the maximum width and height of the input tensors. + * Finally, depth is the sum of the input depths. */ void configure(std::vector<ICLTensor *> inputs_vector, ICLTensor *output); + /** Static function to check if given info will lead to a valid configuration of @ref CLDepthConcatenateLayer + * + * @param[in] inputs_vector The vectors containing all the tensors to concatenate. Data types supported: QASYMM8/F16/F32. + * Input dimensions might differ for each input for the first three dimensions (width, height, depth) + * and must match for the rest. + * Note that the difference between the minimum and maximum width and height among the input tensors + * must be divisible by 2 otherwise it is not clear how padding should be added on the inputs' width and + * height when they are less than the maximum input sizes. + * @param[in] output Output tensor. Data types supported: Same as @p input. + * Output tensor dimensions match the inputs' ones from the fourth dimension and above, + * while width and height are the maximum width and height of the input tensors. + * Finally, depth is the sum of the input depths. + * + * @return a status + */ + static Status validate(const std::vector<ITensorInfo *> &inputs_vector, const ITensorInfo *output); // Inherited methods overridden: void run() override; |