aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/PadLayer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/PadLayer.hpp')
-rw-r--r--src/armnn/layers/PadLayer.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/armnn/layers/PadLayer.hpp b/src/armnn/layers/PadLayer.hpp
index 16cdbf57d4..5664997597 100644
--- a/src/armnn/layers/PadLayer.hpp
+++ b/src/armnn/layers/PadLayer.hpp
@@ -29,6 +29,12 @@ public:
/// @param [in] shapeInferenceMethod Indicates if output shape shall be overwritten or just validated.
void ValidateTensorShapesFromInputs() override;
+ /// By default returns inputShapes if the number of inputs are equal to number of outputs,
+ /// otherwise 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;
+
void Accept(ILayerVisitor& visitor) const override;
protected: