aboutsummaryrefslogtreecommitdiff
path: root/examples/graph_lenet.cpp
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-01-26 14:27:15 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:44:21 +0000
commit46edf63bd630f5e3f3eb31b7d4602caa317da075 (patch)
tree493b8065ea0d5f209e70b26a2e027249fe08bb20 /examples/graph_lenet.cpp
parentc8d231626cc204034ab1053f9031ebbb631f1ba9 (diff)
downloadComputeLibrary-46edf63bd630f5e3f3eb31b7d4602caa317da075.tar.gz
COMPMID-765: Fixed output accessor in LeNet example, and disabled colors when not running in a terminal
Change-Id: I4ec90803c5dc41b0cee05c36113ae3f189564d58 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/117831 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'examples/graph_lenet.cpp')
-rw-r--r--examples/graph_lenet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graph_lenet.cpp b/examples/graph_lenet.cpp
index 2442cffe08..1d4fc33357 100644
--- a/examples/graph_lenet.cpp
+++ b/examples/graph_lenet.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017, 2018 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -100,7 +100,7 @@ public:
get_weights_accessor(data_path, "/cnn_data/lenet_model/ip2_w.npy"),
get_weights_accessor(data_path, "/cnn_data/lenet_model/ip2_b.npy"))
<< SoftmaxLayer()
- << Tensor(DummyAccessor());
+ << Tensor(DummyAccessor(0));
}
void do_run() override
{