Skip to content

Commit

Permalink
[onert] Fix unused-private-field error in DynamicInferer (Samsung#755)
Browse files Browse the repository at this point in the history
This commit fixes unused-private-field error in DynamicInferer

Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh authored May 13, 2020
1 parent 2412c4f commit 51c850a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion runtime/onert/core/include/util/ShapeInference.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#ifndef __ONERT_GRAPH_SHAPE_INFERENCE_H__
#define __ONERT_GRAPH_SHAPE_INFERENCE_H__

#include "Utils.h"

#include "ir/operation/AvgPool2D.h"
#include "ir/operation/Concat.h"
#include "ir/operation/MaxPool2D.h"
Expand Down Expand Up @@ -128,7 +130,10 @@ class DynamicInferer : public ir::OperationVisitor
std::shared_ptr<backend::ITensorRegistry> &tensor_registry)
: _operands(operands), _dynamic_tensor_manager(tensor_manager),
_tensor_registry(tensor_registry)
{ /* empty */
{
UNUSED_RELEASE(_operands);
UNUSED_RELEASE(_dynamic_tensor_manager);
UNUSED_RELEASE(_tensor_registry);
}

public:
Expand Down

0 comments on commit 51c850a

Please sign in to comment.