| // clang-format off |
| // Generated file (from: pow.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, {2.0f, 3.0f}}, {1, {2.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 map |
| {}, |
| }, |
| //Output(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {4.0f, 9.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 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, {2.0f, 3.0f}}, {1, {2.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 map |
| {}, |
| }, |
| //Output(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {4.0f, 9.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 map |
| {}, |
| } |
| }, |
| }, // End of an example |
| }; |
| return examples_relaxed; |
| }; |
| |
| std::vector<MixedTypedExample>& get_examples_2() { |
| static std::vector<MixedTypedExample> examples_2 = { |
| // Begin of an example |
| { |
| .operands = { |
| //Input(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {2.0f, 3.0f}}, {1, {2.0f, 3.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 map |
| {}, |
| }, |
| //Output(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {4.0f, 8.0f, 9.0f, 27.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 map |
| {}, |
| } |
| }, |
| }, // End of an example |
| }; |
| return examples_2; |
| }; |
| |
| std::vector<MixedTypedExample>& get_examples_relaxed_2() { |
| static std::vector<MixedTypedExample> examples_relaxed_2 = { |
| // Begin of an example |
| { |
| .operands = { |
| //Input(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {2.0f, 3.0f}}, {1, {2.0f, 3.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 map |
| {}, |
| }, |
| //Output(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {4.0f, 8.0f, 9.0f, 27.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 map |
| {}, |
| } |
| }, |
| }, // End of an example |
| }; |
| return examples_relaxed_2; |
| }; |
| |
| std::vector<MixedTypedExample>& get_examples_3() { |
| static std::vector<MixedTypedExample> examples_3 = { |
| // Begin of an example |
| { |
| .operands = { |
| //Input(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {2.0f, 3.0f}}, {1, {0.0f, 0.5f, 1.0f, 2.0f, 3.0f, 4.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 map |
| {}, |
| }, |
| //Output(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {1.0f, 1.4142135623730951f, 1.0f, 1.7320508075688772f, 2.0f, 4.0f, 3.0f, 9.0f, 8.0f, 16.0f, 27.0f, 81.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 map |
| {}, |
| } |
| }, |
| }, // End of an example |
| }; |
| return examples_3; |
| }; |
| |
| std::vector<MixedTypedExample>& get_examples_relaxed_3() { |
| static std::vector<MixedTypedExample> examples_relaxed_3 = { |
| // Begin of an example |
| { |
| .operands = { |
| //Input(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {2.0f, 3.0f}}, {1, {0.0f, 0.5f, 1.0f, 2.0f, 3.0f, 4.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 map |
| {}, |
| }, |
| //Output(s) |
| { // See tools/test_generator/include/TestHarness.h:MixedTyped |
| // int -> FLOAT32 map |
| {{0, {1.0f, 1.4142135623730951f, 1.0f, 1.7320508075688772f, 2.0f, 4.0f, 3.0f, 9.0f, 8.0f, 16.0f, 27.0f, 81.0f}}}, |
| // int -> INT32 map |
| {}, |
| // int -> QUANT8_ASYMM map |
| {}, |
| // int -> QUANT16_SYMM map |
| {}, |
| // int -> FLOAT16 map |
| {}, |
| // int -> BOOL8 map |
| {}, |
| } |
| }, |
| }, // End of an example |
| }; |
| return examples_relaxed_3; |
| }; |
| |