aboutsummaryrefslogtreecommitdiff
path: root/samples/SimpleSample.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samples/SimpleSample.cpp')
-rw-r--r--samples/SimpleSample.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/samples/SimpleSample.cpp b/samples/SimpleSample.cpp
index 0950b2688a..ed7c0bfb08 100644
--- a/samples/SimpleSample.cpp
+++ b/samples/SimpleSample.cpp
@@ -23,7 +23,9 @@ int main()
float weightsData[] = {1.0f}; // Identity
TensorInfo weightsInfo(TensorShape({1, 1}), DataType::Float32);
armnn::ConstTensor weights(weightsInfo, weightsData);
- IConnectableLayer *fullyConnected = myNetwork->AddFullyConnectedLayer(fullyConnectedDesc, weights,
+ IConnectableLayer *fullyConnected = myNetwork->AddFullyConnectedLayer(fullyConnectedDesc,
+ weights,
+ EmptyOptional(),
"fully connected");
IConnectableLayer *InputLayer = myNetwork->AddInputLayer(0);