aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/SliceLayer.cpp
diff options
context:
space:
mode:
authorDerek Lamberti <derek.lamberti@arm.com>2019-12-10 21:12:59 +0000
committerFrancis Murtagh <francis.murtagh@arm.com>2019-12-31 10:02:58 +0000
commit94a88d2b21d9ca3f42dc3435695be31b5591230b (patch)
treeedf9381fa095561706353773c155a2c922a50dc8 /src/armnn/layers/SliceLayer.cpp
parentff3c426ffd799abd66e4280da559384d86702721 (diff)
downloadarmnn-94a88d2b21d9ca3f42dc3435695be31b5591230b.tar.gz
IVGCVSW-4246 Clean build Layers with -Wextra
Change-Id: I649cd2304fb0040164763d31a12fc77c6c3bed87 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'src/armnn/layers/SliceLayer.cpp')
-rw-r--r--src/armnn/layers/SliceLayer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/armnn/layers/SliceLayer.cpp b/src/armnn/layers/SliceLayer.cpp
index 8ea5fd8f25..e39caa5db1 100644
--- a/src/armnn/layers/SliceLayer.cpp
+++ b/src/armnn/layers/SliceLayer.cpp
@@ -23,11 +23,10 @@ SliceLayer::SliceLayer(const SliceDescriptor& param, const char* name)
{
}
-std::unique_ptr<IWorkload> SliceLayer::CreateWorkload(const Graph& graph,
- const IWorkloadFactory& factory) const
+std::unique_ptr<IWorkload> SliceLayer::CreateWorkload(const IWorkloadFactory& factory) const
{
SliceQueueDescriptor descriptor;
- return factory.CreateSlice(descriptor, PrepInfoAndDesc(descriptor, graph));
+ return factory.CreateSlice(descriptor, PrepInfoAndDesc(descriptor));
}
SliceLayer* SliceLayer::Clone(Graph& graph) const
@@ -51,6 +50,7 @@ void SliceLayer::ValidateTensorShapesFromInputs()
std::vector<TensorShape> SliceLayer::InferOutputShapes(const std::vector<TensorShape>& inputShapes) const
{
+ boost::ignore_unused(inputShapes);
BOOST_ASSERT(inputShapes.size() == 1);
TensorShape outputShape(boost::numeric_cast<unsigned int>(m_Param.m_Size.size()), m_Param.m_Size.data());