diff options
author | James Conroy <james.conroy@arm.com> | 2019-10-08 15:41:34 +0100 |
---|---|---|
committer | Jim Flynn Arm <jim.flynn@arm.com> | 2019-10-10 08:48:39 +0000 |
commit | c8724c7b9ff663538bd32ad789dbcc3e1aa88637 (patch) | |
tree | 629a55e0f949fd9bede7e3b34cdc7ff337f9762c /src/armnn/layers/ArgMinMaxLayer.hpp | |
parent | 92bbcaed655d1dfe696f12f264599589b8ada602 (diff) | |
download | armnn-c8724c7b9ff663538bd32ad789dbcc3e1aa88637.tar.gz |
IVGCVSW-3944 Add ArgMinMax output shape validation
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I469895da158b062cd19248832525fa21527f7d41
Diffstat (limited to 'src/armnn/layers/ArgMinMaxLayer.hpp')
-rw-r--r-- | src/armnn/layers/ArgMinMaxLayer.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/armnn/layers/ArgMinMaxLayer.hpp b/src/armnn/layers/ArgMinMaxLayer.hpp index ca1337f065..43ea056c9e 100644 --- a/src/armnn/layers/ArgMinMaxLayer.hpp +++ b/src/armnn/layers/ArgMinMaxLayer.hpp @@ -25,6 +25,11 @@ public: /// @param [in] graph The graph into which this layer is being cloned. ArgMinMaxLayer* Clone(Graph& graph) const override; + /// Infers the output shape from a given input shape and axis parameter. + /// @param [in] inputShapes The vector of input shapes for ArgMinMax. + /// @return A vector of inferred output shapes. + std::vector<TensorShape> InferOutputShapes(const std::vector<TensorShape>& inputShapes) const override; + /// Check if the input tensor shape(s) /// will lead to a valid configuration of @ref ArgMinMaxLayer. void ValidateTensorShapesFromInputs() override; |