aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/GatherLayer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/GatherLayer.hpp')
-rw-r--r--src/armnn/layers/GatherLayer.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/armnn/layers/GatherLayer.hpp b/src/armnn/layers/GatherLayer.hpp
index 010af37b49..3bc8c69bc4 100644
--- a/src/armnn/layers/GatherLayer.hpp
+++ b/src/armnn/layers/GatherLayer.hpp
@@ -24,6 +24,11 @@ public:
/// @param [in] graph The graph into which this layer is being cloned.
GatherLayer* Clone(Graph& graph) const override;
+ /// Infers the output shapes from given input shapes and layer properties.
+ /// @param [in] inputShapes The input shapes layer has.
+ /// @return A vector to the inferred output shape.
+ 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 GatherLayer.
/// @param [in] shapeInferenceMethod Indicates if output shape shall be overwritten or just validate.