summaryrefslogtreecommitdiff
path: root/nn/runtime/test/TestGenerated.cpp
diff options
context:
space:
mode:
authorDavid Gross <dgross@google.com>2017-09-12 00:56:39 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-09-12 00:56:39 +0000
commitd756f33874dccaedd99eef78942eaf4ae2389ed9 (patch)
treef72b2439ed0c755fad0927181066c23928aee412 /nn/runtime/test/TestGenerated.cpp
parent6d56e38a124048ce43d0e0d0f9fd3345d77f25be (diff)
parent544739620cd7f37d40524d2407c92042e485c73f (diff)
downloadml-d756f33874dccaedd99eef78942eaf4ae2389ed9.tar.gz
Merge "More discipline for models and requests." into oc-mr1-dev
Diffstat (limited to 'nn/runtime/test/TestGenerated.cpp')
-rw-r--r--nn/runtime/test/TestGenerated.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/nn/runtime/test/TestGenerated.cpp b/nn/runtime/test/TestGenerated.cpp
index 0ae2fbb83..cd5c5ec39 100644
--- a/nn/runtime/test/TestGenerated.cpp
+++ b/nn/runtime/test/TestGenerated.cpp
@@ -41,6 +41,7 @@ class Example {
std::function<bool(const T, const T)> compare) {
Model model;
create_model(&model);
+ model.finish();
int example_no = 1;
bool error = false;
@@ -97,6 +98,7 @@ class Example {
std::vector<MixedTypedExampleType>& examples) {
Model model;
create_model(&model);
+ model.finish();
int example_no = 1;
for (auto& example : examples) {