blob: 84ad68ed67007ed2055bf8b629d2103eef637897 [file] [log] [blame]
// clang-format off
// Generated file (from: space_to_batch_v1_2.mod.py). Do not edit
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, {1.4f, 2.3f, 3.2f, 4.1f, 5.4f, 6.3f, 7.2f, 8.1f}}},
// 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, {1.4f, 2.3f, 3.2f, 4.1f, 5.4f, 6.3f, 7.2f, 8.1f}}},
// 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_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, {1.4f, 2.3f, 3.2f, 4.1f, 5.4f, 6.3f, 7.2f, 8.1f}}},
// 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, {1.4f, 2.3f, 3.2f, 4.1f, 5.4f, 6.3f, 7.2f, 8.1f}}},
// 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_float16() {
static std::vector<MixedTypedExample> examples_nhwc_float16 = {
// 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
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {1.399999976158142f, 2.299999952316284f, 3.200000047683716f, 4.099999904632568f, 5.400000095367432f, 6.300000190734863f, 7.199999809265137f, 8.100000381469727f}}},
},
//Output(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {1.399999976158142f, 2.299999952316284f, 3.200000047683716f, 4.099999904632568f, 5.400000095367432f, 6.300000190734863f, 7.199999809265137f, 8.100000381469727f}}},
}
},
}, // End of an example
};
return examples_nhwc_float16;
};
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, {14, 23, 32, 41, 54, 63, 72, 81}}},
// 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, {14, 23, 32, 41, 54, 63, 72, 81}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8;
};
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, {1.4f, 3.2f, 5.4f, 7.2f, 2.3f, 4.1f, 6.3f, 8.1f}}},
// 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, {1.4f, 2.3f, 3.2f, 4.1f, 5.4f, 6.3f, 7.2f, 8.1f}}},
// 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_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, {1.4f, 3.2f, 5.4f, 7.2f, 2.3f, 4.1f, 6.3f, 8.1f}}},
// 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, {1.4f, 2.3f, 3.2f, 4.1f, 5.4f, 6.3f, 7.2f, 8.1f}}},
// 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_float16() {
static std::vector<MixedTypedExample> examples_nchw_float16 = {
// 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
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {1.399999976158142f, 3.200000047683716f, 5.400000095367432f, 7.199999809265137f, 2.299999952316284f, 4.099999904632568f, 6.300000190734863f, 8.100000381469727f}}},
},
//Output(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {1.399999976158142f, 2.299999952316284f, 3.200000047683716f, 4.099999904632568f, 5.400000095367432f, 6.300000190734863f, 7.199999809265137f, 8.100000381469727f}}},
}
},
}, // End of an example
};
return examples_nchw_float16;
};
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, {14, 32, 54, 72, 23, 41, 63, 81}}},
// 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, {14, 23, 32, 41, 54, 63, 72, 81}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8;
};
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}}},
// 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, {1.0f, 3.0f, 9.0f, 11.0f, 2.0f, 4.0f, 10.0f, 12.0f, 5.0f, 7.0f, 13.0f, 15.0f, 6.0f, 8.0f, 14.0f, 16.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_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}}},
// 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, {1.0f, 3.0f, 9.0f, 11.0f, 2.0f, 4.0f, 10.0f, 12.0f, 5.0f, 7.0f, 13.0f, 15.0f, 6.0f, 8.0f, 14.0f, 16.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_float16_2() {
static std::vector<MixedTypedExample> examples_nhwc_float16_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
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 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}}},
},
//Output(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {1.0f, 3.0f, 9.0f, 11.0f, 2.0f, 4.0f, 10.0f, 12.0f, 5.0f, 7.0f, 13.0f, 15.0f, 6.0f, 8.0f, 14.0f, 16.0f}}},
}
},
}, // End of an example
};
return examples_nhwc_float16_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, {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32}}},
// 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, {2, 6, 18, 22, 4, 8, 20, 24, 10, 14, 26, 30, 12, 16, 28, 32}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8_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, 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}}},
// 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, {1.0f, 3.0f, 9.0f, 11.0f, 2.0f, 4.0f, 10.0f, 12.0f, 5.0f, 7.0f, 13.0f, 15.0f, 6.0f, 8.0f, 14.0f, 16.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_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, 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}}},
// 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, {1.0f, 3.0f, 9.0f, 11.0f, 2.0f, 4.0f, 10.0f, 12.0f, 5.0f, 7.0f, 13.0f, 15.0f, 6.0f, 8.0f, 14.0f, 16.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_float16_2() {
static std::vector<MixedTypedExample> examples_nchw_float16_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
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 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}}},
},
//Output(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {1.0f, 3.0f, 9.0f, 11.0f, 2.0f, 4.0f, 10.0f, 12.0f, 5.0f, 7.0f, 13.0f, 15.0f, 6.0f, 8.0f, 14.0f, 16.0f}}},
}
},
}, // End of an example
};
return examples_nchw_float16_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, {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32}}},
// 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, {2, 6, 18, 22, 4, 8, 20, 24, 10, 14, 26, 30, 12, 16, 28, 32}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_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}}},
// 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, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 1.0f, 0.0f, 7.0f, 0.0f, 2.0f, 0.0f, 8.0f, 0.0f, 3.0f, 0.0f, 9.0f, 0.0f, 4.0f, 0.0f, 10.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_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}}},
// 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, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 1.0f, 0.0f, 7.0f, 0.0f, 2.0f, 0.0f, 8.0f, 0.0f, 3.0f, 0.0f, 9.0f, 0.0f, 4.0f, 0.0f, 10.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_float16_3() {
static std::vector<MixedTypedExample> examples_nhwc_float16_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
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f}}},
},
//Output(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {0.0f, 0.0f, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 1.0f, 0.0f, 7.0f, 0.0f, 2.0f, 0.0f, 8.0f, 0.0f, 3.0f, 0.0f, 9.0f, 0.0f, 4.0f, 0.0f, 10.0f}}},
}
},
}, // End of an example
};
return examples_nhwc_float16_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, {2, 4, 6, 8, 10, 12, 14, 16, 18, 20}}},
// 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, 0, 10, 0, 0, 0, 12, 0, 2, 0, 14, 0, 4, 0, 16, 0, 6, 0, 18, 0, 8, 0, 20}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8_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, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.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, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 1.0f, 0.0f, 7.0f, 0.0f, 2.0f, 0.0f, 8.0f, 0.0f, 3.0f, 0.0f, 9.0f, 0.0f, 4.0f, 0.0f, 10.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_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, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.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, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 1.0f, 0.0f, 7.0f, 0.0f, 2.0f, 0.0f, 8.0f, 0.0f, 3.0f, 0.0f, 9.0f, 0.0f, 4.0f, 0.0f, 10.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_float16_3() {
static std::vector<MixedTypedExample> examples_nchw_float16_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
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f}}},
},
//Output(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {0.0f, 0.0f, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 1.0f, 0.0f, 7.0f, 0.0f, 2.0f, 0.0f, 8.0f, 0.0f, 3.0f, 0.0f, 9.0f, 0.0f, 4.0f, 0.0f, 10.0f}}},
}
},
}, // End of an example
};
return examples_nchw_float16_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, {2, 4, 6, 8, 10, 12, 14, 16, 18, 20}}},
// 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, 0, 10, 0, 0, 0, 12, 0, 2, 0, 14, 0, 4, 0, 16, 0, 6, 0, 18, 0, 8, 0, 20}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_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}}},
// 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, 0.0f, 0.0f, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 7.0f, 0.0f, 0.0f, 0.0f, 2.0f, 0.0f, 0.0f, 0.0f, 8.0f, 0.0f, 0.0f, 0.0f, 3.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 4.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.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_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}}},
// 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, 0.0f, 0.0f, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 7.0f, 0.0f, 0.0f, 0.0f, 2.0f, 0.0f, 0.0f, 0.0f, 8.0f, 0.0f, 0.0f, 0.0f, 3.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 4.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.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_4;
};
std::vector<MixedTypedExample>& get_examples_nhwc_float16_4() {
static std::vector<MixedTypedExample> examples_nhwc_float16_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
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f}}},
},
//Output(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 7.0f, 0.0f, 0.0f, 0.0f, 2.0f, 0.0f, 0.0f, 0.0f, 8.0f, 0.0f, 0.0f, 0.0f, 3.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 4.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}}},
}
},
}, // End of an example
};
return examples_nhwc_float16_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, {4, 8, 12, 16, 20, 24, 28, 32}}},
// 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, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 4, 0, 0, 0, 28, 0, 0, 0, 8, 0, 0, 0, 32, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nhwc_quant8_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, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.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, 0.0f, 0.0f, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 7.0f, 0.0f, 0.0f, 0.0f, 2.0f, 0.0f, 0.0f, 0.0f, 8.0f, 0.0f, 0.0f, 0.0f, 3.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 4.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.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_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, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.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, 0.0f, 0.0f, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 7.0f, 0.0f, 0.0f, 0.0f, 2.0f, 0.0f, 0.0f, 0.0f, 8.0f, 0.0f, 0.0f, 0.0f, 3.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 4.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.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_4;
};
std::vector<MixedTypedExample>& get_examples_nchw_float16_4() {
static std::vector<MixedTypedExample> examples_nchw_float16_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
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f}}},
},
//Output(s)
{ // See tools/test_generator/include/TestHarness.h:MixedTyped
// int -> FLOAT32 map
{},
// int -> INT32 map
{},
// int -> QUANT8_ASYMM map
{},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{{0, {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 5.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 6.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 7.0f, 0.0f, 0.0f, 0.0f, 2.0f, 0.0f, 0.0f, 0.0f, 8.0f, 0.0f, 0.0f, 0.0f, 3.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 4.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}}},
}
},
}, // End of an example
};
return examples_nchw_float16_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, {4, 8, 12, 16, 20, 24, 28, 32}}},
// 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, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 4, 0, 0, 0, 28, 0, 0, 0, 8, 0, 0, 0, 32, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_4;
};