summaryrefslogtreecommitdiffstats
path: root/eval/src/apps/tensor_conformance/generate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eval/src/apps/tensor_conformance/generate.cpp')
-rw-r--r--eval/src/apps/tensor_conformance/generate.cpp5
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)