1 /*
2  * Copyright (c) 2016, Alliance for Open Media. All rights reserved
3  *
4  * This source code is subject to the terms of the BSD 2 Clause License and
5  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6  * was not distributed with this source code in the LICENSE file, you can
7  * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8  * Media Patent License 1.0 was not distributed with this source code in the
9  * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10  */
11 
12 #ifndef AOM_AV1_ENCODER_TX_PRUNE_MODEL_WEIGHTS_H_
13 #define AOM_AV1_ENCODER_TX_PRUNE_MODEL_WEIGHTS_H_
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 #include "av1/encoder/ml.h"
20 
21 // Tx type model for 4x4 block.
22 static const float av1_tx_type_nn_weights_4x4_hor_layer0[32] = {
23   -1.64947f, -1.54497f, -1.62832f, -0.17774f, -2.89498f, -0.72498f, 0.72036f,
24   0.17996f,  1.20000f,  -0.27654f, 0.77396f,  1.21684f,  -1.75909f, -0.51272f,
25   -1.25923f, 0.35005f,  -0.04257f, -0.23389f, -0.41841f, -0.08229f, 0.09503f,
26   2.73144f,  -0.16875f, -0.23482f, 0.02194f,  -0.26427f, 0.28049f,  0.21260f,
27   1.35792f,  0.27733f,  0.88660f,  -0.68304f,
28 };
29 
30 static const float av1_tx_type_nn_bias_4x4_hor_layer0[8] = {
31   1.38742f, 0.59540f,  -1.37622f, 1.92114f,
32   0.00000f, -0.38998f, -0.32726f, -0.15650f,
33 };
34 
35 static const float av1_tx_type_nn_weights_4x4_hor_layer1[32] = {
36   1.65254f,  1.00915f,  -0.89318f, -2.05142f, -0.23235f, 0.96781f,  -0.37145f,
37   -0.21056f, 1.13891f,  0.38675f,  0.87739f,  -1.42697f, 0.48015f,  0.61883f,
38   -0.03979f, 0.11487f,  0.48042f,  0.45200f,  -0.23242f, 0.75166f,  0.55458f,
39   0.39452f,  -0.35285f, 1.59120f,  -1.49221f, -0.48349f, -0.64692f, 1.49297f,
40   -0.26782f, -0.65416f, -0.10648f, 0.05568f,
41 };
42 
43 static const float av1_tx_type_nn_bias_4x4_hor_layer1[4] = {
44   4.07177f,
45   3.26961f,
46   0.58083f,
47   1.21199f,
48 };
49 
50 static const NN_CONFIG av1_tx_type_nnconfig_4x4_hor = {
51   4,  // num_inputs
52   4,  // num_outputs
53   1,  // num_hidden_layers
54   {
55       8,
56   },  // num_hidden_nodes
57   { av1_tx_type_nn_weights_4x4_hor_layer0,
58     av1_tx_type_nn_weights_4x4_hor_layer1 },
59   { av1_tx_type_nn_bias_4x4_hor_layer0, av1_tx_type_nn_bias_4x4_hor_layer1 }
60 };
61 
62 static const float av1_tx_type_nn_weights_4x4_ver_layer0[32] = {
63   -0.02032f, 2.61610f,  0.02098f,  -0.30217f, 0.12637f,  0.11017f,  -3.01996f,
64   0.35144f,  1.93776f,  -0.20463f, 1.64102f,  -1.41986f, -3.66717f, -0.51655f,
65   0.43910f,  0.37778f,  -1.02634f, 0.85337f,  -0.69753f, 1.00206f,  2.11784f,
66   1.89427f,  1.92919f,  0.43201f,  -1.67358f, -1.67035f, -1.54623f, 0.16714f,
67   -0.06589f, -0.28142f, -0.33118f, 1.72227f,
68 };
69 
70 static const float av1_tx_type_nn_bias_4x4_ver_layer0[8] = {
71   -0.33685f, 0.22025f,  0.28140f, 0.56138f,
72   0.93489f,  -1.77048f, 1.34989f, -0.93747f,
73 };
74 
75 static const float av1_tx_type_nn_weights_4x4_ver_layer1[32] = {
76   -1.39506f, -1.06271f, -1.10886f, -1.69719f, 0.19699f,  -2.39850f, -1.26457f,
77   0.75328f,  -1.26005f, -0.82738f, -0.12015f, -1.02702f, 1.40828f,  -2.37739f,
78   -0.65639f, -0.71992f, -0.90453f, -1.12510f, -2.41362f, -1.16061f, -1.85577f,
79   -0.99165f, -1.91366f, 0.16785f,  0.34776f,  0.58154f,  -0.18217f, -0.29257f,
80   -0.86315f, -0.53336f, 0.30320f,  -1.32331f,
81 };
82 
83 static const float av1_tx_type_nn_bias_4x4_ver_layer1[4] = {
84   -1.31519f,
85   -3.26321f,
86   1.71794f,
87   -1.90778f,
88 };
89 
90 static const NN_CONFIG av1_tx_type_nnconfig_4x4_ver = {
91   4,  // num_inputs
92   4,  // num_outputs
93   1,  // num_hidden_layers
94   {
95       8,
96   },  // num_hidden_nodes
97   { av1_tx_type_nn_weights_4x4_ver_layer0,
98     av1_tx_type_nn_weights_4x4_ver_layer1 },
99   { av1_tx_type_nn_bias_4x4_ver_layer0, av1_tx_type_nn_bias_4x4_ver_layer1 }
100 };
101 /******************************************************************************/
102 
103 // Tx type model for 4x8 block.
104 static const float av1_tx_type_nn_weights_4x8_hor_layer0[32] = {
105   0.00218f,  -0.41880f, -0.61215f, -0.92588f, 0.54291f,  -0.10898f, 0.70691f,
106   0.46819f,  -1.61598f, -0.08834f, -0.96839f, 1.18489f,  -0.45171f, -0.65445f,
107   -0.32179f, -0.10399f, 1.04379f,  0.91895f,  0.85589f,  0.08267f,  1.35388f,
108   -2.03096f, 0.08168f,  -0.06372f, -0.26732f, -0.48262f, -0.08682f, 2.44071f,
109   -1.35896f, -1.17121f, 1.68866f,  0.10357f,
110 };
111 
112 static const float av1_tx_type_nn_bias_4x8_hor_layer0[8] = {
113   2.93391f,  0.66831f, -0.21419f, 0.00000f,
114   -0.72878f, 0.15127f, -1.46755f, 0.16658f,
115 };
116 
117 static const float av1_tx_type_nn_weights_4x8_hor_layer1[32] = {
118   -1.52077f, -1.06243f, 0.35319f,  -0.49207f, 0.54524f,  0.44271f, 1.37117f,
119   -0.38957f, -1.28889f, -0.57133f, 0.04658f,  0.62278f,  0.37984f, 0.33247f,
120   1.65547f,  -0.56806f, -1.38645f, -0.76258f, 0.67926f,  0.08783f, -0.01443f,
121   0.34950f,  1.45812f,  -0.51332f, -1.41331f, -0.16453f, 0.05755f, 0.31405f,
122   -0.50191f, 0.18219f,  1.83664f,  -0.75276f,
123 };
124 
125 static const float av1_tx_type_nn_bias_4x8_hor_layer1[4] = {
126   -1.17455f,
127   -2.26089f,
128   -1.79863f,
129   -2.26333f,
130 };
131 
132 static const NN_CONFIG av1_tx_type_nnconfig_4x8_hor = {
133   4,  // num_inputs
134   4,  // num_outputs
135   1,  // num_hidden_layers
136   {
137       8,
138   },  // num_hidden_nodes
139   { av1_tx_type_nn_weights_4x8_hor_layer0,
140     av1_tx_type_nn_weights_4x8_hor_layer1 },
141   { av1_tx_type_nn_bias_4x8_hor_layer0, av1_tx_type_nn_bias_4x8_hor_layer1 }
142 };
143 
144 static const float av1_tx_type_nn_weights_4x8_ver_layer0[128] = {
145   -0.00952f, -0.98858f, -0.93181f, 1.39594f,  0.96559f,  0.18162f,  -0.76064f,
146   -0.06066f, 0.07907f,  -0.09365f, -0.21313f, -0.02187f, -2.61707f, -2.68702f,
147   -0.10982f, 0.18559f,  1.17049f,  1.11387f,  1.12697f,  1.05804f,  1.12764f,
148   1.06318f,  1.12052f,  0.17406f,  1.83157f,  0.19362f,  0.46910f,  0.39608f,
149   0.33342f,  0.40083f,  0.27645f,  1.06864f,  -4.06645f, -0.38775f, -0.11070f,
150   0.03781f,  -0.09141f, 0.06185f,  -0.04852f, 0.20163f,  0.16784f,  0.16641f,
151   -0.50941f, -0.61087f, 2.07008f,  -0.82381f, -0.85558f, 0.05528f,  -0.10535f,
152   -2.81150f, 0.67038f,  0.43643f,  0.49062f,  -0.04465f, 0.90438f,  0.00977f,
153   0.46272f,  1.59751f,  0.95234f,  0.35086f,  0.85624f,  0.73149f,  1.67779f,
154   -2.21511f, -1.24746f, -1.09014f, -0.92441f, -1.22591f, -1.06961f, -0.95897f,
155   -1.24956f, 0.73797f,  1.23275f,  -0.60064f, -0.07851f, 0.14397f,  0.22110f,
156   -0.04422f, 0.14350f,  0.75926f,  0.35032f,  0.48104f,  2.81408f,  0.34662f,
157   0.42090f,  0.35521f,  -1.36804f, -0.14974f, -0.47696f, -0.07892f, 0.36910f,
158   0.32299f,  0.23916f,  0.06032f,  -0.17844f, -0.17558f, -1.42746f, -0.55828f,
159   -1.00418f, -0.64823f, -0.73654f, -0.85197f, -1.50989f, 1.69385f,  -0.04973f,
160   -0.09273f, 1.04249f,  0.79235f,  1.13229f,  0.99617f,  0.03851f,  0.56334f,
161   0.90795f,  1.08296f,  0.58519f,  1.74765f,  0.63971f,  1.35951f,  0.07803f,
162   -0.05127f, 0.26514f,  -0.84629f, -0.66343f, -2.10630f, 0.11017f,  2.18528f,
163   -0.21958f, 0.05970f,
164 };
165 
166 static const float av1_tx_type_nn_bias_4x8_ver_layer0[16] = {
167   0.04205f, 0.22260f, -1.03870f, -1.19568f, 0.44283f,  0.01143f,
168   0.00235f, 4.26772f, 0.44364f,  -0.33199f, -0.39076f, -0.35129f,
169   0.08288f, 0.18195f, -0.79890f, 0.10047f,
170 };
171 
172 static const float av1_tx_type_nn_weights_4x8_ver_layer1[64] = {
173   -0.38193f, -0.12095f, 1.57802f,  0.34932f,  -0.47333f, -0.12304f, -0.01736f,
174   -2.52445f, 0.18983f,  -0.64707f, -0.60889f, -0.53750f, 0.91666f,  -0.62823f,
175   -0.13377f, -0.43594f, -0.38618f, -0.01328f, 0.97457f,  1.48589f,  -1.03238f,
176   -0.33459f, -0.35108f, -2.42417f, 0.60229f,  0.06824f,  -0.75495f, 0.26902f,
177   0.65311f,  -0.23887f, -0.44604f, -0.55800f, -0.33842f, 0.04259f,  -0.59589f,
178   0.49738f,  -0.62301f, -0.30896f, -0.29602f, -2.57052f, 2.00943f,  -0.66490f,
179   -0.76312f, 0.28256f,  1.06311f,  -0.38364f, -0.63508f, -0.57609f, -0.88765f,
180   -1.04403f, -0.46531f, 0.34084f,  -1.20498f, -0.68352f, -0.72251f, -2.63242f,
181   -0.68736f, -0.37904f, -1.32371f, 0.47288f,  1.51904f,  0.78372f,  -1.01830f,
182   -1.01848f,
183 };
184 
185 static const float av1_tx_type_nn_bias_4x8_ver_layer1[4] = {
186   -1.45955f,
187   -2.08949f,
188   -1.24813f,
189   -1.55368f,
190 };
191 
192 static const NN_CONFIG av1_tx_type_nnconfig_4x8_ver = {
193   8,  // num_inputs
194   4,  // num_outputs
195   1,  // num_hidden_layers
196   {
197       16,
198   },  // num_hidden_nodes
199   { av1_tx_type_nn_weights_4x8_ver_layer0,
200     av1_tx_type_nn_weights_4x8_ver_layer1 },
201   { av1_tx_type_nn_bias_4x8_ver_layer0, av1_tx_type_nn_bias_4x8_ver_layer1 }
202 };
203 /******************************************************************************/
204 
205 // Tx type model for 8x4 block.
206 static const float av1_tx_type_nn_weights_8x4_hor_layer0[128] = {
207   -0.22492f, 0.13341f,  -4.03243f, -0.64015f, 0.02783f,  0.60466f,  -0.13335f,
208   0.16828f,  0.12336f,  0.52904f,  1.18455f,  -0.32425f, 0.13052f,  0.93810f,
209   -3.71165f, 0.02990f,  -4.63558f, 0.05666f,  0.03524f,  -0.07449f, -0.44006f,
210   -0.33215f, -0.33713f, 0.08097f,  0.60873f,  0.29582f,  0.21696f,  -0.78729f,
211   -0.16757f, -0.26567f, -0.00720f, -1.11226f, 1.58189f,  1.58463f,  1.48536f,
212   1.54374f,  1.60069f,  1.46125f,  1.53932f,  0.05974f,  -1.82192f, 0.47043f,
213   0.38090f,  0.20833f,  -0.05637f, 0.05183f,  0.01323f,  -0.25662f, 0.78634f,
214   -0.55069f, -0.02975f, -1.29294f, -0.77192f, -2.34299f, -1.28074f, 0.77894f,
215   -1.69740f, -1.66032f, -1.44323f, -1.55063f, -1.50845f, -1.23690f, -1.80663f,
216   0.75079f,  2.32551f,  0.05878f,  0.80438f,  0.88584f,  0.69153f,  0.89060f,
217   0.73660f,  0.87259f,  -0.00745f, -1.30044f, -0.59430f, 2.07270f,  1.03307f,
218   -0.84697f, -1.19393f, 0.17549f,  -0.24978f, -3.67234f, 0.20781f,  -0.53946f,
219   -0.05068f, 0.88274f,  1.30371f,  0.10288f,  0.07585f,  0.12259f,  -0.30815f,
220   0.25437f,  -2.82096f, -2.69482f, 0.02370f,  0.12500f,  -0.21019f, -0.49220f,
221   0.03638f,  -0.29795f, 0.28645f,  -0.48432f, -0.38584f, -0.32148f, -0.47197f,
222   0.32437f,  0.32528f,  -0.19437f, 0.30383f,  -0.31879f, 0.26359f,  -0.12164f,
223   -0.43647f, -0.08288f, -0.33438f, -0.63608f, -0.46647f, -0.46574f, 0.47806f,
224   -0.49012f, -1.51234f, -1.13502f, -1.20470f, -1.02913f, -1.09182f, -0.93921f,
225   -1.85523f, 0.92532f,
226 };
227 
228 static const float av1_tx_type_nn_bias_8x4_hor_layer0[16] = {
229   0.36631f,  0.02901f,  0.64305f,  1.53074f, -1.40229f, 0.03852f,
230   -0.05043f, 0.89632f,  -1.23312f, 0.07036f, 0.17070f,  0.56250f,
231   -0.28958f, -0.32869f, -0.01704f, 0.68171f,
232 };
233 
234 static const float av1_tx_type_nn_weights_8x4_hor_layer1[64] = {
235   -0.49441f, -0.31960f, -0.84946f, -0.85800f, -2.37767f, 0.81373f,  -0.73172f,
236   -0.69337f, 0.88807f,  -0.49242f, -0.44717f, -0.11436f, 0.09978f,  0.15393f,
237   0.17083f,  1.44850f,  -0.20582f, -0.04906f, 0.42990f,  -0.61939f, -1.09692f,
238   -1.14885f, -1.36879f, -1.30828f, -0.59558f, -0.30903f, -0.08906f, 0.06953f,
239   0.15383f,  -0.04193f, -0.54858f, 1.82676f,  -0.22411f, 0.05264f,  -0.45848f,
240   -0.72985f, 0.87553f,  0.04116f,  -1.29774f, -2.63018f, 1.09089f,  -0.36048f,
241   -0.16725f, 0.11627f,  0.49918f,  0.07539f,  0.00763f,  0.73706f,  0.87800f,
242   0.57049f,  0.60969f,  1.02779f,  1.53339f,  -0.35915f, 0.06410f,  1.44582f,
243   0.09698f,  0.71888f,  0.60594f,  0.84103f,  -0.50440f, -0.38825f, 0.15626f,
244   -1.10654f,
245 };
246 
247 static const float av1_tx_type_nn_bias_8x4_hor_layer1[4] = {
248   -0.92861f,
249   -1.45151f,
250   -1.33588f,
251   -4.33853f,
252 };
253 
254 static const NN_CONFIG av1_tx_type_nnconfig_8x4_hor = {
255   8,  // num_inputs
256   4,  // num_outputs
257   1,  // num_hidden_layers
258   {
259       16,
260   },  // num_hidden_nodes
261   { av1_tx_type_nn_weights_8x4_hor_layer0,
262     av1_tx_type_nn_weights_8x4_hor_layer1 },
263   { av1_tx_type_nn_bias_8x4_hor_layer0, av1_tx_type_nn_bias_8x4_hor_layer1 }
264 };
265 
266 static const float av1_tx_type_nn_weights_8x4_ver_layer0[32] = {
267   -1.10946f, 1.86574f,  -1.59343f, 0.27018f, -1.70676f, -0.73982f, -0.19021f,
268   -1.94208f, -2.29759f, -1.44402f, 0.28700f, -1.18340f, -1.50158f, -0.44175f,
269   -1.36831f, 1.00374f,  2.59312f,  0.50291f, -0.71042f, -0.12238f, -0.15901f,
270   -0.22807f, -0.67376f, -0.30215f, 0.54407f, -0.45538f, 1.18262f,  2.28687f,
271   1.66212f,  1.70826f,  1.55182f,  0.12230f,
272 };
273 
274 static const float av1_tx_type_nn_bias_8x4_ver_layer0[8] = {
275   0.10943f,  2.09789f, 2.16578f, 0.15766f,
276   -0.42461f, 0.00000f, 1.22090f, -1.28717f,
277 };
278 
279 static const float av1_tx_type_nn_weights_8x4_ver_layer1[32] = {
280   1.20426f,  -1.23237f, 2.41053f, -0.72488f, 1.25249f,  0.18018f,  -0.09586f,
281   2.17901f,  0.15364f,  1.21535f, -0.38263f, -0.74309f, 0.50551f,  -0.54208f,
282   0.59139f,  1.16095f,  0.55919f, -0.60183f, 1.18949f,  1.60787f,  0.54002f,
283   -0.10712f, -0.16153f, 0.16207f, -0.32338f, 2.68712f,  -2.83483f, -0.27086f,
284   -1.15005f, -0.39311f, 1.51236f, -1.68973f,
285 };
286 
287 static const float av1_tx_type_nn_bias_8x4_ver_layer1[4] = {
288   1.81013f,
289   1.10517f,
290   2.90059f,
291   0.95391f,
292 };
293 
294 static const NN_CONFIG av1_tx_type_nnconfig_8x4_ver = {
295   4,  // num_inputs
296   4,  // num_outputs
297   1,  // num_hidden_layers
298   {
299       8,
300   },  // num_hidden_nodes
301   { av1_tx_type_nn_weights_8x4_ver_layer0,
302     av1_tx_type_nn_weights_8x4_ver_layer1 },
303   { av1_tx_type_nn_bias_8x4_ver_layer0, av1_tx_type_nn_bias_8x4_ver_layer1 }
304 };
305 /******************************************************************************/
306 
307 // Tx type model for 8x8 block.
308 static const float av1_tx_type_nn_weights_8x8_hor_layer0[128] = {
309   -0.85529f, 0.37619f,  0.12754f,  0.08622f,  0.45278f,  0.54929f,  1.60651f,
310   -0.62654f, -0.54929f, -0.10131f, -0.17569f, 0.13948f,  0.31695f,  -0.05616f,
311   0.20483f,  -0.36448f, 2.27203f,  -0.33087f, 0.47679f,  0.86888f,  0.39370f,
312   0.46239f,  0.01113f,  1.50327f,  -1.48226f, -1.69621f, -1.49777f, -1.38885f,
313   -1.37753f, -1.22681f, -1.70576f, 0.51329f,  -1.65662f, 1.74197f,  -0.13579f,
314   -0.13133f, -0.58396f, -0.55510f, -1.10709f, -2.34975f, 0.22445f,  -0.56491f,
315   -0.83432f, 0.13492f,  1.32147f,  2.85285f,  0.13819f,  0.03792f,  -1.30792f,
316   0.04155f,  -0.70644f, -0.43430f, -0.16212f, -0.86945f, -1.16976f, 1.68339f,
317   0.29540f,  0.01137f,  -0.25335f, -0.16856f, 0.12028f,  0.05207f,  0.39357f,
318   -0.01545f, -0.21980f, -1.94091f, -1.01315f, -0.68270f, -0.40590f, -0.67111f,
319   2.08283f,  0.19291f,  -4.81426f, -0.65044f, -0.24598f, 0.06371f,  -0.10272f,
320   -0.14502f, -0.06821f, 0.45202f,  0.21091f,  -0.80864f, 0.39255f,  1.79189f,
321   1.80453f,  1.10484f,  1.17608f,  0.96901f,  -0.35871f, -0.94311f, 0.63147f,
322   2.95157f,  0.45917f,  -0.42849f, -0.55643f, -0.06097f, 3.49299f,  -0.50972f,
323   0.11075f,  -0.08405f, -0.09274f, -0.22694f, -0.42426f, 0.48632f,  -1.61074f,
324   1.82998f,  0.37623f,  -1.20330f, -0.01142f, -1.33307f, -0.27492f, -2.23621f,
325   1.38846f,  1.42085f,  1.42568f,  1.36152f,  1.46910f,  1.27473f,  1.34752f,
326   0.12753f,  -1.08197f, -1.08280f, -0.79489f, -1.12338f, -1.06795f, -0.87857f,
327   -0.99892f, 1.09823f,
328 };
329 
330 static const float av1_tx_type_nn_bias_8x8_hor_layer0[16] = {
331   -0.49232f, -0.29685f, -1.44020f, 1.10940f,  1.16452f, -0.34862f,
332   -0.38761f, -0.36243f, 0.21776f,  0.28234f,  2.34269f, -0.04104f,
333   -0.26319f, 2.65579f,  -1.30137f, -0.01487f,
334 };
335 
336 static const float av1_tx_type_nn_weights_8x8_hor_layer1[64] = {
337   -0.38058f, -0.41295f, -1.26884f, -0.75560f, -1.57450f, 0.56072f,  -1.42322f,
338   -0.29106f, 0.07228f,  0.04391f,  1.61388f,  -0.03055f, 0.81637f,  2.06045f,
339   0.27119f,  -0.48328f, -0.45528f, -0.60534f, -1.61209f, -0.78157f, -1.65034f,
340   0.60958f,  -1.30523f, 0.25143f,  0.11398f,  0.37860f,  1.54829f,  0.02309f,
341   0.67288f,  2.11447f,  0.44845f,  -0.70406f, -0.67897f, -0.38759f, -1.30383f,
342   -1.22646f, -1.54571f, 0.60552f,  -1.52565f, 0.11469f,  0.17344f,  0.08622f,
343   1.57906f,  -0.00909f, 0.81634f,  2.04909f,  1.26466f,  -1.45741f, -0.75229f,
344   0.06200f,  -1.05835f, -0.66257f, -1.73766f, 0.99923f,  -1.87082f, 0.14580f,
345   0.49525f,  0.46839f,  1.32203f,  0.33923f,  0.97001f,  2.38584f,  1.58811f,
346   0.06161f,
347 };
348 
349 static const float av1_tx_type_nn_bias_8x8_hor_layer1[4] = {
350   1.70385f,
351   1.82373f,
352   1.78496f,
353   1.80826f,
354 };
355 
356 static const NN_CONFIG av1_tx_type_nnconfig_8x8_hor = {
357   8,  // num_inputs
358   4,  // num_outputs
359   1,  // num_hidden_layers
360   {
361       16,
362   },  // num_hidden_nodes
363   { av1_tx_type_nn_weights_8x8_hor_layer0,
364     av1_tx_type_nn_weights_8x8_hor_layer1 },
365   { av1_tx_type_nn_bias_8x8_hor_layer0, av1_tx_type_nn_bias_8x8_hor_layer1 }
366 };
367 
368 static const float av1_tx_type_nn_weights_8x8_ver_layer0[128] = {
369   -0.67016f, -1.72366f, -1.86576f, -1.50962f, -1.70419f, -1.73964f, -1.84615f,
370   2.09681f,  -0.05081f, -0.61030f, 2.02541f,  0.60222f,  0.99936f,  2.02114f,
371   -0.53893f, -0.23757f, 0.73566f,  0.25443f,  0.00132f,  -0.74036f, -0.75351f,
372   -0.76964f, -1.71007f, -0.15770f, 1.60982f,  2.17638f,  0.90681f,  0.64973f,
373   0.85914f,  0.58786f,  -1.46228f, 0.05187f,  1.18804f,  0.30850f,  0.29512f,
374   0.40526f,  0.37635f,  0.32311f,  0.37471f,  1.12346f,  3.41856f,  -0.36653f,
375   0.42537f,  -0.19240f, 0.00155f,  0.30826f,  -0.02116f, -0.53435f, -0.34829f,
376   -0.52466f, -0.11521f, -0.29163f, -2.05689f, -2.87372f, -0.62626f, 0.09585f,
377   -0.75257f, 0.10057f,  1.43474f,  0.89450f,  0.75900f,  1.11147f,  1.00558f,
378   0.25886f,  2.22095f,  -0.17926f, 0.57161f,  0.39546f,  0.47846f,  0.40452f,
379   0.54298f,  0.45814f,  -3.62788f, -3.02374f, 0.03716f,  -0.13937f, -0.09415f,
380   -0.12463f, 0.05682f,  0.03672f,  1.20746f,  1.25003f,  1.27071f,  1.31883f,
381   1.27473f,  1.34943f,  1.23158f,  0.09039f,  0.19388f,  0.63420f,  2.79612f,
382   0.93803f,  -0.11323f, -0.02027f, 0.41286f,  -0.05979f, -3.80705f, -0.52451f,
383   -0.77098f, -0.68132f, -0.65559f, -0.60975f, -1.26165f, 0.25582f,  0.05346f,
384   0.61403f,  0.32140f,  -2.39831f, -1.42355f, 1.30541f,  1.02361f,  0.12930f,
385   -1.61469f, -0.77036f, -0.59144f, 1.27769f,  1.52068f,  0.82137f,  1.83159f,
386   -0.66626f, -0.69806f, -1.00564f, -0.85995f, -0.90889f, -0.84412f, -0.85712f,
387   -1.29848f, 0.39308f,
388 };
389 
390 static const float av1_tx_type_nn_bias_8x8_ver_layer0[16] = {
391   -0.14868f, -0.48343f, 3.94416f,  -0.78037f, -1.33789f, -0.60611f,
392   0.51793f,  0.44030f,  -0.71563f, 0.22561f,  -1.19083f, -0.46149f,
393   0.83015f,  0.06024f,  1.17180f,  0.65122f,
394 };
395 
396 static const float av1_tx_type_nn_weights_8x8_ver_layer1[64] = {
397   -1.42711f, -0.21683f, 2.12061f,  0.20489f,  -0.50228f, -0.24770f, 0.23391f,
398   1.03470f,  -0.44847f, -0.63225f, -0.21583f, -0.06467f, -0.21892f, -0.07786f,
399   1.43322f,  0.00280f,  -1.53057f, -0.18912f, 1.95333f,  0.31151f,  -2.07601f,
400   0.06776f,  0.25529f,  0.94800f,  -1.11453f, -0.20594f, -0.13281f, 0.01485f,
401   0.17650f,  -0.07955f, 1.43734f,  -0.23193f, -2.06463f, -0.21238f, 2.13707f,
402   0.30351f,  0.27594f,  -0.36245f, 0.19539f,  0.91045f,  -0.24068f, -0.37616f,
403   0.88792f,  0.02947f,  -0.16903f, -0.04932f, 1.51293f,  -0.95967f, -1.62903f,
404   0.05326f,  2.30703f,  0.64445f,  -1.09464f, -0.16623f, 1.00240f,  0.07548f,
405   -0.50406f, 0.63854f,  1.02340f,  0.49833f,  0.13671f,  0.26722f,  2.09516f,
406   -0.41305f,
407 };
408 
409 static const float av1_tx_type_nn_bias_8x8_ver_layer1[4] = {
410   2.14067f,
411   2.76699f,
412   2.04233f,
413   1.34803f,
414 };
415 
416 static const NN_CONFIG av1_tx_type_nnconfig_8x8_ver = {
417   8,  // num_inputs
418   4,  // num_outputs
419   1,  // num_hidden_layers
420   {
421       16,
422   },  // num_hidden_nodes
423   { av1_tx_type_nn_weights_8x8_ver_layer0,
424     av1_tx_type_nn_weights_8x8_ver_layer1 },
425   { av1_tx_type_nn_bias_8x8_ver_layer0, av1_tx_type_nn_bias_8x8_ver_layer1 }
426 };
427 /******************************************************************************/
428 
429 // Tx type model for 8x16 block.
430 static const float av1_tx_type_nn_weights_8x16_hor_layer0[128] = {
431   -1.61872f, -1.58520f, -1.41236f, -1.53255f, -1.59794f, -1.25769f, -1.90043f,
432   0.73431f,  1.10135f,  0.47054f,  0.43230f,  -0.43009f, -0.09135f, -0.07289f,
433   -0.38785f, 1.23775f,  -0.35312f, 0.73789f,  0.88864f,  0.75957f,  0.62579f,
434   0.46974f,  0.21851f,  1.63821f,  -2.27289f, -0.68522f, -0.69814f, -0.84368f,
435   -0.91320f, -0.63055f, -1.03296f, 0.55778f,  -0.00071f, 1.27539f,  1.60068f,
436   1.40975f,  0.97372f,  0.92843f,  1.90853f,  0.12626f,  1.71953f,  1.41978f,
437   -0.12234f, -1.27058f, 0.76207f,  0.02495f,  -0.67038f, -0.05255f, 1.72923f,
438   1.47630f,  1.47058f,  1.47614f,  1.49354f,  1.66131f,  1.50801f,  0.17145f,
439   -2.30947f, -2.10850f, -1.25636f, -0.24900f, 0.72602f,  1.26572f,  0.97865f,
440   -0.65466f, 1.31129f,  0.26916f,  0.12139f,  -0.12761f, -0.39143f, -0.28134f,
441   0.06584f,  2.24418f,  0.22516f,  0.05011f,  -0.01671f, -0.29476f, -0.40326f,
442   0.21138f,  -0.11573f, -0.31154f, -0.36828f, 0.03694f,  -0.07172f, -0.63419f,
443   -3.14351f, -1.23125f, 0.65311f,  -0.11406f, 1.97287f,  -0.10422f, 0.83896f,
444   0.85033f,  0.49724f,  0.80482f,  0.51454f,  1.06447f,  0.76693f,  0.72599f,
445   -0.78573f, -0.53950f, 0.40894f,  0.00086f,  0.10784f,  -0.70498f, 1.16395f,
446   1.14597f,  1.13496f,  1.12177f,  1.02100f,  -1.37574f, -2.97144f, 0.33899f,
447   0.42013f,  0.86327f,  2.31983f,  2.04008f,  0.95503f,  0.15081f,  0.11530f,
448   -0.02574f, -4.77119f, 0.13257f,  -0.01704f, -0.23087f, -0.00825f, 0.07029f,
449   -0.28136f, 0.42556f,
450 };
451 
452 static const float av1_tx_type_nn_bias_8x16_hor_layer0[16] = {
453   0.93617f,  -0.24000f, -1.26821f, 0.78780f,  0.13690f, -0.21948f,
454   -1.45162f, 0.44584f,  -1.92582f, -0.23169f, 0.56004f, -1.19937f,
455   1.81560f,  -1.02643f, -0.81690f, 0.08302f,
456 };
457 
458 static const float av1_tx_type_nn_weights_8x16_hor_layer1[64] = {
459   0.06696f,  -0.11538f, -1.42029f, 0.32965f,  0.81046f,  0.01146f,  1.20945f,
460   -0.16899f, 0.53224f,  -0.40232f, 0.01786f,  -0.73242f, 1.29750f,  1.95185f,
461   0.70143f,  1.43287f,  0.76220f,  0.79937f,  -1.79011f, -1.15178f, 0.42526f,
462   -0.67519f, 0.77267f,  -0.30697f, 2.46004f,  -0.49828f, 0.02875f,  1.09972f,
463   1.47662f,  0.61719f,  0.61417f,  -0.12363f, 2.53048f,  0.00418f,  -1.38964f,
464   0.88117f,  0.39239f,  -0.19347f, -2.58600f, -0.33715f, 1.09323f,  -0.32127f,
465   0.02456f,  -0.19125f, 1.12728f,  0.66502f,  0.34296f,  1.14897f,  0.29967f,
466   1.19209f,  0.22108f,  -0.11975f, 1.49776f,  -1.34624f, -2.58478f, -1.34632f,
467   1.53207f,  0.45634f,  -1.48476f, 0.17489f,  0.71790f,  -2.12086f, -1.21778f,
468   -1.31243f,
469 };
470 
471 static const float av1_tx_type_nn_bias_8x16_hor_layer1[4] = {
472   0.83359f,
473   1.06875f,
474   1.77645f,
475   1.49570f,
476 };
477 
478 static const NN_CONFIG av1_tx_type_nnconfig_8x16_hor = {
479   8,  // num_inputs
480   4,  // num_outputs
481   1,  // num_hidden_layers
482   {
483       16,
484   },  // num_hidden_nodes
485   { av1_tx_type_nn_weights_8x16_hor_layer0,
486     av1_tx_type_nn_weights_8x16_hor_layer1 },
487   { av1_tx_type_nn_bias_8x16_hor_layer0, av1_tx_type_nn_bias_8x16_hor_layer1 }
488 };
489 
490 static const float av1_tx_type_nn_weights_8x16_ver_layer0[128] = {
491   0.32858f,  -1.28887f, 0.25632f,  -0.05262f, 2.69203f,  -0.07004f, 1.37337f,
492   -0.05725f, -0.05659f, 0.05592f,  0.01039f,  -0.29343f, 1.58628f,  -0.30003f,
493   -3.43118f, 0.00272f,  1.70928f,  -0.76348f, 0.05889f,  -0.03263f, -0.07724f,
494   0.03523f,  -0.19890f, 1.18005f,  -0.03605f, -0.20530f, -4.00733f, 0.10210f,
495   -0.05368f, -0.17650f, -0.15317f, 0.06499f,  0.56705f,  1.04341f,  0.62890f,
496   0.73451f,  -0.22199f, 0.86659f,  0.78443f,  -0.61664f, -0.50606f, 0.30247f,
497   0.14455f,  0.39276f,  0.49203f,  0.65019f,  0.12269f,  1.64080f,  1.68289f,
498   1.42694f,  1.60825f,  1.58501f,  1.47252f,  1.62589f,  1.48218f,  0.17726f,
499   -0.04884f, 0.35376f,  -0.04796f, 0.32589f,  0.35087f,  0.35258f,  -0.46103f,
500   -0.31176f, -0.05203f, 0.07247f,  -0.26756f, 0.22019f,  0.03412f,  0.33773f,
501   0.29811f,  -0.11140f, 0.12831f,  -0.44673f, -0.09858f, 0.07889f,  0.15137f,
502   0.00347f,  -0.23394f, 0.08886f,  -0.31201f, -0.79912f, -0.51092f, 0.14123f,
503   -1.09599f, -4.26020f, -0.68675f, -0.02842f, -1.54538f, -1.28977f, -1.30558f,
504   -1.21074f, -1.37142f, -1.14743f, -1.85397f, 0.82985f,  -0.30681f, 0.04494f,
505   -0.24023f, -4.18053f, -0.16096f, -0.55492f, -0.27882f, 0.05829f,  -0.41224f,
506   -2.52088f, -0.56162f, -1.04547f, -1.70685f, -0.28842f, -1.43673f, -0.01468f,
507   -3.20585f, -0.69120f, -0.43931f, -0.46270f, -0.65885f, -0.55884f, -0.75138f,
508   0.36381f,  -5.70858f, -0.14548f, -0.15745f, -0.11812f, -0.07605f, -0.07693f,
509   -0.12236f, 0.16075f,
510 };
511 
512 static const float av1_tx_type_nn_bias_8x16_ver_layer0[16] = {
513   -0.35385f, 0.30491f,  -0.90011f, 0.42941f,  1.20928f, -0.88331f,
514   -1.48818f, -0.34785f, -0.32668f, -0.22695f, 0.89188f, 0.65521f,
515   0.57598f,  0.99819f,  0.75175f,  0.17044f,
516 };
517 
518 static const float av1_tx_type_nn_weights_8x16_ver_layer1[64] = {
519   -0.62913f, -0.34304f, 0.42963f,  -0.17440f, -1.44092f, 0.69142f,  -1.36067f,
520   0.52211f,  0.44658f,  -0.26501f, -0.41657f, 0.34428f,  -0.34390f, -0.58567f,
521   -0.84097f, -1.96311f, -0.37215f, -0.22250f, -1.23811f, -0.07247f, -0.81731f,
522   0.58755f,  -1.30559f, 0.39551f,  0.41743f,  -0.09940f, -0.33230f, 0.14458f,
523   -0.25139f, -0.54517f, 0.13469f,  -0.38157f, -0.39109f, -0.18205f, 0.06834f,
524   -0.08395f, -0.92187f, 0.56724f,  1.44381f,  0.53226f,  -0.22356f, 0.12285f,
525   -0.29418f, -1.86749f, -0.22372f, -0.60204f, -0.87746f, -1.16936f, 0.56884f,
526   0.62641f,  -0.11823f, 1.00395f,  1.64794f,  -0.64535f, 2.29322f,  -0.23397f,
527   0.17251f,  -0.35927f, 0.65631f,  -0.26812f, 0.80128f,  0.85748f,  0.47404f,
528   2.20547f,
529 };
530 
531 static const float av1_tx_type_nn_bias_8x16_ver_layer1[4] = {
532   -0.44080f,
533   -1.67455f,
534   -1.46332f,
535   -6.13206f,
536 };
537 
538 static const NN_CONFIG av1_tx_type_nnconfig_8x16_ver = {
539   8,  // num_inputs
540   4,  // num_outputs
541   1,  // num_hidden_layers
542   {
543       16,
544   },  // num_hidden_nodes
545   { av1_tx_type_nn_weights_8x16_ver_layer0,
546     av1_tx_type_nn_weights_8x16_ver_layer1 },
547   { av1_tx_type_nn_bias_8x16_ver_layer0, av1_tx_type_nn_bias_8x16_ver_layer1 }
548 };
549 /******************************************************************************/
550 
551 // Tx type model for 16x8 block.
552 static const float av1_tx_type_nn_weights_16x8_hor_layer0[128] = {
553   0.02600f,  0.09786f,  -1.05107f, -0.35594f, -0.15658f, 2.99828f,  -0.07106f,
554   -0.10101f, -0.14412f, -0.83790f, -0.19434f, 2.28368f,  1.91727f,  -0.00956f,
555   -0.90640f, 0.09174f,  1.58895f,  1.38945f,  1.49431f,  1.51381f,  1.44803f,
556   1.53544f,  1.44694f,  0.17753f,  1.69735f,  -0.78652f, 0.31092f,  -0.23736f,
557   0.02231f,  -0.09884f, -0.00493f, 1.21189f,  -1.94382f, -0.34629f, -0.58309f,
558   0.72291f,  -0.30056f, 0.90660f,  -0.57495f, 3.07809f,  0.73644f,  1.43050f,
559   1.34356f,  -0.66554f, 0.50102f,  -0.64305f, 0.42044f,  -1.66165f, -0.05733f,
560   -2.51402f, -1.01067f, -0.33390f, -0.32986f, -0.92431f, 1.86281f,  -0.07290f,
561   -0.26290f, -0.68941f, 1.81156f,  0.66125f,  -2.09974f, 0.17032f,  -0.67461f,
562   -0.00876f, -1.50154f, 1.17153f,  1.00377f,  0.33022f,  0.74689f,  0.42878f,
563   0.61725f,  -0.83967f, 0.09467f,  -0.39892f, 0.33863f,  0.10656f,  -0.09249f,
564   -0.39757f, 0.48481f,  -0.35162f, 1.47014f,  1.67827f,  -1.84051f, 0.16291f,
565   -0.50135f, -2.29911f, -0.42217f, -0.13358f, 1.45899f,  -0.14743f, -0.02763f,
566   -0.28003f, -0.01364f, 0.21014f,  -0.29026f, -0.20198f, 1.38782f,  0.56731f,
567   0.27489f,  0.43227f,  0.41326f,  0.42721f,  0.87720f,  -1.90067f, -5.04951f,
568   -0.17638f, -0.58119f, -0.08954f, -0.13692f, -0.12325f, -0.38548f, 0.66462f,
569   -1.42377f, -1.21917f, -1.38193f, -1.36539f, -1.39378f, -1.19629f, -1.59812f,
570   0.28689f,  0.32394f,  0.52128f,  0.01013f,  -0.28948f, -0.26293f, -0.44331f,
571   -0.36570f, -0.50757f,
572 };
573 
574 static const float av1_tx_type_nn_bias_16x8_hor_layer0[16] = {
575   -0.08696f, -0.22110f, -1.43604f, -1.00451f, -1.51029f, 0.63736f,
576   0.45260f,  0.16229f,  4.01393f,  -0.21748f, 0.36411f,  -0.08764f,
577   -0.12329f, 0.08986f,  1.08117f,  -0.00220f,
578 };
579 
580 static const float av1_tx_type_nn_weights_16x8_hor_layer1[64] = {
581   0.55824f,  -0.14648f, 0.81947f,  -0.45867f, -1.86078f, -0.17291f, 0.34849f,
582   0.15153f,  1.75625f,  -0.25760f, 0.72015f,  -0.30059f, -0.57975f, 0.07609f,
583   -0.02036f, 0.07912f,  0.57080f,  -0.13792f, 0.74184f,  -0.87669f, -1.87572f,
584   -0.27270f, 0.39751f,  0.19652f,  2.03514f,  -0.32944f, 0.76251f,  0.04399f,
585   -0.63175f, 0.37420f,  0.08309f,  0.04466f,  0.60255f,  -0.12820f, 1.66065f,
586   -0.59496f, -1.94794f, -0.14847f, 0.39424f,  0.16273f,  1.80587f,  0.41197f,
587   0.74691f,  -0.21217f, -0.63173f, 0.09510f,  -0.35538f, -0.04407f, 0.92847f,
588   0.20141f,  1.68680f,  -0.56528f, -2.26960f, 0.12978f,  0.73748f,  0.42438f,
589   2.00673f,  -0.40189f, 0.95423f,  0.23234f,  -0.80953f, 0.65814f,  0.49444f,
590   -0.23347f,
591 };
592 
593 static const float av1_tx_type_nn_bias_16x8_hor_layer1[4] = {
594   3.57175f,
595   2.42612f,
596   3.31259f,
597   2.08287f,
598 };
599 
600 static const NN_CONFIG av1_tx_type_nnconfig_16x8_hor = {
601   8,  // num_inputs
602   4,  // num_outputs
603   1,  // num_hidden_layers
604   {
605       16,
606   },  // num_hidden_nodes
607   { av1_tx_type_nn_weights_16x8_hor_layer0,
608     av1_tx_type_nn_weights_16x8_hor_layer1 },
609   { av1_tx_type_nn_bias_16x8_hor_layer0, av1_tx_type_nn_bias_16x8_hor_layer1 }
610 };
611 
612 static const float av1_tx_type_nn_weights_16x8_ver_layer0[128] = {
613   0.46633f,  1.55328f,  -0.11230f, -0.29571f, 0.18814f,  -1.52430f, -2.34660f,
614   0.08644f,  -1.97718f, -1.29140f, -1.12262f, -1.12985f, -1.25911f, -0.96506f,
615   -1.57129f, 0.96021f,  1.34192f,  1.28623f,  1.21655f,  1.28758f,  1.25482f,
616   1.30195f,  1.19190f,  0.09310f,  0.52072f,  0.91487f,  1.24100f,  1.61236f,
617   1.72166f,  2.20750f,  1.62379f,  -1.43936f, 0.50665f,  0.40213f,  0.66502f,
618   -1.66699f, -3.07618f, 0.05877f,  0.60987f,  -0.09995f, -0.10916f, 0.48049f,
619   0.23812f,  0.39847f,  -0.21682f, -0.63455f, 0.33453f,  -0.67939f, -4.14355f,
620   -0.62756f, -0.22502f, -0.17215f, 0.01062f,  0.27049f,  -0.10748f, 0.30945f,
621   2.72445f,  -0.89181f, -0.06800f, 0.20595f,  -0.73385f, 0.04071f,  -1.30294f,
622   1.83507f,  0.92570f,  0.69609f,  0.76285f,  0.69892f,  0.76409f,  0.63104f,
623   0.73397f,  1.09575f,  -0.20129f, -0.24022f, -0.24599f, -0.59107f, -0.88755f,
624   -0.68987f, -0.75495f, -1.31002f, -1.30237f, -0.94093f, -2.15678f, -1.49303f,
625   -1.17498f, -1.39952f, -0.91270f, -0.05587f, 1.02381f,  -0.75580f, -0.65263f,
626   -0.78996f, -0.71075f, -0.71018f, -0.70350f, -1.26196f, 2.34208f,  -0.53611f,
627   0.19752f,  -0.16842f, -0.24828f, 0.21857f,  0.08222f,  -2.55894f, -1.75702f,
628   0.11394f,  1.03083f,  0.79972f,  -1.54112f, -1.82341f, -0.57597f, -0.02077f,
629   -0.39616f, -0.00995f, -0.12809f, 0.01188f,  -0.25117f, 0.09202f,  0.09336f,
630   -0.05614f, -0.30039f, 0.25834f,  1.19944f,  1.22533f,  0.92330f,  0.75967f,
631   -0.81945f, -0.41647f,
632 };
633 
634 static const float av1_tx_type_nn_bias_16x8_ver_layer0[16] = {
635   0.17841f,  0.67315f,  -1.24450f, 3.13859f,  0.16203f, -0.14992f,
636   0.29553f,  -1.15567f, -0.71421f, 1.15977f,  1.14585f, 3.02460f,
637   -0.04510f, 0.48000f,  -0.09354f, -0.42422f,
638 };
639 
640 static const float av1_tx_type_nn_weights_16x8_ver_layer1[64] = {
641   0.29912f,  -0.10009f, -1.11478f, 1.76812f,  -0.27719f, 0.52148f,  0.17622f,
642   -1.17116f, 0.73397f,  -0.69279f, -0.11080f, 1.53751f,  -1.42003f, 0.14731f,
643   0.13592f,  -0.04883f, 0.39186f,  -0.13655f, -0.43994f, 1.82759f,  -0.25601f,
644   -0.15018f, 0.51920f,  -1.56070f, 0.31683f,  -0.79367f, -0.02904f, 1.28637f,
645   -1.15203f, 0.26627f,  0.42828f,  -0.24258f, 0.38647f,  -0.83352f, 0.32553f,
646   2.09522f,  -0.26822f, -0.42191f, 0.32825f,  -1.30748f, 1.50551f,  -0.52669f,
647   0.20045f,  1.69318f,  -1.47839f, 0.30802f,  -0.07290f, -0.28106f, 0.68192f,
648   -0.15522f, 1.12579f,  2.21921f,  0.09720f,  -0.50265f, 0.83165f,  -1.31721f,
649   0.72422f,  -1.24952f, 0.61653f,  2.04117f,  -1.42406f, 0.52568f,  -0.46180f,
650   -0.00873f,
651 };
652 
653 static const float av1_tx_type_nn_bias_16x8_ver_layer1[4] = {
654   3.34981f,
655   3.74710f,
656   1.38339f,
657   0.45176f,
658 };
659 
660 static const NN_CONFIG av1_tx_type_nnconfig_16x8_ver = {
661   8,  // num_inputs
662   4,  // num_outputs
663   1,  // num_hidden_layers
664   {
665       16,
666   },  // num_hidden_nodes
667   { av1_tx_type_nn_weights_16x8_ver_layer0,
668     av1_tx_type_nn_weights_16x8_ver_layer1 },
669   { av1_tx_type_nn_bias_16x8_ver_layer0, av1_tx_type_nn_bias_16x8_ver_layer1 }
670 };
671 /******************************************************************************/
672 
673 // Tx type model for 16x16 block.
674 static const float av1_tx_type_nn_weights_16x16_layer0[128] = {
675   1.26592f,  1.36313f,  1.30956f,  1.29926f,  1.48816f,  1.68851f,  1.32000f,
676   0.13321f,  -0.22477f, -0.88906f, -0.19622f, 1.69605f,  1.22180f,  -1.57771f,
677   -1.15765f, 0.05710f,  -1.13355f, -0.85486f, -0.99971f, -0.91571f, -1.06031f,
678   -0.77952f, -1.15723f, 1.17809f,  1.35602f,  -0.05243f, -0.37596f, 0.26108f,
679   0.17611f,  -0.10323f, 0.77279f,  -0.48911f, -0.79308f, 0.55112f,  0.43918f,
680   0.27872f,  0.28714f,  0.45830f,  1.05689f,  0.03705f,  -2.49975f, -0.01940f,
681   0.05709f,  0.07942f,  -0.13290f, -0.10359f, 0.00143f,  0.37303f,  0.96470f,
682   0.53293f,  1.14459f,  0.89185f,  0.43378f,  0.47764f,  0.90924f,  0.15279f,
683   -0.15361f, 0.02949f,  0.42240f,  0.68143f,  0.89588f,  0.73754f,  0.10974f,
684   1.57755f,  -0.39870f, -0.32914f, 0.35638f,  0.34991f,  -0.00003f, -0.23373f,
685   0.29630f,  -0.76699f, -0.01356f, 0.04234f,  0.84253f,  1.92078f,  0.93160f,
686   0.71993f,  0.71604f,  0.76455f,  -1.59782f, 0.32332f,  1.11628f,  0.33062f,
687   -0.03728f, -0.05710f, 0.80447f,  -0.14719f, 1.34658f,  -0.05718f, 0.64015f,
688   0.21926f,  0.41653f,  0.12720f,  0.54092f,  1.39411f,  1.81819f,  -0.24513f,
689   0.00955f,  0.38011f,  -0.57787f, -0.41759f, 0.68834f,  -0.31783f, -0.40607f,
690   -0.10107f, -0.79374f, 0.75599f,  -0.16282f, -0.14490f, -0.20783f, -0.55019f,
691   -0.13793f, -0.22293f, 0.18305f,  0.12445f,  0.56830f,  0.24567f,  0.09278f,
692   0.70803f,  0.35803f,  -1.52676f, -0.89624f, 0.77665f,  0.19877f,  0.77175f,
693   0.50355f,  0.08592f,
694 };
695 
696 static const float av1_tx_type_nn_bias_16x16_layer0[16] = {
697   -1.31834f, 0.14346f,  -0.10062f, 0.84489f,  0.95617f,  -0.06720f,
698   -0.68502f, -0.91442f, -0.31932f, 0.25276f,  -0.15138f, -1.57661f,
699   -0.14062f, -0.42120f, 0.94573f,  -0.09287f,
700 };
701 
702 static const float av1_tx_type_nn_weights_16x16_layer1[64] = {
703   -1.80333f, -1.06353f, 0.55139f,  0.74644f,  0.13747f, -0.93018f, -0.10286f,
704   0.67133f,  0.24460f,  1.44583f,  0.02173f,  0.26037f, -0.73687f, 0.19566f,
705   0.61846f,  -0.58601f, -1.03196f, -0.74415f, 0.30041f, -0.41967f, 1.08740f,
706   0.96224f,  -0.59139f, 0.03813f,  0.05403f,  1.33427f, -0.54375f, -1.92181f,
707   0.54704f,  0.13608f,  0.22151f,  -0.38076f, 1.18390f, -0.77508f, -1.84283f,
708   1.00894f,  0.62318f,  -0.15296f, 1.27600f,  0.22822f, 0.12751f,  0.93910f,
709   -0.28502f, 0.53912f,  -0.96889f, 0.10182f,  0.81508f, -0.43028f, 2.67386f,
710   0.52204f,  0.49820f,  -0.41711f, 1.05038f,  1.12192f, 0.74349f,  -0.75417f,
711   -0.03718f, -0.35769f, 0.89651f,  0.63236f,  0.54215f, -0.07894f, 0.48274f,
712   1.08829f,
713 };
714 
715 static const float av1_tx_type_nn_bias_16x16_layer1[4] = {
716   0.81986f,
717   1.26865f,
718   0.11118f,
719   2.48404f,
720 };
721 
722 static const NN_CONFIG av1_tx_type_nnconfig_16x16 = {
723   8,  // num_inputs
724   4,  // num_outputs
725   1,  // num_hidden_layers
726   {
727       16,
728   },  // num_hidden_nodes
729   {
730       av1_tx_type_nn_weights_16x16_layer0,
731       av1_tx_type_nn_weights_16x16_layer1,
732   },
733   {
734       av1_tx_type_nn_bias_16x16_layer0,
735       av1_tx_type_nn_bias_16x16_layer1,
736   },
737 };
738 /******************************************************************************/
739 
740 // Tx type model for 4x16 block.
741 static const float av1_tx_type_nn_weights_4x16_hor_layer0[32] = {
742   0.36539f,  0.25667f,  0.01491f,  -0.21959f, 2.55105f,  0.17615f, 1.79884f,
743   1.65936f,  -0.44363f, 0.00706f,  -0.68004f, -0.64360f, 1.75760f, 1.91906f,
744   1.47682f,  0.09650f,  -3.59244f, -0.35004f, 0.93295f,  0.25806f, -0.08154f,
745   0.79332f,  0.79535f,  1.09467f,  1.57855f,  -0.51359f, 0.90553f, -1.67744f,
746   -1.74563f, -0.88830f, -1.77603f, 2.15935f,
747 };
748 
749 static const float av1_tx_type_nn_bias_4x16_hor_layer0[8] = {
750   -0.36435f, -2.22731f, -0.00837f, -1.34546f,
751   0.62806f,  -0.20675f, 4.91940f,  -0.56079f,
752 };
753 
754 static const float av1_tx_type_nn_weights_4x16_hor_layer1[32] = {
755   -0.57191f, -1.46418f, 0.67331f,  -1.15027f, 0.46288f,  0.81251f,  2.51768f,
756   -0.27147f, 0.00761f,  -2.15214f, -0.69650f, -0.50808f, 0.92832f,  0.45668f,
757   2.34201f,  -0.52941f, 0.51008f,  -1.55496f, -0.01371f, -0.12356f, 0.66624f,
758   0.88043f,  2.64862f,  -1.28024f, -0.17578f, -1.80034f, -0.32217f, 0.89519f,
759   1.28413f,  -0.30326f, 2.45329f,  -0.83335f,
760 };
761 
762 static const float av1_tx_type_nn_bias_4x16_hor_layer1[4] = {
763   2.33198f,
764   3.36245f,
765   1.62603f,
766   2.91056f,
767 };
768 
769 static const NN_CONFIG av1_tx_type_nnconfig_4x16_hor = {
770   4,  // num_inputs
771   4,  // num_outputs
772   1,  // num_hidden_layers
773   {
774       8,
775   },  // num_hidden_nodes
776   { av1_tx_type_nn_weights_4x16_hor_layer0,
777     av1_tx_type_nn_weights_4x16_hor_layer1 },
778   { av1_tx_type_nn_bias_4x16_hor_layer0, av1_tx_type_nn_bias_4x16_hor_layer1 }
779 };
780 
781 static const float av1_tx_type_nn_weights_4x16_ver_layer0[128] = {
782   1.61392f,  1.41239f,  1.47646f,  1.47325f,  1.46110f,  1.49208f,  1.49414f,
783   0.12835f,  -0.76986f, 0.07087f,  -0.24572f, -0.93168f, 3.07935f,  -0.18183f,
784   -0.09831f, -0.07703f, -0.03222f, -0.25473f, -0.06090f, 2.93713f,  -0.38711f,
785   -0.12884f, -0.18329f, -0.06262f, -0.00327f, -0.02930f, -0.01641f, -0.00622f,
786   -0.03305f, -4.07069f, -2.76643f, 0.04413f,  -1.03176f, -0.19217f, -0.44980f,
787   -2.48615f, -2.58112f, -0.87695f, 0.16187f,  -0.04891f, -0.06854f, 1.08104f,
788   0.75245f,  1.49302f,  0.63363f,  1.45715f,  0.92574f,  1.72029f,  0.33326f,
789   3.86646f,  0.04422f,  0.41019f,  0.36212f,  0.56600f,  -1.01552f, 0.05128f,
790   0.40454f,  -1.05100f, -0.47461f, -1.33168f, -0.46145f, -1.36870f, -0.88838f,
791   -1.05358f, -0.18537f, -0.34357f, -0.03698f, 0.68905f,  0.41010f,  0.31223f,
792   -0.43382f, -0.74715f, 2.03366f,  -0.30419f, 0.45747f,  0.09526f,  0.31678f,
793   0.22915f,  0.21832f,  1.26385f,  -0.06814f, -0.71417f, -1.18947f, 0.03762f,
794   0.10936f,  2.97396f,  -0.42638f, -0.03123f, -5.49756f, -0.17029f, -0.11323f,
795   0.05173f,  -0.44274f, -0.15738f, 0.11311f,  0.43872f,  0.16837f,  -0.52849f,
796   2.90050f,  -0.54735f, -0.29591f, 1.24030f,  0.21696f,  -0.04443f, -1.60877f,
797   -1.36365f, -1.27432f, -1.52060f, -1.34397f, -1.13371f, -1.87554f, 0.80123f,
798   0.42820f,  -0.14157f, -2.73963f, -0.68040f, -0.35236f, 0.14490f,  2.23477f,
799   0.01370f,  -0.20426f, -1.51411f, -0.72293f, 0.64516f,  0.97638f,  0.32616f,
800   -0.27975f, -0.01149f,
801 };
802 
803 static const float av1_tx_type_nn_bias_4x16_ver_layer0[16] = {
804   -1.37863f, -0.05763f, -0.07041f, 0.15306f,  0.96026f,  -1.42105f,
805   -0.55822f, 1.04845f,  -0.17662f, -1.25345f, -0.11927f, 0.49845f,
806   -0.32530f, 0.73483f,  0.08322f,  -0.23890f,
807 };
808 
809 static const float av1_tx_type_nn_weights_4x16_ver_layer1[64] = {
810   0.27194f,  0.50607f,  0.49229f,  -0.48192f, 0.15667f,  -1.38891f, 0.38102f,
811   -0.58825f, -0.07337f, -0.52909f, 0.36975f,  0.28710f,  0.34992f,  -0.73630f,
812   0.30386f,  -0.58822f, 0.36127f,  0.57950f,  0.55878f,  -0.42796f, 0.19967f,
813   -1.45517f, 0.42529f,  -0.54630f, -0.38169f, -0.84899f, 0.41622f,  0.46935f,
814   0.39077f,  -0.75448f, 0.31698f,  -0.76187f, 0.97765f,  0.57052f,  0.55825f,
815   -0.54273f, 0.20466f,  -1.46347f, 0.41813f,  -0.55019f, -0.19948f, -0.57982f,
816   0.41206f,  0.32373f,  0.38537f,  -1.11657f, 0.32887f,  -0.76911f, 1.12259f,
817   0.72163f,  0.82603f,  0.37786f,  0.34976f,  -1.86642f, 0.59961f,  -0.16329f,
818   -0.36631f, -0.56814f, 0.60410f,  0.53158f,  0.56389f,  -0.70508f, 0.51009f,
819   -0.56513f,
820 };
821 
822 static const float av1_tx_type_nn_bias_4x16_ver_layer1[4] = {
823   4.60896f,
824   4.53551f,
825   4.53124f,
826   4.27435f,
827 };
828 
829 static const NN_CONFIG av1_tx_type_nnconfig_4x16_ver = {
830   8,  // num_inputs
831   4,  // num_outputs
832   1,  // num_hidden_layers
833   {
834       16,
835   },  // num_hidden_nodes
836   { av1_tx_type_nn_weights_4x16_ver_layer0,
837     av1_tx_type_nn_weights_4x16_ver_layer1 },
838   { av1_tx_type_nn_bias_4x16_ver_layer0, av1_tx_type_nn_bias_4x16_ver_layer1 }
839 };
840 /******************************************************************************/
841 
842 // Tx type model for 16x4 block.
843 static const float av1_tx_type_nn_weights_16x4_hor_layer0[128] = {
844   1.45347f,  -0.15743f, 0.44236f,  0.25808f,  0.33944f,  0.38678f,  0.24428f,
845   1.67287f,  0.09539f,  -0.42940f, -0.31507f, -0.00154f, -2.98755f, -2.27744f,
846   -0.49183f, 0.09333f,  -0.99026f, -0.22157f, 0.53701f,  0.60447f,  0.15686f,
847   -0.04646f, 0.26341f,  2.12361f,  0.27090f,  -1.14716f, -0.64146f, -0.91604f,
848   -0.75335f, -0.60056f, -1.25084f, 1.68473f,  -3.24075f, -4.03867f, -2.07877f,
849   -0.02347f, 0.00333f,  -0.01259f, -0.00465f, 0.02526f,  0.36286f,  -0.10324f,
850   2.12780f,  -0.74584f, -1.05052f, 1.78467f,  -0.55065f, -0.03326f, 2.46781f,
851   1.18349f,  0.96015f,  1.01696f,  1.10584f,  1.07263f,  1.11531f,  -1.06413f,
852   0.32389f,  -1.87360f, -0.14435f, 1.77926f,  1.09966f,  -0.12680f, -0.61386f,
853   -0.09724f, -0.33095f, 1.12122f,  1.00791f,  1.52416f,  1.35004f,  1.32657f,
854   0.60950f,  -1.13538f, -0.38654f, 0.06473f,  2.10669f,  0.27734f,  -0.38359f,
855   -1.91455f, -1.22676f, 0.05786f,  0.97432f,  2.19967f,  0.50457f,  0.78976f,
856   0.95183f,  -0.32414f, 0.49437f,  -0.04506f, 0.18993f,  -0.07971f, 0.23889f,
857   -0.09872f, -0.66036f, 0.05377f,  2.69638f,  -0.08259f, -0.69210f, -1.08296f,
858   -1.96504f, -2.31947f, -0.80161f, -0.80456f, -1.35556f, -0.05323f, -4.42658f,
859   -0.30732f, -0.12043f, 0.11126f,  0.10771f,  -0.14956f, -0.02218f, 0.41016f,
860   1.16599f,  1.14629f,  1.12881f,  1.18676f,  1.24677f,  1.28695f,  1.11270f,
861   0.08233f,  1.75440f,  0.49228f,  -0.34858f, -0.17032f, 0.29288f,  0.47175f,
862   0.19055f,  -1.56413f,
863 };
864 
865 static const float av1_tx_type_nn_bias_16x4_hor_layer0[16] = {
866   -1.71227f, 0.47291f, -0.97536f, -0.66216f, 0.11729f,  -0.21451f,
867   2.75281f,  0.04318f, 2.03965f,  0.14618f,  -0.70483f, -0.24517f,
868   1.14048f,  0.33308f, -1.10886f, 0.41184f,
869 };
870 
871 static const float av1_tx_type_nn_weights_16x4_hor_layer1[64] = {
872   -1.17079f, 0.19096f,  -1.05753f, -0.30803f, -1.21680f, -0.67255f, 1.60115f,
873   0.05972f,  1.44759f,  -0.04068f, -0.26331f, 0.31400f,  0.96923f,  0.33443f,
874   -0.77215f, -0.91316f, -1.78928f, 0.21483f,  -1.24008f, -0.46190f, -0.12127f,
875   -0.62144f, 1.37593f,  0.08373f,  1.56215f,  0.00279f,  -0.14556f, 0.38710f,
876   0.96228f,  0.66433f,  -0.51798f, -0.80738f, -0.18539f, 0.19377f,  -1.03090f,
877   -1.51044f, -0.59485f, -0.62589f, 1.90742f,  0.09078f,  1.49113f,  0.00205f,
878   -0.15918f, 0.40827f,  1.08553f,  0.43431f,  0.33519f,  -1.12669f, -1.10274f,
879   0.80004f,  -1.83599f, -0.53134f, 2.00515f,  -0.32670f, 1.37124f,  0.51136f,
880   1.62563f,  0.24787f,  0.31757f,  0.81751f,  1.57262f,  0.83214f,  1.04661f,
881   -0.43819f,
882 };
883 
884 static const float av1_tx_type_nn_bias_16x4_hor_layer1[4] = {
885   2.32575f,
886   2.75703f,
887   1.12304f,
888   2.15567f,
889 };
890 
891 static const NN_CONFIG av1_tx_type_nnconfig_16x4_hor = {
892   8,  // num_inputs
893   4,  // num_outputs
894   1,  // num_hidden_layers
895   {
896       16,
897   },  // num_hidden_nodes
898   { av1_tx_type_nn_weights_16x4_hor_layer0,
899     av1_tx_type_nn_weights_16x4_hor_layer1 },
900   { av1_tx_type_nn_bias_16x4_hor_layer0, av1_tx_type_nn_bias_16x4_hor_layer1 }
901 };
902 
903 static const float av1_tx_type_nn_weights_16x4_ver_layer0[32] = {
904   0.26047f,  0.99930f,  1.16484f,  -0.28196f, -2.67483f, -0.21456f, -0.16854f,
905   0.46375f,  1.47951f,  1.13735f,  1.12356f,  0.27385f,  0.50978f,  2.09967f,
906   -1.47386f, 0.01950f,  -0.06362f, 0.26014f,  1.04544f,  -0.03099f, 0.07478f,
907   -0.39701f, 0.05545f,  2.73633f,  -0.56305f, -0.02208f, -0.44517f, -0.00897f,
908   -0.17967f, -0.96622f, 0.42635f,  -1.04784f,
909 };
910 
911 static const float av1_tx_type_nn_bias_16x4_ver_layer0[8] = {
912   -0.52088f, 0.52844f,  -1.03655f, -0.30974f,
913   2.59952f,  -1.93604f, 0.00000f,  2.51787f,
914 };
915 
916 static const float av1_tx_type_nn_weights_16x4_ver_layer1[32] = {
917   0.10916f,  -0.21219f, -0.51340f, 0.69161f,  1.45988f,  -1.36942f, -0.40899f,
918   1.05136f,  -0.08486f, 0.10008f,  -0.55304f, 0.88012f,  1.61177f,  -1.64507f,
919   0.63428f,  1.15130f,  -0.17287f, -0.18592f, -0.01143f, 0.88293f,  1.73326f,
920   -1.63624f, 0.09359f,  1.18393f,  0.26531f,  0.22378f,  0.15170f,  1.06965f,
921   1.26814f,  -1.93873f, -0.00768f, 1.58309f,
922 };
923 
924 static const float av1_tx_type_nn_bias_16x4_ver_layer1[4] = {
925   2.34713f,
926   1.68667f,
927   1.25488f,
928   1.69812f,
929 };
930 
931 static const NN_CONFIG av1_tx_type_nnconfig_16x4_ver = {
932   4,  // num_inputs
933   4,  // num_outputs
934   1,  // num_hidden_layers
935   {
936       8,
937   },  // num_hidden_nodes
938   { av1_tx_type_nn_weights_16x4_ver_layer0,
939     av1_tx_type_nn_weights_16x4_ver_layer1 },
940   { av1_tx_type_nn_bias_16x4_ver_layer0, av1_tx_type_nn_bias_16x4_ver_layer1 }
941 };
942 /******************************************************************************/
943 
944 // Map tx_size to its corresponding neural net model for tx type prediction.
945 static const NN_CONFIG *av1_tx_type_nnconfig_map_hor[] = {
946   &av1_tx_type_nnconfig_4x4_hor,   // 4x4 transform
947   &av1_tx_type_nnconfig_8x8_hor,   // 8x8 transform
948   &av1_tx_type_nnconfig_16x16,     // 16x16 transform
949   NULL,                            // 32x32 transform
950   NULL,                            // 64x64 transform
951   &av1_tx_type_nnconfig_4x8_hor,   // 4x8 transform
952   &av1_tx_type_nnconfig_8x4_hor,   // 8x4 transform
953   &av1_tx_type_nnconfig_8x16_hor,  // 8x16 transform
954   &av1_tx_type_nnconfig_16x8_hor,  // 16x8 transform
955   NULL,                            // 16x32 transform
956   NULL,                            // 32x16 transform
957   NULL,                            // 32x64 transform
958   NULL,                            // 64x32 transform
959   &av1_tx_type_nnconfig_4x16_hor,  // 4x16 transform
960   &av1_tx_type_nnconfig_16x4_hor,  // 16x4 transform
961   NULL,                            // 8x32 transform
962   NULL,                            // 32x8 transform
963   NULL,                            // 16x64 transform
964   NULL,                            // 64x16 transform
965 };
966 
967 static const NN_CONFIG *av1_tx_type_nnconfig_map_ver[] = {
968   &av1_tx_type_nnconfig_4x4_ver,   // 4x4 transform
969   &av1_tx_type_nnconfig_8x8_ver,   // 8x8 transform
970   &av1_tx_type_nnconfig_16x16,     // 16x16 transform
971   NULL,                            // 32x32 transform
972   NULL,                            // 64x64 transform
973   &av1_tx_type_nnconfig_4x8_ver,   // 4x8 transform
974   &av1_tx_type_nnconfig_8x4_ver,   // 8x4 transform
975   &av1_tx_type_nnconfig_8x16_ver,  // 8x16 transform
976   &av1_tx_type_nnconfig_16x8_ver,  // 16x8 transform
977   NULL,                            // 16x32 transform
978   NULL,                            // 32x16 transform
979   NULL,                            // 32x64 transform
980   NULL,                            // 64x32 transform
981   &av1_tx_type_nnconfig_4x16_ver,  // 4x16 transform
982   &av1_tx_type_nnconfig_16x4_ver,  // 16x4 transform
983   NULL,                            // 8x32 transform
984   NULL,                            // 32x8 transform
985   NULL,                            // 16x64 transform
986   NULL,                            // 64x16 transform
987 };
988 
989 // Tx split model for 4x8 block.
990 static const float av1_tx_split_nn_weights_4x8_layer0[8 * 16] = {
991   0.068650f,  -0.732073f, -0.040361f, 0.322550f,  -0.021123f, 0.212518f,
992   -0.350546f, 0.435987f,  -0.111756f, -0.401568f, 0.069548f,  -0.313000f,
993   0.073918f,  -0.373805f, -0.775810f, -0.124753f, 0.181094f,  -0.602641f,
994   -0.026219f, -0.350112f, 0.020599f,  -0.311752f, -0.476482f, -0.669465f,
995   -0.310921f, 0.348869f,  -0.115984f, 0.154250f,  0.200485f,  -0.016689f,
996   0.020392f,  0.413810f,  0.634064f,  -0.627530f, 0.399178f,  -0.012284f,
997   0.472030f,  0.091087f,  -0.706100f, -0.447944f, -0.274226f, 0.445656f,
998   0.309339f,  0.505522f,  0.038496f,  -0.152809f, 0.408684f,  -0.068151f,
999   0.271612f,  0.353233f,  -0.150365f, 0.075212f,  -0.035096f, 0.346615f,
1000   0.124382f,  0.477072f,  0.216288f,  0.070548f,  -0.106362f, 0.681613f,
1001   -0.145502f, -0.218631f, -0.099248f, -0.001983f, -0.196819f, -0.969045f,
1002   0.063009f,  -0.123053f, 0.104875f,  -0.137581f, -0.282933f, -0.003624f,
1003   -0.315659f, -0.333523f, -0.503000f, -0.100063f, -0.536711f, -0.059978f,
1004   -0.670248f, -0.353762f, 0.181109f,  0.289715f,  -0.071206f, 0.261141f,
1005   0.052796f,  -0.114554f, -0.139214f, -0.261380f, 0.075984f,  -0.647925f,
1006   -0.099528f, -0.677814f, 0.015712f,  -0.389385f, -0.095622f, -0.165117f,
1007   -0.109454f, -0.175240f, -0.393914f, 0.212330f,  0.037822f,  0.248280f,
1008   0.180197f,  0.110493f,  -0.525727f, -0.092329f, -0.524029f, -0.407364f,
1009   -0.542373f, -0.435626f, -0.912194f, 0.062794f,  0.160433f,  0.741485f,
1010   -0.103659f, -0.119327f, -0.055275f, 0.334358f,  0.014713f,  0.046327f,
1011   0.831114f,  -0.576682f, 0.354369f,  -0.082088f, 0.452331f,  0.039730f,
1012   -0.792429f, -0.385862f,
1013 };
1014 
1015 static const float av1_tx_split_nn_bias_4x8_layer0[16] = {
1016   0.238621f,  2.186830f,  1.383035f,  -0.867139f, 1.257119f, -0.351571f,
1017   -0.240650f, -0.971692f, 2.744843f,  1.116991f,  0.139062f, -0.165332f,
1018   0.262171f,  -1.598153f, -1.427340f, -1.602306f,
1019 };
1020 
1021 static const float av1_tx_split_nn_weights_4x8_layer1[16] = {
1022   -0.367134f, 1.373058f, -0.897039f, -0.326819f, -0.734030f, -0.290413f,
1023   -0.501249f, 0.505321f, -0.537692f, -0.767893f, 0.268697f,  0.278987f,
1024   0.085082f,  0.614986f, 0.847904f,  0.637578f,
1025 };
1026 
1027 static const float av1_tx_split_nn_bias_4x8_layer1[1] = {
1028   0.20586078f,
1029 };
1030 
1031 static const NN_CONFIG av1_tx_split_nnconfig_4x8 = {
1032   8,  // num_inputs
1033   1,  // num_outputs
1034   1,  // num_hidden_layers
1035   {
1036       16,
1037   },  // num_hidden_nodes
1038   {
1039       av1_tx_split_nn_weights_4x8_layer0,
1040       av1_tx_split_nn_weights_4x8_layer1,
1041   },
1042   {
1043       av1_tx_split_nn_bias_4x8_layer0,
1044       av1_tx_split_nn_bias_4x8_layer1,
1045   },
1046 };
1047 /******************************************************************************/
1048 
1049 // Tx split model for 8x8 block.
1050 static const float av1_tx_split_nn_weights_8x8_layer0[144] = {
1051   0.177983f,  -0.938386f, -0.074460f, -0.221843f, -0.073182f, -0.295155f,
1052   -0.098202f, -0.279510f, 0.001054f,  -0.119319f, -1.835282f, -0.581507f,
1053   -1.222222f, -1.049006f, -0.807508f, -0.454252f, -0.774879f, -0.180607f,
1054   -0.886976f, -0.231971f, -0.824677f, -0.351872f, -1.323819f, 0.235378f,
1055   0.015331f,  -0.341818f, 0.145549f,  -0.348362f, 0.147647f,  -0.323400f,
1056   0.047558f,  -0.553025f, -0.295485f, -0.330368f, -0.530605f, -0.407516f,
1057   0.447740f,  0.782381f,  -0.179164f, -0.584675f, -0.052645f, 0.038656f,
1058   -0.096783f, 0.038342f,  -0.170762f, -0.405844f, -0.552665f, -0.509866f,
1059   0.757204f,  -1.296465f, 0.631015f,  0.009265f,  0.646192f,  0.044523f,
1060   0.653161f,  0.033820f,  0.849639f,  -0.068555f, -1.036085f, -0.511652f,
1061   0.104693f,  -1.458690f, 0.286051f,  -0.089800f, 0.381564f,  -0.302640f,
1062   0.304465f,  -0.268706f, 0.432603f,  -0.117914f, -2.070031f, -0.565696f,
1063   -0.073027f, -1.783570f, -0.318144f, -0.320990f, -0.343966f, -0.140996f,
1064   -0.322977f, -0.232147f, -0.373210f, -0.158266f, -1.922305f, -0.634373f,
1065   0.101894f,  -0.221847f, 0.018412f,  -0.423887f, -0.266684f, -0.444930f,
1066   -0.196237f, 0.106638f,  -0.065834f, -0.538401f, -0.280772f, -0.620348f,
1067   1.089957f,  -0.799928f, 0.504112f,  -0.165763f, 0.578741f,  -0.172653f,
1068   0.547316f,  -0.143484f, 0.717220f,  -0.297190f, -1.237854f, -0.074819f,
1069   -0.977304f, -0.484092f, -0.646427f, -0.451443f, -0.612126f, -0.224475f,
1070   -0.731608f, -0.257077f, -0.665857f, -0.346742f, -1.216372f, 0.227267f,
1071   0.231249f,  -1.693073f, -0.035899f, 0.380845f,  -0.058476f, 0.409405f,
1072   -0.066679f, 0.406731f,  -0.068501f, 0.396748f,  0.639462f,  0.150834f,
1073   -0.418659f, -1.421931f, 0.101889f,  0.083573f,  0.129746f,  0.134460f,
1074   0.081185f,  0.127420f,  0.083664f,  0.051096f,  1.361688f,  0.386093f,
1075 };
1076 
1077 static const float av1_tx_split_nn_bias_8x8_layer0[12] = {
1078   4.280443f, 2.218902f, -0.256953f, 3.161431f,  2.082548f, 2.506052f,
1079   2.563224f, 1.421976f, -1.627813f, -1.436085f, 2.297265f, 1.500469f,
1080 };
1081 
1082 static const float av1_tx_split_nn_weights_8x8_layer1[12] = {
1083   1.178833f,  -0.428527f, -0.078737f, 0.381434f, -0.466895f, -0.901745f,
1084   -0.766968f, -0.356663f, 0.450146f,  0.509370f, -0.356604f, -0.443506f,
1085 };
1086 
1087 static const float av1_tx_split_nn_bias_8x8_layer1[1] = {
1088   -0.156294f,
1089 };
1090 
1091 static const NN_CONFIG av1_tx_split_nnconfig_8x8 = {
1092   12,  // num_inputs
1093   1,   // num_outputs
1094   1,   // num_hidden_layers
1095   {
1096       12,
1097   },  // num_hidden_nodes
1098   {
1099       av1_tx_split_nn_weights_8x8_layer0,
1100       av1_tx_split_nn_weights_8x8_layer1,
1101   },
1102   {
1103       av1_tx_split_nn_bias_8x8_layer0,
1104       av1_tx_split_nn_bias_8x8_layer1,
1105   },
1106 };
1107 /******************************************************************************/
1108 
1109 // Tx split model for 8x16 block.
1110 static const float av1_tx_split_nn_weights_8x16_layer0[8 * 64] = {
1111   0.374660f,  0.218905f,  -0.139779f, 0.212141f,  0.056517f,  0.051114f,
1112   0.042860f,  -0.273258f, -0.340809f, 0.138983f,  -0.216996f, -0.241519f,
1113   -0.123244f, 0.078577f,  -0.472273f, -0.194201f, 0.125056f,  0.239761f,
1114   -0.332782f, 0.174782f,  -0.211400f, -0.129795f, 0.062195f,  0.113176f,
1115   -0.008869f, 0.140764f,  0.059833f,  0.163826f,  0.359293f,  -0.109797f,
1116   -0.022091f, -0.059536f, -0.188226f, 0.179709f,  0.031386f,  0.164790f,
1117   0.214364f,  0.198555f,  0.152262f,  -0.242980f, 0.319367f,  -0.136902f,
1118   0.046524f,  -0.043591f, 0.342178f,  -0.011757f, -0.014286f, 0.072871f,
1119   -0.278314f, -0.345303f, -0.252103f, -0.107154f, -0.235101f, -0.106739f,
1120   -0.120865f, -0.160042f, 0.240028f,  0.112902f,  -0.141587f, -0.703012f,
1121   -0.136591f, 0.318993f,  -0.154417f, -0.054668f, 0.192870f,  0.176166f,
1122   -0.029965f, 0.266942f,  -0.178384f, 0.038680f,  0.134403f,  -0.002426f,
1123   0.534825f,  -0.070923f, 0.413281f,  0.418148f,  0.093729f,  0.016454f,
1124   0.305358f,  -0.040512f, 0.069904f,  -0.227588f, -0.362220f, -0.031604f,
1125   -0.394901f, 0.071506f,  -0.342833f, -0.142550f, -0.164005f, 0.182600f,
1126   0.213062f,  0.076805f,  0.278758f,  0.125613f,  -0.035552f, 0.040971f,
1127   0.182785f,  -0.227961f, -0.105413f, -0.074949f, -0.084629f, -0.254767f,
1128   0.114657f,  0.047121f,  0.195902f,  0.264759f,  0.017799f,  0.210230f,
1129   0.150749f,  -0.142142f, 0.182494f,  -0.142415f, -0.259782f, -0.114830f,
1130   -0.198826f, 0.000061f,  -0.375668f, -0.276656f, -0.373202f, 0.210298f,
1131   0.422680f,  0.066960f,  0.351106f,  -0.209034f, 0.367195f,  -0.110274f,
1132   0.115573f,  -0.066642f, -0.389673f, -0.260447f, 0.056949f,  -0.180425f,
1133   0.069922f,  -0.153506f, -0.097053f, -0.111757f, 0.094069f,  0.144837f,
1134   -0.052984f, -0.506681f, -0.034474f, 0.279057f,  -0.105025f, 0.006656f,
1135   -0.125017f, -0.114096f, 0.103153f,  -0.117402f, -0.359472f, 0.072534f,
1136   0.110291f,  0.003088f,  -0.456897f, 0.038331f,  -0.322298f, 0.113942f,
1137   -0.119916f, -0.194392f, 0.093167f,  0.193459f,  0.074671f,  0.033602f,
1138   0.004440f,  -0.179578f, -0.036637f, -0.216172f, -0.296530f, -0.318992f,
1139   0.319160f,  -0.066218f, 0.291246f,  0.181292f,  0.089914f,  0.025273f,
1140   0.303128f,  0.019063f,  0.078545f,  -0.396919f, 0.014065f,  -0.122121f,
1141   0.037107f,  -0.151886f, -0.299392f, -0.172207f, -0.124571f, -0.232553f,
1142   0.102970f,  -0.225040f, 0.061059f,  -0.258188f, -0.469871f, -0.099607f,
1143   -0.061524f, -0.213700f, 0.070237f,  -0.289134f, -0.238225f, 0.256403f,
1144   -0.119344f, 0.067782f,  -0.398983f, -0.123975f, -0.200205f, -0.047038f,
1145   0.026569f,  0.031037f,  0.094302f,  -0.101239f, 0.433307f,  -0.303612f,
1146   0.088537f,  -0.164436f, 0.202471f,  -0.048592f, -0.251904f, 0.122577f,
1147   -0.309874f, -0.263405f, -0.292503f, 0.216589f,  0.035378f,  0.136599f,
1148   -0.145844f, -0.018211f, 0.174084f,  -0.449941f, -0.001428f, 0.064134f,
1149   0.039652f,  0.111083f,  -0.246076f, -0.204733f, 0.056559f,  -0.000123f,
1150   0.104049f,  0.138512f,  -0.128309f, 0.087855f,  0.232784f,  0.247138f,
1151   0.162766f,  0.154829f,  0.313605f,  -0.164115f, -0.050844f, 0.156549f,
1152   0.185279f,  -0.238962f, -0.308281f, -0.179592f, -0.193262f, 0.201670f,
1153   -0.203399f, -0.096831f, -0.127867f, 0.310674f,  -0.008181f, 0.004078f,
1154   -0.211038f, -0.193480f, -0.185639f, -0.150202f, -0.204858f, -0.240758f,
1155   0.114268f,  -0.032535f, -0.052403f, -0.234333f, -0.064072f, -0.208444f,
1156   -0.352853f, -0.224001f, -0.156330f, 0.215436f,  0.171846f,  0.291849f,
1157   0.108832f,  0.046991f,  -0.127801f, 0.032485f,  0.141493f,  0.123319f,
1158   -0.057250f, 0.315346f,  -0.061317f, -0.465086f, -0.130179f, -0.217841f,
1159   -0.239089f, -0.073251f, -0.327718f, 0.054905f,  -0.283169f, -0.028900f,
1160   0.071450f,  0.270072f,  0.248891f,  0.088052f,  0.253319f,  0.122808f,
1161   0.175490f,  -0.147805f, 0.089169f,  -0.045457f, -0.330788f, 0.099791f,
1162   -0.137376f, -0.195977f, -0.350942f, -0.284930f, -0.559037f, 0.030504f,
1163   0.162554f,  -0.199100f, -0.050453f, -0.131320f, -0.077863f, -0.066253f,
1164   -0.379723f, -0.424047f, -0.081182f, -0.252261f, -0.102815f, 0.058240f,
1165   -0.182036f, 0.176772f,  -0.070823f, 0.216054f,  -0.211533f, -0.232992f,
1166   0.279346f,  0.117984f,  0.236674f,  0.126625f,  -0.046220f, 0.044919f,
1167   0.278492f,  0.083944f,  0.180512f,  0.217994f,  0.401170f,  -0.064417f,
1168   0.011636f,  -0.139597f, -0.050020f, -0.268438f, -0.032803f, 0.024908f,
1169   -0.085713f, -0.012984f, -0.055192f, -0.338657f, 0.045826f,  -0.312849f,
1170   -0.023393f, -0.168800f, -0.030886f, -0.131816f, -0.253542f, -0.104812f,
1171   -0.354389f, 0.169464f,  0.094151f,  -0.217122f, -0.456397f, 0.211478f,
1172   0.219232f,  -0.155519f, -0.353700f, -0.264759f, -0.034709f, 0.034409f,
1173   -0.148639f, -0.132850f, -0.216791f, -0.118492f, 0.173721f,  -0.144181f,
1174   0.335028f,  0.176439f,  0.105980f,  0.169390f,  0.155615f,  -0.040618f,
1175   -0.176029f, 0.155569f,  -0.184833f, -0.171099f, -0.178663f, -0.032051f,
1176   -0.434334f, 0.092238f,  -0.263103f, 0.061804f,  -0.172957f, 0.005962f,
1177   -0.100176f, 0.125898f,  0.048092f,  -0.088141f, 0.247196f,  -0.221601f,
1178   -0.114474f, -0.124410f, -0.156393f, -0.181782f, -0.083562f, 0.034937f,
1179   0.403401f,  -0.046200f, 0.322259f,  0.219678f,  0.109850f,  0.051837f,
1180   0.196861f,  -0.019118f, 0.248818f,  -0.137567f, 0.127862f,  0.052293f,
1181   0.298726f,  0.275788f,  0.015344f,  0.058714f,  0.283691f,  -0.053794f,
1182   -0.123270f, -0.227761f, -0.141744f, -0.268515f, -0.007189f, -0.242117f,
1183   -0.252396f, -0.069017f, 0.034803f,  -0.003388f, -0.262577f, 0.062115f,
1184   -0.298393f, 0.215415f,  -0.153615f, 0.289902f,  0.085886f,  -0.504290f,
1185   0.077178f,  0.150861f,  -0.228848f, -0.261020f, 0.198204f,  0.162113f,
1186   0.346418f,  -0.286950f, 0.354756f,  -0.226419f, 0.024720f,  0.208037f,
1187   0.107286f,  -0.110849f, 0.104415f,  -0.207725f, 0.063932f,  -0.037748f,
1188   -0.167037f, -0.068282f, 0.320815f,  -0.051884f, 0.099989f,  -0.078388f,
1189   0.127071f,  0.046675f,  -0.336571f, -0.273080f, 0.264694f,  -0.007352f,
1190   -0.093828f, 0.094773f,  -0.144434f, 0.091795f,  -0.031615f, 0.056914f,
1191   0.064673f,  -0.136669f, 0.344734f,  0.225926f,  0.283451f,  -0.068354f,
1192   0.030572f,  0.180784f,  -0.378047f, -0.092962f, -0.083291f, 0.038970f,
1193   0.052094f,  -0.017932f, 0.216302f,  -0.184396f, 0.079888f,  0.210406f,
1194   -0.020627f, 0.244744f,  0.336972f,  -0.182914f, -0.220976f, -0.304225f,
1195   -0.330974f, -0.370868f, -0.084935f, -0.136489f, -0.210082f, -0.188088f,
1196   -0.408768f, 0.184693f,
1197 };
1198 
1199 static const float av1_tx_split_nn_bias_8x16_layer0[64] = {
1200   -0.274107f, 0.445751f,  0.234359f,  0.291593f,  0.163298f,  0.183707f,
1201   -0.548839f, -0.190779f, -0.163346f, -0.669028f, 0.399209f,  -0.354974f,
1202   0.000000f,  -0.254630f, 0.220149f,  0.371104f,  0.789759f,  0.270300f,
1203   0.195126f,  -0.206958f, 0.917708f,  -0.256232f, 1.131933f,  1.178944f,
1204   0.461270f,  0.246169f,  -0.818614f, -0.111986f, 0.759355f,  0.154889f,
1205   0.470299f,  -1.025250f, 0.678678f,  0.959346f,  -0.164105f, 0.544079f,
1206   -0.448733f, 0.649221f,  -0.536672f, 0.962758f,  -0.256427f, 0.808664f,
1207   -0.118694f, 0.684873f,  -0.015635f, -0.046469f, 0.075481f,  0.412647f,
1208   0.454456f,  -0.107169f, 0.775235f,  -0.261629f, -1.194849f, 0.010093f,
1209   -0.231289f, 0.658286f,  -0.769320f, 0.564545f,  0.482962f,  -0.131378f,
1210   -0.255844f, -0.078400f, 0.476752f,  0.643001f,
1211 };
1212 
1213 static const float av1_tx_split_nn_weights_8x16_layer1[64] = {
1214   -0.145065f, -0.145101f, 0.174786f,  0.196692f,  0.102025f,  -0.087735f,
1215   0.386353f,  -0.660539f, -0.183940f, 0.490045f,  -0.276404f, -0.145669f,
1216   0.209846f,  -0.085574f, -0.156821f, -0.377450f, -0.950010f, 0.450709f,
1217   -0.108545f, -0.261181f, 1.435606f,  -0.176621f, -1.158548f, 2.035680f,
1218   0.218069f,  -0.138629f, 0.305958f,  -0.277194f, -0.602468f, 0.203873f,
1219   0.120720f,  0.216095f,  -0.434502f, -0.579746f, -0.239450f, 0.755529f,
1220   0.545643f,  0.232091f,  0.330169f,  0.988136f,  -0.070465f, -0.345584f,
1221   -0.162455f, -0.617064f, 0.123881f,  -0.201098f, 0.222756f,  0.112932f,
1222   0.048647f,  -0.147890f, 0.394584f,  -0.262148f, 0.280564f,  -0.195432f,
1223   -0.047515f, 1.133410f,  0.255415f,  -0.299032f, -0.397807f, -0.153246f,
1224   -0.256734f, 0.177370f,  0.213522f,  -0.530158f,
1225 };
1226 
1227 static const float av1_tx_split_nn_bias_8x16_layer1[1] = {
1228   0.14910713f,
1229 };
1230 
1231 static const NN_CONFIG av1_tx_split_nnconfig_8x16 = {
1232   8,  // num_inputs
1233   1,  // num_outputs
1234   1,  // num_hidden_layers
1235   {
1236       64,
1237   },  // num_hidden_nodes
1238   {
1239       av1_tx_split_nn_weights_8x16_layer0,
1240       av1_tx_split_nn_weights_8x16_layer1,
1241   },
1242   {
1243       av1_tx_split_nn_bias_8x16_layer0,
1244       av1_tx_split_nn_bias_8x16_layer1,
1245   },
1246 };
1247 /******************************************************************************/
1248 
1249 // Tx split model for 16x16 block.
1250 static const float av1_tx_split_nn_weights_16x16_layer0[12 * 24] = {
1251   -0.177215f, -0.297166f, 0.299924f,  0.207878f,  0.216871f,  0.173264f,
1252   0.295464f,  0.048395f,  0.154731f,  0.305880f,  0.056787f,  -0.166617f,
1253   0.115653f,  -0.529477f, -0.073995f, -0.211746f, -0.018169f, 0.000788f,
1254   -0.024940f, -0.007055f, 0.001392f,  0.021678f,  -1.594600f, -0.099593f,
1255   0.332930f,  0.103574f,  0.158249f,  0.182601f,  0.332665f,  0.226207f,
1256   -0.139566f, 0.185531f,  0.099074f,  -0.185654f, -0.203121f, -0.285678f,
1257   -0.313453f, -0.294452f, -0.143707f, -0.031265f, -0.453030f, -0.061874f,
1258   -0.066150f, -0.099058f, -0.458879f, 0.127544f,  0.338314f,  -0.161350f,
1259   0.030091f,  -0.075528f, 0.004320f,  0.353690f,  -0.013480f, -0.420402f,
1260   -0.004659f, -0.329401f, -0.001745f, 0.227384f,  -0.055183f, 0.121405f,
1261   0.160340f,  0.143603f,  -0.221813f, 0.079107f,  -0.657639f, -0.084348f,
1262   -0.303414f, 0.046774f,  -0.367679f, 0.060005f,  0.168645f,  0.084421f,
1263   -0.133625f, 0.301375f,  0.079412f,  -0.419303f, 0.017235f,  0.068637f,
1264   0.018384f,  -0.428325f, -0.019753f, 0.149444f,  -0.474836f, -0.287162f,
1265   0.198083f,  0.028292f,  -0.299092f, -0.005849f, -0.256245f, 0.233277f,
1266   -0.217561f, -0.264003f, 0.269411f,  0.207032f,  -0.339411f, -0.198431f,
1267   -0.028521f, 0.158076f,  0.177116f,  0.345702f,  -0.145132f, 0.064623f,
1268   -0.090867f, 0.288816f,  -0.263198f, -0.071028f, -0.044546f, 0.380017f,
1269   -0.014100f, -0.271192f, -0.318559f, 0.129015f,  -0.050314f, -0.093355f,
1270   -0.578498f, 0.099090f,  -0.133080f, -0.029975f, -0.059828f, -0.157765f,
1271   -0.321153f, -0.343671f, -0.242959f, 0.128304f,  0.017170f,  0.072787f,
1272   -0.475838f, -0.003806f, -0.068615f, 0.150556f,  -0.159903f, -0.416513f,
1273   0.218794f,  -0.290456f, -0.084569f, -0.170014f, -0.044414f, -0.153069f,
1274   -0.077329f, -0.089747f, -0.096526f, 0.537952f,  0.134725f,  -0.006469f,
1275   -0.323335f, -0.168183f, -0.107163f, -0.139954f, 0.011286f,  -0.021712f,
1276   -0.513992f, 0.259135f,  -0.319808f, 0.077811f,  0.104613f,  0.370571f,
1277   0.185244f,  0.065530f,  -0.091098f, -0.573741f, 0.111934f,  0.437417f,
1278   -0.123691f, 0.220641f,  -0.024783f, -0.149460f, -0.354185f, -0.134127f,
1279   0.038015f,  -0.380596f, 0.250980f,  0.142208f,  0.135170f,  -0.131129f,
1280   -0.357556f, -0.530945f, 0.159672f,  -0.147025f, -0.377829f, -0.504508f,
1281   -0.492870f, 0.020753f,  0.142818f,  0.025172f,  0.086140f,  0.091283f,
1282   0.087491f,  -0.186415f, 0.177785f,  -0.195121f, -1.191148f, -0.477102f,
1283   0.023371f,  0.227004f,  -0.023502f, -0.242913f, -0.074398f, -0.153480f,
1284   0.162900f,  0.415509f,  -0.162565f, -0.131709f, -0.258852f, -0.252027f,
1285   -0.080845f, -0.330274f, 0.021874f,  0.232398f,  0.069277f,  0.220567f,
1286   -0.024237f, -0.366771f, 0.081673f,  -0.429906f, -0.302170f, 0.061045f,
1287   0.352777f,  -0.230376f, 0.408153f,  0.064758f,  0.142051f,  0.007219f,
1288   0.622878f,  0.212577f,  0.036489f,  0.081150f,  -0.284767f, 0.107763f,
1289   -0.529786f, -0.072190f, -0.300421f, -0.287959f, -0.568900f, 0.011547f,
1290   -0.131696f, -0.356854f, -0.587962f, -0.026598f, 0.405829f,  0.057565f,
1291   0.414265f,  -0.159155f, 0.221456f,  0.146314f,  0.265776f,  -0.006516f,
1292   0.473978f,  -0.186431f, 0.288672f,  -0.060437f, 0.083380f,  -0.205641f,
1293   0.360016f,  0.222041f,  0.420011f,  0.024579f,  0.377546f,  0.250380f,
1294   -0.069900f, 0.296743f,  0.073532f,  -0.243225f, -0.374987f, -0.387288f,
1295   -0.237255f, -0.287013f, 0.417831f,  -0.252988f, -0.257652f, -0.066775f,
1296   -0.253926f, 0.057841f,  0.346133f,  -0.157797f, -0.406028f, -0.286893f,
1297   0.274507f,  -0.452561f, 0.143381f,  -0.097755f, 0.021242f,  0.034561f,
1298   0.044115f,  0.004065f,  0.066729f,  0.043558f,  0.102991f,  -0.477574f,
1299 };
1300 
1301 static const float av1_tx_split_nn_bias_16x16_layer0[24] = {
1302   -0.479033f, 1.467402f,  -0.366291f, 0.372511f,  0.715322f,  -0.605500f,
1303   0.176848f,  0.032318f,  0.237429f,  -0.046047f, 0.452082f,  0.451805f,
1304   -0.822845f, 0.636762f,  -0.057350f, 1.163978f,  0.728287f,  0.603654f,
1305   -0.245519f, -0.893569f, -1.428185f, 0.808870f,  -0.076159f, 1.231976f,
1306 };
1307 
1308 static const float av1_tx_split_nn_weights_16x16_layer1[24] = {
1309   -0.176161f, 1.670188f, -0.180755f, -0.321326f, 0.249728f,  -0.170504f,
1310   -0.538432f, 0.033893f, 0.149842f,  0.404140f,  -0.377812f, 0.338838f,
1311   -0.176091f, 0.249844f, -0.362533f, 1.412460f,  0.196862f,  0.278194f,
1312   -0.140444f, 0.297746f, 0.172533f,  0.116470f,  -0.151656f, -0.603250f,
1313 };
1314 
1315 static const float av1_tx_split_nn_bias_16x16_layer1[1] = {
1316   0.184803f,
1317 };
1318 
1319 static const NN_CONFIG av1_tx_split_nnconfig_16x16 = {
1320   12,  // num_inputs
1321   1,   // num_outputs
1322   1,   // num_hidden_layers
1323   {
1324       24,
1325   },  // num_hidden_nodes
1326   {
1327       av1_tx_split_nn_weights_16x16_layer0,
1328       av1_tx_split_nn_weights_16x16_layer1,
1329   },
1330   {
1331       av1_tx_split_nn_bias_16x16_layer0,
1332       av1_tx_split_nn_bias_16x16_layer1,
1333   },
1334 };
1335 /******************************************************************************/
1336 
1337 // Tx split model for 32x32 block.
1338 static const float av1_tx_split_nn_weights_32x32_layer0[12 * 32] = {
1339   -0.439303f, 0.004813f,  -0.365052f, -0.116868f, -0.356716f, -0.196537f,
1340   -0.196770f, -0.076096f, 0.357004f,  -0.044909f, -0.112910f, -0.129081f,
1341   0.156725f,  -0.386346f, 0.038971f,  0.160696f,  0.204923f,  -0.384333f,
1342   -0.319546f, 0.028179f,  -0.250524f, -0.289669f, -0.284138f, -0.258963f,
1343   -0.180854f, -0.000807f, -0.029620f, -0.353134f, 0.212408f,  0.141414f,
1344   0.303016f,  0.098066f,  0.482455f,  0.036069f,  -0.166279f, 0.210119f,
1345   -0.086337f, -0.023550f, -0.250796f, -0.183945f, -0.393856f, 0.170608f,
1346   -0.306403f, 0.026318f,  -0.277296f, 0.092684f,  -0.033584f, -0.018371f,
1347   -0.025043f, -0.257659f, -0.139163f, -0.206949f, -0.190105f, 0.028053f,
1348   0.361851f,  -0.364726f, -0.096771f, -0.184166f, -0.433228f, -0.182191f,
1349   -0.097051f, 0.259172f,  0.016432f,  0.259358f,  0.145059f,  0.037196f,
1350   0.091581f,  -0.219644f, 0.140384f,  -0.446837f, -0.234531f, 0.149508f,
1351   -0.083429f, 0.186189f,  -0.099890f, -0.111277f, 0.495214f,  0.085053f,
1352   -0.266613f, -0.051366f, 0.148593f,  0.111875f,  0.077787f,  -0.371653f,
1353   -0.146157f, -0.229235f, 0.076203f,  0.488975f,  0.096771f,  -0.009483f,
1354   0.192985f,  0.246273f,  -0.192671f, -0.557890f, -0.292650f, -0.088907f,
1355   -0.106892f, -0.329659f, 0.012105f,  -0.359326f, 0.170723f,  -0.004357f,
1356   0.171593f,  -0.478768f, -0.236016f, -0.035077f, 0.133731f,  0.137962f,
1357   -0.397926f, -0.155164f, -0.276709f, -0.186602f, -0.258301f, 0.036965f,
1358   -0.649359f, 0.127605f,  0.097930f,  0.182775f,  -0.313324f, 0.053349f,
1359   0.204203f,  -0.222948f, -0.059008f, -0.049759f, -0.056848f, 0.087497f,
1360   -0.039987f, -0.055042f, -0.041623f, -0.078424f, -0.317291f, -0.191398f,
1361   0.632147f,  0.221825f,  0.268394f,  -0.096357f, 0.442545f,  -0.007117f,
1362   -0.036125f, 0.000525f,  0.088092f,  -0.203653f, 0.086925f,  0.439141f,
1363   0.329889f,  -0.370050f, -0.194306f, -0.207430f, 0.132779f,  -0.217614f,
1364   -0.039444f, -0.053019f, -0.260725f, -0.116563f, -0.271048f, 0.283737f,
1365   -0.007300f, 0.062257f,  -0.347865f, -0.296767f, -0.359123f, 0.230459f,
1366   -0.189117f, -0.087622f, -0.561091f, 0.184182f,  -0.044980f, 0.012643f,
1367   0.241672f,  0.050272f,  -0.204851f, -0.159285f, -0.064081f, -0.118666f,
1368   -0.269471f, 0.231668f,  0.135749f,  -0.131162f, 0.062760f,  0.100949f,
1369   0.074967f,  -0.056918f, 0.251707f,  0.034098f,  0.341290f,  -0.105027f,
1370   0.313246f,  -0.092679f, -0.014632f, -0.390967f, 0.136881f,  -0.241554f,
1371   0.097674f,  0.110832f,  -0.390245f, 0.017654f,  -0.506222f, 0.065252f,
1372   0.244834f,  -0.171352f, -0.331702f, 0.111043f,  0.125217f,  -0.058116f,
1373   -0.382595f, -0.052545f, 0.114261f,  -0.493617f, 0.243984f,  -0.171053f,
1374   0.165009f,  -0.063020f, 0.096502f,  0.341339f,  -0.013443f, 0.056372f,
1375   0.339284f,  0.398376f,  0.389409f,  0.257252f,  0.517368f,  0.078856f,
1376   0.087716f,  -0.171092f, 0.227461f,  0.125307f,  -0.054423f, -0.143161f,
1377   0.224041f,  -0.086477f, -0.092548f, 0.072392f,  -0.061608f, 0.258347f,
1378   0.147033f,  -0.478244f, -0.204869f, 0.038552f,  -0.144563f, 0.224087f,
1379   -0.296705f, 0.153889f,  -0.064624f, 0.085265f,  -0.103826f, 0.127971f,
1380   0.019965f,  0.111937f,  -0.074187f, -0.029518f, -0.127305f, -0.012210f,
1381   0.042714f,  0.070052f,  -0.202360f, 0.348144f,  -0.132097f, -0.209585f,
1382   -0.248286f, -0.065774f, -0.089482f, -0.133226f, 0.325430f,  -0.013468f,
1383   -0.406090f, -0.144936f, 0.208620f,  0.343445f,  -0.059639f, 0.114857f,
1384   -0.069431f, -0.218725f, 0.190575f,  -0.368101f, 0.030030f,  0.062815f,
1385   -0.239369f, -0.537852f, 0.022487f,  0.023038f,  0.190788f,  0.040123f,
1386   -0.004304f, 0.060749f,  -0.108929f, 0.136796f,  -0.542875f, -0.227074f,
1387   -0.182244f, 0.082559f,  0.019149f,  0.178854f,  0.120284f,  0.009070f,
1388   0.068268f,  -0.544822f, 0.120536f,  0.354028f,  -0.119890f, -0.122055f,
1389   -0.405335f, 0.122341f,  -0.304412f, 0.062405f,  -0.302568f, -0.276505f,
1390   -0.120915f, -0.221841f, 0.282007f,  -0.253971f, 0.059517f,  -0.144976f,
1391   0.149391f,  -0.047355f, -0.167742f, -0.392333f, -0.041132f, 0.342135f,
1392   0.017485f,  0.021038f,  -0.023728f, -0.192181f, -0.103996f, 0.092873f,
1393   -0.114365f, -0.397732f, -0.065421f, 0.053084f,  0.035201f,  0.053019f,
1394   -0.105377f, -0.039500f, 0.131904f,  -0.123911f, -0.390328f, -0.125198f,
1395   -0.000126f, 0.014864f,  -0.220187f, 0.084056f,  -0.492155f, -0.164979f,
1396   0.133592f,  0.121519f,  -0.240813f, 0.186680f,  0.118673f,  0.235006f,
1397   -0.239894f, -0.185759f, -0.336992f, 0.209620f,  -0.298845f, 0.127803f,
1398   -0.083992f, 0.194340f,  -0.245378f, 0.212308f,  0.142512f,  -0.163324f,
1399   0.383495f,  0.291065f,  0.286620f,  -0.239957f, 0.225127f,  -0.174424f,
1400   0.297231f,  -0.045434f, 0.156444f,  -0.184273f, -0.204567f, 0.202551f,
1401   0.370019f,  -0.073910f, 0.344897f,  0.063100f,  0.338547f,  -0.099145f,
1402   0.391863f,  -0.214244f, -0.241734f, -0.281851f, -0.035133f, -0.153157f,
1403 };
1404 
1405 static const float av1_tx_split_nn_bias_32x32_layer0[32] = {
1406   0.143343f,  -0.021982f, -0.314939f, 0.170867f,  -0.081248f, 0.125758f,
1407   -0.355762f, 0.279798f,  1.027712f,  -0.434660f, 1.072005f,  0.668893f,
1408   -0.031216f, -0.528650f, 0.328349f,  0.543645f,  -0.188810f, 0.221110f,
1409   -1.638637f, 0.058045f,  -1.731105f, -0.444284f, 0.513693f,  0.890025f,
1410   0.160288f,  0.393312f,  0.332856f,  -0.080767f, 0.299822f,  0.235876f,
1411   0.254942f,  -0.017796f,
1412 };
1413 
1414 static const float av1_tx_split_nn_weights_32x32_layer1[32] = {
1415   -0.090326f, -0.267553f, -0.026071f, 0.100912f,  0.279137f,  0.079064f,
1416   -0.074885f, 0.053804f,  0.736810f,  -0.031693f, -0.970514f, 0.174069f,
1417   0.095940f,  -0.065047f, 0.052911f,  0.176728f,  -0.058274f, 0.148364f,
1418   -0.162210f, 0.093875f,  -0.367663f, 0.020876f,  0.137280f,  -1.099116f,
1419   0.146854f,  0.075590f,  0.228534f,  0.141993f,  0.072143f,  0.101421f,
1420   -0.068547f, -0.154148f,
1421 };
1422 
1423 static const float av1_tx_split_nn_bias_32x32_layer1[1] = {
1424   0.316622f,
1425 };
1426 
1427 static const NN_CONFIG av1_tx_split_nnconfig_32x32 = {
1428   12,  // num_inputs
1429   1,   // num_outputs
1430   1,   // num_hidden_layers
1431   {
1432       32,
1433   },  // num_hidden_nodes
1434   {
1435       av1_tx_split_nn_weights_32x32_layer0,
1436       av1_tx_split_nn_weights_32x32_layer1,
1437   },
1438   {
1439       av1_tx_split_nn_bias_32x32_layer0,
1440       av1_tx_split_nn_bias_32x32_layer1,
1441   },
1442 };
1443 /******************************************************************************/
1444 
1445 // Tx split model for 64x64 block.
1446 static const float av1_tx_split_nn_weights_64x64_layer0[12 * 32] = {
1447   -0.006828f, 0.149944f,  -0.017614f, -0.044599f, -0.024517f, 0.507698f,
1448   0.001039f,  0.037164f,  0.015091f,  -0.306620f, -0.162047f, -0.369440f,
1449   0.396310f,  0.087121f,  0.208609f,  -0.083068f, 0.493774f,  0.217682f,
1450   0.377393f,  0.172879f,  0.397422f,  0.078919f,  0.741350f,  0.064169f,
1451   -0.099989f, -0.192983f, -0.278230f, -0.310048f, -0.439965f, -0.226698f,
1452   -0.436596f, -0.007551f, -0.396721f, 0.153570f,  -0.190838f, -0.071869f,
1453   0.048799f,  -0.301301f, -0.005015f, 0.500480f,  -0.030622f, -0.559095f,
1454   -0.032634f, -0.054160f, -0.056979f, -0.456545f, 0.306536f,  -0.411323f,
1455   -0.005366f, -0.069496f, 0.019990f,  0.327931f,  -0.002516f, 0.393190f,
1456   0.001759f,  0.035093f,  -0.030302f, -0.528984f, 0.174781f,  0.241462f,
1457   -0.415427f, -0.164502f, 0.143065f,  -0.122595f, 0.082049f,  -0.143346f,
1458   0.055642f,  -0.124701f, 0.004050f,  -0.216235f, -2.681730f, 0.101658f,
1459   0.381239f,  0.465936f,  0.331154f,  0.301708f,  -0.360171f, 0.054886f,
1460   -0.118658f, 0.287921f,  0.277859f,  0.203784f,  0.247809f,  0.656924f,
1461   -0.354628f, 0.315081f,  0.105108f,  -0.510179f, 0.059267f,  0.061386f,
1462   0.076423f,  0.347119f,  0.100134f,  0.028402f,  -0.118621f, -0.238689f,
1463   0.080141f,  -0.138863f, 0.009009f,  -0.100526f, -0.138875f, 0.066992f,
1464   0.005949f,  0.564336f,  0.046994f,  0.004655f,  0.366047f,  0.014695f,
1465   -0.146928f, -0.024665f, -0.440357f, -0.109395f, 0.527231f,  -0.020925f,
1466   -0.227236f, -0.068141f, 0.282009f,  0.040192f,  -0.267100f, 0.229228f,
1467   0.133861f,  0.338706f,  -0.030178f, -0.040919f, -0.026343f, -0.330338f,
1468   -0.066931f, -0.110580f, -0.072056f, 0.599457f,  -0.020738f, 0.169200f,
1469   0.836240f,  -0.157548f, 0.386273f,  0.002404f,  0.329410f,  -0.007020f,
1470   0.351705f,  -0.041259f, 0.388861f,  0.003899f,  0.582627f,  0.023572f,
1471   0.409912f,  -0.158472f, 0.536383f,  0.525093f,  0.604247f,  0.439159f,
1472   0.692832f,  0.046272f,  0.590367f,  -0.082166f, 0.262357f,  0.478671f,
1473   0.031935f,  0.042675f,  0.120002f,  0.398616f,  -0.078967f, 0.227986f,
1474   -0.044679f, 0.151061f,  -0.085564f, 0.220205f,  -0.265606f, -0.203623f,
1475   0.204719f,  -0.125922f, 0.038544f,  -0.269379f, 0.025866f,  0.109967f,
1476   0.019064f,  -0.237297f, -0.309746f, -0.329118f, -0.278368f, -0.063859f,
1477   0.278496f,  0.018620f,  0.209971f,  0.296250f,  0.142850f,  0.288689f,
1478   0.137084f,  0.130517f,  0.128171f,  -0.155396f, -0.008449f, -0.099845f,
1479   0.173455f,  -0.059909f, -0.147318f, 0.102851f,  -0.251389f, -0.001448f,
1480   0.103907f,  0.297273f,  -0.027846f, 0.028260f,  -0.382601f, 0.346695f,
1481   -0.601641f, 0.162366f,  -0.477495f, -0.042731f, -0.387871f, -0.051791f,
1482   -0.401498f, -0.048446f, -0.456270f, -0.062287f, 0.493919f,  0.003008f,
1483   0.099917f,  -0.358525f, -0.094903f, -0.022811f, -0.062259f, 0.019455f,
1484   -0.050644f, 0.020041f,  -0.132912f, -0.061578f, -3.083691f, -0.014961f,
1485   -0.129115f, -0.710559f, 0.157213f,  -0.844037f, -0.121991f, -0.943386f,
1486   -0.231269f, -0.003462f, 0.331478f,  -0.132703f, -1.285993f, -0.120957f,
1487   -0.373755f, -0.322609f, 0.309059f,  -0.131523f, -0.118334f, -0.063805f,
1488   -0.104251f, 0.012166f,  -0.094699f, -0.283753f, 0.128168f,  -0.526929f,
1489   -0.050331f, 0.186153f,  0.005913f,  -0.221236f, 0.036363f,  0.160909f,
1490   -0.001342f, -0.382749f, 0.037820f,  0.281689f,  -0.024275f, 0.028854f,
1491   0.318291f,  0.318526f,  0.035778f,  0.034031f,  0.189663f,  -0.293367f,
1492   0.082022f,  0.127923f,  0.078866f,  -0.081361f, -0.268117f, 0.246675f,
1493   0.248605f,  -0.215479f, -0.073084f, 0.496140f,  -0.067327f, 0.396237f,
1494   -0.120739f, 0.033752f,  -0.044120f, -0.218941f, -0.028078f, 0.195132f,
1495   -0.040400f, 0.281604f,  -0.100471f, 0.415207f,  -0.258503f, -0.429749f,
1496   0.150569f,  -0.010859f, 0.136448f,  0.026589f,  0.148466f,  0.110764f,
1497   0.380967f,  0.009177f,  0.103075f,  0.116417f,  0.226273f,  -0.327746f,
1498   0.169346f,  0.284553f,  -0.094986f, 0.312745f,  -0.147840f, 0.025062f,
1499   -0.494482f, 0.112388f,  -0.213962f, 0.107050f,  -0.433371f, -0.096276f,
1500   -0.244835f, -0.003518f, -0.459148f, -0.145080f, 0.017150f,  0.042846f,
1501   -0.237479f, 0.104746f,  0.158677f,  0.358937f,  0.099921f,  0.277109f,
1502   0.012410f,  -0.062897f, 0.116130f,  0.255309f,  0.341628f,  0.145002f,
1503   -0.429344f, -0.016433f, -0.068985f, 0.285194f,  -0.286719f, -0.018298f,
1504   -0.179369f, -0.194655f, -0.165380f, 0.026071f,  -0.428268f, -0.379929f,
1505   -0.727543f, 0.179610f,  -0.963979f, -0.042026f, -0.616202f, 0.133401f,
1506   -0.784966f, 0.061205f,  -0.713357f, 0.129795f,  0.120512f,  -0.339545f,
1507   0.353557f,  0.114906f,  -0.329813f, -0.209987f, 0.085410f,  0.214313f,
1508   -0.122082f, 0.335770f,  -0.020937f, 0.202456f,  0.289023f,  -0.421186f,
1509   0.337905f,  0.407663f,  0.132771f,  0.071734f,  0.213914f,  0.128595f,
1510   0.302659f,  -0.209501f, 0.217756f,  0.253079f,  -0.089505f, -0.205614f,
1511 };
1512 
1513 static const float av1_tx_split_nn_bias_64x64_layer0[32] = {
1514   0.296914f,  -1.826816f, 0.346130f,  0.969520f,  -0.528154f, 1.175862f,
1515   -0.075985f, -0.097323f, -0.233059f, 0.004846f,  0.401279f,  -2.272435f,
1516   0.086257f,  0.414162f,  -0.194786f, -0.233887f, -0.113215f, -2.453546f,
1517   0.861214f,  0.298361f,  0.267397f,  -0.158557f, -0.119911f, -0.098134f,
1518   -0.339263f, 0.385871f,  -0.678123f, 0.263218f,  0.251611f,  -1.155773f,
1519   -0.365437f, 0.229255f,
1520 };
1521 
1522 static const float av1_tx_split_nn_weights_64x64_layer1[32] = {
1523   0.502104f,  -0.708023f, 0.419648f,  1.583418f,  0.419355f,  -1.462981f,
1524   -0.439623f, 0.405691f,  0.823257f,  0.061654f,  0.750875f,  0.775031f,
1525   -0.387909f, 0.447385f,  0.284690f,  0.353262f,  -0.224347f, 0.832864f,
1526   -1.708491f, -1.042447f, -0.272829f, 0.540640f,  0.310509f,  0.723745f,
1527   0.245592f,  -0.218417f, -0.597987f, -0.362301f, 0.702217f,  -0.692614f,
1528   0.207812f,  0.513560f,
1529 };
1530 
1531 static const float av1_tx_split_nn_bias_64x64_layer1[1] = { -0.2307045f };
1532 
1533 static const NN_CONFIG av1_tx_split_nnconfig_64x64 = {
1534   12,  // num_inputs
1535   1,   // num_outputs
1536   1,   // num_hidden_layers
1537   {
1538       32,
1539   },  // num_hidden_nodes
1540   {
1541       av1_tx_split_nn_weights_64x64_layer0,
1542       av1_tx_split_nn_weights_64x64_layer1,
1543   },
1544   {
1545       av1_tx_split_nn_bias_64x64_layer0,
1546       av1_tx_split_nn_bias_64x64_layer1,
1547   },
1548 };
1549 /******************************************************************************/
1550 
1551 // Tx split model for 4x16 block.
1552 static const float av1_tx_split_nn_weights_4x16_layer0[8 * 16] = {
1553   -1.344184f, -1.454625f, -0.703110f, -0.140570f, -0.841536f, -0.068131f,
1554   -2.128968f, -0.655518f, 0.432180f,  0.879752f,  -0.222211f, 0.061615f,
1555   -0.230969f, 0.569496f,  1.424188f,  0.598063f,  -0.436005f, -0.737606f,
1556   -0.137875f, -0.085730f, -0.076512f, -0.583101f, -0.937377f, -0.203556f,
1557   -0.215797f, -0.015361f, -0.124098f, -0.411917f, 0.340441f,  -0.331752f,
1558   -0.472607f, -0.097714f, -0.930572f, -1.354713f, -0.550724f, 0.176212f,
1559   -0.636060f, 0.183271f,  -0.610212f, 0.345895f,  -1.100906f, -1.605713f,
1560   0.111888f,  -0.140937f, 0.063013f,  -0.013315f, -0.273472f, -0.255870f,
1561   1.200328f,  0.274002f,  1.005776f,  0.322392f,  1.222373f,  0.158227f,
1562   0.408810f,  0.145022f,  0.139842f,  -1.249412f, 0.286672f,  -0.635699f,
1563   0.312562f,  -0.495606f, -1.117034f, -0.085107f, -0.097484f, -0.341521f,
1564   -0.132199f, -0.863055f, 0.217579f,  -1.161425f, -0.302087f, -1.357271f,
1565   -0.520724f, -1.211069f, -1.048729f, -0.333087f, -1.171527f, -0.280824f,
1566   -2.057684f, -0.228755f, 0.606278f,  0.101198f,  -0.314847f, -1.303255f,
1567   -0.294964f, 1.301923f,  0.041712f,  0.077593f,  -1.152746f, 0.495315f,
1568   -0.751566f, 0.230249f,  -0.840661f, 0.100731f,  1.346269f,  0.649898f,
1569   -1.432258f, -0.456710f, -1.018123f, -0.348559f, -1.225226f, -0.170717f,
1570   -0.354072f, 0.068292f,  -0.234168f, 0.277503f,  0.179134f,  0.907420f,
1571   0.354626f,  -0.627210f, 0.905779f,  0.512612f,  0.161190f,  -0.843177f,
1572   0.014953f,  -0.354983f, 0.011116f,  -0.429598f, -1.017138f, -0.211432f,
1573   0.941840f,  -0.281747f, 0.957776f,  -0.541914f, 1.041880f,  -0.433580f,
1574   -1.416451f, -0.166467f,
1575 };
1576 
1577 static const float av1_tx_split_nn_bias_4x16_layer0[16] = {
1578   3.086118f,  -3.235095f, 4.830956f,  -0.165706f, 0.955031f,  4.055783f,
1579   -0.311489f, 4.660205f,  -0.576277f, -0.248111f, -0.790519f, -1.686412f,
1580   -1.191704f, -3.800073f, 4.121552f,  -1.399397f,
1581 };
1582 
1583 static const float av1_tx_split_nn_weights_4x16_layer1[16] = {
1584   -0.758677f, 0.388776f,  0.439906f,  0.011390f, -0.084319f, -0.667969f,
1585   -0.467316f, -0.875491f, -0.160668f, 0.805292f, 0.114393f,  -0.549682f,
1586   0.462109f,  0.343315f,  1.092593f,  0.483152f,
1587 };
1588 
1589 static const float av1_tx_split_nn_bias_4x16_layer1[1] = {
1590   0.8205083f,
1591 };
1592 
1593 static const NN_CONFIG av1_tx_split_nnconfig_4x16 = {
1594   8,  // num_inputs
1595   1,  // num_outputs
1596   1,  // num_hidden_layers
1597   {
1598       16,
1599   },  // num_hidden_nodes
1600   {
1601       av1_tx_split_nn_weights_4x16_layer0,
1602       av1_tx_split_nn_weights_4x16_layer1,
1603   },
1604   {
1605       av1_tx_split_nn_bias_4x16_layer0,
1606       av1_tx_split_nn_bias_4x16_layer1,
1607   },
1608 };
1609 /******************************************************************************/
1610 
1611 // Tx split model for 16x32 block.
1612 static const float av1_tx_split_nn_weights_16x32_layer0[8 * 32] = {
1613   0.180713f,  0.033211f,  0.607561f,  0.138642f,  0.637204f,  -0.000940f,
1614   0.012630f,  0.358109f,  0.022238f,  0.190418f,  0.079088f,  0.065925f,
1615   0.038242f,  0.162380f,  -0.122728f, 0.379382f,  -0.303283f, -0.327550f,
1616   0.029120f,  -0.284553f, 0.269588f,  -0.309805f, -0.241036f, -0.161103f,
1617   -0.304887f, 0.239843f,  -0.149146f, 0.311234f,  -0.073640f, -0.132718f,
1618   0.178901f,  0.474712f,  0.020280f,  0.063685f,  -0.609170f, -0.013658f,
1619   -0.338074f, 0.250429f,  0.082978f,  -0.186315f, -0.788959f, 0.039859f,
1620   -0.426461f, -0.001524f, -0.447211f, 0.378102f,  0.315617f,  0.017428f,
1621   0.745494f,  -0.219024f, 0.512836f,  0.200522f,  0.680449f,  0.313686f,
1622   -0.412569f, -0.132927f, 0.631120f,  0.042735f,  0.336153f,  0.044772f,
1623   0.432606f,  0.175681f,  -0.634411f, -0.073509f, -0.040643f, -0.559260f,
1624   -0.104034f, -0.570495f, -0.247365f, 0.063256f,  -0.582021f, -0.492585f,
1625   -0.194955f, -0.207934f, -0.506627f, 0.021743f,  -0.416518f, 0.320876f,
1626   0.115889f,  0.149399f,  -0.229376f, 0.095505f,  0.115191f,  -0.471921f,
1627   0.113068f,  0.343684f,  -0.036831f, 0.021240f,  0.295112f,  0.031166f,
1628   0.448201f,  -0.132241f, 0.164032f,  0.355572f,  0.072154f,  0.017335f,
1629   -0.046113f, 0.178719f,  -0.026881f, -0.242590f, 0.055073f,  -0.012958f,
1630   0.077904f,  0.351356f,  0.107655f,  0.260568f,  -0.080052f, -0.197553f,
1631   0.085763f,  0.263416f,  -0.327741f, 0.158855f,  0.056899f,  -0.162121f,
1632   0.339518f,  -0.571204f, 0.264966f,  -0.252214f, -0.202560f, -0.134213f,
1633   -0.330188f, 0.009470f,  -0.468376f, -0.065240f, -0.307957f, 0.116479f,
1634   -0.222238f, -0.458716f, 0.186493f,  -0.391415f, 0.118649f,  -0.104653f,
1635   -0.259958f, -0.332081f, -0.403785f, -0.050147f, -0.573511f, 0.177117f,
1636   -0.598358f, 0.164947f,  -0.119694f, -0.058520f, 0.203829f,  -0.267404f,
1637   -0.048202f, -0.600006f, 0.181594f,  -0.731805f, 0.146417f,  -0.687148f,
1638   -1.210525f, -0.450101f, -0.620635f, 0.208825f,  -0.611357f, 0.112202f,
1639   -0.309468f, -0.323545f, 0.357770f,  0.308061f,  0.553199f,  0.049012f,
1640   0.530093f,  -0.208597f, 0.607882f,  -0.058120f, -0.527634f, 0.018136f,
1641   0.060753f,  0.118894f,  0.175649f,  0.014731f,  0.428318f,  -0.106465f,
1642   -0.119077f, 0.080179f,  0.524997f,  0.368286f,  0.528286f,  0.213659f,
1643   0.639286f,  0.195079f,  -0.049815f, -0.092008f, -0.302958f, 0.298149f,
1644   -0.173870f, -0.145205f, -0.233589f, -0.303368f, 0.141275f,  0.325622f,
1645   -0.115293f, 0.155188f,  0.047225f,  0.231050f,  -0.167447f, 0.349754f,
1646   0.295544f,  -0.319466f, 0.095144f,  0.174612f,  -0.194652f, 0.305915f,
1647   -0.239008f, -0.037453f, 0.280696f,  0.125850f,  0.749196f,  -0.101919f,
1648   0.791808f,  -0.236811f, 0.064157f,  0.032865f,  -0.225911f, 0.350384f,
1649   0.723183f,  -0.103992f, 0.483085f,  -0.123992f, 0.602138f,  0.023895f,
1650   -0.692601f, -0.118387f, 0.162527f,  0.145178f,  -0.184702f, -0.017753f,
1651   -0.159436f, 0.124105f,  -0.131067f, 0.310275f,  0.151499f,  0.138924f,
1652   0.537459f,  0.263212f,  0.615896f,  0.281255f,  0.021293f,  -0.473459f,
1653   0.210145f,  -0.056682f, 0.063658f,  0.377254f,  -0.314410f, -0.183487f,
1654   0.300384f,  0.328471f,  0.164694f,  -0.159272f, -0.160942f, -0.502861f,
1655   -0.129147f, 0.045916f,  -0.606865f, -0.101378f,
1656 };
1657 
1658 static const float av1_tx_split_nn_bias_16x32_layer0[32] = {
1659   0.051664f,  -0.212487f, -0.077596f, -0.818467f, 0.638475f,  -0.759937f,
1660   0.157198f,  0.989640f,  1.586035f,  0.431144f,  0.041605f,  0.543085f,
1661   0.498379f,  0.320504f,  0.134233f,  0.670979f,  -0.105562f, -1.574879f,
1662   1.261812f,  -0.287530f, -1.610592f, 0.730899f,  -0.894240f, -0.657790f,
1663   0.270806f,  -0.181708f, 0.298578f,  0.817240f,  -0.221508f, -0.201771f,
1664   -0.294389f, 1.456413f,
1665 };
1666 
1667 static const float av1_tx_split_nn_weights_16x32_layer1[32] = {
1668   1.208914f,  0.324728f,  0.383352f,  -0.874321f, 0.172565f,  -0.580927f,
1669   -0.432927f, 0.433698f,  -0.801935f, 0.672028f,  0.563493f,  0.260077f,
1670   -0.200557f, -0.121638f, 0.530735f,  -0.525196f, 0.281799f,  0.624204f,
1671   -0.662775f, -0.230887f, 0.980989f,  0.223437f,  -0.790591f, 0.600724f,
1672   -0.273445f, 0.427635f,  -0.501641f, -0.878390f, 0.234731f,  -0.172550f,
1673   0.418904f,  1.792187f,
1674 };
1675 
1676 static const float av1_tx_split_nn_bias_16x32_layer1[1] = {
1677   -0.29233751f,
1678 };
1679 
1680 static const NN_CONFIG av1_tx_split_nnconfig_16x32 = {
1681   8,  // num_inputs
1682   1,  // num_outputs
1683   1,  // num_hidden_layers
1684   {
1685       32,
1686   },  // num_hidden_nodes
1687   {
1688       av1_tx_split_nn_weights_16x32_layer0,
1689       av1_tx_split_nn_weights_16x32_layer1,
1690   },
1691   {
1692       av1_tx_split_nn_bias_16x32_layer0,
1693       av1_tx_split_nn_bias_16x32_layer1,
1694   },
1695 };
1696 /******************************************************************************/
1697 
1698 // Tx split model for 32x64 block.
1699 static const float av1_tx_split_nn_weights_32x64_layer0[8 * 32] = {
1700   0.031614f,  -0.110926f, 0.052418f,  -0.702506f, 0.045708f,  0.238329f,
1701   -0.021806f, -0.208128f, 0.509745f,  -0.293891f, 0.277788f,  0.113937f,
1702   0.741576f,  0.062848f,  0.351878f,  0.212532f,  0.385842f,  0.081517f,
1703   0.398502f,  -0.015156f, 0.242616f,  0.214619f,  -0.182678f, -0.170546f,
1704   0.110605f,  -0.236749f, -0.023831f, -0.285243f, 0.147156f,  -0.257639f,
1705   0.341355f,  -0.571641f, -0.721797f, 0.139588f,  -0.518494f, -0.206526f,
1706   -0.570560f, -0.184295f, 0.110271f,  0.210292f,  -0.109132f, -0.001080f,
1707   0.129251f,  -0.204230f, -0.396312f, -0.183024f, 0.421243f,  -0.013154f,
1708   0.222627f,  0.169826f,  0.226037f,  0.218153f,  -0.343528f, 0.274906f,
1709   -0.156632f, 0.250261f,  -0.484020f, 0.019909f,  -0.349575f, -0.286643f,
1710   -0.507396f, 0.202446f,  -0.154110f, -0.292644f, 0.122666f,  0.306963f,
1711   0.424895f,  0.005579f,  0.494094f,  -0.079551f, 0.473740f,  0.352414f,
1712   -0.356917f, 0.264331f,  -0.554487f, 0.119978f,  0.012291f,  -0.141641f,
1713   -0.254714f, -0.213723f, -0.116701f, -0.011267f, 0.190025f,  -0.118501f,
1714   0.305151f,  -0.316782f, -0.220801f, -0.308420f, -0.324285f, 0.421329f,
1715   -0.177066f, -0.055114f, 0.229698f,  -0.199523f, 0.054278f,  0.365020f,
1716   -0.060586f, -0.300618f, 0.157563f,  -0.064338f, -0.005711f, -0.176991f,
1717   -0.424502f, -0.111914f, 0.092608f,  0.126621f,  0.078547f,  0.148008f,
1718   0.024221f,  0.124599f,  0.001343f,  0.059402f,  0.453753f,  0.047102f,
1719   0.242544f,  0.055735f,  -0.067451f, -0.170061f, -0.170469f, -0.232173f,
1720   0.214908f,  0.248889f,  0.544348f,  -0.084566f, 0.402478f,  0.298031f,
1721   0.099038f,  -0.238019f, -0.475085f, -0.070042f, -0.754955f, -0.049095f,
1722   -0.783801f, -0.099857f, -0.582008f, -0.055194f, -0.103655f, 0.143689f,
1723   0.100219f,  0.293934f,  0.099271f,  -0.036320f, 0.356626f,  -0.261445f,
1724   0.879544f,  0.000878f,  0.532920f,  -0.093918f, 0.508867f,  -0.040215f,
1725   -0.789042f, -0.145380f, -0.090040f, -0.066636f, 0.015212f,  0.352989f,
1726   -0.058831f, -0.164588f, 0.039890f,  0.122861f,  0.222508f,  0.061217f,
1727   0.466487f,  0.022666f,  0.423777f,  -0.002200f, -0.656835f, -0.099760f,
1728   -0.520606f, 0.303204f,  -0.563620f, -0.160922f, -0.243203f, 0.313354f,
1729   -0.336516f, -0.206764f, -0.236040f, 0.325899f,  -0.418748f, 0.163205f,
1730   -0.476242f, -0.121928f, 0.139178f,  -0.157193f, -0.531766f, -0.180202f,
1731   -0.485254f, 0.187703f,  -0.440072f, 0.137854f,  0.029139f,  0.109530f,
1732   -0.078475f, -0.360618f, -0.334672f, -0.350890f, -0.403976f, 0.180336f,
1733   -0.304542f, 0.005123f,  0.413995f,  0.314639f,  0.342648f,  -0.293264f,
1734   0.358135f,  -0.180425f, -0.369530f, -0.048413f, 0.498366f,  0.121875f,
1735   0.270948f,  -0.187966f, 0.342503f,  0.174420f,  -0.352105f, 0.088080f,
1736   0.008277f,  0.020275f,  -0.002381f, 0.504389f,  -0.018832f, -0.366047f,
1737   -0.090947f, -0.168150f, 0.016184f,  -0.328914f, 0.089579f,  -0.017349f,
1738   0.005844f,  -0.005010f, -1.857514f, -0.282426f, 0.010177f,  -0.214727f,
1739   -0.182529f, 0.156943f,  -0.162032f, -0.472654f, 0.069432f,  0.016901f,
1740   -0.767905f, 0.137129f,  -0.411463f, 0.049056f,  -0.431657f, -0.037641f,
1741   0.785500f,  0.046225f,  0.195831f,  0.245204f,  0.368614f,  0.212261f,
1742   0.440626f,  -0.158048f, -0.461031f, -0.146280f,
1743 };
1744 
1745 static const float av1_tx_split_nn_bias_32x64_layer0[32] = {
1746   0.490777f,  -1.894238f, 0.621333f,  -0.076756f, 0.286298f, 0.286375f,
1747   -0.126431f, -0.350034f, -1.017572f, 0.620125f,  0.408128f, 0.238756f,
1748   -0.060728f, 0.210912f,  0.043124f,  0.445649f,  0.907025f, 0.360272f,
1749   1.083101f,  -0.068952f, 1.062348f,  0.396354f,  0.280075f, 0.501732f,
1750   0.328422f,  0.066241f,  0.474697f,  0.126313f,  0.741206f, 0.314796f,
1751   0.552712f,  0.299410f,
1752 };
1753 
1754 static const float av1_tx_split_nn_weights_32x64_layer1[32] = {
1755   1.033823f,  0.603439f,  0.304591f,  -0.279940f, -0.780909f, -0.132801f,
1756   0.154059f,  0.662014f,  -0.718368f, 0.198733f,  0.039766f,  -0.208516f,
1757   -0.104909f, -0.394209f, 0.081617f,  0.365041f,  -0.874960f, -0.063315f,
1758   -1.189897f, 0.337225f,  0.410893f,  0.307519f,  0.221323f,  0.233895f,
1759   0.469536f,  0.438557f,  0.280144f,  0.422423f,  -1.394513f, 0.781900f,
1760   0.352981f,  0.111265f,
1761 };
1762 
1763 static const float av1_tx_split_nn_bias_32x64_layer1[1] = {
1764   -0.18160765f,
1765 };
1766 
1767 static const NN_CONFIG av1_tx_split_nnconfig_32x64 = {
1768   8,  // num_inputs
1769   1,  // num_outputs
1770   1,  // num_hidden_layers
1771   {
1772       32,
1773   },  // num_hidden_nodes
1774   {
1775       av1_tx_split_nn_weights_32x64_layer0,
1776       av1_tx_split_nn_weights_32x64_layer1,
1777   },
1778   {
1779       av1_tx_split_nn_bias_32x64_layer0,
1780       av1_tx_split_nn_bias_32x64_layer1,
1781   },
1782 };
1783 /******************************************************************************/
1784 
1785 // Tx split model for 8x32 block.
1786 static const float av1_tx_split_nn_weights_8x32_layer0[8 * 24] = {
1787   -0.687846f, 0.121404f,  -0.372905f, 0.126770f,  -0.103298f, -0.101650f,
1788   -0.148490f, -0.271740f, 0.682915f,  -0.079765f, 0.634347f,  -0.151503f,
1789   0.287692f,  -0.079072f, -0.236948f, 0.065064f,  0.713383f,  0.397123f,
1790   0.553621f,  0.368529f,  0.767663f,  -0.046601f, -0.392402f, -0.294822f,
1791   -0.292325f, -0.010573f, -0.837945f, 0.050113f,  -0.811360f, 0.199162f,
1792   0.150832f,  0.011602f,  0.369694f,  -0.225876f, 0.234113f,  -0.269808f,
1793   0.303805f,  -0.190281f, -0.451136f, 0.209755f,  -0.308894f, 0.326956f,
1794   0.313591f,  0.089923f,  -0.095754f, 0.390981f,  0.467366f,  0.169670f,
1795   0.853322f,  0.054055f,  0.830319f,  -0.121918f, 0.262019f,  -0.093526f,
1796   0.385558f,  0.419174f,  0.040198f,  -0.347030f, -0.450492f, -0.106764f,
1797   0.487502f,  -0.204188f, 0.430374f,  -0.116388f, 0.236407f,  -0.157376f,
1798   0.732294f,  -0.651387f, 0.347446f,  0.342575f,  0.048406f,  0.187657f,
1799   0.434899f,  -0.447782f, 0.032728f,  -0.071168f, -0.255327f, 0.104174f,
1800   0.095689f,  -0.431743f, 0.725694f,  0.031797f,  0.523171f,  0.061801f,
1801   0.469804f,  -0.071068f, -0.059024f, -0.211937f, 0.392134f,  -0.321490f,
1802   0.366060f,  -0.427798f, 0.166771f,  0.299652f,  0.044660f,  0.205142f,
1803   0.039133f,  -0.051835f, -0.465475f, 0.216976f,  -0.341156f, 0.095358f,
1804   0.230807f,  0.201674f,  0.279266f,  -0.713534f, -0.091690f, -0.569708f,
1805   -0.119001f, 0.252160f,  -1.544578f, -0.284477f, 0.555348f,  0.226471f,
1806   0.347690f,  0.034365f,  0.770835f,  -0.241859f, -0.130241f, 0.292936f,
1807   0.396622f,  -0.417916f, 0.492224f,  0.125517f,  0.344824f,  0.232172f,
1808   -0.432106f, -0.278745f, 0.035069f,  -0.307247f, -0.120760f, 0.170950f,
1809   0.433601f,  0.044286f,  0.141463f,  -0.041382f, 0.529346f,  0.010868f,
1810   -0.323674f, 0.185205f,  0.623459f,  0.232842f,  -0.406693f, -0.142944f,
1811   0.222988f,  0.343634f,  0.065401f,  0.002621f,  0.805335f,  -0.426926f,
1812   0.279181f,  0.131364f,  0.192339f,  -0.402391f, 0.544120f,  -0.060618f,
1813   0.467780f,  0.165224f,  -0.373131f, 0.002427f,  0.688064f,  0.322317f,
1814   0.259713f,  0.130583f,  0.185032f,  -0.189111f, -0.067821f, 0.010875f,
1815   0.644724f,  -0.179291f, 0.463222f,  0.155230f,  0.721384f,  -0.046019f,
1816   0.438501f,  0.440027f,  -0.462090f, -0.002039f, -0.468026f, -0.008890f,
1817   -0.328530f, 0.370102f,  0.482531f,  0.043471f,  -0.469732f, -0.532663f,
1818   0.122081f,  -0.379659f, 0.037219f,  -0.519913f, -0.128975f, -0.404365f,
1819 };
1820 
1821 static const float av1_tx_split_nn_bias_8x32_layer0[24] = {
1822   -1.198965f, 0.395204f,  -0.408627f, -0.021654f, -0.658355f, 0.154525f,
1823   -0.288354f, 1.207574f,  0.411608f,  0.964678f,  -1.176893f, 1.059006f,
1824   -0.472969f, 2.087975f,  1.065536f,  0.595569f,  0.197907f,  -0.349938f,
1825   1.013651f,  -0.931093f, -0.973595f, -0.459094f, -1.253062f, 1.624782f,
1826 };
1827 
1828 static const float av1_tx_split_nn_weights_8x32_layer1[24] = {
1829   0.815787f,  -0.393465f, -0.483427f, -0.565592f, 0.493494f,  0.430229f,
1830   -0.507073f, -0.251379f, -0.353418f, -0.495445f, 0.820029f,  0.649146f,
1831   -0.487383f, 1.844503f,  0.480324f,  -0.982705f, -0.501446f, -0.220584f,
1832   0.334299f,  0.802238f,  0.805838f,  -0.487848f, 0.300772f,  -1.232857f,
1833 };
1834 
1835 static const float av1_tx_split_nn_bias_8x32_layer1[1] = {
1836   0.13435879f,
1837 };
1838 
1839 static const NN_CONFIG av1_tx_split_nnconfig_8x32 = {
1840   8,  // num_inputs
1841   1,  // num_outputs
1842   1,  // num_hidden_layers
1843   {
1844       24,
1845   },  // num_hidden_nodes
1846   {
1847       av1_tx_split_nn_weights_8x32_layer0,
1848       av1_tx_split_nn_weights_8x32_layer1,
1849   },
1850   {
1851       av1_tx_split_nn_bias_8x32_layer0,
1852       av1_tx_split_nn_bias_8x32_layer1,
1853   },
1854 };
1855 /******************************************************************************/
1856 
1857 // Tx split model for 16x32 block.
1858 static const float av1_tx_split_nn_weights_16x64_layer0[8 * 16] = {
1859   -0.378223f, -0.124216f, -0.514089f, -0.110117f, -0.585801f, -0.094838f,
1860   -0.455385f, -0.220254f, -0.504568f, -0.082351f, -0.476420f, -0.253993f,
1861   -0.454709f, -0.059461f, 0.210313f,  -0.155683f, 0.192968f,  -0.127804f,
1862   0.471996f,  0.253377f,  0.472625f,  0.485322f,  0.150560f,  0.164868f,
1863   -0.475587f, 0.447559f,  -0.455759f, -0.306665f, -0.194866f, -0.283716f,
1864   -0.243897f, 0.293020f,  -0.308298f, -0.191904f, -0.468568f, 0.014053f,
1865   -0.618848f, 0.096273f,  -0.444586f, 0.347750f,  -0.280643f, -0.062872f,
1866   0.118661f,  0.540099f,  0.104141f,  -0.279300f, -0.098721f, -0.173427f,
1867   -0.984558f, -0.424559f, -0.411928f, -0.120875f, -0.488999f, -0.050716f,
1868   -0.523103f, 0.093620f,  -0.930396f, -0.431997f, -1.163297f, 0.190384f,
1869   -0.422581f, -0.005354f, 0.450552f,  0.369210f,  0.562484f,  0.679922f,
1870   0.282099f,  -0.039075f, 0.404196f,  0.006371f,  0.069679f,  -0.196160f,
1871   -0.213675f, 0.275187f,  -0.104235f, -0.193090f, 0.003116f,  -0.252454f,
1872   -0.094591f, 0.210439f,  -0.137070f, 0.145043f,  0.024558f,  0.121718f,
1873   0.010138f,  0.301651f,  -0.377990f, 0.444414f,  0.001845f,  -0.095334f,
1874   0.550259f,  0.087603f,  0.792492f,  -0.044584f, 0.641706f,  -0.328458f,
1875   -0.447791f, 0.135376f,  0.356385f,  0.135748f,  0.310370f,  0.293757f,
1876   -0.062000f, -0.056368f, 0.343930f,  0.312039f,  0.370763f,  0.452381f,
1877   -0.023630f, -0.185909f, 0.422277f,  -0.006306f, 0.045166f,  0.423359f,
1878   -0.157735f, -0.084901f, 0.219527f,  -0.209510f, 0.575057f,  0.249276f,
1879   0.069267f,  0.233898f,  -0.229392f, 0.117197f,  -0.038551f, 0.293976f,
1880   0.101996f,  0.120878f,
1881 };
1882 
1883 static const float av1_tx_split_nn_bias_16x64_layer0[16] = {
1884   1.036995f,  0.160249f,  0.100264f,  0.694881f,  0.694677f,  0.128379f,
1885   -0.843405f, -0.405515f, 0.104139f,  0.182980f,  -0.025472f, 0.901067f,
1886   -0.299866f, -0.103079f, -0.190352f, -0.048121f,
1887 };
1888 
1889 static const float av1_tx_split_nn_weights_16x64_layer1[16] = {
1890   -1.778868f, 0.174690f,  0.211991f, 0.712138f,  0.589352f,  0.466652f,
1891   1.029146f,  -0.490044f, 0.483015f, 0.600215f,  -0.577776f, -0.755546f,
1892   0.348337f,  -0.205082f, 0.347129f, -0.322277f,
1893 };
1894 
1895 static const float av1_tx_split_nn_bias_16x64_layer1[1] = {
1896   0.04230947f,
1897 };
1898 
1899 static const NN_CONFIG av1_tx_split_nnconfig_16x64 = {
1900   8,  // num_inputs
1901   1,  // num_outputs
1902   1,  // num_hidden_layers
1903   {
1904       16,
1905   },  // num_hidden_nodes
1906   {
1907       av1_tx_split_nn_weights_16x64_layer0,
1908       av1_tx_split_nn_weights_16x64_layer1,
1909   },
1910   {
1911       av1_tx_split_nn_bias_16x64_layer0,
1912       av1_tx_split_nn_bias_16x64_layer1,
1913   },
1914 };
1915 /******************************************************************************/
1916 
1917 // Map block size to its corresponding neural net model for tx split prediction.
1918 static const NN_CONFIG *av1_tx_split_nnconfig_map[TX_SIZES_ALL] = {
1919   NULL,                          // TX_4X4,
1920   &av1_tx_split_nnconfig_8x8,    // TX_8X8,
1921   &av1_tx_split_nnconfig_16x16,  // TX_16X16,
1922   &av1_tx_split_nnconfig_32x32,  // TX_32X32,
1923   &av1_tx_split_nnconfig_64x64,  // TX_64X64,
1924   &av1_tx_split_nnconfig_4x8,    // TX_4X8,
1925   &av1_tx_split_nnconfig_4x8,    // TX_8X4,
1926   &av1_tx_split_nnconfig_8x16,   // TX_8X16,
1927   &av1_tx_split_nnconfig_8x16,   // TX_16X8,
1928   &av1_tx_split_nnconfig_16x32,  // TX_16X32,
1929   &av1_tx_split_nnconfig_16x32,  // TX_32X16,
1930   &av1_tx_split_nnconfig_32x64,  // TX_32X64,
1931   &av1_tx_split_nnconfig_32x64,  // TX_64X32,
1932   &av1_tx_split_nnconfig_4x16,   // TX_4X16,
1933   &av1_tx_split_nnconfig_4x16,   // TX_16X4,
1934   &av1_tx_split_nnconfig_8x32,   // TX_8X32,
1935   &av1_tx_split_nnconfig_8x32,   // TX_32X8,
1936   &av1_tx_split_nnconfig_16x64,  // TX_16X64,
1937   &av1_tx_split_nnconfig_16x64,  // TX_64X16,
1938 };
1939 
1940 #ifdef __cplusplus
1941 }  // extern "C"
1942 #endif
1943 
1944 #endif  // AOM_AV1_ENCODER_TX_PRUNE_MODEL_WEIGHTS_H_
1945