blob: f81da4454ad01994a1f424fdd48e491a7fb09178 [file] [log] [blame]
// clang-format off
// Generated file (from: batch_to_space_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, 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, 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
{},
}
},
}, // 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, 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, 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
{},
}
},
}, // 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, 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, 3.200000047683716f, 5.400000095367432f, 7.199999809265137f, 2.299999952316284f, 4.099999904632568f, 6.300000190734863f, 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, 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, 32, 54, 72, 23, 41, 63, 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, 5.0f, 2.0f, 6.0f, 9.0f, 13.0f, 10.0f, 14.0f, 3.0f, 7.0f, 4.0f, 8.0f, 11.0f, 15.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_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, 5.0f, 2.0f, 6.0f, 9.0f, 13.0f, 10.0f, 14.0f, 3.0f, 7.0f, 4.0f, 8.0f, 11.0f, 15.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_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, 5.0f, 2.0f, 6.0f, 9.0f, 13.0f, 10.0f, 14.0f, 3.0f, 7.0f, 4.0f, 8.0f, 11.0f, 15.0f, 12.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, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 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, 132, 140, 146, 154, 148, 156, 134, 142, 136, 144, 150, 158, 152, 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, 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, 5.0f, 2.0f, 6.0f, 9.0f, 13.0f, 10.0f, 14.0f, 3.0f, 7.0f, 4.0f, 8.0f, 11.0f, 15.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, 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, 5.0f, 2.0f, 6.0f, 9.0f, 13.0f, 10.0f, 14.0f, 3.0f, 7.0f, 4.0f, 8.0f, 11.0f, 15.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, 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, 5.0f, 2.0f, 6.0f, 9.0f, 13.0f, 10.0f, 14.0f, 3.0f, 7.0f, 4.0f, 8.0f, 11.0f, 15.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, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 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, 132, 140, 146, 154, 148, 156, 134, 142, 136, 144, 150, 158, 152, 160}}},
// int -> QUANT16_SYMM map
{},
// int -> FLOAT16 map
{},
}
},
}, // End of an example
};
return examples_nchw_quant8_2;
};