diff options
author | Håvard Pettersen <havardpe@oath.com> | 2017-10-09 13:39:22 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2017-10-13 12:37:45 +0000 |
commit | e7fba8a53664a443d4a183793e44cd1841ebb07a (patch) | |
tree | 162cc0cb9d0c718e6cbe79ad1f502f533980ed2f /eval/src/apps/tensor_conformance | |
parent | dc18eef6236c2312eeb25d603567acf3c7403dcf (diff) |
split code to generate tensor specs into separate file
Diffstat (limited to 'eval/src/apps/tensor_conformance')
-rw-r--r-- | eval/src/apps/tensor_conformance/generate.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eval/src/apps/tensor_conformance/generate.cpp b/eval/src/apps/tensor_conformance/generate.cpp index 45ff6243d81..b2bce8d17bd 100644 --- a/eval/src/apps/tensor_conformance/generate.cpp +++ b/eval/src/apps/tensor_conformance/generate.cpp @@ -1,10 +1,9 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "generate.h" +#include <vespa/eval/eval/test/tensor_model.hpp> -using TensorSpec = vespalib::eval::TensorSpec; - -TensorSpec spec(double value) { return TensorSpec("double").add({}, value); } +using namespace vespalib::eval::test; void Generator::generate(TestBuilder &dst) |