aboutsummaryrefslogtreecommitdiff
path: root/src/graph/nodes/ConstNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/nodes/ConstNode.cpp')
-rw-r--r--src/graph/nodes/ConstNode.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/graph/nodes/ConstNode.cpp b/src/graph/nodes/ConstNode.cpp
index 631971c98f..2f3cd142af 100644
--- a/src/graph/nodes/ConstNode.cpp
+++ b/src/graph/nodes/ConstNode.cpp
@@ -31,7 +31,7 @@ namespace arm_compute
namespace graph
{
ConstNode::ConstNode(TensorDescriptor desc)
- : _desc(desc)
+ : _desc(std::move(desc))
{
_outputs.resize(1, NullTensorID);
}
@@ -54,11 +54,6 @@ TensorDescriptor ConstNode::configure_output(size_t idx) const
return _desc;
}
-Status ConstNode::validate()
-{
- return Status{};
-}
-
NodeType ConstNode::type() const
{
return NodeType::Const;