blob: 90e218f1d3c8f49adc4329fda5d1651a8aa560e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/eval/eval/tensor_spec.h>
#include <map>
struct TestBuilder {
using TensorSpec = vespalib::eval::TensorSpec;
virtual void add(const vespalib::string &expression,
const std::map<vespalib::string,TensorSpec> &inputs) = 0;
virtual ~TestBuilder() {}
};
struct Generator {
static void generate(TestBuilder &out);
};
|