diff options
author | David Gross <dgross@google.com> | 2017-09-12 00:56:39 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-09-12 00:56:39 +0000 |
commit | d756f33874dccaedd99eef78942eaf4ae2389ed9 (patch) | |
tree | f72b2439ed0c755fad0927181066c23928aee412 /nn/runtime/test/TestGenerated.cpp | |
parent | 6d56e38a124048ce43d0e0d0f9fd3345d77f25be (diff) | |
parent | 544739620cd7f37d40524d2407c92042e485c73f (diff) | |
download | ml-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.cpp | 2 |
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) { |