575 lines
100 KiB
C
575 lines
100 KiB
C
|
#include "nnom.h"
|
|||
|
|
|||
|
/* Weights, bias and Q format */
|
|||
|
#define TENSOR_CONV1D_BH_KC_KERNEL_0 {-6, -51, -31, -19, 31, -26, -15, -27, 14, 27, -54, 35, -84, 50, -27, -65, 5, -53, 23, 24, 50, 72, -62, -21, 80, -113, -25, -93, 40, 40, -22, 53, -9, 51, 72, -18, 7, 32, 7, 43, 48, 37, -56, -42, 62, 26, -36, 4}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_BH_KC_KERNEL_0_DEC_BITS {5}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_BH_KC_BIAS_0 {115, 82, -47, -120}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_BH_KC_BIAS_0_DEC_BITS {6}
|
|||
|
|
|||
|
#define CONV1D_BH_KC_BIAS_LSHIFT {6}
|
|||
|
|
|||
|
#define CONV1D_BH_KC_OUTPUT_RSHIFT {8}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_1_BH_KC_KERNEL_0 {-18, 25, -5, 43, -16, -22, 3, -12, -15, -10, -54, 30, 8, 54, -26, 2, 16, -10, 29, -15, 7, -13, -51, 43, -26, -6, -38, 7, 35, 29, -6, -20, 7, -16, 4, 77, 70, -5, -55, -55, 6, -34, 70, 54, -13, -71, -13, -24, 3, -39, 2, 42, -40, -52, 15, 51, -26, -31, -29, -17, 14, 34, -42, -12, -1, 28, 47, -37, 40, 16, -28, -4, 24, 10, 16, -17, -45, 71, -70, -1, 20, -26, 39, -4, -24, 28, 35, -24, 65, -51, 16, 15, 36, -47, -34, 45, 31, 18, 27, 12, -2, -13, 3, 7, 13, -5, -17, 20, 31, 24, -7, -21, 20, 11, 13, -22, -14, 9, 10, -16, 47, -26, 48, 23, -24, -18, -44, 41, -30, 34, -52, -17, -40, 22, -22, 36, -18, -23, -34, -41, 19, -40, 53, -49, 40, -37, 31, -10, -8, 1, 22, 41, 37, -29, -5, -5, -44, 37, -54, 16, -32, -11, 4, 14, 2, -32, -27, -1, -37, 38, 7, -33, 3, -37, -4, -14, -3, -52, 66, 2, 66, 2, -59, 6, 2, 19, 13, 17, -40, -24, -13, 62}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_1_BH_KC_KERNEL_0_DEC_BITS {6}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_1_BH_KC_BIAS_0 {3, 13, 30, -26, -46, 70, 23, 4}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_1_BH_KC_BIAS_0_DEC_BITS {6}
|
|||
|
|
|||
|
#define CONV1D_1_BH_KC_BIAS_LSHIFT {4}
|
|||
|
|
|||
|
#define CONV1D_1_BH_KC_OUTPUT_RSHIFT {6}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_2_BH_KC_KERNEL_0 {26, -32, -15, 61, 18, -6, -73, -65, 7, 24, 23, -64, -50, -12, -19, -7, -6, 31, -36, -6, -24, 73, 34, 7, -47, 17, 9, 38, 2, 16, 24, 34, 20, 15, 1, 22, 5, 2, 10, 36, 33, 9, 20, -20, 35, 40, -14, 27, -3, 31, 5, -32, -7, -49, 52, -57, 6, 39, 45, 47, 35, 36, -4, -47, 37, -39, 13, -45, 43, 53, -32, -39, -44, 1, -14, -30, -23, -45, 8, -15, -26, -31, 10, -2, 18, -3, 4, -15, 6, -26, -5, 21, 8, -20, -23, -22, -16, -31, 49, 32, 26, 10, 25, 6, -19, 45, 14, 12, 23, -34, -50, 13, -37, -11, 31, -7, 3, 3, -7, 10, 10, 43, 22, 10, 23, -11, 48, 11, 1, -56, -40, -34, 53, -24, -23, 34, -18, -11, 25, -53, 31, 12, 51, 15, 14, -28, -22, 25, 2, 14, 0, 34, -8, -21, -4, 28, -10, -23, -30, -37, -16, 11, -49, -30, -8, 30, -36, -15, -42, 1, -28, -4, -30, 29, -24, 13, -32, -56, -25, -28, 70, -6, -27, 57, -34, 34, 16, -54, -57, -26, -38, 37, 5, 17, -41, -19, -31, 23, -21, -33, 5, 25, 14, -18, -19, 0, 22, 37, 37, -29, 21, 17, 9, -22, 16, 20, -55, -12, 39, -41, 25, 33, 52, -5, 5, 22, -27, -39, -4, -20, 30, -52, 33, 27, -66, -2, 42, -43, 26, 66, -32, -22, -14, 15, -34, 2, 21, 30, 32, -26, 21, 32, -9, 40, 26, 1, 32, 11, -18, 14, -23, -20, -3, -13, 18, -9, 24, -46, -3, -4, -21, -24, -23, -29, -12, -15, -35, 39, 28, -24, 32, 59, -51, 22, -40, -6, 1, -55, 35, 9, -66, 80, -36, -5, 38, -38, 38, 0, -43, -39, -2, -10, 31, -60, -42, -20, -11, 22, -7, 49, 2, 3, 0, 10, 30, 36, 57, 1, -20, 12, -13, -26, 6, -53, -28, 58, 52, -26, 34, -5, -18, 19, -42, -21, -38, 44, 46, -48, -39, 7, 22, 3, 48, 37, 25, -21, 36, 12, -27, 3, -3, 14, 36, 37, 33, 21, -51, -50, -42, -20, 17, 15, 1, 25, 41, 34, -32, -1, 39, 3, 23, -4, 30, -8, -36, -29, 64, 10, -12, -27, 6, -32, -43, 26}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_2_BH_KC_KERNEL_0_DEC_BITS {6}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_2_BH_KC_BIAS_0 {22, -71, -17, 55, -16, -22, 35, 47, -6, -6, -11, 34, 17, -12, -12, -18}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_2_BH_KC_BIAS_0_DEC_BITS {5}
|
|||
|
|
|||
|
#define CONV1D_2_BH_KC_BIAS_LSHIFT {5}
|
|||
|
|
|||
|
#define CONV1D_2_BH_KC_OUTPUT_RSHIFT {6}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_3_BH_KC_KERNEL_0 {56, 58, -16, 33, 7, -1, -17, 48, -37, -72, -86, 59, -25, 4, -28, -13, 20, -13, 2, 28, 9, 58, -93, 8, 25, -30, -24, -22, 50, -21, -20, -6, -69, -13, 4, 3, -38, 21, 12, -9, -21, -26, 28, -15, -21, 36, -40, 24, -12, -17, 34, 95, -74, -85, -22, 36, 26, 40, -10, 5, 40, -33, 77, -4, -34, 28, -16, 37, -38, 56, -25, 73, -22, 12, 31, 10, -41, -16, 83, -48, 17, 20, 9, 21, 32, 50, 6, -72, -82, 15, -55, 29, 39, 92, -58, 23, 9, -13, -2, -5, 39, -40, 22, -12, -27, -45, -35, -73, 52, -56, -54, 8, 22, 42, -40, 45, 39, -25, 21, -10, -31, 23, 38, 2, 30, -28, -22, -18, 12, 25, 29, 49, -38, -12, 32, 30, 39, 35, -30, 42, -54, 59, 32, -56, 8, -58, 51, 22, 13, 29, 39, -34, 17, 62, -21, 26, 15, 45, -56, 35, 37, -92, -46, -28, -19, -42, 1, -17, -5, -29, 51, -57, -57, -18, 54, -9, -9, 75, 47, -70, -2, 63, 18, 27, 22, -69, -12, 95, -69, 34, 37, -67, 21, -49, 20, -26, -81, 44, 55, 48, 51, 7, 70, -90, -115, -37, 80, -107, 18, -15, 74, 101, 83, -72, -26, 49, 21, 97, -25, 18, 8, 30, -61, 59, 66, -2, 14, 7, 32, -43, 23, 32, -45, 4, 27, 7, 47, 79, 33, -93, -58, -9, -60, -34, -75, -18, 6, 33, -31, 46, -18, 18, -45, -48, 43, -100, 9, -32, -45, 40, -6, 19, 3, -50, 1, 82, -34, -47, -28, -53, -22, 26, -57, -30, 22, -55, -42, 22, -69, 43, -18, -6, -47, 60, 0, 19, -23, 66, -24, -59, -27, 81, -54, -33, -99, -49, -10, 31, -106, -16, 82, -37, 65, 35, 61, 67, 107, -7, -8, -67, -54, 19, -13, -46, 6, 48, -17, -66, 49, 29, -92, 90, 7, 59, -117, -34, -27, 12, 21, 5, 67, -6, -78, 41, -110, -78, 76, -78, -115, -15, -34, 31, 38, -61, -17, -9, -15, 26, -26, -17, -65, -2, -26, 16, -35, -17, -2, -24, 13, 58, 39, 1, 58, 45, -11, 23, 24, 22, 18, 55, 5, -4, -41, -29, 25, -45, 48, -43, -22, 11, 42, -17, -55, 23, 36, -4, -19, 42, 33, -19, 52, 17, -64, -15, 20, -1, -3, 8, 32, 37, 10, -11, -29, -23, 4, 19, 37, 55, -42, 4, -52, 38, 18, 10, -40, 10, 64, 50, 40, -23, 12, 29, -11, -1, 7, 74, 12, 22, 4, -55, 21, 18, -57, -51, 23, 40, 0, -27, -51, 54, -81, -59, 54, 5, 46, -17, 34, -61, -39, 10, -43, -32, -13, -23, -61, 41, 16, -31, 35, -30, -13, -68, 20, 22, 22, 44, -83, -26, 79, -21, 3, 26, 37, 44, 50, -24, -4, 14, -7, 44, 8, -88, -3, -42, -40, -33, -71, -41, 0, -34, -15, 24, 52, 26, -60, -26, -34, -70, 72, 20, 14, 41, 78, -43, -1, -101, 41, 36, -30, 62, -59, 68, 9, 17, -27, 7, -10, 34, -8, 35, -35, 37, 18, 5, -41, -20, 79, -41, 8, 21, 38, 11, 62, -12, 9, -19, 10, -46, 22, 72, -20, -93, 30, -27, -37, 14, -31, -13, 59, 54, -68, -37, 53, 53, -35, 14, -46, 68, -2, 11, 30, 21, -51, 35, -16, -11, 40, -2, 25, -5, -63, -57, 41, -44, -26, -46, -36, -21, -6, 57, 27, -18, -13, 17, -9, 56, 19, 26, -102, -60, -29, -34, -70, -59, -85, -27, -16, -15, 50, -53, 2, -23, -18, -13, -49, 53, -37, -74, 18, -3, 34, 4, 38, -43, 49, -38, -20, 38, -51, 39, 40, 16, -18, 30, 24, 59, 48, -45, 3, 48, -9, -34, 31, -9, 46, 52, -3, 27, 40, 16, 12, -64, -23, 13, -3, -87, 18, -95, 29, -36, 20, -104, 46, -17, -55, -25, -57, -52, -4, 40, -44, -41, 34, 24, 32, 24, -64, 11, -62, 16, -63, 28, 47, -14, 7, 106, -20, 27, 5, 0, -46, -46, -13, -57, -24, 10, 68, -69, -48, 31, 0, -77, 5, -34, -37, -60, -34, 71, 7, -13, -68, 81, 3, 32, -91, -40, 73, -20, 46, -24, -37, 33, 22, 17, -26, -12, -79, -65, -40, -53, 55, 32, -35, 41, 0, -30, -19, 15, 60, -49, -61, -23, -46, 8, 35, 8, -39, -10, 2, 16, 55, -7, -10, 20, -3, -45, -10, 60, -35, 14, -60, -24, 39, -21, 54, -33, -59, 60, -52, -3, 50, 70, 40, 12, -22, 88, 37, -23, 9, -6, -7, 11, 30, 8, -27, 12, 12, 41, 44, 16, -5, 22, 44, -43, -38, 7, -42, 30, 30, -62, 21, 7, 5, 40, -9, 18, -36, 10, -7, -63, -17, 40, 2, -19, 5, -1, 47, -34, 3, -11, 15, -38, -1, -2, -16, -47, 40, -20, -68, -32, 0, -23, 8, -37, 44, -50, -36, -59, -39, 22, 5, -26, -46, 10, 43, 33, -33, 65, -80, -71, 63, -35, -40, 74, -10, 31, 40, 33, -15, -9, -23, -52, -35, -68, 33, -8, -84, 48, 20, 47, -27, -37, -1, -52, 37, -63, 42, -16, 77, -49, -35, -71, 34, 4, -6, 34, -58, 20, -60, 14, -31, -5, -47, 27, -64, -30, -32, -54, -82, 20, -2, -96, -60, -4, 26, -13, -10, -46, -78, 11, -20, 55, -53, 46, -24, -68, 18, -48, -27, -92, 59, 5, -26, -60, 19, -51, -50, 58, 46, 23, 45, -22, 33, 11, 57, -64
|
|||
|
|
|||
|
#define TENSOR_CONV1D_3_BH_KC_KERNEL_0_DEC_BITS {7}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_3_BH_KC_BIAS_0 {16, -38, -9, -4, -47, 62, 30, 7, -44, 15, 9, 4, 41, 25, 44, -23, -1, 37, 75, 36, 59, -2, 35, -13, -5, -33, 39, -36, 34, -25, 12, 73}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_3_BH_KC_BIAS_0_DEC_BITS {5}
|
|||
|
|
|||
|
#define CONV1D_3_BH_KC_BIAS_LSHIFT {6}
|
|||
|
|
|||
|
#define CONV1D_3_BH_KC_OUTPUT_RSHIFT {7}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_4_BH_KC_KERNEL_0 {17, 18, -24, -5, -22, -18, 2, -27, -25, 8, -2, 1, -13, -12, 28, -41, 11, 32, 10, -5, -20, 18, -33, -7, 12, 19, 32, 4, -9, -14, -32, -9, 8, -2, -10, -24, -1, -9, -24, -13, 10, -8, 49, 11, -31, 21, -2, 11, -33, 17, -12, 23, -21, 28, 22, 0, 22, 10, 12, 48, -2, -38, 0, 5, 15, -2, 20, -26, -6, -30, -22, -1, -11, -9, 23, 26, -37, -23, -17, 1, 29, -30, -14, -13, 2, 1, 25, -13, -1, -19, -7, 33, 12, 29, -47, 8, 6, -15, 29, -2, 25, -65, -18, 27, 7, -23, -31, 5, -13, 18, -44, 1, 25, 15, -20, 7, 22, 11, -14, 59, -32, 5, -3, -9, 3, -20, 11, 20, -2, 4, 22, -19, -10, 46, 4, 27, 7, 22, -13, 25, -11, 59, -27, 41, 28, 12, 0, -27, -2, 3, 14, 23, -32, 1, 17, 26, 18, 4, -16, -26, -16, 10, -34, -16, 8, -14, -22, -40, 19, -2, -10, -7, 21, 6, -10, -3, 20, 9, 7, 7, 2, -26, 40, 50, 66, 17, 13, 39, -13, 7, -70, -6, 18, -9, 21, -37, 13, -25, -3, -18, -12, 56, -13, 28, -4, 13, -8, -8, 0, -19, 23, -29, 9, -17, 26, 13, -25, 16, -3, 33, 2, 18, -32, 21, 48, 9, 24, -8, 16, 5, 12, -23, 62, -74, -40, 17, -30, -56, 30, 24, 25, -7, 8, -54, -30, -51, -8, 5, -3, 22, 6, 34, 8, 8, -43, 16, 16, -14, 20, 40, 39, 29, -14, 40, -2, -4, -16, 23, 33, -4, -30, -7, 16, 6, 11, 1, 8, -7, 0, 21, -24, -11, 29, -25, -17, 11, 4, 30, 3, 10, -28, 4, -25, 48, -2, -15, 0, 3, 2, 21, 22, -35, 56, -21, -2, -4, -11, 21, -22, -25, -10, -41, 30, 9, 47, 26, 37, -8, -64, -13, -8, 31, 13, 14, 4, 50, -27, 27, 5, -28, -24, 1, -2, -18, -12, 15, -24, 30, -2, -33, 16, 12, -21, 26, 10, 15, 21, -33, -24, 6, -15, -26, 22, -6, -6, 2, -5, 6, -1, 11, -28, 35, 0, -29, 4, 18, -3, 3, -4, -49, -9, -18, -29, -36, 18, 39, 12, -5, -30, 6, 40, 13, -4, -57, 13, -36, -18, 0, 9, 1, -14, 50, -41, -27, -9, -13, 9, 3, 15, 19, -31, -42, -23, -44, 19, -5, -14, 34, 0, 38, -58, 20, -26, 13, -31, -19, 5, 51, 1, 7, -43, 22, 14, 24, 14, 6, 23, -2, -9, -33, 11, -16, -5, -8, 37, -2, -23, -21, 18, 60, 2, -14, 16, -6, -29, 41, -7, -18, -46, -30, -20, 26, -14, 35, 42, -34, 33, -10, 33, -7, -4, -7, 2, -30, -44, 17, 2, -16, -2, -5, 15, -31, 9, -17, -16, 5, -16, 17, -45, -67, -55, -4, -13, 19, 17, -4, 3, 6, -50, -2, 9, 2, -47, 9, 29, 0, -20, 6, 14, 13, 6, 33, -20, -12, 12, 4, 24, 8, 1, 9, -1, 23, -2, -18, 20, 23, 46, 0, -22, -3, 5, -15, -5, -6, 25, -27, 19, -13, 10, 5, 40, -24, -30, 20, -47, 33, 16, 14, 8, 23, 32, 12, 22, 28, 13, -27, -11, 1, -5, -34, 7, 15, 2, 9, 15, -43, -29, 22, 25, 13, 28, 18, 1, -14, 25, -9, 2, 32, -19, 53, -8, 6, -39, 59, 8, -10, 17, -24, 13, -19, 9, -23, -1, 29, -1, -32, -10, -6, -12, -4, 5, -2, 13, 9, 7, 30, -27, -43, -18, -9, -2, 38, -28, -7, -42, -19, 5, 33, -5, -44, -6, 5, 46, -19, -11, 12, -3, 2, -7, -52, 35, 17, 20, -9, 10, 16, -10, -14, 24, 9, 18, 41, -20, 6, -4, 22, 15, -8, 13, 11, -7, -10, 26, 3, -18, -5, -9, -21, -5, 10, 26, 15, -26, -7, -24, -4, -10, -1, -30, 14, -29, -13, -35, 26, -8, -3, 43, -13, -56, -34, 10, 19, -12, -16, 2, 21, 40, -11, -35, -30, 10, -17, -21, -24, -13, 20, -6, 36, 27, -12, -54, 15, 8, 9, 17, -27, 27, -3, -22, 7, 11, 13, -6, -4, -17, 20, 26, 33, -55, 18, 30, 20, -37, 16, -34, -39, -51, -43, 20, 23, -16, -24, 25, -22, 1, 0, -10, 3, 17, -20, 20, 12, 49, -21, -10, 21, -21, 12, 3, -2, 18, 3, 14, -5, 10, -34, -11, -24, 8, 23, 22, 23, 28, -20, 0, -8, -6, 31, -4, -32, -20, 7, -57, -1, 11, 0, -1, 33, 16, -5, -22, 12, -13, 2, -14, -30, -3, -18, -22, -30, 12, 32, -52, 10, -9, -34, -16, 14, 0, -5, -14, 6, 3, 17, 7, -18, -3, 20, -16, 19, -22, 2, -38, 7, -67, 3, -23, -55, -13, 7, 12, -2, -25, -14, 35, -28, -7, -22, -12, 27, -22, -38, -11, -13, 7, 0, -30, 5, 35, -1, -3, 1, -8, -3, 5, -5, 20, 14, -36, 32, 2, -5, -29, 9, 16, -18, -28, -17, -16, 32, -14, 18, 0, -22, 0, 4, 0, -1, -46, -3, 0, 45, 4, -24, -22, -19, -56, 29, -18, 14, 16, -21, -18, 30, -21, -23, 47, -55, 18, -30, -36, -20, -9, 22, 5, 23, -15, 17, -34, -33, 16, 17, 16, 13, -46, -8, 2, -39, -23, -41, 6, -6, -42, 32, 24, 10, -36, -25, -27, -5, 20, -57, 8, 10, 1, -5, 26, 14, 32, -3, -46, -34, -28, 40, -23, 15, -14, -33, 32, 16, 20, -11, -45, 21, 2, 37, -2, 22, -32, 27, 11, 18, -17, 11, -26, 35, 19, -10, -2, -21, -37, 2, -17, 40, -31, -41, -28, 41, 6, 19, -2, -58, -8, 21, 8, 1, 13, 9, 12, -28
|
|||
|
|
|||
|
#define TENSOR_CONV1D_4_BH_KC_KERNEL_0_DEC_BITS {7}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_4_BH_KC_BIAS_0 {21, -41, -26, 18, 37, -67, 35, 18, 82, 51, 17, -2, -39, 5, -4, 13, -51, 2, 1, -25, -31, 1, 64, 57, 63, 32, 8, 36, 2, 1, 43, 54, 19, 51, -22, -11, 29, 53, -46, 6, 38, 53, 83, 55, 4, 68, 12, -30, 8, 3, -40, 17, 37, -44, 46, 46, -14, 62, 54, 31, -9, -2, 8, -14, 33, -1, -18, -2, 22, -66, -55, 32, -62, 38, -28, 13, -9, 4, -45, 19, -37, 46, 16, 49, -25, 8, -19, 2, -8, 4, 33, -25, 60, 18, 23, -73, -20, 43, 16, 14, 67, -23, -41, -42, -38, -27, -9, -35, 44, -60, -30, 10, -19, 28, 50, -12, 6, -29, -70, -45, 25, 87, -25, -38, 2, 3, -5, -14}
|
|||
|
|
|||
|
#define TENSOR_CONV1D_4_BH_KC_BIAS_0_DEC_BITS {6}
|
|||
|
|
|||
|
#define CONV1D_4_BH_KC_BIAS_LSHIFT {5}
|
|||
|
|
|||
|
#define CONV1D_4_BH_KC_OUTPUT_RSHIFT {7}
|
|||
|
|
|||
|
#define TENSOR_DENSE_BH_KC_KERNEL_0 {6, -17, -7, -23, 5, 12, -26, 1, -18, -18, -10, -30, -31, 0, -11, -25, -15, -28, -8, -33, -22, 1, 8, 14, 0, -12, -8, -5, 23, -6, 13, 5, 48, 14, -19, -19, 11, -26, 24, -12, -9, -11, -4, -1, 15, -22, 20, -23, -14, 28, 58, 14, -28, -19, -5, 2, 8, -16, 10, 3, -33, 2, 16, -19, 12, -3, -35, 9, 3, -2, 4, -6, 13, -7, 21, 8, -22, 0, -3, 6, -17, -31, 13, -14, 17, -24, 14, 5, -7, 16, -20, 23, 15, 3, -24, -11, 24, -1, -12, 28, -19, 21, 19, -12, -11, -7, -27, -52, -9, -14, -7, 16, 5, 18, 11, 10, 23, -13, 1, -6, -7, -11, 23, 19, 13, -12, -8, -18, -22, -19, 31, 18, 18, 21, 12, -9, -14, -7, -26, -31, -17, -10, 0, 10, -28, -22, 21, 10, 10, 8, -13, -10, -1, 19, -31, 10, -1, 20, -3, -9, -14, -15, -34, 3, -18, -24, 0, -24, -21, -23, -20, -21, -6, 8, 23, -17, -5, -1, 14, 9, 1, 4, -28, -7, -1, -13, 43, -16, 11, 3, -27, -20, 32, 6, 23, -1, -27, -17, -22, -3, -17, 15, -11, 2, -1, -12, -3, 5, 0, -11, 18, 26, 3, 15, 16, -12, -1, -1, -13, -14, -47, -8, 30, 2, 14, -5, 22, 9, -7, 7, 5, -12, 23, -12, -38, 16, 2, -10, -22, 3, -1, -19, -15, 17, -15, -10, -5, -22, 11, 5, -45, -18, 6, -3, -25, -7, -42, 18, 13, 3, -21, -6, 11, 16, -1, 1, 13, -15, -15, -12, 3, -4, -6, 13, -4, -21, -20, 1, -20, 3, 15, -4, 17, -22, -12, -14, 2, 5, -20, -5, -15, -6, 1, 9, 10, -26, -21, -4, -11, -19, 0, 8, -3, -19, 5, -26, -17, 21, -6, 20, -21, -12, -23, 21, -30, -33, 23, 22, 21, 11, 2, -10, 22, -13, -1, 19, -4, -10, 30, 28, 6, 7, -15, -12, 7, -4, -17, -31, -20, -2, 7, 2, -15, -24, 5, -20, 14, 13, -19, -9, -1, 20, -25, 16, 15, -6, -8, 12, 11, -12, 58, -30, -16, -8, 7, -8, -15, 16, -17, -18, -7, 20, 3, -10, 12, -19, -35, 17, -20, -24, 17, -24, 6, 14, -12, 12, 14, -16, -6, -3, -20, -14, -2, -1, -5, -8, 13, 10, -18, 3, -4, 5, 17, -4, -3, 20, -20, 17, 10, 12, 19, -25, -25, 14, 15, 14, 1, -18, -39, -28, 12, -21, 25, -1, -24, 19, -20, -13, 21, 9, -11, 15, -2, 18, 48, -3, -2, -22, 25, -23, 30, 17, -2, 18, -11, -15, -14, -8, -9, 18, 13, 17, -30, 1, -8, -3, -32, 1, -12, -6, -27, -6, -8, 4, 1, -5, -17, 2, -8, 2, 28, -19, -13, -27, -9, 6, 1, -14, -8, -7, -21, -16, -2, -3, 2, -8, -28, -5, -39, 8, -40, -24, -29, -20, -28, 13, 10, 5, 29, 7, -44, -14, -30, -26, 14, 24, 20, -16, 25, 17, 18, -25, -8, 12, -20, -9, 16, 20, 13, 20, 24, 12, 3, -24, -25, 3, 15, -16, 19, -10, -26, -14, 4, -18, 7, 1, 9, -9, -17, 21, 9, 16, 19, 16, -22, 15, 13, -28, 11, 2, -24, -20, 1, -20, -11, -27, 1, -12, -22, 12, -21, 3, -14, 5, 1, 2, 15, 11, -12, -29, -9, 17, -8, 4, -19, -3, -18, 20, 5, -23, -21, 5, 8, -3, 21, -16, -7, 6, -12, -25, -14, -5, 22, -26, 14, 20, -7, -22, -18, -25, -18, 7, 2, 15, -23, 21, 4, -11, 10, 9, 11, 11, 0, -8, -9, -9, -9, -4, 6, 17, -26, -26, 3, 15, 2, 1, -7, -13, -18, -27, -15, -27, 11, 20, -10, 11, 4, -2, -26, -14, 8, 26, -7, -10, -5, -6, -19, -24, -20, -15, -22, 6, -9, -11, -26, 11, -10, 8, 18, 2, 6, -23, -2, -14, 2, 17, -8, 10, -25, -12, -22, 14, -13, 30, -17, 24, 12, -10, -24, -10, -22, -1, -15, 11, -2, -11, -29, 2, -12, -30, -16, -12, -19, 9, -28, -8, -12, 7, -23, -7, -3, 15, -9, 1, 7, 20, 11, -1, 2, 16, -16, 18, -22, 8, -26, -26, -21, 6, 13, 17, 6, -15, 2, -32, -23, -10, 19, -19, -15, 12, -3, -37, -8, -24, 5, 4, 5, -32, -6, -20, -7, -10, 21, -27, 19, -8, -11, 11, 6, -9, -8, 13, 0, 9, -7, -15, 2, 1, -24, 10, 19, -11, -21, -7, -24, 3, -18, -15, 8, 9, -11, -20, 13, 14, -13, -7, 20, 3, -9, -10, -20, -13, -29, 11, 0, -28, 18, 21, -27, -23, -4, -27, 4, 10, 3, -10, -28, 1, -2, -12, -9, 17, -17, -5, -12, -24, -26, 3, 10, -6, -11, 26, -14, -15, -24, -18, -5, -27, -22, -3, -4, -7, -9, -4, 8, -4, 6, -4, -29, -22, -13, 4, -7, -16, 13, -17, 14, -21, 4, -1, -10, 13, 17, 17, 16, -9, -6, -26, 10, 3, -5, -40, -11, -19, 16, -1, -10, -6, 16, -23, 11, 17, -12, -11, -9, 17, -16, 22, 0, 18, 16, -22, 10, 4, 11, 4, -7, 14, 19, -4, 17, -24, -26, -24, 15, -11, -2, -8, 15, -4, -31, -4, -18, -20, 13, -23, -10, -15, -24, 10, -9, 15, -15, -6, -26, 9, -25, -7, 3, 2, -28, -12, -18, -32, 12, -4, -11, 9, -22, -25, 8, 5, 14, 7, -19, -25, -4, 15, 10, 18, -22, 13, -20, -3, -17, -21, -10, -21, -12, -14, 15, -23, 9, -1, -18, 4, -11, 10, -10, 12, -23, 7, -6, -4, 17, 5, -8, 15, 12, 14, -12,
|
|||
|
|
|||
|
#define TENSOR_DENSE_BH_KC_KERNEL_0_DEC_BITS {7}
|
|||
|
|
|||
|
#define TENSOR_DENSE_BH_KC_BIAS_0 {-39, 9, 3, -22, -18, -15, -24, -37, -64, -22, 29, -2, 22, 6, -35, 37, -30, -28, -30, -85, -41, -36, 48, -42, -19, 122, -17, -30, -28, -45, 9, -28}
|
|||
|
|
|||
|
#define TENSOR_DENSE_BH_KC_BIAS_0_DEC_BITS {10}
|
|||
|
|
|||
|
#define DENSE_BH_KC_BIAS_LSHIFT {1}
|
|||
|
|
|||
|
#define DENSE_BH_KC_OUTPUT_RSHIFT {7}
|
|||
|
|
|||
|
#define TENSOR_DENSE_1_BH_KC_KERNEL_0 {47, 3, 81, -94, 91, 79, -30, 31, 2, 3, 80, -6, 11, 1, -82, 37, -42, 45, 89, -15, -2, -93, 37, -65, 5, 53, -14, -30, -26, 75, 1, -3, -6, 83, 6, 55, 68, -3, 15, -39, -29, 93, 5, 89, 22, 57, -79, -7, 2, -84, 3, -34, 77, -35, -19, 63, 71, 52, 64, 2, 101, -17, -39, -68}
|
|||
|
|
|||
|
#define TENSOR_DENSE_1_BH_KC_KERNEL_0_DEC_BITS {8}
|
|||
|
|
|||
|
#define TENSOR_DENSE_1_BH_KC_BIAS_0 {64, 49}
|
|||
|
|
|||
|
#define TENSOR_DENSE_1_BH_KC_BIAS_0_DEC_BITS {9}
|
|||
|
|
|||
|
#define DENSE_1_BH_KC_BIAS_LSHIFT {3}
|
|||
|
|
|||
|
#define DENSE_1_BH_KC_OUTPUT_RSHIFT {6}
|
|||
|
|
|||
|
|
|||
|
/* output q format for each layer */
|
|||
|
#define INPUT_1_BH_KC_OUTPUT_DEC 7
|
|||
|
#define INPUT_1_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define CONV1D_BH_KC_OUTPUT_DEC 4
|
|||
|
#define CONV1D_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define BATCH_NORMALIZATION_BH_KC_OUTPUT_DEC 4
|
|||
|
#define BATCH_NORMALIZATION_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define LEAKY_RE_LU_BH_KC_OUTPUT_DEC 4
|
|||
|
#define LEAKY_RE_LU_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define AVERAGE_POOLING1D_BH_KC_OUTPUT_DEC 4
|
|||
|
#define AVERAGE_POOLING1D_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define CONV1D_1_BH_KC_OUTPUT_DEC 4
|
|||
|
#define CONV1D_1_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define BATCH_NORMALIZATION_1_BH_KC_OUTPUT_DEC 4
|
|||
|
#define BATCH_NORMALIZATION_1_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define LEAKY_RE_LU_1_BH_KC_OUTPUT_DEC 4
|
|||
|
#define LEAKY_RE_LU_1_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define AVERAGE_POOLING1D_1_BH_KC_OUTPUT_DEC 4
|
|||
|
#define AVERAGE_POOLING1D_1_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define CONV1D_2_BH_KC_OUTPUT_DEC 4
|
|||
|
#define CONV1D_2_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define BATCH_NORMALIZATION_2_BH_KC_OUTPUT_DEC 4
|
|||
|
#define BATCH_NORMALIZATION_2_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define LEAKY_RE_LU_2_BH_KC_OUTPUT_DEC 4
|
|||
|
#define LEAKY_RE_LU_2_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define AVERAGE_POOLING1D_2_BH_KC_OUTPUT_DEC 4
|
|||
|
#define AVERAGE_POOLING1D_2_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define CONV1D_3_BH_KC_OUTPUT_DEC 4
|
|||
|
#define CONV1D_3_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define BATCH_NORMALIZATION_3_BH_KC_OUTPUT_DEC 4
|
|||
|
#define BATCH_NORMALIZATION_3_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define LEAKY_RE_LU_3_BH_KC_OUTPUT_DEC 4
|
|||
|
#define LEAKY_RE_LU_3_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define CONV1D_4_BH_KC_OUTPUT_DEC 4
|
|||
|
#define CONV1D_4_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define BATCH_NORMALIZATION_4_BH_KC_OUTPUT_DEC 4
|
|||
|
#define BATCH_NORMALIZATION_4_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define LEAKY_RE_LU_4_BH_KC_OUTPUT_DEC 4
|
|||
|
#define LEAKY_RE_LU_4_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define GLOBAL_AVERAGE_POOLING1D_BH_KC_OUTPUT_DEC 4
|
|||
|
#define GLOBAL_AVERAGE_POOLING1D_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define DENSE_BH_KC_OUTPUT_DEC 4
|
|||
|
#define DENSE_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define RE_LU_BH_KC_OUTPUT_DEC 4
|
|||
|
#define RE_LU_BH_KC_OUTPUT_OFFSET 0
|
|||
|
#define DENSE_1_BH_KC_OUTPUT_DEC 6
|
|||
|
#define DENSE_1_BH_KC_OUTPUT_OFFSET 0
|
|||
|
|
|||
|
/* bias shift and output shift for none-weighted layer */
|
|||
|
|
|||
|
/* tensors and configurations for each layer */
|
|||
|
static int8_t nnom_input_data_BH_KC[1200] = {0};// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD>͵<EFBFBD><CDB5><EFBFBD><EFBFBD>룬<EFBFBD><EBA3AC>1200<30><30><EFBFBD><EFBFBD><E2B9A6><EFBFBD>ݣ<EFBFBD>
|
|||
|
//1200<30><30><EFBFBD><EFBFBD><E2B9A6><EFBFBD>ݵļ<DDB5><C4BC>㷽ʽ<E3B7BD><CABD>word<72>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31>500<30><30><EFBFBD><EFBFBD><E2B9A6><EFBFBD>ݣ<EFBFBD>ÿ<EFBFBD><C3BF>50<35><30><EFBFBD>ȡ1<C8A1><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD>Եõ<D4B5>10<31><30><EFBFBD>
|
|||
|
//<2F><><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD>120<32>뼴2<EBBCB4><32><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD>Եõ<D4B5>1200<30><30><EFBFBD><EFBFBD><E2B9A6><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƕ<EFBFBD><C7B6>ʽ<EFBFBD>˵<EFBFBD>ʵ<EFBFBD>ֿ<EFBFBD><D6BF><EFBFBD><EFBFBD><EFBFBD>PC<50>˲<EFBFBD>̫һ<CCAB>£<EFBFBD><C2A3><EFBFBD>Ҫ<EFBFBD><D2AA>һ<EFBFBD><D2BB>ȷ<EFBFBD><C8B7>
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_input_1_BH_KC_dim[] = {1200, 1};
|
|||
|
const nnom_qformat_param_t tensor_input_1_BH_KC_dec[] = {7};
|
|||
|
const nnom_qformat_param_t tensor_input_1_BH_KC_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_input_1_BH_KC = {
|
|||
|
.p_data = (void*)nnom_input_data_BH_KC,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_input_1_BH_KC_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_input_1_BH_KC_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_input_1_BH_KC_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 2,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
|
|||
|
const nnom_io_config_t input_1_BH_KC_config = {
|
|||
|
.super = {.name = "input_1_BH_KC"},
|
|||
|
.tensor = (nnom_tensor_t*)&tensor_input_1_BH_KC
|
|||
|
};
|
|||
|
const int8_t tensor_conv1d_BH_KC_kernel_0_data[] = TENSOR_CONV1D_BH_KC_KERNEL_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_conv1d_BH_KC_kernel_0_dim[] = {12, 1, 4};
|
|||
|
const nnom_qformat_param_t tensor_conv1d_BH_KC_kernel_0_dec[] = TENSOR_CONV1D_BH_KC_KERNEL_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_conv1d_BH_KC_kernel_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_conv1d_BH_KC_kernel_0 = {
|
|||
|
.p_data = (void*)tensor_conv1d_BH_KC_kernel_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_conv1d_BH_KC_kernel_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_conv1d_BH_KC_kernel_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_conv1d_BH_KC_kernel_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 3,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
const int8_t tensor_conv1d_BH_KC_bias_0_data[] = TENSOR_CONV1D_BH_KC_BIAS_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_conv1d_BH_KC_bias_0_dim[] = {4};
|
|||
|
const nnom_qformat_param_t tensor_conv1d_BH_KC_bias_0_dec[] = TENSOR_CONV1D_BH_KC_BIAS_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_conv1d_BH_KC_bias_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_conv1d_BH_KC_bias_0 = {
|
|||
|
.p_data = (void*)tensor_conv1d_BH_KC_bias_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_conv1d_BH_KC_bias_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_conv1d_BH_KC_bias_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_conv1d_BH_KC_bias_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 1,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
|
|||
|
const nnom_qformat_param_t conv1d_BH_KC_output_shift[] = CONV1D_BH_KC_OUTPUT_RSHIFT;
|
|||
|
const nnom_qformat_param_t conv1d_BH_KC_bias_shift[] = CONV1D_BH_KC_BIAS_LSHIFT;
|
|||
|
const nnom_conv2d_config_t conv1d_BH_KC_config = {
|
|||
|
.super = {.name = "conv1d_BH_KC"},
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.weight = (nnom_tensor_t*)&tensor_conv1d_BH_KC_kernel_0,
|
|||
|
.bias = (nnom_tensor_t*)&tensor_conv1d_BH_KC_bias_0,
|
|||
|
.output_shift = (nnom_qformat_param_t *)&conv1d_BH_KC_output_shift,
|
|||
|
.bias_shift = (nnom_qformat_param_t *)&conv1d_BH_KC_bias_shift,
|
|||
|
.filter_size = 4,
|
|||
|
.kernel_size = {12},
|
|||
|
.stride_size = {2},
|
|||
|
.padding_size = {0, 0},
|
|||
|
.dilation_size = {1},
|
|||
|
.padding_type = PADDING_SAME
|
|||
|
};
|
|||
|
|
|||
|
const nnom_pool_config_t average_pooling1d_BH_KC_config = {
|
|||
|
.super = {.name = "average_pooling1d_BH_KC"},
|
|||
|
.padding_type = PADDING_VALID,
|
|||
|
.output_shift = 0,
|
|||
|
.kernel_size = {2},
|
|||
|
.stride_size = {2},
|
|||
|
.num_dim = 1
|
|||
|
};
|
|||
|
const int8_t tensor_conv1d_1_BH_KC_kernel_0_data[] = TENSOR_CONV1D_1_BH_KC_KERNEL_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_conv1d_1_BH_KC_kernel_0_dim[] = {6, 4, 8};
|
|||
|
const nnom_qformat_param_t tensor_conv1d_1_BH_KC_kernel_0_dec[] = TENSOR_CONV1D_1_BH_KC_KERNEL_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_conv1d_1_BH_KC_kernel_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_conv1d_1_BH_KC_kernel_0 = {
|
|||
|
.p_data = (void*)tensor_conv1d_1_BH_KC_kernel_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_conv1d_1_BH_KC_kernel_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_conv1d_1_BH_KC_kernel_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_conv1d_1_BH_KC_kernel_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 3,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
const int8_t tensor_conv1d_1_BH_KC_bias_0_data[] = TENSOR_CONV1D_1_BH_KC_BIAS_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_conv1d_1_BH_KC_bias_0_dim[] = {8};
|
|||
|
const nnom_qformat_param_t tensor_conv1d_1_BH_KC_bias_0_dec[] = TENSOR_CONV1D_1_BH_KC_BIAS_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_conv1d_1_BH_KC_bias_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_conv1d_1_BH_KC_bias_0 = {
|
|||
|
.p_data = (void*)tensor_conv1d_1_BH_KC_bias_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_conv1d_1_BH_KC_bias_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_conv1d_1_BH_KC_bias_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_conv1d_1_BH_KC_bias_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 1,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
|
|||
|
const nnom_qformat_param_t conv1d_1_BH_KC_output_shift[] = CONV1D_1_BH_KC_OUTPUT_RSHIFT;
|
|||
|
const nnom_qformat_param_t conv1d_1_BH_KC_bias_shift[] = CONV1D_1_BH_KC_BIAS_LSHIFT;
|
|||
|
const nnom_conv2d_config_t conv1d_1_BH_KC_config = {
|
|||
|
.super = {.name = "conv1d_1_BH_KC"},
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.weight = (nnom_tensor_t*)&tensor_conv1d_1_BH_KC_kernel_0,
|
|||
|
.bias = (nnom_tensor_t*)&tensor_conv1d_1_BH_KC_bias_0,
|
|||
|
.output_shift = (nnom_qformat_param_t *)&conv1d_1_BH_KC_output_shift,
|
|||
|
.bias_shift = (nnom_qformat_param_t *)&conv1d_1_BH_KC_bias_shift,
|
|||
|
.filter_size = 8,
|
|||
|
.kernel_size = {6},
|
|||
|
.stride_size = {2},
|
|||
|
.padding_size = {0, 0},
|
|||
|
.dilation_size = {1},
|
|||
|
.padding_type = PADDING_SAME
|
|||
|
};
|
|||
|
|
|||
|
const nnom_pool_config_t average_pooling1d_1_BH_KC_config = {
|
|||
|
.super = {.name = "average_pooling1d_1_BH_KC"},
|
|||
|
.padding_type = PADDING_VALID,
|
|||
|
.output_shift = 0,
|
|||
|
.kernel_size = {2},
|
|||
|
.stride_size = {2},
|
|||
|
.num_dim = 1
|
|||
|
};
|
|||
|
const int8_t tensor_conv1d_2_BH_KC_kernel_0_data[] = TENSOR_CONV1D_2_BH_KC_KERNEL_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_conv1d_2_BH_KC_kernel_0_dim[] = {3, 8, 16};
|
|||
|
const nnom_qformat_param_t tensor_conv1d_2_BH_KC_kernel_0_dec[] = TENSOR_CONV1D_2_BH_KC_KERNEL_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_conv1d_2_BH_KC_kernel_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_conv1d_2_BH_KC_kernel_0 = {
|
|||
|
.p_data = (void*)tensor_conv1d_2_BH_KC_kernel_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_conv1d_2_BH_KC_kernel_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_conv1d_2_BH_KC_kernel_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_conv1d_2_BH_KC_kernel_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 3,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
const int8_t tensor_conv1d_2_BH_KC_bias_0_data[] = TENSOR_CONV1D_2_BH_KC_BIAS_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_conv1d_2_BH_KC_bias_0_dim[] = {16};
|
|||
|
const nnom_qformat_param_t tensor_conv1d_2_BH_KC_bias_0_dec[] = TENSOR_CONV1D_2_BH_KC_BIAS_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_conv1d_2_BH_KC_bias_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_conv1d_2_BH_KC_bias_0 = {
|
|||
|
.p_data = (void*)tensor_conv1d_2_BH_KC_bias_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_conv1d_2_BH_KC_bias_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_conv1d_2_BH_KC_bias_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_conv1d_2_BH_KC_bias_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 1,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
|
|||
|
const nnom_qformat_param_t conv1d_2_BH_KC_output_shift[] = CONV1D_2_BH_KC_OUTPUT_RSHIFT;
|
|||
|
const nnom_qformat_param_t conv1d_2_BH_KC_bias_shift[] = CONV1D_2_BH_KC_BIAS_LSHIFT;
|
|||
|
const nnom_conv2d_config_t conv1d_2_BH_KC_config = {
|
|||
|
.super = {.name = "conv1d_2_BH_KC"},
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.weight = (nnom_tensor_t*)&tensor_conv1d_2_BH_KC_kernel_0,
|
|||
|
.bias = (nnom_tensor_t*)&tensor_conv1d_2_BH_KC_bias_0,
|
|||
|
.output_shift = (nnom_qformat_param_t *)&conv1d_2_BH_KC_output_shift,
|
|||
|
.bias_shift = (nnom_qformat_param_t *)&conv1d_2_BH_KC_bias_shift,
|
|||
|
.filter_size = 16,
|
|||
|
.kernel_size = {3},
|
|||
|
.stride_size = {2},
|
|||
|
.padding_size = {0, 0},
|
|||
|
.dilation_size = {1},
|
|||
|
.padding_type = PADDING_SAME
|
|||
|
};
|
|||
|
|
|||
|
const nnom_pool_config_t average_pooling1d_2_BH_KC_config = {
|
|||
|
.super = {.name = "average_pooling1d_2_BH_KC"},
|
|||
|
.padding_type = PADDING_VALID,
|
|||
|
.output_shift = 0,
|
|||
|
.kernel_size = {2},
|
|||
|
.stride_size = {2},
|
|||
|
.num_dim = 1
|
|||
|
};
|
|||
|
const int8_t tensor_conv1d_3_BH_KC_kernel_0_data[] = TENSOR_CONV1D_3_BH_KC_KERNEL_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_conv1d_3_BH_KC_kernel_0_dim[] = {3, 16, 32};
|
|||
|
const nnom_qformat_param_t tensor_conv1d_3_BH_KC_kernel_0_dec[] = TENSOR_CONV1D_3_BH_KC_KERNEL_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_conv1d_3_BH_KC_kernel_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_conv1d_3_BH_KC_kernel_0 = {
|
|||
|
.p_data = (void*)tensor_conv1d_3_BH_KC_kernel_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_conv1d_3_BH_KC_kernel_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_conv1d_3_BH_KC_kernel_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_conv1d_3_BH_KC_kernel_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 3,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
const int8_t tensor_conv1d_3_BH_KC_bias_0_data[] = TENSOR_CONV1D_3_BH_KC_BIAS_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_conv1d_3_BH_KC_bias_0_dim[] = {32};
|
|||
|
const nnom_qformat_param_t tensor_conv1d_3_BH_KC_bias_0_dec[] = TENSOR_CONV1D_3_BH_KC_BIAS_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_conv1d_3_BH_KC_bias_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_conv1d_3_BH_KC_bias_0 = {
|
|||
|
.p_data = (void*)tensor_conv1d_3_BH_KC_bias_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_conv1d_3_BH_KC_bias_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_conv1d_3_BH_KC_bias_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_conv1d_3_BH_KC_bias_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 1,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
|
|||
|
const nnom_qformat_param_t conv1d_3_BH_KC_output_shift[] = CONV1D_3_BH_KC_OUTPUT_RSHIFT;
|
|||
|
const nnom_qformat_param_t conv1d_3_BH_KC_bias_shift[] = CONV1D_3_BH_KC_BIAS_LSHIFT;
|
|||
|
const nnom_conv2d_config_t conv1d_3_BH_KC_config = {
|
|||
|
.super = {.name = "conv1d_3_BH_KC"},
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.weight = (nnom_tensor_t*)&tensor_conv1d_3_BH_KC_kernel_0,
|
|||
|
.bias = (nnom_tensor_t*)&tensor_conv1d_3_BH_KC_bias_0,
|
|||
|
.output_shift = (nnom_qformat_param_t *)&conv1d_3_BH_KC_output_shift,
|
|||
|
.bias_shift = (nnom_qformat_param_t *)&conv1d_3_BH_KC_bias_shift,
|
|||
|
.filter_size = 32,
|
|||
|
.kernel_size = {3},
|
|||
|
.stride_size = {2},
|
|||
|
.padding_size = {0, 0},
|
|||
|
.dilation_size = {1},
|
|||
|
.padding_type = PADDING_SAME
|
|||
|
};
|
|||
|
const int8_t tensor_conv1d_4_BH_KC_kernel_0_data[] = TENSOR_CONV1D_4_BH_KC_KERNEL_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_conv1d_4_BH_KC_kernel_0_dim[] = {3, 32, 128};
|
|||
|
const nnom_qformat_param_t tensor_conv1d_4_BH_KC_kernel_0_dec[] = TENSOR_CONV1D_4_BH_KC_KERNEL_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_conv1d_4_BH_KC_kernel_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_conv1d_4_BH_KC_kernel_0 = {
|
|||
|
.p_data = (void*)tensor_conv1d_4_BH_KC_kernel_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_conv1d_4_BH_KC_kernel_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_conv1d_4_BH_KC_kernel_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_conv1d_4_BH_KC_kernel_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 3,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
const int8_t tensor_conv1d_4_BH_KC_bias_0_data[] = TENSOR_CONV1D_4_BH_KC_BIAS_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_conv1d_4_BH_KC_bias_0_dim[] = {128};
|
|||
|
const nnom_qformat_param_t tensor_conv1d_4_BH_KC_bias_0_dec[] = TENSOR_CONV1D_4_BH_KC_BIAS_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_conv1d_4_BH_KC_bias_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_conv1d_4_BH_KC_bias_0 = {
|
|||
|
.p_data = (void*)tensor_conv1d_4_BH_KC_bias_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_conv1d_4_BH_KC_bias_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_conv1d_4_BH_KC_bias_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_conv1d_4_BH_KC_bias_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 1,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
|
|||
|
const nnom_qformat_param_t conv1d_4_BH_KC_output_shift[] = CONV1D_4_BH_KC_OUTPUT_RSHIFT;
|
|||
|
const nnom_qformat_param_t conv1d_4_BH_KC_bias_shift[] = CONV1D_4_BH_KC_BIAS_LSHIFT;
|
|||
|
const nnom_conv2d_config_t conv1d_4_BH_KC_config = {
|
|||
|
.super = {.name = "conv1d_4_BH_KC"},
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.weight = (nnom_tensor_t*)&tensor_conv1d_4_BH_KC_kernel_0,
|
|||
|
.bias = (nnom_tensor_t*)&tensor_conv1d_4_BH_KC_bias_0,
|
|||
|
.output_shift = (nnom_qformat_param_t *)&conv1d_4_BH_KC_output_shift,
|
|||
|
.bias_shift = (nnom_qformat_param_t *)&conv1d_4_BH_KC_bias_shift,
|
|||
|
.filter_size = 128,
|
|||
|
.kernel_size = {3},
|
|||
|
.stride_size = {2},
|
|||
|
.padding_size = {0, 0},
|
|||
|
.dilation_size = {1},
|
|||
|
.padding_type = PADDING_SAME
|
|||
|
};
|
|||
|
|
|||
|
const nnom_global_pool_config_t global_average_pooling1d_BH_KC_config = {
|
|||
|
.super = {.name = "global_average_pooling1d_BH_KC"},
|
|||
|
.output_shift = 0,
|
|||
|
};
|
|||
|
const int8_t tensor_dense_BH_KC_kernel_0_data[] = TENSOR_DENSE_BH_KC_KERNEL_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_dense_BH_KC_kernel_0_dim[] = {128, 32};
|
|||
|
const nnom_qformat_param_t tensor_dense_BH_KC_kernel_0_dec[] = TENSOR_DENSE_BH_KC_KERNEL_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_dense_BH_KC_kernel_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_dense_BH_KC_kernel_0 = {
|
|||
|
.p_data = (void*)tensor_dense_BH_KC_kernel_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_dense_BH_KC_kernel_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_dense_BH_KC_kernel_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_dense_BH_KC_kernel_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 2,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
const int8_t tensor_dense_BH_KC_bias_0_data[] = TENSOR_DENSE_BH_KC_BIAS_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_dense_BH_KC_bias_0_dim[] = {32};
|
|||
|
const nnom_qformat_param_t tensor_dense_BH_KC_bias_0_dec[] = TENSOR_DENSE_BH_KC_BIAS_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_dense_BH_KC_bias_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_dense_BH_KC_bias_0 = {
|
|||
|
.p_data = (void*)tensor_dense_BH_KC_bias_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_dense_BH_KC_bias_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_dense_BH_KC_bias_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_dense_BH_KC_bias_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 1,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
|
|||
|
const nnom_qformat_param_t dense_BH_KC_output_shift[] = DENSE_BH_KC_OUTPUT_RSHIFT;
|
|||
|
const nnom_qformat_param_t dense_BH_KC_bias_shift[] = DENSE_BH_KC_BIAS_LSHIFT;
|
|||
|
const nnom_dense_config_t dense_BH_KC_config = {
|
|||
|
.super = {.name = "dense_BH_KC"},
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.weight = (nnom_tensor_t*)&tensor_dense_BH_KC_kernel_0,
|
|||
|
.bias = (nnom_tensor_t*)&tensor_dense_BH_KC_bias_0,
|
|||
|
.output_shift = (nnom_qformat_param_t *)&dense_BH_KC_output_shift,
|
|||
|
.bias_shift = (nnom_qformat_param_t *)&dense_BH_KC_bias_shift
|
|||
|
};
|
|||
|
const int8_t tensor_dense_1_BH_KC_kernel_0_data[] = TENSOR_DENSE_1_BH_KC_KERNEL_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_dense_1_BH_KC_kernel_0_dim[] = {32, 2};
|
|||
|
const nnom_qformat_param_t tensor_dense_1_BH_KC_kernel_0_dec[] = TENSOR_DENSE_1_BH_KC_KERNEL_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_dense_1_BH_KC_kernel_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_dense_1_BH_KC_kernel_0 = {
|
|||
|
.p_data = (void*)tensor_dense_1_BH_KC_kernel_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_dense_1_BH_KC_kernel_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_dense_1_BH_KC_kernel_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_dense_1_BH_KC_kernel_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 2,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
const int8_t tensor_dense_1_BH_KC_bias_0_data[] = TENSOR_DENSE_1_BH_KC_BIAS_0;
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_dense_1_BH_KC_bias_0_dim[] = {2};
|
|||
|
const nnom_qformat_param_t tensor_dense_1_BH_KC_bias_0_dec[] = TENSOR_DENSE_1_BH_KC_BIAS_0_DEC_BITS;
|
|||
|
const nnom_qformat_param_t tensor_dense_1_BH_KC_bias_0_offset[] = {0};
|
|||
|
const nnom_tensor_t tensor_dense_1_BH_KC_bias_0 = {
|
|||
|
.p_data = (void*)tensor_dense_1_BH_KC_bias_0_data,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_dense_1_BH_KC_bias_0_dim,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_dense_1_BH_KC_bias_0_dec,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_dense_1_BH_KC_bias_0_offset,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 1,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
|
|||
|
const nnom_qformat_param_t dense_1_BH_KC_output_shift[] = DENSE_1_BH_KC_OUTPUT_RSHIFT;
|
|||
|
const nnom_qformat_param_t dense_1_BH_KC_bias_shift[] = DENSE_1_BH_KC_BIAS_LSHIFT;
|
|||
|
const nnom_dense_config_t dense_1_BH_KC_config = {
|
|||
|
.super = {.name = "dense_1_BH_KC"},
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.weight = (nnom_tensor_t*)&tensor_dense_1_BH_KC_kernel_0,
|
|||
|
.bias = (nnom_tensor_t*)&tensor_dense_1_BH_KC_bias_0,
|
|||
|
.output_shift = (nnom_qformat_param_t *)&dense_1_BH_KC_output_shift,
|
|||
|
.bias_shift = (nnom_qformat_param_t *)&dense_1_BH_KC_bias_shift
|
|||
|
};
|
|||
|
static int8_t nnom_output_data_BH_KC[2] = {0};
|
|||
|
|
|||
|
const nnom_shape_data_t tensor_output0_dim_BH_KC[] = {2};
|
|||
|
const nnom_qformat_param_t tensor_output0_dec_BH_KC[] = {DENSE_1_BH_KC_OUTPUT_DEC};
|
|||
|
const nnom_qformat_param_t tensor_output0_offset_BH_KC[] = {0};
|
|||
|
const nnom_tensor_t tensor_output0_BH_KC = {
|
|||
|
.p_data = (void*)nnom_output_data_BH_KC,
|
|||
|
.dim = (nnom_shape_data_t*)tensor_output0_dim_BH_KC,
|
|||
|
.q_dec = (nnom_qformat_param_t*)tensor_output0_dec_BH_KC,
|
|||
|
.q_offset = (nnom_qformat_param_t*)tensor_output0_offset_BH_KC,
|
|||
|
.qtype = NNOM_QTYPE_PER_TENSOR,
|
|||
|
.num_dim = 1,
|
|||
|
.bitwidth = 8
|
|||
|
};
|
|||
|
|
|||
|
const nnom_io_config_t output0_config_BH_KC = {
|
|||
|
.super = {.name = "output0"},
|
|||
|
.tensor = (nnom_tensor_t*)&tensor_output0_BH_KC
|
|||
|
};
|
|||
|
/* model version */
|
|||
|
#define NNOM_MODEL_VERSION (10000*0 + 100*4 + 3)
|
|||
|
|
|||
|
/* nnom model */
|
|||
|
static nnom_model_t* nnom_model_create_BH_KC(void) //<2F><>h<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>main.c<>л<EFBFBD><D0BB><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
{
|
|||
|
static nnom_model_t model;
|
|||
|
nnom_layer_t* layer[19];
|
|||
|
|
|||
|
check_model_version(NNOM_MODEL_VERSION);
|
|||
|
new_model(&model);
|
|||
|
|
|||
|
layer[0] = input_s(&input_1_BH_KC_config);
|
|||
|
layer[1] = model.hook(conv2d_s(&conv1d_BH_KC_config), layer[0]);
|
|||
|
layer[2] = model.active(act_leaky_relu(0.050000f), layer[1]);
|
|||
|
layer[3] = model.hook(avgpool_s(&average_pooling1d_BH_KC_config), layer[2]);
|
|||
|
layer[4] = model.hook(conv2d_s(&conv1d_1_BH_KC_config), layer[3]);
|
|||
|
layer[5] = model.active(act_leaky_relu(0.050000f), layer[4]);
|
|||
|
layer[6] = model.hook(avgpool_s(&average_pooling1d_1_BH_KC_config), layer[5]);
|
|||
|
layer[7] = model.hook(conv2d_s(&conv1d_2_BH_KC_config), layer[6]);
|
|||
|
layer[8] = model.active(act_leaky_relu(0.050000f), layer[7]);
|
|||
|
layer[9] = model.hook(avgpool_s(&average_pooling1d_2_BH_KC_config), layer[8]);
|
|||
|
layer[10] = model.hook(conv2d_s(&conv1d_3_BH_KC_config), layer[9]);
|
|||
|
layer[11] = model.active(act_leaky_relu(0.050000f), layer[10]);
|
|||
|
layer[12] = model.hook(conv2d_s(&conv1d_4_BH_KC_config), layer[11]);
|
|||
|
layer[13] = model.active(act_leaky_relu(0.050000f), layer[12]);
|
|||
|
layer[14] = model.hook(global_avgpool_s(&global_average_pooling1d_BH_KC_config), layer[13]);
|
|||
|
layer[15] = model.hook(dense_s(&dense_BH_KC_config), layer[14]);
|
|||
|
layer[16] = model.active(act_relu(), layer[15]);
|
|||
|
layer[17] = model.hook(dense_s(&dense_1_BH_KC_config), layer[16]);
|
|||
|
layer[18] = model.hook(output_s(&output0_config_BH_KC), layer[17]);
|
|||
|
model_compile(&model, layer[0], layer[18]);
|
|||
|
return &model;
|
|||
|
}
|
|||
|
|
|||
|
/*
|
|||
|
input_1_BH_KC [7, 0]
|
|||
|
conv1d_BH_KC [4, 0]
|
|||
|
batch_normalization_BH_KC [4, 0]
|
|||
|
leaky_re_lu_BH_KC [4, 0]
|
|||
|
average_pooling1d_BH_KC [4, 0]
|
|||
|
conv1d_1_BH_KC [4, 0]
|
|||
|
batch_normalization_1_BH_KC [4, 0]
|
|||
|
leaky_re_lu_1_BH_KC [4, 0]
|
|||
|
average_pooling1d_1_BH_KC [4, 0]
|
|||
|
conv1d_2_BH_KC [4, 0]
|
|||
|
batch_normalization_2_BH_KC [4, 0]
|
|||
|
leaky_re_lu_2_BH_KC [4, 0]
|
|||
|
average_pooling1d_2_BH_KC [4, 0]
|
|||
|
conv1d_3_BH_KC [4, 0]
|
|||
|
batch_normalization_3_BH_KC [4, 0]
|
|||
|
leaky_re_lu_3_BH_KC [4, 0]
|
|||
|
conv1d_4_BH_KC [4, 0]
|
|||
|
batch_normalization_4_BH_KC [4, 0]
|
|||
|
leaky_re_lu_4_BH_KC [4, 0]
|
|||
|
global_average_pooling1d_BH_KC [4, 0]
|
|||
|
dense_BH_KC [4, 0]
|
|||
|
re_lu_BH_KC [4, 0]
|
|||
|
dense_1_BH_KC [6, 0]
|
|||
|
|
|||
|
*/
|