aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/nodes/FullyConnectedLayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/graph/nodes/FullyConnectedLayer.h')
-rw-r--r--arm_compute/graph/nodes/FullyConnectedLayer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arm_compute/graph/nodes/FullyConnectedLayer.h b/arm_compute/graph/nodes/FullyConnectedLayer.h
index 3e1fe23b11..b05bc96c99 100644
--- a/arm_compute/graph/nodes/FullyConnectedLayer.h
+++ b/arm_compute/graph/nodes/FullyConnectedLayer.h
@@ -24,6 +24,7 @@
#ifndef __ARM_COMPUTE_GRAPH_FULLY_CONNECTED_LAYER_H__
#define __ARM_COMPUTE_GRAPH_FULLY_CONNECTED_LAYER_H__
+#include "arm_compute/graph/GraphContext.h"
#include "arm_compute/graph/INode.h"
#include "arm_compute/graph/Tensor.h"
#include "arm_compute/graph/Types.h"
@@ -33,7 +34,7 @@ namespace arm_compute
namespace graph
{
/** Fully connected layer node */
-class FullyConnectedLayer : public INode
+class FullyConnectedLayer final : public INode
{
public:
/** Default constructor
@@ -49,7 +50,7 @@ public:
}
// Inherited methods overriden:
- std::unique_ptr<arm_compute::IFunction> instantiate_node(Hint hint, ITensor *input, ITensor *output) override;
+ std::unique_ptr<arm_compute::IFunction> instantiate_node(GraphContext &ctx, ITensor *input, ITensor *output) override;
void print_info() override;
// Inherited methods overriden: