aboutsummaryrefslogtreecommitdiff
path: root/tests/networks/MobileNetNetwork.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/networks/MobileNetNetwork.h')
-rw-r--r--tests/networks/MobileNetNetwork.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/networks/MobileNetNetwork.h b/tests/networks/MobileNetNetwork.h
index 8c3cb1fb2d..ec054b237e 100644
--- a/tests/networks/MobileNetNetwork.h
+++ b/tests/networks/MobileNetNetwork.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -53,6 +53,10 @@ template <typename TensorType,
class MobileNetNetwork
{
public:
+ /** Initialize the network.
+ *
+ * @param[in] batches Number of batches.
+ */
void init(int batches)
{
_batches = batches;
@@ -105,6 +109,7 @@ public:
reshape.configure(&conv_out[14], &output);
}
+ /** Allocate the network. */
void allocate()
{
input.allocator()->allocate();