/* Auto generated from checkpoint lossgen2_2000.pth */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "lossgen_data.h" #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_dense_in_weights_float_DEFINED #define WEIGHTS_lossgen_dense_in_weights_float_TYPE WEIGHT_TYPE_float static const float lossgen_dense_in_weights_float[16] = { -0.850822925567627,-1.0487693548202515,1.0380654335021973,-0.4068133234977722,1.1025350093841553,-1.4121042490005493,0.8640038371086121,-0.7464408278465271, -0.7342904210090637,0.7286463975906372,-0.875505268573761,-1.1081395149230957,0.266391396522522,0.18652844429016113,-0.9287621974945068,-0.24799592792987823 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_dense_in_bias_DEFINED #define WEIGHTS_lossgen_dense_in_bias_TYPE WEIGHT_TYPE_float static const float lossgen_dense_in_bias[8] = { 0.6060197949409485,0.20292268693447113,-0.4272229075431824,0.0468602180480957,-0.535646378993988,-0.07194916903972626,-0.00026681559393182397,0.2540096640586853 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_dense_out_weights_float_DEFINED #define WEIGHTS_lossgen_dense_out_weights_float_TYPE WEIGHT_TYPE_float static const float lossgen_dense_out_weights_float[32] = { 0.45841941237449646,0.2584807276725769,1.1977379322052002,-0.22526903450489044,-0.37979671359062195,0.43426528573036194,0.5325340628623962,0.26642268896102905, 0.04508452117443085,0.04459446668624878,-0.7679246068000793,0.5369256734848022,-0.9062163233757019,-0.6551117300987244,0.1786118745803833,0.4805801808834076, -0.7392882108688354,0.5061339735984802,-0.2182789295911789,0.3932519853115082,-0.16283142566680908,0.8112475275993347,0.20290930569171906,-0.6994507312774658, 0.1970265954732895,-0.4829193651676178,0.5706396698951721,-0.12992848455905914,-1.4404590129852295,1.5252524614334106,0.2572091519832611,-0.16773109138011932 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_dense_out_bias_DEFINED #define WEIGHTS_lossgen_dense_out_bias_TYPE WEIGHT_TYPE_float static const float lossgen_dense_out_bias[1] = { -0.13156643509864807 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru1_input_weights_int8_DEFINED #define WEIGHTS_lossgen_gru1_input_weights_int8_TYPE WEIGHT_TYPE_int8 static const opus_int8 lossgen_gru1_input_weights_int8[384] = { -120,-9,24,-15,54,75,-97,1, -91,-38,64,19,30,62,-75,-54, -15,-5,46,83,-7,12,-24,-72, -109,92,32,-64,13,66,-1,89, 40,1,-28,-45,-78,43,-40,63, 97,-4,47,-96,-21,13,-76,38, 15,36,0,-6,10,119,-73,39, -41,127,-93,2,-9,127,-93,25, 13,42,-39,69,-77,20,2,-15, -30,-38,90,39,58,14,-16,127, -17,-66,95,34,-92,-37,18,-16, -30,-7,34,60,42,59,-41,41, -6,127,-50,53,11,104,-95,-34, 75,26,27,-47,-34,92,-36,60, 67,2,80,-57,90,0,26,-63, 34,95,-7,-20,-32,127,-71,41, 39,-36,35,26,-55,-63,-53,-76, 82,47,-36,93,-11,-21,-43,-9, 31,75,-65,9,38,-23,25,25, 80,49,-4,79,30,18,-88,-4, -44,-27,99,30,5,-106,-32,-37, -64,50,-30,77,-25,-104,11,26, -29,16,-127,57,-34,-3,126,3, -79,31,-43,103,-34,55,-64,127, -20,56,-43,-86,-31,61,-51,-78, -18,-43,47,2,-40,31,-75,-54, 110,19,63,46,-15,-34,-37,67, 60,69,-58,14,2,11,-59,-70, 15,-58,-61,-57,8,9,-101,-15, 14,-55,127,-26,2,-12,-71,11, -42,42,54,47,32,-82,98,31, -25,28,-50,17,6,-75,98,7, -24,44,3,-127,111,10,-37,65, 59,62,-42,34,72,24,15,114, 92,37,-27,71,78,-4,63,66, -90,-39,58,-103,96,15,1,93, 49,-32,-86,-3,-127,0,-42,17, -46,127,-103,63,-56,43,-79,55, -85,58,-106,79,-51,48,39,82, 84,-102,44,-72,-56,50,22,107, 56,73,-44,82,-41,49,-32,-95, -5,-40,23,52,-35,14,18,-19, -60,-69,39,-62,14,-49,34,32, -73,-56,12,-75,2,11,23,106, -50,62,-32,89,-17,24,-96,-33, 27,-31,127,-13,17,54,-89,-40, 51,-43,61,-72,27,-30,127,-11, 1,-70,89,-59,-9,119,-77,23 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru1_input_subias_DEFINED #define WEIGHTS_lossgen_gru1_input_subias_TYPE WEIGHT_TYPE_float static const float lossgen_gru1_input_subias[48] = { 0.35017069056630135,0.8630806999281049,-0.47353590559214354,0.7829740475863218,-3.3741805478930473,-0.2937675751745701,-0.48714007856324315,-2.8516368600539863, -2.0781583446078002,0.05504022352397442,-2.141634976491332,-2.1684761666692793,-1.2436267463490367,0.48549822345376015,-2.1099938517436385,-3.1073497869074345, -0.6937414612621069,2.3920733616687357,-2.2158111352473497,1.1142846792936325,0.3399030352011323,-1.291820703074336,-1.0110350530594587,-0.09375541843473911, 1.285727665759623,1.7932245191186666,-0.5395389348268509,1.7818296253681183,-1.6067005242221057,0.04425052925944328,-0.3046942682703957,0.43106919527053833, 0.8656409382820129,-0.45333417458459735,-1.1021421737968922,-0.9323101062327623,-0.8342450931668282,-1.3873070334084332,1.1706919074058533,-1.7639049626886845, -1.374249491840601,1.5693103866651654,-2.2154896184802055,0.4395323470234871,1.0594332301989198,-1.6048965454101562,1.441914179828018,-2.29071606323123 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru1_input_scale_DEFINED #define WEIGHTS_lossgen_gru1_input_scale_TYPE WEIGHT_TYPE_float static const float lossgen_gru1_input_scale[48] = { 5.395947664510459e-05,0.00010373601253377274,5.586276893154718e-05,5.991998841636814e-05,0.00010500023927306756,3.895868212566711e-05,2.308269904460758e-05,5.405683259596117e-05, 4.9172918807016686e-05,5.142817099113017e-05,8.095405792118981e-05,6.112390838097781e-05,5.773152588517405e-05,9.435704123461619e-05,7.476106839021668e-05,0.00014552357606589794, 6.804391887271777e-05,3.694231418194249e-05,7.649896724615246e-05,3.7443867768161e-05,7.703318988205865e-05,7.331293454626575e-05,2.983531703648623e-05,2.4405026124441065e-05, 3.820158599410206e-05,7.639121758984402e-05,0.0001130036253016442,6.254752952372655e-05,3.626589386840351e-05,3.826579268206842e-05,4.380184691399336e-05,3.972887498093769e-05, 4.82081959489733e-05,2.551933539507445e-05,5.295824303175323e-05,4.352142059360631e-05,4.9897829740075395e-05,3.807622488238849e-05,4.49834369646851e-05,4.3654144974425435e-05, 5.548690023715608e-05,5.502820567926392e-05,0.00011393408931326121,4.807754521607421e-05,6.572722486453131e-05,8.639767474960536e-05,4.5902928832219914e-05,7.381532486760989e-05 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru1_input_bias_DEFINED #define WEIGHTS_lossgen_gru1_input_bias_TYPE WEIGHT_TYPE_float static const float lossgen_gru1_input_bias[48] = { -0.691463053226471,1.1397446393966675,-0.48772504925727844,0.15135744214057922,-1.32058584690094,-0.27397656440734863,-0.6454412341117859,-1.361884593963623, -0.7729615569114685,-0.49359551072120667,-0.6817095279693604,-0.11135108023881912,-0.23182405531406403,-0.40126925706863403,-0.6003435850143433,-0.03942164033651352, 0.3605309724807739,0.43564534187316895,-0.08814533054828644,0.2773393392562866,0.017056943848729134,0.169965922832489,-0.19259265065193176,0.03022211231291294, 0.05342087149620056,-0.12770912051200867,0.14933115243911743,0.12957410514354706,-0.04534493014216423,0.33583587408065796,0.0012616260210052133,0.02742382138967514, -0.21190868318080902,-0.4630570411682129,-0.06638485938310623,0.10680729150772095,-0.08013920485973358,0.16494643688201904,-0.08614534139633179,0.05455203354358673, 0.28880390524864197,-0.114937923848629,-0.18974153697490692,-0.048935502767562866,-0.2344072014093399,-0.024855896830558777,0.09525997936725616,-0.4345559775829315 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru1_recurrent_weights_int8_DEFINED #define WEIGHTS_lossgen_gru1_recurrent_weights_int8_TYPE WEIGHT_TYPE_int8 static const opus_int8 lossgen_gru1_recurrent_weights_int8[768] = { 56,-60,-54,-75,-8,55,22,-99, 69,3,44,85,21,80,-47,-63, 13,-65,3,64,-2,-1,5,-37, 111,18,-12,-22,92,-111,-7,14, 4,-48,-5,-85,-10,22,-4,-30, 4,-111,-33,-28,-59,1,95,-88, 12,-79,-6,5,3,11,-2,-67, 0,-75,34,-22,8,-68,-40,39, -47,73,10,10,-36,-5,0,-64, 67,-58,-52,-34,-127,86,66,-40, -4,-34,4,53,-2,127,4,-12, -31,27,2,-34,16,20,-57,74, 13,40,-30,40,-23,-27,34,-127, 82,29,-19,60,47,55,67,-62, 39,30,-90,127,-14,-10,-33,7, -72,-3,4,46,47,43,-127,91, 61,-61,98,4,-2,21,69,-9, 50,7,18,32,-72,-3,39,21, -12,35,-42,-73,-39,-44,58,28, 102,27,39,41,-23,37,19,-127, 33,-96,52,-6,25,-9,-21,-2, -7,-77,2,-9,58,39,-55,31, 27,-24,26,-42,-7,-56,0,-84, -3,-48,-18,37,9,8,-8,3, 50,-40,9,77,24,68,-87,-30, 25,2,-11,10,57,29,-58,-54, -47,104,-31,-40,30,35,-9,12, 1,4,-29,68,7,36,-16,-68, -106,13,-127,106,-15,-40,-127,34, 94,35,-21,50,-40,-49,-112,-17, -30,127,-39,1,127,-18,-13,63, -7,-6,-55,69,-16,-31,-55,-3, 20,45,-61,34,36,6,36,-10, 124,5,28,26,-74,-38,76,34, -40,-89,53,-111,-93,52,24,-66, 112,17,-36,41,28,-41,-48,-81, -10,-38,-6,-21,23,-56,-34,4, -121,52,14,-71,17,84,-28,17, -34,61,26,-74,-43,14,4,-35, -9,-92,-46,45,47,-41,8,0, -33,-50,82,-41,14,-26,-26,0, 6,-84,6,-39,22,-127,-32,-63, -57,106,25,-51,-17,78,43,-78, 21,-14,6,0,13,88,-29,13, 60,69,108,-34,-64,-65,-3,-18, -22,-91,109,-18,-8,-68,-24,-46, 4,-25,32,-77,48,81,34,-5, 20,5,-14,45,-53,11,-37,25, 16,-18,9,13,-35,61,-17,43, -66,-63,25,76,-51,6,-7,-122, -2,81,14,-117,-127,83,15,25, 123,-17,55,72,-124,-5,-79,-13, -30,27,-35,1,-18,22,-38,23, 44,-30,-31,42,-31,29,18,-42, -40,-33,14,-64,-27,-9,-38,14, 35,-92,45,25,-71,127,-12,-58, 22,6,37,5,4,34,44,20, 15,-12,21,21,-57,-13,84,-67, -26,127,-7,-38,-38,-62,98,-49, 105,-127,-80,112,-105,31,35,-75, -111,-18,10,-4,-127,56,-13,7, 43,72,-8,-19,-49,37,-37,0, 10,-30,15,-36,-27,109,70,-35, -10,69,-45,35,-49,34,109,-108, 88,41,4,19,-31,127,46,-38, -127,1,-84,18,6,12,23,106, -44,-29,-39,-83,-97,-3,-12,-52, -39,-32,-6,-36,59,-19,44,2, 27,-61,-61,14,-15,-2,0,-19, -39,60,-45,-61,-51,19,-44,-6, 18,-19,2,-39,17,47,5,24, -40,93,-2,-127,-24,-4,-59,-7, 50,-10,-98,5,-11,-13,12,-99, -28,-48,61,-82,34,-65,31,80, -78,127,-7,-88,24,-12,72,7, -62,-8,-11,29,54,75,44,-27, 19,-89,15,53,-66,-23,58,-95, 15,31,25,-50,25,63,26,50, 43,-39,-43,-80,59,70,8,-30, -16,88,-92,61,-48,-32,32,-13, -30,59,60,56,-3,11,-43,-86, -127,22,-21,-50,101,-27,3,126, 8,-3,-34,-6,-84,36,-42,45, 20,45,58,71,55,-84,-41,70, 75,-92,-8,21,-53,48,15,-11, 14,64,27,41,88,-14,-8,-5, -19,1,25,-11,20,-45,-55,63, 61,-10,-37,9,67,-46,-40,26, 102,27,-92,17,-34,43,22,1, -14,-7,85,-46,76,-10,-76,75, 2,-5,8,17,37,11,24,-50, 73,5,-75,10,2,-85,16,44, 31,76,-48,54,-86,9,53,-36, -8,21,58,-70,20,-67,-55,72, 58,71,1,0,79,50,65,36, -67,-50,55,-44,86,17,-127,100 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru1_recurrent_subias_DEFINED #define WEIGHTS_lossgen_gru1_recurrent_subias_TYPE WEIGHT_TYPE_float static const float lossgen_gru1_recurrent_subias[48] = { 0.5852925693616271,4.174428679049015,-1.3259392455220222,-0.0794002115726471,-2.052631177008152,-0.15818429552018642,-0.19517204258590937,-1.714517004787922, -1.0334584973752499,0.8327794894576073,-4.633066415786743,2.277736956253648,0.24328689649701118,-0.9516735724173486,-2.93899604678154,2.7686492204666138, -0.5095807518810034,3.563676755875349,0.11499005556106567,1.5173840755596757,0.90473746904172,-0.09632570296525955,-0.5278980960138142,0.3175743040628731, 0.6135958563536406,-0.47358109802007675,-0.8071902450174093,2.729762941598892,0.9026104781660251,-0.02691770624369383,-0.750130754429847,1.326300458284095, -0.28563792258501053,2.593573609367013,1.5283741515595466,-1.493363218382001,1.6356796873733401,-0.5199397625401616,0.37792026065289974,-0.07868607062846422, -1.2645671181380749,0.7472638711333275,0.42760796938091516,-1.7846532058902085,-1.8510857112705708,-0.5179616594687104,-0.6525767222046852,-0.3637785855680704 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru1_recurrent_scale_DEFINED #define WEIGHTS_lossgen_gru1_recurrent_scale_TYPE WEIGHT_TYPE_float static const float lossgen_gru1_recurrent_scale[48] = { 4.737440394819714e-05,8.308498945552856e-05,5.9167392464587465e-05,6.795948866056278e-05,9.219475032296032e-05,9.976613364415243e-05,6.458100688178092e-05,5.998013511998579e-05, 2.2496205929201096e-05,8.72449527378194e-05,0.00014057697262614965,0.00010769926302600652,7.039539195830002e-05,5.852158574271016e-05,7.209873729152605e-05,9.325243445346132e-05, 4.5940065319882706e-05,0.00014310820552054793,2.9199969503679313e-05,3.8272843084996566e-05,2.7781357857747935e-05,4.085440741619095e-05,3.9690639823675156e-05,3.182920772815123e-05, 5.115220483276062e-05,4.8687255912227556e-05,4.76639143016655e-05,6.335973739624023e-05,5.388673162087798e-05,3.401261710678227e-05,1.971279561985284e-05,2.097311880788766e-05, 3.4086166124325246e-05,7.928844570415094e-05,2.9772940251859836e-05,3.504197229631245e-05,3.318426024634391e-05,4.659876867663115e-05,2.214082815044094e-05,3.2760737667558715e-05, 2.859423511836212e-05,3.3624910429352894e-05,4.08246269216761e-05,4.3225787521805614e-05,0.00011005707347067073,2.777291592792608e-05,3.46569468092639e-05,2.7357633371138945e-05 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru1_recurrent_bias_DEFINED #define WEIGHTS_lossgen_gru1_recurrent_bias_TYPE WEIGHT_TYPE_float static const float lossgen_gru1_recurrent_bias[48] = { -0.36532220244407654,1.0088906288146973,-0.5143992900848389,0.19678714871406555,-1.2096023559570312,-0.4496011734008789,-0.4330238997936249,-1.4555227756500244, -0.8420382738113403,-0.28631147742271423,-1.0624114274978638,-0.26633507013320923,-0.29312601685523987,-0.33479753136634827,-0.906244158744812,0.06843172013759613, 0.21388337016105652,0.23769907653331757,-0.1668480485677719,0.26333606243133545,0.019151123240590096,0.11640319973230362,-0.01878625899553299,-0.07452969253063202, 0.15885277092456818,-0.06548451632261276,-0.020258991047739983,0.29966357350349426,-0.0007466830429621041,-0.01827850192785263,0.013444370590150356,0.35941872000694275, -0.21637482941150665,0.8918056488037109,0.19362348318099976,-0.11821109056472778,-0.04165186733007431,0.23165178298950195,-0.18445678055286407,0.24168118834495544, -0.14607499539852142,0.10670933127403259,0.3705759644508362,-0.14324042201042175,-0.27165666222572327,0.15219879150390625,-0.10679911077022552,-0.1553134173154831 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru2_input_weights_int8_DEFINED #define WEIGHTS_lossgen_gru2_input_weights_int8_TYPE WEIGHT_TYPE_int8 static const opus_int8 lossgen_gru2_input_weights_int8[1536] = { 53,69,-73,-9,-24,127,-21,5, -1,5,35,72,69,60,-8,-11, 55,8,-43,-17,34,-15,-6,63, -117,20,-41,24,-12,-48,-71,60, -53,-6,22,-43,13,-39,15,15, 57,6,-62,114,-1,17,-14,-17, -47,-82,61,-58,10,-118,78,51, -71,110,55,20,-43,127,52,60, -36,-52,39,35,27,9,17,-60, 127,-54,-42,-6,5,0,-9,-49, -57,52,53,12,-41,28,-18,38, -77,-52,24,20,-20,-81,6,-5, 87,14,65,64,-72,-19,52,-35, -48,-48,-88,3,-32,-15,59,-39, 49,3,29,17,-3,16,-32,120, 11,105,16,19,34,71,-3,86, -57,87,35,14,21,3,-52,14, -13,21,-32,47,24,-9,-33,6, 42,-1,0,127,19,110,-15,-31, -25,24,-102,-5,-2,127,4,-30, 22,58,-50,-3,-45,-63,46,2, -28,-14,26,39,-40,-31,22,-31, 27,-29,-54,98,-45,-34,36,-29, -48,1,42,46,-37,28,-58,-13, -4,-18,-41,-70,-32,-29,52,38, 11,-45,7,39,-26,-24,48,22, 36,-3,-12,15,-19,-9,44,20, -70,127,105,21,-64,-35,55,-14, -46,3,127,-95,52,77,38,53, 67,62,-25,86,96,33,22,29, -29,12,-72,41,11,61,15,20, -37,119,17,55,-27,10,4,23, 127,-39,-69,21,63,26,-90,-9, 5,-11,45,84,94,35,-44,81, 70,59,-19,-21,46,-5,2,41, 16,32,-9,29,113,16,-93,2, -33,-58,21,-32,-40,-41,54,-15, 64,19,-78,117,1,-25,20,22, 16,-14,0,-22,-7,-108,-42,87, -35,-94,23,12,-64,-33,56,-44, -27,56,35,50,-50,-3,68,6, 95,-41,-27,-18,4,-74,14,-6, 3,3,-2,-35,26,50,-86,-19, -40,4,35,25,-40,10,54,31, 34,73,25,44,31,98,17,57, -1,25,-99,21,-6,-3,-3,52, -32,-5,49,-16,-81,-41,-52,127, 61,56,-14,59,58,70,28,55, -62,81,55,42,-127,78,-53,5, 92,4,-39,20,-14,42,28,-36, 49,-22,-67,27,65,-51,-68,-4, 75,54,-52,-1,74,-127,-40,14, 21,77,-85,40,-66,72,-42,-45, -31,-98,38,-29,23,61,-51,32, -28,-101,41,-19,-85,-44,41,-43, -55,-21,-15,-37,-36,-26,84,-120, 31,-5,-39,-90,-28,-17,-40,-73, -13,58,27,31,6,16,-18,-111, -8,-8,25,78,-61,23,59,4, -1,-7,70,-30,-60,61,47,9, -78,-42,58,-46,39,81,47,-29, 24,32,-6,34,-32,-8,25,-33, 44,57,-28,63,-6,78,54,7, -23,12,46,-1,6,-7,-9,55, -9,-53,-1,23,-23,-70,89,40, -122,-7,18,-69,-99,14,5,-56, 8,-36,15,-50,6,-34,45,-30, 11,18,65,57,-10,-2,23,-65, 42,87,-31,18,46,73,-62,63, -48,56,7,6,-62,127,-16,36, 23,106,-48,-1,65,64,-30,-18, -2,27,-16,-69,-32,-69,60,-92, 63,7,-20,1,90,-104,-17,-48, -32,-15,61,-69,-29,28,5,-14, -102,-5,-33,33,59,11,-61,-16, 44,85,-14,10,-39,1,-21,16, -17,17,18,17,-21,60,-47,47, 27,41,35,-46,16,4,11,-13, 30,-20,36,-35,42,-27,-22,-9, -18,-8,-46,29,-31,36,111,18, -111,-18,42,34,54,-26,47,-9, 0,-63,37,26,-3,-49,65,64, -39,28,64,-32,-81,-48,38,0, -73,19,59,16,93,-31,-6,23, 6,56,-26,44,77,11,-52,-11, -1,113,-120,70,53,29,-49,47, 81,28,-46,30,5,15,-7,31, 71,-37,-14,7,25,-17,-47,39, 4,-13,19,-77,20,45,-92,27, 127,-34,-14,28,37,-52,-67,51, 57,-25,-107,-22,-12,-35,-17,30, 48,81,-81,-7,37,-5,-56,54, -51,-48,-52,19,-74,-55,60,17, 23,-36,47,-3,-9,-42,-70,3, -1,-45,-48,-51,-13,-19,-26,8, -10,-34,-59,-30,-41,-88,22,70, 56,73,-34,-46,43,17,25,12, -54,36,51,-12,21,-10,31,-104, -9,28,56,-60,8,37,49,-84, 85,44,70,-35,74,-30,-32,-20, -34,-15,15,-44,31,-24,-2,-69, 44,62,-17,-3,16,18,-6,-14, -14,12,-31,-32,9,-11,-10,-2, 19,-58,-27,-6,-35,-28,50,-61, -41,20,20,-9,-57,82,-46,9, 23,5,-44,-23,13,40,-89,-40, -18,83,-94,-35,-21,47,-75,-54, -10,57,21,5,22,22,8,65, 33,-38,92,2,-62,-67,69,-26, -39,-90,-24,-14,-8,-108,26,-25, -32,-61,71,-74,47,-84,14,-52, 30,-13,50,-19,-12,-72,127,-17, -119,11,-32,-97,-19,74,109,-76, -107,-8,-79,-14,-104,47,22,-79, 83,-18,44,15,23,11,62,17, -27,127,-18,-82,-112,-17,-41,29, -35,-3,-15,-23,75,54,-18,-22, -127,76,13,-85,12,51,-11,-36, 34,31,-9,-32,54,-5,-20,-15, -7,24,-67,51,1,13,-4,32, -57,70,-31,-98,60,44,-64,-41, -75,23,87,-29,9,47,26,-127, 32,11,-89,-40,55,74,-86,20, 93,1,36,-90,-12,-6,31,25, -24,23,-13,-18,-40,-48,-6,-19, -6,82,43,7,-92,52,-21,-52, -6,-20,-17,7,8,-60,-60,0, -14,24,125,-33,22,14,-28,43, 67,-42,-85,4,15,83,-17,-1, 14,28,80,-17,2,12,96,33, -34,-4,92,-5,54,-30,-58,-24, 21,-52,-48,-81,-31,51,-12,-65, -15,-3,63,-96,-72,-18,-74,26, 88,26,-45,29,6,-18,-62,51, 73,-43,-48,25,-56,16,77,-43, -57,86,92,-51,-29,-16,70,-127, -21,39,3,6,12,-63,80,8, 65,-9,-123,-6,113,-46,-78,52, 21,22,-55,19,-35,38,76,25, -52,104,-22,-46,-100,14,57,-97, 24,26,127,-22,-35,53,127,-18, 15,-81,-25,-8,-82,-19,-17,50, -22,-44,-97,-32,19,-17,106,23, 102,-24,65,-12,52,-34,110,-57, -58,3,-36,-25,-26,14,31,-13, -81,-23,74,-25,-18,24,-71,-58, -112,-7,-52,-77,-1,-6,111,18, 12,1,9,-31,60,-21,-41,8, 46,37,113,-27,55,28,-19,33, 49,32,-50,111,-9,38,50,-29, 21,13,85,-33,81,-1,-15,39, -76,-53,57,-67,-66,-23,1,-61, -25,-104,36,-72,18,11,-40,-49, 55,-39,-58,-71,-32,36,82,-1, -83,45,74,-35,43,-75,-48,10, -31,13,19,-12,-34,-26,46,0, -63,-22,-46,97,-10,-2,-110,-19, -35,2,-99,-14,3,46,41,-46, 65,31,15,-51,11,-44,-118,42, 45,-3,1,24,8,14,127,-14, -29,10,71,17,70,59,-125,75, 22,46,-20,-37,-63,59,8,-127, -105,5,14,105,-32,27,-31,-51, 43,-31,-89,-40,-69,-11,109,-71, 68,21,-57,72,-78,-23,45,-41, -87,-38,54,-65,-49,40,77,-91, 53,76,-77,70,-6,-5,21,-68, -105,12,94,-123,62,16,-55,-30, 33,19,-51,38,-123,85,94,-2, -110,-19,65,-31,-80,11,32,-51, 40,4,-31,81,-39,49,21,-31, -85,61,31,-37,-45,5,-34,-1, -58,-23,-127,6,-102,82,75,19, -5,79,0,-11,4,-32,18,-24, -21,-12,-92,4,-56,-73,11,11, 27,57,65,-29,13,-97,-127,14, -106,1,23,-69,-18,18,24,105, 127,-37,-69,-13,-116,23,-12,-117, -127,12,-50,-64,116,-4,34,67, 71,2,-39,-43,20,56,7,2, -55,9,28,-13,62,3,-61,29, -34,-24,-38,-41,7,26,19,-19, 15,8,-13,34,77,-11,-8,18, -47,-18,2,-38,-11,-22,-18,48, -71,-58,22,-48,76,-31,-18,50, -6,-8,66,19,-15,57,58,-10, -9,-1,91,-46,19,33,-127,33, -32,2,4,-6,-48,-26,29,-64, 39,-9,33,-43,-45,16,-7,50, 50,36,5,22,-62,-32,70,-74, -14,61,19,-24,-10,-58,-48,26, 39,8,127,-49,-24,-4,-90,-39 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru2_input_subias_DEFINED #define WEIGHTS_lossgen_gru2_input_subias_TYPE WEIGHT_TYPE_float static const float lossgen_gru2_input_subias[96] = { -1.1788140088319778,0.18377508595585823,-0.6160542387515306,0.1891222344711423,-0.6905248165130615,-2.3881002655252814,-0.46284009888768196,-1.9126491351053119, 0.594550927169621,-1.3452659137547016,-2.5775734186172485,-1.6381220519542694,-2.1313964314758778,-1.6668226700276136,-1.8329114150255919,0.12810389534570277, -3.363481719046831,-1.6320632509887218,-1.9184260219335556,-2.082729648798704,-0.6873334590345621,-0.46988904196769,-1.9263260066509247,-2.393733175471425, 0.6294109774753451,0.6309502776712179,-2.3310520201921463,1.0833027753978968,-2.2070163590833545,0.06147855753079057,-0.061433116905391216,-0.04085432318970561, -0.830156329087913,-0.8628438487648964,1.2854207041673362,0.26157033210620284,0.3977671591565013,-0.02608796302229166,-0.7751803635619581,0.5140211116522551, 1.0060957707464695,-0.12821561004966497,-1.143934566527605,-0.014904789626598358,1.1798200011253357,1.0331294550560415,0.08516991324722767,-0.3631978128105402, -0.05255986377596855,0.5621947338804603,1.1923942398279905,1.9458748796023428,1.354840636253357,1.4374779984354973,-1.0932254656217992,-0.18756416020914912, 2.5354906963184476,0.004185984376817942,1.3568569612689316,1.5130247473716736,-0.10798890050500631,-0.7702173423022032,-0.37562957825139165,0.08270042575895786, -0.5870301937684417,-0.5798256862908602,-0.034704013261944056,-0.18947457219474018,0.6950123682618141,-0.4686948866583407,-0.2551561219152063,0.6747462716884911, 0.17704797256737947,0.5513467509299517,0.7694268450140953,-0.11393756791949272,0.4633687261957675,-0.16108309268020093,0.4784023743122816,-0.02709109243005514, -0.03599776141345501,-0.33606303576380014,0.42450276389718056,0.8467530105262995,-0.19558708230033517,0.9408431481570005,0.5462876693345606,1.0426920298486948, 1.995940424501896,-1.227512904908508,-0.5577876125462353,1.052568765822798,0.6301647052168846,-0.7053113158326596,0.029463100712746382,0.47012863121926785 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru2_input_scale_DEFINED #define WEIGHTS_lossgen_gru2_input_scale_TYPE WEIGHT_TYPE_float static const float lossgen_gru2_input_scale[96] = { 3.910443774657324e-05,7.249378541018814e-05,7.246046152431518e-05,8.814275497570634e-05,7.997112697921693e-05,6.071691677789204e-05,4.402100603329018e-05,5.122994843986817e-05, 3.346152152516879e-05,4.095317126484588e-05,6.714551273034886e-05,0.00010745702456915751,5.910209802095778e-05,6.685173866571859e-05,4.292943049222231e-05,3.3899232221301645e-05, 8.579687710152939e-05,5.627735299640335e-05,6.647944974247366e-05,7.024740625638515e-05,8.604585309512913e-05,3.656919943750836e-05,6.534819840453565e-05,6.509535887744278e-05, 5.427900032373145e-05,3.143635331070982e-05,0.0001067826960934326,0.00010002562339650467,9.363981371279806e-05,4.446868479135446e-05,4.7717145207570866e-05,4.1717074054758996e-05, 4.3248841393506154e-05,5.3204861615085974e-05,5.861132376594469e-05,3.9183811168186367e-05,3.441928492975421e-05,2.9676051781279966e-05,3.316933725727722e-05,4.338003054726869e-05, 3.805823143920861e-05,4.1805626096902415e-05,4.081190127180889e-05,5.499518374563195e-05,5.29823919350747e-05,5.921598494751379e-05,4.4411277485778555e-05,2.796481021505315e-05, 3.772356649278663e-05,4.6364897571038455e-05,8.646881178719923e-05,6.146762461867183e-05,4.5422082621371374e-05,4.789846207131632e-05,4.018893378088251e-05,4.590532626025379e-05, 4.280090797692537e-05,2.719399162742775e-05,5.194849654799327e-05,4.862032437813468e-05,4.4184551370562986e-05,7.148239092202857e-05,3.166968599543907e-05,5.2705039706779644e-05, 4.191125481156632e-05,4.831276964978315e-05,5.409415825852193e-05,2.5949402697733603e-05,4.0751543565420434e-05,2.535276689741295e-05,2.6139554393012077e-05,2.3283921109396033e-05, 1.156163307314273e-05,4.153824193053879e-05,3.338644819450565e-05,3.3412681659683585e-05,2.1260233552311547e-05,2.8175556508358568e-05,5.396306369220838e-05,4.317762068239972e-05, 3.5004530218429863e-05,1.7785265299608e-05,3.521827966324054e-05,2.7496085749589838e-05,2.1354135242290795e-05,3.327621743665077e-05,2.5307192117907107e-05,2.2781190637033433e-05, 4.2635212594177574e-05,3.621879295678809e-05,4.6418434067163616e-05,3.194105374859646e-05,3.752025804715231e-05,2.593073259049561e-05,3.604062658268958e-05,2.5469833417446353e-05 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru2_input_bias_DEFINED #define WEIGHTS_lossgen_gru2_input_bias_TYPE WEIGHT_TYPE_float static const float lossgen_gru2_input_bias[96] = { -0.30475160479545593,0.27584218978881836,0.028119252994656563,0.35703417658805847,-0.33505314588546753,-0.807335376739502,-0.09385601431131363,-0.5268277525901794, 0.43306562304496765,-0.4350816607475281,-0.4627583622932434,-0.1642414927482605,-0.6452150940895081,-0.3593364357948303,-0.360861212015152,0.0032530224416404963, -0.8791474103927612,-0.4027407765388489,-0.22984804213047028,-0.6374595761299133,-0.3157874643802643,-0.7578349113464355,-0.5984506011009216,-0.583236038684845, 0.33988678455352783,-0.15954826772212982,-0.37821006774902344,0.19407500326633453,-0.9821139574050903,-0.113594651222229,0.023407965898513794,-0.4382094442844391, 0.05964534729719162,-0.07902985066175461,0.11676952987909317,0.047587547451257706,0.05243847891688347,0.14351066946983337,-0.046416886150836945,-0.014868216589093208, 0.17475172877311707,0.07884765416383743,-0.10731228440999985,0.040970318019390106,0.31853824853897095,0.04795309156179428,-0.16300031542778015,-0.10748758912086487, 0.18698477745056152,0.17945250868797302,0.10522185266017914,0.08014810085296631,0.14343367516994476,0.33035293221473694,-0.006074610166251659,0.1680644005537033, 0.02962588332593441,0.22176511585712433,0.04396265000104904,-0.06771928071975708,0.03790848329663277,-0.062112804502248764,0.19952359795570374,0.015765024349093437, -0.1878255009651184,0.07056081295013428,0.17826469242572784,0.11701381951570511,0.011853475123643875,0.08189116418361664,-0.17216303944587708,0.04193587973713875, -0.03732782229781151,0.03436180576682091,0.0401332825422287,0.12369342893362045,0.19066371023654938,0.007096805144101381,-0.1521020531654358,-0.14772936701774597, 0.008457990363240242,-0.0876028761267662,-0.27771449089050293,-0.08910375088453293,0.11357809603214264,-0.12412893027067184,0.06739968806505203,0.11397119611501694, 0.27948933839797974,-0.06376683712005615,-0.23355485498905182,0.25343555212020874,0.11553683876991272,-0.1882784515619278,-0.04834860935807228,-0.12505044043064117 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru2_recurrent_weights_int8_DEFINED #define WEIGHTS_lossgen_gru2_recurrent_weights_int8_TYPE WEIGHT_TYPE_int8 static const opus_int8 lossgen_gru2_recurrent_weights_int8[3072] = { -60,-16,-32,31,38,34,-26,-59, -5,3,15,-20,-27,-23,15,-15, -71,31,15,58,-15,-39,-62,34, 16,-12,-65,-1,-23,-96,-55,23, 66,-46,-57,49,-43,-10,-95,2, 47,-11,2,-8,76,-57,-88,47, 2,-40,56,66,-57,13,47,37, -39,64,-15,35,-63,33,27,15, 18,101,37,44,59,-20,36,13, -37,63,5,-34,-73,127,68,-30, 18,20,50,-15,42,87,26,-18, -73,-12,-6,38,-58,7,22,-25, 14,91,-1,-104,-24,-99,-45,16, 7,-9,-81,-48,17,15,-12,6, 27,51,42,-66,54,-5,16,-33, 17,-76,-8,65,32,-14,0,-50, 92,12,77,36,60,42,-8,42, -57,-65,-31,-42,49,-64,19,10, 58,58,37,-6,-4,6,8,-33, -127,28,1,-14,-27,57,12,12, 51,-11,-77,8,-75,-54,-68,21, -28,-50,9,-7,1,16,-44,86, -7,91,-35,16,-19,27,-35,-9, -19,-2,24,-49,-18,-9,-8,-121, -3,-23,0,46,-1,13,16,95, -35,26,33,52,-51,4,4,21, 42,-50,71,-39,70,-43,110,8, 35,-31,38,31,62,15,26,9, 8,121,-50,10,13,-6,-56,-47, 12,12,0,20,-13,94,6,34, -62,-67,1,-46,16,-52,-50,10, 31,-17,-10,-23,3,-50,-41,-77, -36,29,-17,15,49,-45,-78,10, -3,-53,-127,10,-7,40,-5,22, -68,50,-17,34,54,64,61,-91, 28,26,-45,-50,30,0,-21,-32, -19,25,-9,-3,-8,-37,49,35, -102,-3,54,67,19,14,29,86, 21,-39,31,-25,6,-23,11,12, -89,88,18,69,-13,7,-9,50, 4,-127,-15,38,102,19,23,48, 7,5,21,37,49,-39,34,32, -80,127,112,-4,14,11,15,46, -6,-123,-22,37,5,41,-19,14, -17,-27,-58,66,80,-12,-20,127, 95,-10,101,-22,-51,52,18,-15, 40,-37,-20,6,-70,43,3,37, 6,-4,-15,23,-42,39,-4,-3, -65,19,35,7,31,-5,37,2, 9,62,68,-11,-15,29,12,20, 23,-15,-11,-32,29,3,-1,7, -59,106,-44,25,21,46,6,28, -60,-20,-5,-28,-13,12,-70,41, 14,11,-40,-44,-18,41,19,12, 18,35,-2,27,-11,55,27,15, -38,25,-13,-37,6,23,-24,31, -11,12,17,37,52,-55,11,11, 119,-58,55,36,61,-50,127,-25, 13,3,17,23,12,18,30,37, 15,-53,45,31,9,-3,34,32, 21,-40,-6,0,-25,-26,40,34, -12,-58,2,23,-102,84,12,76, 70,47,-7,24,-44,86,74,55, -12,-43,-14,-23,-44,71,76,53, 7,30,72,-14,1,15,-23,60, -63,23,-7,-1,-46,-61,-66,-34, -47,-69,5,-42,-83,-36,-78,42, 5,24,9,-36,12,33,90,39, -102,24,17,51,0,-42,-26,-48, 48,-10,52,-23,3,73,7,7, 35,-67,3,5,16,-32,25,2, -66,1,58,71,-17,9,43,2, 11,37,9,66,-31,-18,1,85, 10,40,11,28,-67,-62,20,25, -40,51,70,59,79,50,31,16, 77,2,-27,15,45,-16,3,49, -56,-13,23,106,7,34,4,-28, 9,-56,-72,44,-30,18,-8,4, -8,49,2,-60,0,-42,-41,-13, 0,18,41,-5,-54,4,43,-9, 35,57,24,0,-50,-8,22,30, -61,-29,11,-9,8,-1,30,19, 33,-10,9,-27,11,22,8,9, -17,55,23,-2,-7,56,-32,-1, 21,-30,75,10,-2,92,-1,9, -40,-4,22,7,-16,-4,-9,-1, 11,43,-69,27,-19,-41,39,21, -7,13,-13,-6,14,17,99,15, -9,-11,51,-25,32,1,119,10, -17,-34,13,-22,17,-4,31,-1, 18,-37,4,-100,105,-88,-6,30, 24,1,10,16,-12,-41,55,-20, -111,43,32,-58,-17,-14,-59,27, -22,43,5,124,-51,65,-3,-87, -8,61,-54,-24,-16,13,-14,75, -3,-31,7,-17,17,53,18,1, 55,-11,-85,16,73,2,-80,74, 37,16,17,40,7,-14,-16,-22, 35,23,1,-15,60,28,83,9, 1,113,-2,-110,20,88,76,53, -46,53,14,37,-68,67,21,-44, -35,7,18,6,-115,43,-11,52, -20,-4,-11,26,54,-33,36,20, 45,-50,-9,42,-6,-25,5,-23, -29,-100,-14,-6,-23,-25,-70,42, 48,4,25,12,22,56,-66,-60, -58,42,-23,18,-17,56,58,22, 5,22,23,-42,14,-18,6,96, -15,-67,-80,73,44,-127,-23,69, -19,21,108,21,3,-117,-67,52, -13,-26,16,-19,-59,-70,17,30, 33,35,51,-43,-6,-27,113,14, 20,15,-16,41,-57,52,12,28, 14,80,10,9,-42,78,12,100, -46,28,-31,-31,-37,-61,-84,-15, 51,19,13,43,7,50,34,18, -54,-54,52,-30,19,-36,69,-116, 1,14,2,1,-44,30,36,93, 4,-44,25,37,-19,-34,90,-11, 13,6,-98,37,-12,31,51,35, 33,-97,8,93,-3,-11,63,60, 31,-43,-4,-32,-16,-54,32,6, 5,12,47,-17,-34,-45,88,3, 67,62,-12,28,-49,-28,-5,1, 25,-60,30,-55,25,-34,34,-69, 19,-15,-24,12,-34,3,-43,49, -33,53,22,107,1,108,12,84, -40,9,7,35,-12,35,-49,29, 5,7,-53,31,-12,14,-67,-37, 16,27,-100,-11,89,40,-25,82, -27,-18,21,-58,24,84,41,-43, -6,-55,-6,-123,69,-16,22,-58, -51,3,-65,23,-39,2,-2,-45, -30,36,27,20,-60,28,-13,-4, -5,-5,-17,8,10,55,-3,37, -49,-5,21,67,1,10,1,42, -33,29,8,-27,2,77,-30,-55, 58,20,-26,-27,-27,-44,-8,-10, 50,-15,6,-35,8,-9,-86,-2, -26,105,-12,-20,-9,-1,-95,-20, 38,22,26,-122,-38,-14,-2,-82, 42,-13,21,-127,48,5,-102,22, 28,84,-7,-15,-112,14,41,23, 12,-47,53,-4,-13,20,5,-121, 38,5,1,26,51,37,12,14, 51,14,16,-13,-8,46,64,23, 105,24,-5,6,-38,5,-19,4, 98,7,17,12,-45,32,19,0, 14,-18,-96,45,-41,-39,-22,-11, -8,10,29,70,-8,19,-35,-60, 29,-5,-58,81,-2,21,-18,127, -11,5,-7,16,-61,-68,-71,-58, 53,-3,-59,-39,88,10,-32,127, 101,-30,10,100,3,19,33,41, -18,12,-24,-74,-29,-34,51,10, -27,12,14,1,48,35,-18,19, 88,-3,-41,-88,-13,107,29,-2, 62,-15,2,-1,3,18,-21,-33, 54,-54,-47,-8,-15,43,29,45, -61,96,89,-19,-38,14,14,4, 23,8,-11,-49,25,4,10,-4, 7,15,28,-54,3,24,7,6, 60,-4,54,25,60,7,47,4, 21,8,-4,-20,-20,-2,93,18, 21,31,9,21,-21,70,-43,-7, 83,46,-13,-19,-25,-21,-5,8, -35,15,-20,43,-22,-55,-60,-17, -7,21,53,76,37,5,-9,-93, 19,-1,75,54,-60,-69,-60,5, -55,25,-22,-31,-18,58,16,53, -18,6,32,-7,35,44,-48,-81, 23,-2,-21,3,-46,44,2,21, 3,-22,-67,-10,-87,14,3,35, -50,-10,-45,-19,112,17,7,-54, 4,-6,2,-127,26,-6,10,-11, 12,-19,4,-16,-76,16,-46,127, 16,39,13,36,-65,25,-9,-1, -56,-57,-36,-13,-29,-4,-3,-2, 21,-79,-78,1,84,30,-32,32, -20,4,1,32,7,1,-51,-11, 21,-37,-41,56,6,-14,-3,-9, -12,-59,-1,-47,34,3,9,88, -3,-42,44,-12,-97,-14,-11,50, -10,4,-10,3,-28,-5,-6,24, 24,-7,-15,91,-15,39,-25,5, -28,3,77,-30,-57,-12,27,19, 35,-17,89,-12,9,-32,-60,-18, 19,-38,6,18,-14,40,-21,6, 54,56,-43,-18,-22,14,7,1, -13,33,52,65,38,-51,-22,38, 49,55,61,-56,-60,25,21,-6, -18,0,26,-1,-27,5,-18,12, -7,31,75,-49,15,35,12,-3, -3,-16,16,-13,-8,-21,44,-47, 15,-15,28,-65,-1,-127,42,-47, 68,-47,6,-34,-37,-83,51,13, 26,58,-9,43,10,-7,1,39, 20,-9,14,23,17,48,-5,29, 27,31,-11,66,40,22,7,24, 61,1,41,88,78,51,-44,-6, -29,-1,-105,-20,83,-76,3,25, 11,-4,0,-34,-45,-84,-54,-33, -30,-96,-74,4,12,-21,-35,-72, 44,-88,-69,-10,8,-16,27,-31, 11,-23,-23,47,-73,88,-58,29, -29,23,-8,-39,-39,27,-14,42, -37,-16,-22,127,-30,-18,-50,-26, -21,-7,-30,89,17,-28,-12,-65, -100,48,30,-2,68,49,-10,28, -9,-120,-3,33,6,47,-35,64, 2,29,-35,57,-10,19,39,29, -89,6,-16,22,45,-55,-8,0, -127,29,-36,61,-11,28,-74,127, 1,27,7,25,-9,-8,-16,12, -46,3,-13,50,-79,27,-54,84, 17,-21,-49,-1,23,-36,23,-65, -10,-63,-51,54,63,-33,-29,-13, 7,-8,9,3,-59,-18,-7,-61, -73,22,11,-49,37,-17,-38,78, 74,-67,6,-32,26,-12,-8,43, -24,46,-14,45,-80,26,-12,-34, 13,65,3,11,-12,49,1,-9, 26,65,34,-35,0,-13,-4,108, -17,-49,29,-9,-83,94,28,-5, 20,-127,97,-114,49,64,1,-33, 20,1,-42,-21,18,70,79,-73, -69,21,-65,-9,6,111,-9,50, 43,81,-21,52,40,-32,-61,-3, -5,18,28,79,9,-54,47,53, -61,-4,-9,6,7,35,-4,7, -17,-21,-76,-22,73,-65,-8,-55, 24,-33,-32,-20,2,17,-50,61, 27,32,-31,-8,-16,-32,-48,-36, 30,-14,-11,-9,-21,20,-23,-34, 18,111,65,20,-20,-39,-65,-5, -40,59,9,-73,-62,2,-5,-16, -23,-24,15,-20,-3,-27,24,3, 101,28,-29,-44,-66,-63,-20,-17, 45,-24,-47,-78,-97,-32,18,2, 37,92,-51,-30,36,49,35,-56, -29,29,29,89,47,-12,-3,-8, -83,66,62,3,-39,-21,-24,53, 5,-28,37,-2,59,-9,-53,-16, 3,-49,0,-17,-14,-8,29,-28, -46,25,13,45,34,-9,-28,-15, 28,27,-26,-30,6,-68,-2,27, 11,-108,18,-40,-11,28,34,0, -40,-29,-17,10,-12,31,-21,-38, -18,-103,20,60,31,-71,-26,38, 43,47,-10,-22,47,-38,9,69, -10,9,-3,-19,-48,-19,32,-77, 53,34,-20,-7,73,56,19,-37, 4,84,42,-20,-4,127,6,25, 52,-105,10,30,-34,-34,50,-31, 34,-106,-24,14,-89,36,31,-46, -9,-13,7,59,-32,-38,5,-16, 69,60,-10,-17,46,83,-2,12, 28,39,30,-7,-6,14,32,34, 45,-16,80,-2,-41,27,-127,5, -40,-1,-50,25,81,-112,-95,-34, 13,41,-10,26,-18,-7,4,12, -47,-12,11,37,42,-15,37,-32, 88,-49,-11,-32,7,91,16,54, -46,41,-10,6,-78,29,-20,89, -8,1,2,-40,-1,42,-5,-2, 19,-20,-40,6,52,77,29,6, -20,-24,38,28,-114,86,-43,-40, 53,-127,-23,19,-19,56,100,-25, 5,-2,-11,-12,33,0,51,-24, -75,-54,67,24,-23,-19,25,-19, -46,-7,-41,4,8,39,-58,-71, -65,9,-3,-10,56,-15,-18,2, -9,12,-17,3,-2,-2,3,2, 8,5,-24,2,32,36,-15,-22, -34,-95,-27,15,-49,-47,67,-7, -7,18,44,10,3,-9,-28,-27, 8,4,-37,-11,7,8,68,14, 21,39,64,-21,12,-23,-29,61, -16,48,15,17,-52,-27,18,14, 0,24,11,-26,-1,-72,-32,-53, 33,-21,-5,-7,10,-22,-2,-29, -12,20,47,-28,3,-4,-73,-15, -58,51,-32,-59,-34,-46,-13,37, 33,-4,-20,-19,105,-46,14,-32, 37,16,49,-5,9,-31,58,4, -2,83,40,-10,17,33,-47,47, 9,45,6,17,-47,62,7,68, -20,-51,-32,-57,37,-88,-65,-39, 4,1,-26,102,3,39,65,-92, -19,-6,-10,-2,-15,38,-11,30, -2,-56,-63,56,5,-99,-102,21, 29,-6,-3,70,-27,-13,5,2, -55,71,100,15,-58,-3,47,10, -12,-61,16,2,28,-60,-10,-81, -3,7,29,-65,11,-29,-10,20, -76,19,-4,4,37,11,-5,-44, 99,-1,-46,-31,48,15,-2,-30, 27,10,26,18,-29,3,35,94, -31,35,58,15,37,-25,-4,38, 7,33,19,12,-19,3,-34,8, -127,31,68,20,39,-32,28,1, -22,48,6,-24,-51,34,-7,88, 127,-67,-62,-35,-68,84,7,-1, 32,25,127,-46,-23,26,-20,127, 0,24,104,0,59,-8,4,33, 84,2,-47,11,56,-28,33,-48, -51,0,-15,-38,56,1,8,3, -44,93,23,8,9,14,14,-7, -51,120,23,-58,-16,-29,8,-15, 32,40,-16,60,65,31,-13,17, 69,-13,-29,-95,-81,6,-41,57, 12,-39,85,-43,-26,11,-30,12, 21,-11,29,11,-89,55,49,80, -19,19,12,11,-19,25,-7,22, -29,-4,20,-24,14,-16,30,31, 22,-18,38,-13,-17,-1,-48,8, 17,11,3,3,55,-57,10,-83, 5,-44,-59,-70,30,-28,-33,-15, 87,-88,13,-52,-54,-40,-127,47, -4,-45,22,-27,-33,37,-16,48, -3,29,8,31,-5,-15,-40,69, -49,-25,-62,18,-51,-41,-19,34, 26,5,-14,-42,-11,-16,5,15, -83,-46,-42,31,35,51,18,-77, -33,16,11,34,-13,36,44,28, 10,11,13,-25,25,52,26,8, -103,2,-46,-45,22,-23,15,30, -41,-29,34,-62,-17,-51,5,16, 10,-39,-38,-7,3,17,29,30, -2,127,3,-7,-41,-11,-1,-21, 27,-30,6,75,37,0,3,20, -13,-24,25,10,27,46,32,7, -40,14,30,3,18,2,27,-3, 18,-24,-24,-30,47,29,-16,-50, 5,-21,109,-16,-29,0,-8,12, 51,-56,39,26,-51,20,-12,3, 88,41,28,-1,31,98,32,-30, -32,-17,36,38,66,-4,86,43, 70,-2,-48,-33,-16,-4,10,7, 23,-9,-1,-21,127,-39,-44,46, -4,49,20,-22,16,23,-20,35, -16,17,-11,7,-45,-14,-13,-3, 62,-27,53,19,-10,-4,8,8, 55,-49,83,-56,-25,-52,13,78, -32,2,21,3,2,-39,-74,-20, 20,-14,-17,5,-34,27,1,-7, -60,65,-7,-46,-2,-14,-1,-31, -43,27,31,-18,-60,-25,31,-5, -5,-17,14,-73,72,-22,-23,44, -45,-33,7,22,51,-16,-33,37, -23,-106,30,-65,-53,25,-34,127, 40,-48,64,-34,2,24,-7,-13, -12,5,-74,16,-43,-4,98,-36, -5,9,11,-7,30,9,-103,-26, 2,-1,33,-26,32,-44,-68,-36, 7,21,34,-51,36,35,-16,29, -31,-7,-8,127,-25,28,-29,3, 10,23,56,33,-29,103,31,15, -45,-24,-8,17,-62,-22,17,-14, 28,42,16,54,46,-49,-14,-35, -20,20,22,-3,-36,58,-27,-15, -3,-52,-11,14,-37,-6,-4,43, 49,54,85,44,1,82,29,-3, -83,36,-3,-11,42,2,75,5, 36,-2,19,-29,-27,-2,-6,70, -49,-5,29,32,-16,-19,10,-77, -32,-20,33,-20,108,-38,29,-82, 53,-19,16,37,85,-16,-57,-9, -12,-2,27,4,-118,8,-69,-37, 28,77,-14,3,33,11,31,28, -18,8,-40,-33,25,-5,74,27, -89,-21,12,14,26,-21,33,34, -3,43,30,-2,17,-14,-15,37, -31,-44,36,60,15,-5,21,9, 101,26,23,15,19,-49,-21,-30, -40,-19,43,-73,28,-93,15,67, 72,-15,16,-56,-26,46,15,45, -25,-27,43,1,-1,-29,-11,70, -67,44,19,42,-5,18,-15,55, -36,12,40,-12,-29,-100,-48,29, -37,0,-13,20,39,38,48,81, -57,8,16,113,6,26,36,-11, 31,-3,14,-62,127,-5,-9,46, 57,-8,60,69,125,-54,-40,74 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru2_recurrent_subias_DEFINED #define WEIGHTS_lossgen_gru2_recurrent_subias_TYPE WEIGHT_TYPE_float static const float lossgen_gru2_recurrent_subias[96] = { -3.0727369859814644,2.660575646907091,2.636896938085556,-1.7010508105158806,-3.189937587827444,-2.3099586255848408,1.894855260848999,3.8730440326035023, 3.61121379584074,-4.494883348233998,-2.4852133537642658,-8.350692176260054,-3.0886411536484957,-6.392877616919577,0.9289185702800751,-5.885372586548328, -4.478344488888979,-1.8255817806348205,-0.46383557841181755,2.247362405061722,1.3510376317426562,-1.352243929170072,-4.224580377340317,-7.394022285938263, 3.0197327490895987,0.15894101560115814,-8.194421127438545,0.6769649814814329,-3.85641648247838,-3.583159204572439,-3.1064168829470873,-6.72989709302783, 1.6698264423757792,0.0034760786220431328,-1.9245882369577885,-0.5524303461425006,0.030569868627935648,-1.7461523609235883,-1.2154950951226056,3.1940784556791186, -2.6964384810999036,2.8758447468280792,1.497078362852335,-2.9857509061694145,-0.31869034469127655,0.9597819512709975,-2.00612897798419,-0.01193935889750719, 0.5566686186939478,-1.7844122517853975,0.13247492909431458,1.8245467077940702,0.31764839217066765,0.9292731583118439,0.40393196791410446,0.7719940147362649, -1.4117840491235256,-0.7287693112157285,-0.32490344252437353,1.1177726136520505,2.820692013949156,1.8640081640332937,-0.23434368334710598,0.6603675000369549, -1.5419841231778264,-4.514508963562548,-2.7210480887442827,-1.93610472464934,0.41044047847390175,0.874943626113236,1.945888557471335,1.437478356063366, -1.7701695915311575,-0.7820915831252933,-0.25265982933342457,-1.1994062419980764,1.5732662938535213,0.9149179016239941,-2.3761839978396893,0.11516811326146126, -1.108135654591024,-2.430000603199005,0.4438901003450155,-0.6430424600839615,1.0025696158409119,-0.9582396969199181,0.660869749262929,-0.8038332988508046, -1.17746162135154,-0.4671224085614085,-2.257363885641098,-1.0438183578662574,-1.6110688019543886,-0.7732015470974147,-0.7945843674242496,-1.3400331865996122 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru2_recurrent_scale_DEFINED #define WEIGHTS_lossgen_gru2_recurrent_scale_TYPE WEIGHT_TYPE_float static const float lossgen_gru2_recurrent_scale[96] = { 5.2738989325007424e-05,7.404873031191528e-05,8.293294376926497e-05,6.651716830674559e-05,6.99919110047631e-05,7.508041016990319e-05,9.204631351167336e-05,9.008487540995702e-05, 0.00010488167754374444,7.749758515274152e-05,5.3557629144052044e-05,0.00011235411511734128,5.755466190748848e-05,8.307151438202709e-05,6.78385331411846e-05,0.00011106880265288055, 8.009328303160146e-05,5.816763950861059e-05,7.992541941348463e-05,0.00010451663547428325,6.90013766870834e-05,7.496788020944223e-05,0.0001232416689163074,0.00010456989548401907, 7.585263665532693e-05,7.436615123879164e-05,0.00015092940884642303,4.950835864292458e-05,0.00019819628505501896,7.801827450748533e-05,6.669484719168395e-05,9.492053504800424e-05, 5.491292176884599e-05,6.785911682527512e-05,5.2489252993837e-05,4.7441935748793185e-05,5.3214007493807e-05,4.959815851179883e-05,6.017445048200898e-05,7.531853043474257e-05, 6.367460446199402e-05,8.447820437140763e-05,5.216581848799251e-05,8.24236121843569e-05,6.071842653909698e-05,5.1189646910643205e-05,0.0001005120066110976,4.009677286376245e-05, 3.4177119232481346e-05,6.546619988512248e-05,8.408894063904881e-05,6.523444608319551e-05,5.8914785768138245e-05,6.508674414362758e-05,3.9200072933454067e-05,5.490570765687153e-05, 5.830052759847604e-05,4.8131656512850896e-05,5.777581827715039e-05,7.398417074000463e-05,5.920808689552359e-05,5.4196651035454124e-05,6.871099321870133e-05,8.646579226478934e-05, 8.428660657955334e-05,0.00010811026731971651,8.898979285731912e-05,5.993629383738153e-05,5.4547253967029974e-05,3.192925578332506e-05,4.7126457502599806e-05,3.7281006370903924e-05, 2.8676331567112356e-05,4.194991197437048e-05,7.557713979622349e-05,5.016227441956289e-05,3.88311491406057e-05,3.243370883865282e-05,5.715914812753908e-05,5.2078474254813045e-05, 5.712730853701942e-05,4.884047666564584e-05,7.003080827416852e-05,5.245892680250108e-05,4.537251152214594e-05,9.668616985436529e-05,3.969726094510406e-05,5.454977508634329e-05, 6.276497151702642e-05,4.1645696910563856e-05,6.996694719418883e-05,5.114714804221876e-05,4.266884570824914e-05,3.7925870856270194e-05,4.039805935462937e-05,5.092572246212512e-05 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE #define WEIGHTS_lossgen_gru2_recurrent_bias_DEFINED #define WEIGHTS_lossgen_gru2_recurrent_bias_TYPE WEIGHT_TYPE_float static const float lossgen_gru2_recurrent_bias[96] = { -0.17926505208015442,0.4411870539188385,-0.12261372804641724,0.14054356515407562,-0.4699118733406067,-1.0036345720291138,-0.16256393492221832,-0.47445201873779297, 0.44106024503707886,-0.371004194021225,-0.7643531560897827,-0.3457983732223511,-0.42800429463386536,-0.2210792601108551,-0.3461745083332062,-0.13023142516613007, -0.6944175958633423,-0.48109495639801025,-0.2608250081539154,-0.7259268164634705,-0.20004425942897797,-0.5429656505584717,-0.46817436814308167,-0.6475908756256104, 0.572878360748291,-0.14328302443027496,-0.5080394148826599,0.3814495801925659,-1.0876144170761108,-0.21432995796203613,-0.10794992744922638,-0.5095645189285278, 0.023976394906640053,-0.10855932533740997,0.2819024622440338,0.20071037113666534,0.11842619627714157,-0.09582320600748062,-0.09209830313920975,-0.029479220509529114, 0.12581104040145874,0.18293307721614838,-0.06643557548522949,-0.22225211560726166,0.2982088625431061,0.010623523034155369,-0.11690530925989151,-0.08832371234893799, 0.170364648103714,0.011456502601504326,0.30334365367889404,0.18416133522987366,0.1680048406124115,0.3175879120826721,-0.1138225719332695,0.304801344871521, -0.019800614565610886,0.08422249555587769,-0.07542746514081955,0.03723381087183952,0.11369821429252625,-0.08387372642755508,0.306686669588089,-0.15223801136016846, 0.13860653340816498,-0.13463784754276276,-0.031242595985531807,-0.055963099002838135,-0.02599211037158966,0.02339041791856289,0.04263940081000328,-0.15337680280208588, -0.05483747646212578,-0.06818799674510956,-0.07989048212766647,-0.0909203290939331,0.06421013921499252,0.004601010121405125,-0.11130986362695694,0.17469380795955658, -0.106922447681427,-0.24663591384887695,-0.2765168249607086,0.10313329845666885,-0.03464597463607788,0.12232493609189987,-0.024781355634331703,-0.09026770293712616, -0.13324074447155,0.0723559707403183,0.1595744490623474,-0.04997814819216728,-0.30510348081588745,0.09860046207904816,0.15969860553741455,-0.014181987382471561 }; #endif /* USE_WEIGHTS_FILE */ #ifndef USE_WEIGHTS_FILE const WeightArray lossgen_arrays[] = { #ifdef WEIGHTS_lossgen_dense_in_weights_float_DEFINED {"lossgen_dense_in_weights_float", WEIGHTS_lossgen_dense_in_weights_float_TYPE,sizeof(lossgen_dense_in_weights_float),lossgen_dense_in_weights_float}, #endif #ifdef WEIGHTS_lossgen_dense_in_bias_DEFINED {"lossgen_dense_in_bias", WEIGHTS_lossgen_dense_in_bias_TYPE,sizeof(lossgen_dense_in_bias),lossgen_dense_in_bias}, #endif #ifdef WEIGHTS_lossgen_dense_out_weights_float_DEFINED {"lossgen_dense_out_weights_float", WEIGHTS_lossgen_dense_out_weights_float_TYPE,sizeof(lossgen_dense_out_weights_float),lossgen_dense_out_weights_float}, #endif #ifdef WEIGHTS_lossgen_dense_out_bias_DEFINED {"lossgen_dense_out_bias", WEIGHTS_lossgen_dense_out_bias_TYPE,sizeof(lossgen_dense_out_bias),lossgen_dense_out_bias}, #endif #ifdef WEIGHTS_lossgen_gru1_input_weights_int8_DEFINED {"lossgen_gru1_input_weights_int8", WEIGHTS_lossgen_gru1_input_weights_int8_TYPE,sizeof(lossgen_gru1_input_weights_int8),lossgen_gru1_input_weights_int8}, #endif #ifdef WEIGHTS_lossgen_gru1_input_weights_float_DEFINED {"lossgen_gru1_input_weights_float", WEIGHTS_lossgen_gru1_input_weights_float_TYPE,sizeof(lossgen_gru1_input_weights_float),lossgen_gru1_input_weights_float}, #endif #ifdef WEIGHTS_lossgen_gru1_input_subias_DEFINED {"lossgen_gru1_input_subias", WEIGHTS_lossgen_gru1_input_subias_TYPE,sizeof(lossgen_gru1_input_subias),lossgen_gru1_input_subias}, #endif #ifdef WEIGHTS_lossgen_gru1_input_scale_DEFINED {"lossgen_gru1_input_scale", WEIGHTS_lossgen_gru1_input_scale_TYPE,sizeof(lossgen_gru1_input_scale),lossgen_gru1_input_scale}, #endif #ifdef WEIGHTS_lossgen_gru1_input_bias_DEFINED {"lossgen_gru1_input_bias", WEIGHTS_lossgen_gru1_input_bias_TYPE,sizeof(lossgen_gru1_input_bias),lossgen_gru1_input_bias}, #endif #ifdef WEIGHTS_lossgen_gru1_recurrent_weights_int8_DEFINED {"lossgen_gru1_recurrent_weights_int8", WEIGHTS_lossgen_gru1_recurrent_weights_int8_TYPE,sizeof(lossgen_gru1_recurrent_weights_int8),lossgen_gru1_recurrent_weights_int8}, #endif #ifdef WEIGHTS_lossgen_gru1_recurrent_weights_float_DEFINED {"lossgen_gru1_recurrent_weights_float", WEIGHTS_lossgen_gru1_recurrent_weights_float_TYPE,sizeof(lossgen_gru1_recurrent_weights_float),lossgen_gru1_recurrent_weights_float}, #endif #ifdef WEIGHTS_lossgen_gru1_recurrent_subias_DEFINED {"lossgen_gru1_recurrent_subias", WEIGHTS_lossgen_gru1_recurrent_subias_TYPE,sizeof(lossgen_gru1_recurrent_subias),lossgen_gru1_recurrent_subias}, #endif #ifdef WEIGHTS_lossgen_gru1_recurrent_scale_DEFINED {"lossgen_gru1_recurrent_scale", WEIGHTS_lossgen_gru1_recurrent_scale_TYPE,sizeof(lossgen_gru1_recurrent_scale),lossgen_gru1_recurrent_scale}, #endif #ifdef WEIGHTS_lossgen_gru1_recurrent_bias_DEFINED {"lossgen_gru1_recurrent_bias", WEIGHTS_lossgen_gru1_recurrent_bias_TYPE,sizeof(lossgen_gru1_recurrent_bias),lossgen_gru1_recurrent_bias}, #endif #ifdef WEIGHTS_lossgen_gru2_input_weights_int8_DEFINED {"lossgen_gru2_input_weights_int8", WEIGHTS_lossgen_gru2_input_weights_int8_TYPE,sizeof(lossgen_gru2_input_weights_int8),lossgen_gru2_input_weights_int8}, #endif #ifdef WEIGHTS_lossgen_gru2_input_weights_float_DEFINED {"lossgen_gru2_input_weights_float", WEIGHTS_lossgen_gru2_input_weights_float_TYPE,sizeof(lossgen_gru2_input_weights_float),lossgen_gru2_input_weights_float}, #endif #ifdef WEIGHTS_lossgen_gru2_input_subias_DEFINED {"lossgen_gru2_input_subias", WEIGHTS_lossgen_gru2_input_subias_TYPE,sizeof(lossgen_gru2_input_subias),lossgen_gru2_input_subias}, #endif #ifdef WEIGHTS_lossgen_gru2_input_scale_DEFINED {"lossgen_gru2_input_scale", WEIGHTS_lossgen_gru2_input_scale_TYPE,sizeof(lossgen_gru2_input_scale),lossgen_gru2_input_scale}, #endif #ifdef WEIGHTS_lossgen_gru2_input_bias_DEFINED {"lossgen_gru2_input_bias", WEIGHTS_lossgen_gru2_input_bias_TYPE,sizeof(lossgen_gru2_input_bias),lossgen_gru2_input_bias}, #endif #ifdef WEIGHTS_lossgen_gru2_recurrent_weights_int8_DEFINED {"lossgen_gru2_recurrent_weights_int8", WEIGHTS_lossgen_gru2_recurrent_weights_int8_TYPE,sizeof(lossgen_gru2_recurrent_weights_int8),lossgen_gru2_recurrent_weights_int8}, #endif #ifdef WEIGHTS_lossgen_gru2_recurrent_weights_float_DEFINED {"lossgen_gru2_recurrent_weights_float", WEIGHTS_lossgen_gru2_recurrent_weights_float_TYPE,sizeof(lossgen_gru2_recurrent_weights_float),lossgen_gru2_recurrent_weights_float}, #endif #ifdef WEIGHTS_lossgen_gru2_recurrent_subias_DEFINED {"lossgen_gru2_recurrent_subias", WEIGHTS_lossgen_gru2_recurrent_subias_TYPE,sizeof(lossgen_gru2_recurrent_subias),lossgen_gru2_recurrent_subias}, #endif #ifdef WEIGHTS_lossgen_gru2_recurrent_scale_DEFINED {"lossgen_gru2_recurrent_scale", WEIGHTS_lossgen_gru2_recurrent_scale_TYPE,sizeof(lossgen_gru2_recurrent_scale),lossgen_gru2_recurrent_scale}, #endif #ifdef WEIGHTS_lossgen_gru2_recurrent_bias_DEFINED {"lossgen_gru2_recurrent_bias", WEIGHTS_lossgen_gru2_recurrent_bias_TYPE,sizeof(lossgen_gru2_recurrent_bias),lossgen_gru2_recurrent_bias}, #endif {NULL,0,0,NULL} }; #endif /* USE_WEIGHTS_FILE */ #ifndef DUMP_BINARY_WEIGHTS int init_lossgen(LossGen *model,const WeightArray *arrays) { if (linear_init(&model->lossgen_dense_in,arrays,"lossgen_dense_in_bias",NULL,NULL,"lossgen_dense_in_weights_float",NULL,NULL,NULL,2,8)) return 1; if (linear_init(&model->lossgen_dense_out,arrays,"lossgen_dense_out_bias",NULL,NULL,"lossgen_dense_out_weights_float",NULL,NULL,NULL,32,1)) return 1; if (linear_init(&model->lossgen_gru1_input,arrays,"lossgen_gru1_input_bias","lossgen_gru1_input_subias","lossgen_gru1_input_weights_int8","lossgen_gru1_input_weights_float",NULL,NULL,"lossgen_gru1_input_scale",8,48)) return 1; if (linear_init(&model->lossgen_gru1_recurrent,arrays,"lossgen_gru1_recurrent_bias","lossgen_gru1_recurrent_subias","lossgen_gru1_recurrent_weights_int8","lossgen_gru1_recurrent_weights_float",NULL,NULL,"lossgen_gru1_recurrent_scale",16,48)) return 1; if (linear_init(&model->lossgen_gru2_input,arrays,"lossgen_gru2_input_bias","lossgen_gru2_input_subias","lossgen_gru2_input_weights_int8","lossgen_gru2_input_weights_float",NULL,NULL,"lossgen_gru2_input_scale",16,96)) return 1; if (linear_init(&model->lossgen_gru2_recurrent,arrays,"lossgen_gru2_recurrent_bias","lossgen_gru2_recurrent_subias","lossgen_gru2_recurrent_weights_int8","lossgen_gru2_recurrent_weights_float",NULL,NULL,"lossgen_gru2_recurrent_scale",32,96)) return 1; return 0; } #endif /* DUMP_BINARY_WEIGHTS */