diff options
author | Vidhya Sudhan Loganathan <vidhyasudhan.loganathan@arm.com> | 2018-04-23 08:20:04 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:54 +0000 |
commit | 3ca9786fe8ed00ad03963cae6a9eef7bb2fe630e (patch) | |
tree | bfb90cff9267f9b9259d241f29e3aecaaf3b17b2 /arm_compute/runtime/NEON/functions/NEWinogradLayer.h | |
parent | bf3c6626e98b9e1be435fce9fdabc9d21f3b5b3a (diff) | |
download | ComputeLibrary-3ca9786fe8ed00ad03963cae6a9eef7bb2fe630e.tar.gz |
COMPMID-718 : Winograd: add validate method and tests
Validate methods added to Winograd kernels and function.
Renamed validation test suit
Change-Id: I0a88df436aff0bbaf4fd82213eeda089b87ac5bf
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/127781
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEWinogradLayer.h')
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEWinogradLayer.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEWinogradLayer.h b/arm_compute/runtime/NEON/functions/NEWinogradLayer.h index 61a4caae3a..27b1e84201 100644 --- a/arm_compute/runtime/NEON/functions/NEWinogradLayer.h +++ b/arm_compute/runtime/NEON/functions/NEWinogradLayer.h @@ -57,7 +57,7 @@ public: * 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. + * Currently only 3x3 and 5x5 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[out] 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. @@ -75,15 +75,17 @@ public: * 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. + * Currently only 3x3 and 5x5 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. + * @param[in] act_info (Optional) Activation layer information in case of a fused activation. * * @return a status */ - static Status validate(const ITensorInfo *input, const ITensorInfo *weights, const ITensorInfo *biases, const ITensorInfo *output, const PadStrideInfo &conv_info); + static Status validate(const ITensorInfo *input, const ITensorInfo *weights, const ITensorInfo *biases, const ITensorInfo *output, const PadStrideInfo &conv_info, + const ActivationLayerInfo &act_info = ActivationLayerInfo()); /** Prevent instances of this class from being copied (As this class contains pointers) */ NEWinogradLayer(const NEWinogradLayer &) = delete; |