summaryrefslogtreecommitdiffstats
path: root/eval/src/tests/instruction
diff options
context:
space:
mode:
authorArne H Juul <arnej27959@users.noreply.github.com>2021-01-15 13:20:34 +0100
committerGitHub <noreply@github.com>2021-01-15 13:20:34 +0100
commitbe40c3055b92acbb79370de175b0a9c793ca858f (patch)
tree413190eae58757f3918141efdaf1f856128c649c /eval/src/tests/instruction
parentc2921d06db79072e102bbeb03e55efe56a87842f (diff)
parentd665f6ba60f53c9ddfd3db83ed66871b65a365a7 (diff)
Merge pull request #16062 from vespa-engine/arnej/forward-index-for-mixed-dense-concat
forward index for concat of mixed tensor with dense tensor
Diffstat (limited to 'eval/src/tests/instruction')
-rw-r--r--eval/src/tests/instruction/generic_concat/generic_concat_test.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/eval/src/tests/instruction/generic_concat/generic_concat_test.cpp b/eval/src/tests/instruction/generic_concat/generic_concat_test.cpp
index cfecdb97aa0..bc8ea84744f 100644
--- a/eval/src/tests/instruction/generic_concat/generic_concat_test.cpp
+++ b/eval/src/tests/instruction/generic_concat/generic_concat_test.cpp
@@ -52,6 +52,17 @@ std::vector<Layout> concat_layouts = {
float_cells({x({"a","b","c"})}), float_cells({z({"foo","bar","baz"})}),
{x({"a","b","c"})}, {x({"a","b","c"}),z({"foo","bar","baz"})},
{x({"a","b"}),z({"foo","bar","baz"})}, {x({"a","b","c"}),z({"foo","bar"})},
+ {x({"a","b","c"}),y(3)}, {y(2)},
+ {x({"a","b","c"}),y(3)}, {z(5)},
+ {x({"a","b","c"}),y(3)}, {y(2),z(5)},
+ {x({"a","b","c"}),y(3)}, {y(2)},
+ {x({"a","b","c"}),y(3),z(5)}, {z(5)},
+ {y(2)}, {x({"a","b","c"}),y(3)},
+ {z(5)}, {x({"a","b","c"}),y(3)},
+ {y(2),z(5)}, {x({"a","b","c"}),y(3)},
+ {y(2)}, {x({"a","b","c"}),y(3)},
+ {z(5)}, {x({"a","b","c"}),y(3),z(5)},
+ {y(2),z(5)}, {x({"a","b","c"}),y(3),z(5)},
{y(2),x({"a","b","c"})}, {y(3),x({"b","c","d"})},
{y(2),x({"a","b"})}, {y(3),z({"c","d"})}
};