ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert_micro::test_model::add_int8_with_broadcasting Namespace Reference

Variables

const unsigned char test_kernel_model_circle []
 
std::vector< int8_t > input1_data
 
std::vector< int8_t > input2_data = {-8, 0, 0, -8, -4, 8, 1, -2, -5, -1, 6, -9, -6, -1, 6, -10}
 
std::vector< int8_t > reference_output_data
 

Variable Documentation

◆ input1_data

std::vector<int8_t> onert_micro::test_model::add_int8_with_broadcasting::input1_data
Initial value:
= {5, 0, 2, -9, -3, 2, 1, -1, 8, 5, -5, 2, -4, 9, 7, 9,
4, -8, -3, 4, -5, 0, 4, -4, -2, -9, -8, 4, -5, -9, -10, 4,
-8, -1, 1, 1, 4, -3, -1, -7, -10, 5, 5, 3, -9, 9, 0, 8}

Definition at line 148 of file QuantAddKernel.h.

148 {5, 0, 2, -9, -3, 2, 1, -1, 8, 5, -5, 2, -4, 9, 7, 9,
149 4, -8, -3, 4, -5, 0, 4, -4, -2, -9, -8, 4, -5, -9, -10, 4,
150 -8, -1, 1, 1, 4, -3, -1, -7, -10, 5, 5, 3, -9, 9, 0, 8};

Referenced by onert_micro::test_model::TestDataInt8Add::TestDataInt8Add().

◆ input2_data

std::vector<int8_t> onert_micro::test_model::add_int8_with_broadcasting::input2_data = {-8, 0, 0, -8, -4, 8, 1, -2, -5, -1, 6, -9, -6, -1, 6, -10}

Definition at line 151 of file QuantAddKernel.h.

151{-8, 0, 0, -8, -4, 8, 1, -2, -5, -1, 6, -9, -6, -1, 6, -10};

Referenced by onert_micro::test_model::TestDataInt8Add::TestDataInt8Add().

◆ reference_output_data

std::vector<int8_t> onert_micro::test_model::add_int8_with_broadcasting::reference_output_data
Initial value:
= {
-111, -128, -128, -117, -39, 26, 13, -13, 104, -111, -128, -128, -128, 29, 3, 127,
127, 72, -17, 74, -43, -44, 8, -96, -128, -128, -128, 30, -87, -128, 2, 127,
28, -128, -128, -128, -80, -128, -128, -113, -128, 43, 127, 127, 15, -103, -128, -116}

Definition at line 152 of file QuantAddKernel.h.

152 {
153 -111, -128, -128, -117, -39, 26, 13, -13, 104, -111, -128, -128, -128, 29, 3, 127,
154 127, 72, -17, 74, -43, -44, 8, -96, -128, -128, -128, 30, -87, -128, 2, 127,
155 28, -128, -128, -128, -80, -128, -128, -113, -128, 43, 127, 127, 15, -103, -128, -116};

Referenced by onert_micro::test_model::TestDataInt8Add::TestDataInt8Add().

◆ test_kernel_model_circle

const unsigned char onert_micro::test_model::add_int8_with_broadcasting::test_kernel_model_circle[]

Definition at line 105 of file QuantAddKernel.h.

105 {
106 0x1c, 0x00, 0x00, 0x00, 0x43, 0x49, 0x52, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00,
107 0x14, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x08, 0x00, 0x10, 0x00, 0x04, 0x00, 0x0e, 0x00, 0x00, 0x00,
108 0x10, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x40, 0x02, 0x00, 0x00, 0x4c, 0x02, 0x00, 0x00,
109 0x04, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
110 0x04, 0x00, 0x00, 0x00, 0xd4, 0xfd, 0xff, 0xff, 0xd8, 0xfd, 0xff, 0xff, 0xdc, 0xfd, 0xff, 0xff,
111 0xe0, 0xfd, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00,
112 0x18, 0x00, 0x14, 0x00, 0x10, 0x00, 0x0c, 0x00, 0x08, 0x00, 0x04, 0x00, 0x0e, 0x00, 0x00, 0x00,
113 0x14, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x5c, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00,
114 0x68, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x6d, 0x61, 0x69, 0x6e, 0x00, 0x00, 0x00, 0x00,
115 0x01, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x14, 0x00, 0x00, 0x00,
116 0x10, 0x00, 0x0c, 0x00, 0x07, 0x00, 0x08, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b,
117 0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x4c, 0xfe, 0xff, 0xff,
118 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
119 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
120 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
121 0x78, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xff, 0x14, 0x00, 0x00, 0x00,
122 0x4c, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x48, 0x00, 0x00, 0x00,
123 0x0c, 0xff, 0xff, 0xff, 0x30, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
124 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
125 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x6f, 0x12, 0x83, 0x3a, 0x01, 0x00, 0x00, 0x00,
126 0x00, 0x00, 0x00, 0x43, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0x03, 0x00, 0x00, 0x00,
127 0x6f, 0x66, 0x6d, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
128 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x8a, 0xff, 0xff, 0xff, 0x14, 0x00, 0x00, 0x00,
129 0x4c, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x4c, 0x00, 0x00, 0x00,
130 0x7c, 0xff, 0xff, 0xff, 0x30, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
131 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
132 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x58, 0x39, 0xb4, 0x3c, 0x01, 0x00, 0x00, 0x00,
133 0x00, 0x00, 0x00, 0x43, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0x04, 0x00, 0x00, 0x00,
134 0x69, 0x66, 0x6d, 0x32, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
135 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00,
136 0x18, 0x00, 0x14, 0x00, 0x13, 0x00, 0x0c, 0x00, 0x08, 0x00, 0x04, 0x00, 0x0e, 0x00, 0x00, 0x00,
137 0x20, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09,
138 0x54, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x14, 0x00, 0x04, 0x00, 0x08, 0x00, 0x0c, 0x00, 0x10, 0x00,
139 0x0c, 0x00, 0x00, 0x00, 0x2c, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00,
140 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
141 0x01, 0x00, 0x00, 0x00, 0xf4, 0xfd, 0x54, 0x3c, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43,
142 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0x04, 0x00, 0x00, 0x00, 0x69, 0x66, 0x6d, 0x31,
143 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
144 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00,
145 0x04, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x4f, 0x4e, 0x45, 0x2d,
146 0x74, 0x66, 0x6c, 0x69, 0x74, 0x65, 0x32, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x00, 0x00, 0x00};

Referenced by onert_micro::test_model::TestDataInt8Add::TestDataInt8Add().