You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
3.9 KiB
C
113 lines
3.9 KiB
C
void test_fully_connected_tflite_s8();
|
|
|
|
// Pattern IDs
|
|
static const int INPUT1_S8_ID=0;
|
|
static const int BIAS1_S8_ID=1;
|
|
static const int WEIGHT1_S8_ID=2;
|
|
static const int REF1_S8_ID=3;
|
|
static const int INPUT19_S8_ID=4;
|
|
static const int BIAS19_S8_ID=5;
|
|
static const int WEIGHT19_S8_ID=6;
|
|
static const int REF19_S8_ID=7;
|
|
static const int INPUT2_S8_ID=8;
|
|
static const int BIAS2_S8_ID=9;
|
|
static const int WEIGHT2_S8_ID=10;
|
|
static const int REF2_S8_ID=11;
|
|
static const int INPUT3_S8_ID=12;
|
|
static const int BIAS3_S8_ID=13;
|
|
static const int WEIGHT3_S8_ID=14;
|
|
static const int REF3_S8_ID=15;
|
|
static const int INPUT4_S8_ID=16;
|
|
static const int BIAS4_S8_ID=17;
|
|
static const int WEIGHT4_S8_ID=18;
|
|
static const int REF4_S8_ID=19;
|
|
static const int INPUT5_S8_ID=20;
|
|
static const int BIAS5_S8_ID=21;
|
|
static const int WEIGHT5_S8_ID=22;
|
|
static const int REF5_S8_ID=23;
|
|
static const int INPUT6_S8_ID=24;
|
|
static const int BIAS6_S8_ID=25;
|
|
static const int WEIGHT6_S8_ID=26;
|
|
static const int REF6_S8_ID=27;
|
|
static const int INPUT7_S8_ID=28;
|
|
static const int BIAS7_S8_ID=29;
|
|
static const int WEIGHT7_S8_ID=30;
|
|
static const int REF7_S8_ID=31;
|
|
static const int INPUT8_S8_ID=32;
|
|
static const int BIAS8_S8_ID=33;
|
|
static const int WEIGHT8_S8_ID=34;
|
|
static const int REF8_S8_ID=35;
|
|
static const int INPUT9_S8_ID=36;
|
|
static const int BIAS9_S8_ID=37;
|
|
static const int WEIGHT9_S8_ID=38;
|
|
static const int REF9_S8_ID=39;
|
|
static const int INPUT10_S8_ID=40;
|
|
static const int BIAS10_S8_ID=41;
|
|
static const int WEIGHT10_S8_ID=42;
|
|
static const int REF10_S8_ID=43;
|
|
static const int INPUT11_S8_ID=44;
|
|
static const int BIAS11_S8_ID=45;
|
|
static const int WEIGHT11_S8_ID=46;
|
|
static const int REF11_S8_ID=47;
|
|
static const int INPUT12_S8_ID=48;
|
|
static const int BIAS12_S8_ID=49;
|
|
static const int WEIGHT12_S8_ID=50;
|
|
static const int REF12_S8_ID=51;
|
|
static const int INPUT13_S8_ID=52;
|
|
static const int BIAS13_S8_ID=53;
|
|
static const int WEIGHT13_S8_ID=54;
|
|
static const int REF13_S8_ID=55;
|
|
static const int INPUT14_S8_ID=56;
|
|
static const int BIAS14_S8_ID=57;
|
|
static const int WEIGHT14_S8_ID=58;
|
|
static const int REF14_S8_ID=59;
|
|
|
|
// Output IDs
|
|
static const int OUTPUT1_S8_ID=0;
|
|
static const int TEMP1_S16_ID=1;
|
|
static const int OUTPUT19_S8_ID=2;
|
|
static const int TEMP19_S16_ID=3;
|
|
static const int OUTPUT2_S8_ID=4;
|
|
static const int TEMP2_S16_ID=5;
|
|
static const int OUTPUT3_S8_ID=6;
|
|
static const int TEMP3_S16_ID=7;
|
|
static const int OUTPUT4_S8_ID=8;
|
|
static const int TEMP4_S16_ID=9;
|
|
static const int OUTPUT5_S8_ID=10;
|
|
static const int TEMP5_S16_ID=11;
|
|
static const int OUTPUT6_S8_ID=12;
|
|
static const int TEMP6_S16_ID=13;
|
|
static const int OUTPUT7_S8_ID=14;
|
|
static const int TEMP7_S16_ID=15;
|
|
static const int OUTPUT8_S8_ID=16;
|
|
static const int TEMP8_S16_ID=17;
|
|
static const int OUTPUT9_S8_ID=18;
|
|
static const int TEMP9_S16_ID=19;
|
|
static const int OUTPUT10_S8_ID=20;
|
|
static const int TEMP10_S16_ID=21;
|
|
static const int OUTPUT11_S8_ID=22;
|
|
static const int TEMP11_S16_ID=23;
|
|
static const int OUTPUT12_S8_ID=24;
|
|
static const int TEMP12_S16_ID=25;
|
|
static const int OUTPUT13_S8_ID=26;
|
|
static const int TEMP13_S16_ID=27;
|
|
static const int OUTPUT14_S8_ID=28;
|
|
static const int TEMP14_S16_ID=29;
|
|
|
|
// Test IDs
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_1=1;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_2=2;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_3=3;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_4=4;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_5=5;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_6=6;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_7=7;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_8=8;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_9=9;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_10=10;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_11=11;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_12=12;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_13=13;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_14=14;
|
|
static const int TEST_FULLY_CONNECTED_TFLITE_S8_15=15;
|