diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-02-02 08:50:17 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-02-02 10:03:58 +0000 |
commit | 2c562f6e234c3e29d637ff1f3fca646536997351 (patch) | |
tree | d81982596b9cac39d59cf50ead039efd61bd4aca /eval | |
parent | ad7f3eb90a981df77b406722b909846acd9fc5b7 (diff) |
GC now-unused code
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/vespa/eval/eval/test/param_variants.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/eval/src/vespa/eval/eval/test/param_variants.h b/eval/src/vespa/eval/eval/test/param_variants.h deleted file mode 100644 index 41a43ebca08..00000000000 --- a/eval/src/vespa/eval/eval/test/param_variants.h +++ /dev/null @@ -1,23 +0,0 @@ -#include "eval_fixture.h" -#include "tensor_model.hpp" - -namespace vespalib::eval::test { - -// for testing of optimizers / tensor functions -// we produce the same param three times: -// as-is, with float cells, and tagged as mutable. -void add_variants(EvalFixture::ParamRepo &repo, - const vespalib::string &name_base, - const Layout &base_layout, - const Sequence &seq) -{ - auto name_f = name_base + "_f"; - auto name_m = "@" + name_base; - auto name_m_f = "@" + name_base + "_f"; - repo.add(name_base, spec(base_layout, seq)); - repo.add(name_f, spec(float_cells(base_layout), seq)); - repo.add_mutable(name_m, spec(base_layout, seq)); - repo.add_mutable(name_m_f, spec(float_cells(base_layout), seq)); -} - -} // namespace |