diff options
author | Isabella Gottardi <isabella.gottardi@arm.com> | 2018-02-02 17:19:18 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:47:18 +0000 |
commit | 6acc6add8412c6d3841a49684610fc5a6526312e (patch) | |
tree | 98b05a10571560426c4d0963adc8210c1899dc7e /arm_compute/runtime/NEON/functions/NEWinogradLayer.h | |
parent | 51b074a0033984d1e4ef225b0025d7bb45567080 (diff) | |
download | ComputeLibrary-6acc6add8412c6d3841a49684610fc5a6526312e.tar.gz |
COMPMID-846: Create a ConvolutionLayer for NEON
Change-Id: I98bbef40bfac5b05134be4ef9fb54d14c0c9e8e8
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/118806
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEWinogradLayer.h')
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEWinogradLayer.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEWinogradLayer.h b/arm_compute/runtime/NEON/functions/NEWinogradLayer.h index f57be697b5..a939f82854 100644 --- a/arm_compute/runtime/NEON/functions/NEWinogradLayer.h +++ b/arm_compute/runtime/NEON/functions/NEWinogradLayer.h @@ -67,6 +67,22 @@ public: // Inherited methods overridden: void run() override; + /** Static function to check if given info will lead to a valid configuration of @ref NEGEMMConvolutionLayer + * + * @param[in] input Source tensor. 3 lower dimensions represent a single input [width, height, IFM], + * while every optional dimension from 4 and above represent a batch of inputs. + * Data types supported: F32. + * @param[in] weights Weights tensor. Weights are 4D tensor with dimensions [kernel_x, kernel_y, IFM, OFM]. Data type supported:Same as @p input. + * Currently only 3x3 kernels are supported. + * @param[in] biases Biases tensor. Shared biases supported. Biases are 1D tensor with dimensions [OFM]. Data type supported: Same as @p weights. + * @param[in] output Destination tensor. 3 lower dimensions represent a single output [width, height, OFM], while the rest represent batch of outputs. + * Data types supported: Same as @p input. + * @param[in] conv_info Contains padding and stride information described in @ref PadStrideInfo. Currently only unit strides are supported. + * + * @return a status + */ + static Status validate(const ITensorInfo *input, const ITensorInfo *weights, const ITensorInfo *biases, const ITensorInfo *output, const PadStrideInfo &conv_info); + /** Prevent instances of this class from being copied (As this class contains pointers) */ NEWinogradLayer(const NEWinogradLayer &) = delete; /** Prevent instances of this class from being copied (As this class contains pointers) */ |