blob: ce1c16c26b5bed5fe420f3b72feff49cda9369e3 [file] [log] [blame]
// clang-format off
// Generated file (from: space_to_depth_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, 5.0f, 6.0f, 3.0f, 4.0f, 7.0f, 8.0f, 9.0f, 10.0f, 13.0f, 14.0f, 11.0f, 12.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, 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
{},
}
},
}, // 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, 5.0f, 6.0f, 3.0f, 4.0f, 7.0f, 8.0f, 9.0f, 10.0f, 13.0f, 14.0f, 11.0f, 12.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, 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
{},
}
},
}, // 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, 5.0f, 6.0f, 3.0f, 4.0f, 7.0f, 8.0f, 9.0f, 10.0f, 13.0f, 14.0f, 11.0f, 12.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, 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}}},
}
},
}, // 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, {130, 132, 138, 140, 134, 136, 142, 144, 146, 148, 154, 156, 150, 152, 158, 160}}},
// 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, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160}}},
// 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, 5.0f, 6.0f, 3.0f, 4.0f, 7.0f, 8.0f, 9.0f, 10.0f, 13.0f, 14.0f, 11.0f, 12.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, 5.0f, 9.0f, 13.0f, 2.0f, 6.0f, 10.0f, 14.0f, 3.0f, 7.0f, 11.0f, 15.0f, 4.0f, 8.0f, 12.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, 5.0f, 6.0f, 3.0f, 4.0f, 7.0f, 8.0f, 9.0f, 10.0f, 13.0f, 14.0f, 11.0f, 12.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, 5.0f, 9.0f, 13.0f, 2.0f, 6.0f, 10.0f, 14.0f, 3.0f, 7.0f, 11.0f, 15.0f, 4.0f, 8.0f, 12.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, 5.0f, 6.0f, 3.0f, 4.0f, 7.0f, 8.0f, 9.0f, 10.0f, 13.0f, 14.0f, 11.0f, 12.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, 5.0f, 9.0f, 13.0f, 2.0f, 6.0f, 10.0f, 14.0f, 3.0f, 7.0f, 11.0f, 15.0f, 4.0f, 8.0f, 12.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, {130, 132, 138, 140, 134, 136, 142, 144, 146, 148, 154, 156, 150, 152, 158, 160}}},
// 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, {130, 138, 146, 154, 132, 140, 148, 156, 134, 142, 150, 158, 136, 144, 152, 160}}},
// 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, {10.0f, 20.0f, 11.0f, 21.0f, 12.0f, 22.0f, 13.0f, 23.0f, 14.0f, 24.0f, 15.0f, 25.0f, 16.0f, 26.0f, 17.0f, 27.0f, 18.0f, 28.0f, 19.0f, 29.0f, 110.0f, 210.0f, 111.0f, 211.0f, 112.0f, 212.0f, 113.0f, 213.0f, 114.0f, 214.0f, 115.0f, 215.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, {10.0f, 20.0f, 11.0f, 21.0f, 14.0f, 24.0f, 15.0f, 25.0f, 12.0f, 22.0f, 13.0f, 23.0f, 16.0f, 26.0f, 17.0f, 27.0f, 18.0f, 28.0f, 19.0f, 29.0f, 112.0f, 212.0f, 113.0f, 213.0f, 110.0f, 210.0f, 111.0f, 211.0f, 114.0f, 214.0f, 115.0f, 215.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, {10.0f, 20.0f, 11.0f, 21.0f, 12.0f, 22.0f, 13.0f, 23.0f, 14.0f, 24.0f, 15.0f, 25.0f, 16.0f, 26.0f, 17.0f, 27.0f, 18.0f, 28.0f, 19.0f, 29.0f, 110.0f, 210.0f, 111.0f, 211.0f, 112.0f, 212.0f, 113.0f, 213.0f, 114.0f, 214.0f, 115.0f, 215.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, {10.0f, 20.0f, 11.0f, 21.0f, 14.0f, 24.0f, 15.0f, 25.0f, 12.0f, 22.0f, 13.0f, 23.0f, 16.0f, 26.0f, 17.0f, 27.0f, 18.0f, 28.0f, 19.0f, 29.0f, 112.0f, 212.0f, 113.0f, 213.0f, 110.0f, 210.0f, 111.0f, 211.0f, 114.0f, 214.0f, 115.0f, 215.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, {10.0f, 20.0f, 11.0f, 21.0f, 12.0f, 22.0f, 13.0f, 23.0f, 14.0f, 24.0f, 15.0f, 25.0f, 16.0f, 26.0f, 17.0f, 27.0f, 18.0f, 28.0f, 19.0f, 29.0f, 110.0f, 210.0f, 111.0f, 211.0f, 112.0f, 212.0f, 113.0f, 213.0f, 114.0f, 214.0f, 115.0f, 215.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, {10.0f, 20.0f, 11.0f, 21.0f, 14.0f, 24.0f, 15.0f, 25.0f, 12.0f, 22.0f, 13.0f, 23.0f, 16.0f, 26.0f, 17.0f, 27.0f, 18.0f, 28.0f, 19.0f, 29.0f, 112.0f, 212.0f, 113.0f, 213.0f, 110.0f, 210.0f, 111.0f, 211.0f, 114.0f, 214.0f, 115.0f, 215.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, {10, 20, 11, 21, 12, 22, 13, 23, 14, 24, 15, 25, 16, 26, 17, 27, 18, 28, 19, 29, 110, 210, 111, 211, 112, 212, 113, 213, 114, 214, 115, 215}}},
// 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, {10, 20, 11, 21, 14, 24, 15, 25, 12, 22, 13, 23, 16, 26, 17, 27, 18, 28, 19, 29, 112, 212, 113, 213, 110, 210, 111, 211, 114, 214, 115, 215}}},
// 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, {10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 110.0f, 111.0f, 112.0f, 113.0f, 114.0f, 115.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 210.0f, 211.0f, 212.0f, 213.0f, 214.0f, 215.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, {10.0f, 12.0f, 18.0f, 110.0f, 20.0f, 22.0f, 28.0f, 210.0f, 11.0f, 13.0f, 19.0f, 111.0f, 21.0f, 23.0f, 29.0f, 211.0f, 14.0f, 16.0f, 112.0f, 114.0f, 24.0f, 26.0f, 212.0f, 214.0f, 15.0f, 17.0f, 113.0f, 115.0f, 25.0f, 27.0f, 213.0f, 215.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, {10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 110.0f, 111.0f, 112.0f, 113.0f, 114.0f, 115.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 210.0f, 211.0f, 212.0f, 213.0f, 214.0f, 215.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, {10.0f, 12.0f, 18.0f, 110.0f, 20.0f, 22.0f, 28.0f, 210.0f, 11.0f, 13.0f, 19.0f, 111.0f, 21.0f, 23.0f, 29.0f, 211.0f, 14.0f, 16.0f, 112.0f, 114.0f, 24.0f, 26.0f, 212.0f, 214.0f, 15.0f, 17.0f, 113.0f, 115.0f, 25.0f, 27.0f, 213.0f, 215.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, {10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 110.0f, 111.0f, 112.0f, 113.0f, 114.0f, 115.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 210.0f, 211.0f, 212.0f, 213.0f, 214.0f, 215.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, {10.0f, 12.0f, 18.0f, 110.0f, 20.0f, 22.0f, 28.0f, 210.0f, 11.0f, 13.0f, 19.0f, 111.0f, 21.0f, 23.0f, 29.0f, 211.0f, 14.0f, 16.0f, 112.0f, 114.0f, 24.0f, 26.0f, 212.0f, 214.0f, 15.0f, 17.0f, 113.0f, 115.0f, 25.0f, 27.0f, 213.0f, 215.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, {10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 110, 111, 112, 113, 114, 115, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 210, 211, 212, 213, 214, 215}}},
// 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, {10, 12, 18, 110, 20, 22, 28, 210, 11, 13, 19, 111, 21, 23, 29, 211, 14, 16, 112, 114, 24, 26, 212, 214, 15, 17, 113, 115, 25, 27, 213, 215}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_3;
};