blob: 8de0db171d048d690087d48ffafa0843fe754400 [file] [log] [blame]
// clang-format off
// Generated file (from: transpose_conv2d.mod.py). Do not edit
std::vector<MixedTypedExample>& get_examples_nhwc_none() {
static std::vector<MixedTypedExample> examples_nhwc_none = {
// 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}}},
// int -> INT32 map
{},
// 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, {-0.5f, 0.0f, 1.5f, 2.0f, 5.5f, 8.0f, 4.5f, 6.0f, 8.5f, 10.0f, 5.5f, 6.0f, 7.5f, 8.0f, 23.5f, 26.0f, 16.5f, 18.0f, 20.5f, 22.0f, 14.5f, 18.0f, 22.5f, 26.0f, 60.5f, 70.0f, 40.5f, 46.0f, 52.5f, 58.0f, 19.5f, 22.0f, 25.5f, 28.0f, 59.5f, 66.0f, 34.5f, 38.0f, 42.5f, 46.0f, 37.5f, 40.0f, 43.5f, 46.0f, 101.5f, 108.0f, 58.5f, 62.0f, 66.5f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_none;
};
std::vector<MixedTypedExample>& get_examples_nhwc_none_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_none_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {-0.5f, 0.0f, 1.5f, 2.0f, 5.5f, 8.0f, 4.5f, 6.0f, 8.5f, 10.0f, 5.5f, 6.0f, 7.5f, 8.0f, 23.5f, 26.0f, 16.5f, 18.0f, 20.5f, 22.0f, 14.5f, 18.0f, 22.5f, 26.0f, 60.5f, 70.0f, 40.5f, 46.0f, 52.5f, 58.0f, 19.5f, 22.0f, 25.5f, 28.0f, 59.5f, 66.0f, 34.5f, 38.0f, 42.5f, 46.0f, 37.5f, 40.0f, 43.5f, 46.0f, 101.5f, 108.0f, 58.5f, 62.0f, 66.5f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_none_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_none_relaxed() {
static std::vector<MixedTypedExample> examples_nhwc_none_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}}},
// int -> INT32 map
{},
// 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, {-0.5f, 0.0f, 1.5f, 2.0f, 5.5f, 8.0f, 4.5f, 6.0f, 8.5f, 10.0f, 5.5f, 6.0f, 7.5f, 8.0f, 23.5f, 26.0f, 16.5f, 18.0f, 20.5f, 22.0f, 14.5f, 18.0f, 22.5f, 26.0f, 60.5f, 70.0f, 40.5f, 46.0f, 52.5f, 58.0f, 19.5f, 22.0f, 25.5f, 28.0f, 59.5f, 66.0f, 34.5f, 38.0f, 42.5f, 46.0f, 37.5f, 40.0f, 43.5f, 46.0f, 101.5f, 108.0f, 58.5f, 62.0f, 66.5f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_none_relaxed;
};
std::vector<MixedTypedExample>& get_examples_nhwc_none_relaxed_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_none_relaxed_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {-0.5f, 0.0f, 1.5f, 2.0f, 5.5f, 8.0f, 4.5f, 6.0f, 8.5f, 10.0f, 5.5f, 6.0f, 7.5f, 8.0f, 23.5f, 26.0f, 16.5f, 18.0f, 20.5f, 22.0f, 14.5f, 18.0f, 22.5f, 26.0f, 60.5f, 70.0f, 40.5f, 46.0f, 52.5f, 58.0f, 19.5f, 22.0f, 25.5f, 28.0f, 59.5f, 66.0f, 34.5f, 38.0f, 42.5f, 46.0f, 37.5f, 40.0f, 43.5f, 46.0f, 101.5f, 108.0f, 58.5f, 62.0f, 66.5f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_none_relaxed_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_none_quant8() {
static std::vector<MixedTypedExample> examples_nhwc_none_quant8 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}},
// 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, {0, 0, 3, 4, 11, 16, 9, 12, 17, 20, 11, 12, 15, 16, 47, 52, 33, 36, 41, 44, 29, 36, 45, 52, 121, 140, 81, 92, 105, 116, 39, 44, 51, 56, 119, 132, 69, 76, 85, 92, 75, 80, 87, 92, 203, 216, 117, 124, 133, 140}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_none_quant8;
};
std::vector<MixedTypedExample>& get_examples_nhwc_none_quant8_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_none_quant8_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {-6, -8}}},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}, {1, {2, 6, 10, 14, 18, 22, 26, 30, 34, 4, 8, 12, 16, 20, 24, 28, 32, 36}}},
// 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, {0, 0, 3, 4, 11, 16, 9, 12, 17, 20, 11, 12, 15, 16, 47, 52, 33, 36, 41, 44, 29, 36, 45, 52, 121, 140, 81, 92, 105, 116, 39, 44, 51, 56, 119, 132, 69, 76, 85, 92, 75, 80, 87, 92, 203, 216, 117, 124, 133, 140}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_none_quant8_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu() {
static std::vector<MixedTypedExample> examples_nhwc_relu = {
// 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}}},
// int -> INT32 map
{},
// 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, {0.0f, 0.0f, 1.5f, 2.0f, 5.5f, 8.0f, 4.5f, 6.0f, 8.5f, 10.0f, 5.5f, 6.0f, 7.5f, 8.0f, 23.5f, 26.0f, 16.5f, 18.0f, 20.5f, 22.0f, 14.5f, 18.0f, 22.5f, 26.0f, 60.5f, 70.0f, 40.5f, 46.0f, 52.5f, 58.0f, 19.5f, 22.0f, 25.5f, 28.0f, 59.5f, 66.0f, 34.5f, 38.0f, 42.5f, 46.0f, 37.5f, 40.0f, 43.5f, 46.0f, 101.5f, 108.0f, 58.5f, 62.0f, 66.5f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_relu_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {0.0f, 0.0f, 1.5f, 2.0f, 5.5f, 8.0f, 4.5f, 6.0f, 8.5f, 10.0f, 5.5f, 6.0f, 7.5f, 8.0f, 23.5f, 26.0f, 16.5f, 18.0f, 20.5f, 22.0f, 14.5f, 18.0f, 22.5f, 26.0f, 60.5f, 70.0f, 40.5f, 46.0f, 52.5f, 58.0f, 19.5f, 22.0f, 25.5f, 28.0f, 59.5f, 66.0f, 34.5f, 38.0f, 42.5f, 46.0f, 37.5f, 40.0f, 43.5f, 46.0f, 101.5f, 108.0f, 58.5f, 62.0f, 66.5f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu_relaxed() {
static std::vector<MixedTypedExample> examples_nhwc_relu_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}}},
// int -> INT32 map
{},
// 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, {0.0f, 0.0f, 1.5f, 2.0f, 5.5f, 8.0f, 4.5f, 6.0f, 8.5f, 10.0f, 5.5f, 6.0f, 7.5f, 8.0f, 23.5f, 26.0f, 16.5f, 18.0f, 20.5f, 22.0f, 14.5f, 18.0f, 22.5f, 26.0f, 60.5f, 70.0f, 40.5f, 46.0f, 52.5f, 58.0f, 19.5f, 22.0f, 25.5f, 28.0f, 59.5f, 66.0f, 34.5f, 38.0f, 42.5f, 46.0f, 37.5f, 40.0f, 43.5f, 46.0f, 101.5f, 108.0f, 58.5f, 62.0f, 66.5f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu_relaxed;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu_relaxed_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_relu_relaxed_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {0.0f, 0.0f, 1.5f, 2.0f, 5.5f, 8.0f, 4.5f, 6.0f, 8.5f, 10.0f, 5.5f, 6.0f, 7.5f, 8.0f, 23.5f, 26.0f, 16.5f, 18.0f, 20.5f, 22.0f, 14.5f, 18.0f, 22.5f, 26.0f, 60.5f, 70.0f, 40.5f, 46.0f, 52.5f, 58.0f, 19.5f, 22.0f, 25.5f, 28.0f, 59.5f, 66.0f, 34.5f, 38.0f, 42.5f, 46.0f, 37.5f, 40.0f, 43.5f, 46.0f, 101.5f, 108.0f, 58.5f, 62.0f, 66.5f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu_relaxed_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu_quant8() {
static std::vector<MixedTypedExample> examples_nhwc_relu_quant8 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}},
// 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, {0, 0, 3, 4, 11, 16, 9, 12, 17, 20, 11, 12, 15, 16, 47, 52, 33, 36, 41, 44, 29, 36, 45, 52, 121, 140, 81, 92, 105, 116, 39, 44, 51, 56, 119, 132, 69, 76, 85, 92, 75, 80, 87, 92, 203, 216, 117, 124, 133, 140}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu_quant8;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu_quant8_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_relu_quant8_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {-6, -8}}},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}, {1, {2, 6, 10, 14, 18, 22, 26, 30, 34, 4, 8, 12, 16, 20, 24, 28, 32, 36}}},
// 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, {0, 0, 3, 4, 11, 16, 9, 12, 17, 20, 11, 12, 15, 16, 47, 52, 33, 36, 41, 44, 29, 36, 45, 52, 121, 140, 81, 92, 105, 116, 39, 44, 51, 56, 119, 132, 69, 76, 85, 92, 75, 80, 87, 92, 203, 216, 117, 124, 133, 140}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu_quant8_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu1() {
static std::vector<MixedTypedExample> examples_nhwc_relu1 = {
// 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}}},
// int -> INT32 map
{},
// 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, {-0.5f, 0.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu1;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu1_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_relu1_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {-0.5f, 0.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu1_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu1_relaxed() {
static std::vector<MixedTypedExample> examples_nhwc_relu1_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}}},
// int -> INT32 map
{},
// 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, {-0.5f, 0.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu1_relaxed;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu1_relaxed_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_relu1_relaxed_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {-0.5f, 0.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu1_relaxed_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu1_quant8() {
static std::vector<MixedTypedExample> examples_nhwc_relu1_quant8 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}},
// 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, {0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu1_quant8;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu1_quant8_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_relu1_quant8_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {-6, -8}}},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}, {1, {2, 6, 10, 14, 18, 22, 26, 30, 34, 4, 8, 12, 16, 20, 24, 28, 32, 36}}},
// 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, {0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu1_quant8_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu6() {
static std::vector<MixedTypedExample> examples_nhwc_relu6 = {
// 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}}},
// int -> INT32 map
{},
// 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, {0.0f, 0.0f, 1.5f, 2.0f, 5.5f, 6.0f, 4.5f, 6.0f, 6.0f, 6.0f, 5.5f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu6;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu6_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_relu6_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {0.0f, 0.0f, 1.5f, 2.0f, 5.5f, 6.0f, 4.5f, 6.0f, 6.0f, 6.0f, 5.5f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu6_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu6_relaxed() {
static std::vector<MixedTypedExample> examples_nhwc_relu6_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}}},
// int -> INT32 map
{},
// 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, {0.0f, 0.0f, 1.5f, 2.0f, 5.5f, 6.0f, 4.5f, 6.0f, 6.0f, 6.0f, 5.5f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu6_relaxed;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu6_relaxed_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_relu6_relaxed_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {0.0f, 0.0f, 1.5f, 2.0f, 5.5f, 6.0f, 4.5f, 6.0f, 6.0f, 6.0f, 5.5f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu6_relaxed_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu6_quant8() {
static std::vector<MixedTypedExample> examples_nhwc_relu6_quant8 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}},
// 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, {0, 0, 3, 4, 11, 12, 9, 12, 12, 12, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu6_quant8;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relu6_quant8_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_relu6_quant8_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {-6, -8}}},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}, {1, {2, 6, 10, 14, 18, 22, 26, 30, 34, 4, 8, 12, 16, 20, 24, 28, 32, 36}}},
// 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, {0, 0, 3, 4, 11, 12, 9, 12, 12, 12, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relu6_quant8_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_none() {
static std::vector<MixedTypedExample> examples_nchw_none = {
// 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}}},
// int -> INT32 map
{},
// 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, {-0.5f, 1.5f, 5.5f, 4.5f, 8.5f, 5.5f, 7.5f, 23.5f, 16.5f, 20.5f, 14.5f, 22.5f, 60.5f, 40.5f, 52.5f, 19.5f, 25.5f, 59.5f, 34.5f, 42.5f, 37.5f, 43.5f, 101.5f, 58.5f, 66.5f, 0.0f, 2.0f, 8.0f, 6.0f, 10.0f, 6.0f, 8.0f, 26.0f, 18.0f, 22.0f, 18.0f, 26.0f, 70.0f, 46.0f, 58.0f, 22.0f, 28.0f, 66.0f, 38.0f, 46.0f, 40.0f, 46.0f, 108.0f, 62.0f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_none;
};
std::vector<MixedTypedExample>& get_examples_nchw_none_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_none_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {-0.5f, 1.5f, 5.5f, 4.5f, 8.5f, 5.5f, 7.5f, 23.5f, 16.5f, 20.5f, 14.5f, 22.5f, 60.5f, 40.5f, 52.5f, 19.5f, 25.5f, 59.5f, 34.5f, 42.5f, 37.5f, 43.5f, 101.5f, 58.5f, 66.5f, 0.0f, 2.0f, 8.0f, 6.0f, 10.0f, 6.0f, 8.0f, 26.0f, 18.0f, 22.0f, 18.0f, 26.0f, 70.0f, 46.0f, 58.0f, 22.0f, 28.0f, 66.0f, 38.0f, 46.0f, 40.0f, 46.0f, 108.0f, 62.0f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_none_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_none_relaxed() {
static std::vector<MixedTypedExample> examples_nchw_none_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}}},
// int -> INT32 map
{},
// 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, {-0.5f, 1.5f, 5.5f, 4.5f, 8.5f, 5.5f, 7.5f, 23.5f, 16.5f, 20.5f, 14.5f, 22.5f, 60.5f, 40.5f, 52.5f, 19.5f, 25.5f, 59.5f, 34.5f, 42.5f, 37.5f, 43.5f, 101.5f, 58.5f, 66.5f, 0.0f, 2.0f, 8.0f, 6.0f, 10.0f, 6.0f, 8.0f, 26.0f, 18.0f, 22.0f, 18.0f, 26.0f, 70.0f, 46.0f, 58.0f, 22.0f, 28.0f, 66.0f, 38.0f, 46.0f, 40.0f, 46.0f, 108.0f, 62.0f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_none_relaxed;
};
std::vector<MixedTypedExample>& get_examples_nchw_none_relaxed_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_none_relaxed_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {-0.5f, 1.5f, 5.5f, 4.5f, 8.5f, 5.5f, 7.5f, 23.5f, 16.5f, 20.5f, 14.5f, 22.5f, 60.5f, 40.5f, 52.5f, 19.5f, 25.5f, 59.5f, 34.5f, 42.5f, 37.5f, 43.5f, 101.5f, 58.5f, 66.5f, 0.0f, 2.0f, 8.0f, 6.0f, 10.0f, 6.0f, 8.0f, 26.0f, 18.0f, 22.0f, 18.0f, 26.0f, 70.0f, 46.0f, 58.0f, 22.0f, 28.0f, 66.0f, 38.0f, 46.0f, 40.0f, 46.0f, 108.0f, 62.0f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_none_relaxed_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_none_quant8() {
static std::vector<MixedTypedExample> examples_nchw_none_quant8 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}},
// 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, {0, 3, 11, 9, 17, 11, 15, 47, 33, 41, 29, 45, 121, 81, 105, 39, 51, 119, 69, 85, 75, 87, 203, 117, 133, 0, 4, 16, 12, 20, 12, 16, 52, 36, 44, 36, 52, 140, 92, 116, 44, 56, 132, 76, 92, 80, 92, 216, 124, 140}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_none_quant8;
};
std::vector<MixedTypedExample>& get_examples_nchw_none_quant8_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_none_quant8_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {-6, -8}}},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}, {1, {2, 6, 10, 14, 18, 22, 26, 30, 34, 4, 8, 12, 16, 20, 24, 28, 32, 36}}},
// 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, {0, 3, 11, 9, 17, 11, 15, 47, 33, 41, 29, 45, 121, 81, 105, 39, 51, 119, 69, 85, 75, 87, 203, 117, 133, 0, 4, 16, 12, 20, 12, 16, 52, 36, 44, 36, 52, 140, 92, 116, 44, 56, 132, 76, 92, 80, 92, 216, 124, 140}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_none_quant8_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu() {
static std::vector<MixedTypedExample> examples_nchw_relu = {
// 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}}},
// int -> INT32 map
{},
// 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, {0.0f, 1.5f, 5.5f, 4.5f, 8.5f, 5.5f, 7.5f, 23.5f, 16.5f, 20.5f, 14.5f, 22.5f, 60.5f, 40.5f, 52.5f, 19.5f, 25.5f, 59.5f, 34.5f, 42.5f, 37.5f, 43.5f, 101.5f, 58.5f, 66.5f, 0.0f, 2.0f, 8.0f, 6.0f, 10.0f, 6.0f, 8.0f, 26.0f, 18.0f, 22.0f, 18.0f, 26.0f, 70.0f, 46.0f, 58.0f, 22.0f, 28.0f, 66.0f, 38.0f, 46.0f, 40.0f, 46.0f, 108.0f, 62.0f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_relu_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {0.0f, 1.5f, 5.5f, 4.5f, 8.5f, 5.5f, 7.5f, 23.5f, 16.5f, 20.5f, 14.5f, 22.5f, 60.5f, 40.5f, 52.5f, 19.5f, 25.5f, 59.5f, 34.5f, 42.5f, 37.5f, 43.5f, 101.5f, 58.5f, 66.5f, 0.0f, 2.0f, 8.0f, 6.0f, 10.0f, 6.0f, 8.0f, 26.0f, 18.0f, 22.0f, 18.0f, 26.0f, 70.0f, 46.0f, 58.0f, 22.0f, 28.0f, 66.0f, 38.0f, 46.0f, 40.0f, 46.0f, 108.0f, 62.0f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu_relaxed() {
static std::vector<MixedTypedExample> examples_nchw_relu_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}}},
// int -> INT32 map
{},
// 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, {0.0f, 1.5f, 5.5f, 4.5f, 8.5f, 5.5f, 7.5f, 23.5f, 16.5f, 20.5f, 14.5f, 22.5f, 60.5f, 40.5f, 52.5f, 19.5f, 25.5f, 59.5f, 34.5f, 42.5f, 37.5f, 43.5f, 101.5f, 58.5f, 66.5f, 0.0f, 2.0f, 8.0f, 6.0f, 10.0f, 6.0f, 8.0f, 26.0f, 18.0f, 22.0f, 18.0f, 26.0f, 70.0f, 46.0f, 58.0f, 22.0f, 28.0f, 66.0f, 38.0f, 46.0f, 40.0f, 46.0f, 108.0f, 62.0f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu_relaxed;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu_relaxed_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_relu_relaxed_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {0.0f, 1.5f, 5.5f, 4.5f, 8.5f, 5.5f, 7.5f, 23.5f, 16.5f, 20.5f, 14.5f, 22.5f, 60.5f, 40.5f, 52.5f, 19.5f, 25.5f, 59.5f, 34.5f, 42.5f, 37.5f, 43.5f, 101.5f, 58.5f, 66.5f, 0.0f, 2.0f, 8.0f, 6.0f, 10.0f, 6.0f, 8.0f, 26.0f, 18.0f, 22.0f, 18.0f, 26.0f, 70.0f, 46.0f, 58.0f, 22.0f, 28.0f, 66.0f, 38.0f, 46.0f, 40.0f, 46.0f, 108.0f, 62.0f, 70.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu_relaxed_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu_quant8() {
static std::vector<MixedTypedExample> examples_nchw_relu_quant8 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}},
// 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, {0, 3, 11, 9, 17, 11, 15, 47, 33, 41, 29, 45, 121, 81, 105, 39, 51, 119, 69, 85, 75, 87, 203, 117, 133, 0, 4, 16, 12, 20, 12, 16, 52, 36, 44, 36, 52, 140, 92, 116, 44, 56, 132, 76, 92, 80, 92, 216, 124, 140}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu_quant8;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu_quant8_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_relu_quant8_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {-6, -8}}},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}, {1, {2, 6, 10, 14, 18, 22, 26, 30, 34, 4, 8, 12, 16, 20, 24, 28, 32, 36}}},
// 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, {0, 3, 11, 9, 17, 11, 15, 47, 33, 41, 29, 45, 121, 81, 105, 39, 51, 119, 69, 85, 75, 87, 203, 117, 133, 0, 4, 16, 12, 20, 12, 16, 52, 36, 44, 36, 52, 140, 92, 116, 44, 56, 132, 76, 92, 80, 92, 216, 124, 140}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu_quant8_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu1() {
static std::vector<MixedTypedExample> examples_nchw_relu1 = {
// 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}}},
// int -> INT32 map
{},
// 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, {-0.5f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu1;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu1_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_relu1_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {-0.5f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu1_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu1_relaxed() {
static std::vector<MixedTypedExample> examples_nchw_relu1_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}}},
// int -> INT32 map
{},
// 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, {-0.5f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu1_relaxed;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu1_relaxed_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_relu1_relaxed_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {-0.5f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu1_relaxed_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu1_quant8() {
static std::vector<MixedTypedExample> examples_nchw_relu1_quant8 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}},
// 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, {0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu1_quant8;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu1_quant8_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_relu1_quant8_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {-6, -8}}},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}, {1, {2, 6, 10, 14, 18, 22, 26, 30, 34, 4, 8, 12, 16, 20, 24, 28, 32, 36}}},
// 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, {0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu1_quant8_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu6() {
static std::vector<MixedTypedExample> examples_nchw_relu6 = {
// 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}}},
// int -> INT32 map
{},
// 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, {0.0f, 1.5f, 5.5f, 4.5f, 6.0f, 5.5f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 0.0f, 2.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu6;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu6_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_relu6_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {0.0f, 1.5f, 5.5f, 4.5f, 6.0f, 5.5f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 0.0f, 2.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu6_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu6_relaxed() {
static std::vector<MixedTypedExample> examples_nchw_relu6_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}}},
// int -> INT32 map
{},
// 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, {0.0f, 1.5f, 5.5f, 4.5f, 6.0f, 5.5f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 0.0f, 2.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu6_relaxed;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu6_relaxed_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_relu6_relaxed_weight_as_input = {
// 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}}, {1, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f}}, {2, {-1.5f, -2.0f}}},
// int -> INT32 map
{},
// 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, {0.0f, 1.5f, 5.5f, 4.5f, 6.0f, 5.5f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 0.0f, 2.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f, 6.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu6_relaxed_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu6_quant8() {
static std::vector<MixedTypedExample> examples_nchw_relu6_quant8 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}},
// 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, {0, 3, 11, 9, 12, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0, 4, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu6_quant8;
};
std::vector<MixedTypedExample>& get_examples_nchw_relu6_quant8_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_relu6_quant8_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {-6, -8}}},
// int -> QUANT8_ASYMM map
{{0, {2, 4, 6, 8}}, {1, {2, 6, 10, 14, 18, 22, 26, 30, 34, 4, 8, 12, 16, 20, 24, 28, 32, 36}}},
// 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, {0, 3, 11, 9, 12, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0, 4, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relu6_quant8_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc() {
static std::vector<MixedTypedExample> examples_nhwc = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {300.0f, 500.0f}}},
// int -> INT32 map
{},
// 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, {500.0f, 800.0f, 3500.0f, 1500.0f, 1400.0f, 500.0f, 3500.0f, 3000.0f, 0.0f, 200.0f, 500.0f, 0.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc;
};
std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {300.0f, 500.0f}}, {1, {9.0f, 5.0f, 6.0f, 9.0f, 8.0f, 5.0f, 3.0f, 1.0f, 4.0f}}, {2, {-1000.0f}}},
// int -> INT32 map
{},
// 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, {500.0f, 800.0f, 3500.0f, 1500.0f, 1400.0f, 500.0f, 3500.0f, 3000.0f, 0.0f, 200.0f, 500.0f, 0.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relaxed() {
static std::vector<MixedTypedExample> examples_nhwc_relaxed = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {300.0f, 500.0f}}},
// int -> INT32 map
{},
// 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, {500.0f, 800.0f, 3500.0f, 1500.0f, 1400.0f, 500.0f, 3500.0f, 3000.0f, 0.0f, 200.0f, 500.0f, 0.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relaxed;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relaxed_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_relaxed_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {300.0f, 500.0f}}, {1, {9.0f, 5.0f, 6.0f, 9.0f, 8.0f, 5.0f, 3.0f, 1.0f, 4.0f}}, {2, {-1000.0f}}},
// int -> INT32 map
{},
// 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, {500.0f, 800.0f, 3500.0f, 1500.0f, 1400.0f, 500.0f, 3500.0f, 3000.0f, 0.0f, 200.0f, 500.0f, 0.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relaxed_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_quant8() {
static std::vector<MixedTypedExample> examples_nhwc_quant8 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {150, 250}}},
// 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, {75, 90, 225, 125, 120, 75, 225, 200, 50, 60, 75, 50}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8;
};
std::vector<MixedTypedExample>& get_examples_nhwc_quant8_weight_as_input() {
static std::vector<MixedTypedExample> examples_nhwc_quant8_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {-2000}}},
// int -> QUANT8_ASYMM map
{{0, {150, 250}}, {1, {164, 148, 152, 164, 160, 148, 140, 132, 144}}},
// 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, {75, 90, 225, 125, 120, 75, 225, 200, 50, 60, 75, 50}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw() {
static std::vector<MixedTypedExample> examples_nchw = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {300.0f, 500.0f}}},
// int -> INT32 map
{},
// 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, {500.0f, 800.0f, 3500.0f, 1500.0f, 1400.0f, 500.0f, 3500.0f, 3000.0f, 0.0f, 200.0f, 500.0f, 0.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw;
};
std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {300.0f, 500.0f}}, {1, {9.0f, 5.0f, 6.0f, 9.0f, 8.0f, 5.0f, 3.0f, 1.0f, 4.0f}}, {2, {-1000.0f}}},
// int -> INT32 map
{},
// 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, {500.0f, 800.0f, 3500.0f, 1500.0f, 1400.0f, 500.0f, 3500.0f, 3000.0f, 0.0f, 200.0f, 500.0f, 0.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_relaxed() {
static std::vector<MixedTypedExample> examples_nchw_relaxed = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {300.0f, 500.0f}}},
// int -> INT32 map
{},
// 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, {500.0f, 800.0f, 3500.0f, 1500.0f, 1400.0f, 500.0f, 3500.0f, 3000.0f, 0.0f, 200.0f, 500.0f, 0.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relaxed;
};
std::vector<MixedTypedExample>& get_examples_nchw_relaxed_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_relaxed_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {300.0f, 500.0f}}, {1, {9.0f, 5.0f, 6.0f, 9.0f, 8.0f, 5.0f, 3.0f, 1.0f, 4.0f}}, {2, {-1000.0f}}},
// int -> INT32 map
{},
// 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, {500.0f, 800.0f, 3500.0f, 1500.0f, 1400.0f, 500.0f, 3500.0f, 3000.0f, 0.0f, 200.0f, 500.0f, 0.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relaxed_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nchw_quant8() {
static std::vector<MixedTypedExample> examples_nchw_quant8 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {150, 250}}},
// 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, {75, 90, 225, 125, 120, 75, 225, 200, 50, 60, 75, 50}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8;
};
std::vector<MixedTypedExample>& get_examples_nchw_quant8_weight_as_input() {
static std::vector<MixedTypedExample> examples_nchw_quant8_weight_as_input = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {-2000}}},
// int -> QUANT8_ASYMM map
{{0, {150, 250}}, {1, {164, 148, 152, 164, 160, 148, 140, 132, 144}}},
// 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, {75, 90, 225, 125, 120, 75, 225, 200, 50, 60, 75, 50}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_weight_as_input;
};
std::vector<MixedTypedExample>& get_examples_nhwc_2() {
static std::vector<MixedTypedExample> examples_nhwc_2 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, {184.0f, 412.0f, 568.0f, 528.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_2;
};
std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_2() {
static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_2 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, {184.0f, 412.0f, 568.0f, 528.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_weight_as_input_2;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relaxed_2() {
static std::vector<MixedTypedExample> examples_nhwc_relaxed_2 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, {184.0f, 412.0f, 568.0f, 528.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relaxed_2;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relaxed_weight_as_input_2() {
static std::vector<MixedTypedExample> examples_nhwc_relaxed_weight_as_input_2 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, {184.0f, 412.0f, 568.0f, 528.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relaxed_weight_as_input_2;
};
std::vector<MixedTypedExample>& get_examples_nhwc_quant8_2() {
static std::vector<MixedTypedExample> examples_nhwc_quant8_2 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
// 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, {12, 26, 36, 33, 42, 84, 106, 90, 93, 170, 191, 153, 123, 210, 228, 172}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8_2;
};
std::vector<MixedTypedExample>& get_examples_nhwc_quant8_weight_as_input_2() {
static std::vector<MixedTypedExample> examples_nhwc_quant8_weight_as_input_2 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {0}}},
// int -> QUANT8_ASYMM map
{{0, {102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}, {1, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
// 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, {12, 26, 36, 33, 42, 84, 106, 90, 93, 170, 191, 153, 123, 210, 228, 172}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8_weight_as_input_2;
};
std::vector<MixedTypedExample>& get_examples_nchw_2() {
static std::vector<MixedTypedExample> examples_nchw_2 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, {184.0f, 412.0f, 568.0f, 528.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_2;
};
std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_2() {
static std::vector<MixedTypedExample> examples_nchw_weight_as_input_2 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, {184.0f, 412.0f, 568.0f, 528.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_weight_as_input_2;
};
std::vector<MixedTypedExample>& get_examples_nchw_relaxed_2() {
static std::vector<MixedTypedExample> examples_nchw_relaxed_2 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, {184.0f, 412.0f, 568.0f, 528.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relaxed_2;
};
std::vector<MixedTypedExample>& get_examples_nchw_relaxed_weight_as_input_2() {
static std::vector<MixedTypedExample> examples_nchw_relaxed_weight_as_input_2 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, {184.0f, 412.0f, 568.0f, 528.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relaxed_weight_as_input_2;
};
std::vector<MixedTypedExample>& get_examples_nchw_quant8_2() {
static std::vector<MixedTypedExample> examples_nchw_quant8_2 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {102, 106, 110, 114, 118, 122, 126, 130, 134, 138, 142, 146, 150, 154, 158, 162, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156, 160, 164}}},
// 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, {12, 26, 36, 33, 42, 84, 106, 90, 93, 170, 191, 153, 123, 210, 228, 172}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_2;
};
std::vector<MixedTypedExample>& get_examples_nchw_quant8_weight_as_input_2() {
static std::vector<MixedTypedExample> examples_nchw_quant8_weight_as_input_2 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {0}}},
// int -> QUANT8_ASYMM map
{{0, {102, 106, 110, 114, 118, 122, 126, 130, 134, 138, 142, 146, 150, 154, 158, 162, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156, 160, 164}}, {1, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
// 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, {12, 26, 36, 33, 42, 84, 106, 90, 93, 170, 191, 153, 123, 210, 228, 172}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_weight_as_input_2;
};
std::vector<MixedTypedExample>& get_examples_nhwc_3() {
static std::vector<MixedTypedExample> examples_nhwc_3 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, 22.0f, 59.0f, 101.0f, 114.0f, 83.0f, 52.0f, 184.0f, 412.0f, 568.0f, 528.0f, 344.0f, 237.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 879.0f, 597.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1431.0f, 856.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f, 1548.0f, 689.0f, 1534.0f, 2543.0f, 2729.0f, 2010.0f, 1103.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_3;
};
std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_3() {
static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_3 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, 22.0f, 59.0f, 101.0f, 114.0f, 83.0f, 52.0f, 184.0f, 412.0f, 568.0f, 528.0f, 344.0f, 237.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 879.0f, 597.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1431.0f, 856.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f, 1548.0f, 689.0f, 1534.0f, 2543.0f, 2729.0f, 2010.0f, 1103.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_weight_as_input_3;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relaxed_3() {
static std::vector<MixedTypedExample> examples_nhwc_relaxed_3 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, 22.0f, 59.0f, 101.0f, 114.0f, 83.0f, 52.0f, 184.0f, 412.0f, 568.0f, 528.0f, 344.0f, 237.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 879.0f, 597.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1431.0f, 856.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f, 1548.0f, 689.0f, 1534.0f, 2543.0f, 2729.0f, 2010.0f, 1103.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relaxed_3;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relaxed_weight_as_input_3() {
static std::vector<MixedTypedExample> examples_nhwc_relaxed_weight_as_input_3 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, 22.0f, 59.0f, 101.0f, 114.0f, 83.0f, 52.0f, 184.0f, 412.0f, 568.0f, 528.0f, 344.0f, 237.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 879.0f, 597.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1431.0f, 856.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f, 1548.0f, 689.0f, 1534.0f, 2543.0f, 2729.0f, 2010.0f, 1103.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relaxed_weight_as_input_3;
};
std::vector<MixedTypedExample>& get_examples_nhwc_quant8_3() {
static std::vector<MixedTypedExample> examples_nhwc_quant8_3 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70, 74, 78, 82, 86, 90, 94, 98, 102, 106, 110, 114, 118, 122, 126, 130, 134, 138}}},
// 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, {80, 81, 82, 83, 84, 83, 82, 86, 93, 98, 96, 91, 87, 101, 122, 133, 125, 107, 99, 127, 165, 176, 156, 125, 107, 142, 185, 194, 166, 128, 102, 128, 159, 165, 143, 114}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8_3;
};
std::vector<MixedTypedExample>& get_examples_nhwc_quant8_weight_as_input_3() {
static std::vector<MixedTypedExample> examples_nhwc_quant8_weight_as_input_3 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {0}}},
// int -> QUANT8_ASYMM map
{{0, {14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70, 74, 78, 82, 86, 90, 94, 98, 102, 106, 110, 114, 118, 122, 126, 130, 134, 138}}, {1, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
// 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, {80, 81, 82, 83, 84, 83, 82, 86, 93, 98, 96, 91, 87, 101, 122, 133, 125, 107, 99, 127, 165, 176, 156, 125, 107, 142, 185, 194, 166, 128, 102, 128, 159, 165, 143, 114}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8_weight_as_input_3;
};
std::vector<MixedTypedExample>& get_examples_nchw_3() {
static std::vector<MixedTypedExample> examples_nchw_3 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, 22.0f, 59.0f, 101.0f, 114.0f, 83.0f, 52.0f, 184.0f, 412.0f, 568.0f, 528.0f, 344.0f, 237.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 879.0f, 597.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1431.0f, 856.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f, 1548.0f, 689.0f, 1534.0f, 2543.0f, 2729.0f, 2010.0f, 1103.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_3;
};
std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_3() {
static std::vector<MixedTypedExample> examples_nchw_weight_as_input_3 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, 22.0f, 59.0f, 101.0f, 114.0f, 83.0f, 52.0f, 184.0f, 412.0f, 568.0f, 528.0f, 344.0f, 237.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 879.0f, 597.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1431.0f, 856.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f, 1548.0f, 689.0f, 1534.0f, 2543.0f, 2729.0f, 2010.0f, 1103.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_weight_as_input_3;
};
std::vector<MixedTypedExample>& get_examples_nchw_relaxed_3() {
static std::vector<MixedTypedExample> examples_nchw_relaxed_3 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, 22.0f, 59.0f, 101.0f, 114.0f, 83.0f, 52.0f, 184.0f, 412.0f, 568.0f, 528.0f, 344.0f, 237.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 879.0f, 597.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1431.0f, 856.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f, 1548.0f, 689.0f, 1534.0f, 2543.0f, 2729.0f, 2010.0f, 1103.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relaxed_3;
};
std::vector<MixedTypedExample>& get_examples_nchw_relaxed_weight_as_input_3() {
static std::vector<MixedTypedExample> examples_nchw_relaxed_weight_as_input_3 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, 22.0f, 59.0f, 101.0f, 114.0f, 83.0f, 52.0f, 184.0f, 412.0f, 568.0f, 528.0f, 344.0f, 237.0f, 678.0f, 1347.0f, 1689.0f, 1434.0f, 879.0f, 597.0f, 1494.0f, 2715.0f, 3057.0f, 2442.0f, 1431.0f, 856.0f, 1968.0f, 3352.0f, 3652.0f, 2760.0f, 1548.0f, 689.0f, 1534.0f, 2543.0f, 2729.0f, 2010.0f, 1103.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relaxed_weight_as_input_3;
};
std::vector<MixedTypedExample>& get_examples_nchw_quant8_3() {
static std::vector<MixedTypedExample> examples_nchw_quant8_3 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {14, 22, 30, 38, 46, 54, 62, 70, 78, 86, 94, 102, 110, 118, 126, 134, 18, 26, 34, 42, 50, 58, 66, 74, 82, 90, 98, 106, 114, 122, 130, 138}}},
// 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, {80, 81, 82, 83, 84, 83, 82, 86, 93, 98, 96, 91, 87, 101, 122, 133, 125, 107, 99, 127, 165, 176, 156, 125, 107, 142, 185, 194, 166, 128, 102, 128, 159, 165, 143, 114}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_3;
};
std::vector<MixedTypedExample>& get_examples_nchw_quant8_weight_as_input_3() {
static std::vector<MixedTypedExample> examples_nchw_quant8_weight_as_input_3 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {0}}},
// int -> QUANT8_ASYMM map
{{0, {14, 22, 30, 38, 46, 54, 62, 70, 78, 86, 94, 102, 110, 118, 126, 134, 18, 26, 34, 42, 50, 58, 66, 74, 82, 90, 98, 106, 114, 122, 130, 138}}, {1, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
// 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, {80, 81, 82, 83, 84, 83, 82, 86, 93, 98, 96, 91, 87, 101, 122, 133, 125, 107, 99, 127, 165, 176, 156, 125, 107, 142, 185, 194, 166, 128, 102, 128, 159, 165, 143, 114}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_weight_as_input_3;
};
std::vector<MixedTypedExample>& get_examples_nhwc_4() {
static std::vector<MixedTypedExample> examples_nhwc_4 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, {678.0f, 1347.0f, 1689.0f, 1494.0f, 2715.0f, 3057.0f, 1968.0f, 3352.0f, 3652.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_4;
};
std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_4() {
static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_4 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, {678.0f, 1347.0f, 1689.0f, 1494.0f, 2715.0f, 3057.0f, 1968.0f, 3352.0f, 3652.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_weight_as_input_4;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relaxed_4() {
static std::vector<MixedTypedExample> examples_nhwc_relaxed_4 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, {678.0f, 1347.0f, 1689.0f, 1494.0f, 2715.0f, 3057.0f, 1968.0f, 3352.0f, 3652.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relaxed_4;
};
std::vector<MixedTypedExample>& get_examples_nhwc_relaxed_weight_as_input_4() {
static std::vector<MixedTypedExample> examples_nhwc_relaxed_weight_as_input_4 = {
// 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, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, {678.0f, 1347.0f, 1689.0f, 1494.0f, 2715.0f, 3057.0f, 1968.0f, 3352.0f, 3652.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_relaxed_weight_as_input_4;
};
std::vector<MixedTypedExample>& get_examples_nhwc_quant8_4() {
static std::vector<MixedTypedExample> examples_nhwc_quant8_4 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
// 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, {84, 117, 134, 125, 186, 203, 148, 218, 233}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8_4;
};
std::vector<MixedTypedExample>& get_examples_nhwc_quant8_weight_as_input_4() {
static std::vector<MixedTypedExample> examples_nhwc_quant8_weight_as_input_4 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {0}}},
// int -> QUANT8_ASYMM map
{{0, {102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}, {1, {132, 136, 140, 144, 148, 152, 156, 160, 164, 168, 172, 176, 180, 184, 188, 192, 196, 200}}},
// 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, {84, 117, 134, 125, 186, 203, 148, 218, 233}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8_weight_as_input_4;
};
std::vector<MixedTypedExample>& get_examples_nchw_4() {
static std::vector<MixedTypedExample> examples_nchw_4 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, {678.0f, 1347.0f, 1689.0f, 1494.0f, 2715.0f, 3057.0f, 1968.0f, 3352.0f, 3652.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_4;
};
std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_4() {
static std::vector<MixedTypedExample> examples_nchw_weight_as_input_4 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, {678.0f, 1347.0f, 1689.0f, 1494.0f, 2715.0f, 3057.0f, 1968.0f, 3352.0f, 3652.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_weight_as_input_4;
};
std::vector<MixedTypedExample>& get_examples_nchw_relaxed_4() {
static std::vector<MixedTypedExample> examples_nchw_relaxed_4 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}},
// int -> INT32 map
{},
// 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, {678.0f, 1347.0f, 1689.0f, 1494.0f, 2715.0f, 3057.0f, 1968.0f, 3352.0f, 3652.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relaxed_4;
};
std::vector<MixedTypedExample>& get_examples_nchw_relaxed_weight_as_input_4() {
static std::vector<MixedTypedExample> examples_nchw_relaxed_weight_as_input_4 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{{0, {1.0f, 3.0f, 5.0f, 7.0f, 9.0f, 11.0f, 13.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 27.0f, 29.0f, 31.0f, 2.0f, 4.0f, 6.0f, 8.0f, 10.0f, 12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f, 26.0f, 28.0f, 30.0f, 32.0f}}, {1, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {2, {0.0f}}},
// int -> INT32 map
{},
// 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, {678.0f, 1347.0f, 1689.0f, 1494.0f, 2715.0f, 3057.0f, 1968.0f, 3352.0f, 3652.0f}}},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_relaxed_weight_as_input_4;
};
std::vector<MixedTypedExample>& get_examples_nchw_quant8_4() {
static std::vector<MixedTypedExample> examples_nchw_quant8_4 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{{0, {102, 106, 110, 114, 118, 122, 126, 130, 134, 138, 142, 146, 150, 154, 158, 162, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156, 160, 164}}},
// 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, {84, 117, 134, 125, 186, 203, 148, 218, 233}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_4;
};
std::vector<MixedTypedExample>& get_examples_nchw_quant8_weight_as_input_4() {
static std::vector<MixedTypedExample> examples_nchw_quant8_weight_as_input_4 = {
// Begin of an example
{
.operands = {
//Input(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{{2, {0}}},
// int -> QUANT8_ASYMM map
{{0, {102, 106, 110, 114, 118, 122, 126, 130, 134, 138, 142, 146, 150, 154, 158, 162, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156, 160, 164}}, {1, {132, 136, 140, 144, 148, 152, 156, 160, 164, 168, 172, 176, 180, 184, 188, 192, 196, 200}}},
// 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, {84, 117, 134, 125, 186, 203, 148, 218, 233}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_weight_as_input_4;
};