| // clang-format off |
| // Generated file (from: gather_higher_rank.mod.py). Do not edit |
| std::vector<MixedTypedExample>& get_examples() { |
| static std::vector<MixedTypedExample> examples = { |
| // Begin of an example |
| { |
| .operands = { |
| //Input(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f}}}, |
| // int -> INT32 map |
| {{1, {2, 0, 1, 0, 0, 1}}}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| }, |
| //Output(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {5.0f, 6.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 1.0f, 2.0f, 3.0f, 4.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| } |
| }, |
| }, // End of an example |
| }; |
| return examples; |
| }; |
| |
| std::vector<MixedTypedExample>& get_examples_relaxed() { |
| static std::vector<MixedTypedExample> examples_relaxed = { |
| // Begin of an example |
| { |
| .operands = { |
| //Input(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f}}}, |
| // int -> INT32 map |
| {{1, {2, 0, 1, 0, 0, 1}}}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| }, |
| //Output(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {5.0f, 6.0f, 1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 1.0f, 2.0f, 3.0f, 4.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| } |
| }, |
| }, // End of an example |
| }; |
| return examples_relaxed; |
| }; |
| |
| std::vector<MixedTypedExample>& get_examples_quant8() { |
| static std::vector<MixedTypedExample> examples_quant8 = { |
| // Begin of an example |
| { |
| .operands = { |
| //Input(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {}, |
| // int -> INT32 map |
| {{1, {2, 0, 1, 0, 0, 1}}}, |
| // int -> QUANT8_ASYMM map |
| {{0, {129, 131, 133, 135, 137, 139}}}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| }, |
| //Output(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {{0, {137, 139, 129, 131, 133, 135, 129, 131, 129, 131, 133, 135}}}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| } |
| }, |
| }, // End of an example |
| }; |
| return examples_quant8; |
| }; |
| |
| std::vector<MixedTypedExample>& get_examples_int32() { |
| static std::vector<MixedTypedExample> examples_int32 = { |
| // Begin of an example |
| { |
| .operands = { |
| //Input(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {}, |
| // int -> INT32 map |
| {{0, {1, 2, 3, 4, 5, 6}}, {1, {2, 0, 1, 0, 0, 1}}}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| }, |
| //Output(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {}, |
| // int -> INT32 map |
| {{0, {5, 6, 1, 2, 3, 4, 1, 2, 1, 2, 3, 4}}}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| } |
| }, |
| }, // End of an example |
| }; |
| return examples_int32; |
| }; |
| |