mpv-conf/shaders/Anime4K_Upscale_GAN_x4_UL.glsl
2021-12-03 20:50:08 +08:00

4815 lines
684 KiB
GLSL

// MIT License
// Copyright (c) 2019-2021 bloc97
// All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x3
//!HOOK MAIN
//!BIND MAIN
//!SAVE conv2d_tf
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
vec4 hook() {
vec4 result = mat4(0.21686034, 0.010273451, 0.15376332, -0.22370663, -0.14823641, 0.05847777, -0.11170672, -0.2794799, 0.31577533, -0.105595954, 0.22051519, -0.3041742, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
result += mat4(0.18516932, -0.55408335, -0.21974638, -0.12663211, 0.15778883, -0.00079428876, 0.09723738, 0.24894303, 0.5431219, 0.46600795, 0.25859228, 0.5342776, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
result += mat4(-0.09650102, 0.14374134, 0.009930892, 0.20204046, 0.29794076, -0.2009416, 0.40836716, -0.10684464, -0.10803752, 0.05385496, -0.14949757, 0.11512128, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
result += mat4(-0.13328597, -0.05603695, 0.2066786, -0.2341972, -0.312389, -0.11184745, 0.41893005, -0.38365173, 0.10591462, -0.17695336, -0.5522976, -0.37277612, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
result += mat4(-0.5247597, 0.44467092, 0.15017024, 0.23272365, -0.004378827, 0.5503159, 0.06559786, 0.63450027, -0.2821488, 0.70697284, 0.06037206, 0.14824837, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
result += mat4(0.27582723, 0.28981453, -0.27953598, -0.38641593, -0.069845125, -0.2876848, 0.42303023, 0.2096282, -0.46025985, 0.019995337, 0.14215434, -0.0032444412, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
result += mat4(-0.3542521, -0.1290754, -0.33536354, 0.07639946, -0.21480027, 0.5740277, -0.2068473, -0.24294598, 0.06887606, 0.12432943, -0.2565582, 0.00022530541, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
result += mat4(0.34990567, -0.117348365, 0.16015093, 0.2501366, 0.19090433, -0.5718451, -0.22541083, 0.00674141, -0.1110584, -0.13668513, 0.14688468, -0.021032542, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
result += mat4(-0.11405209, -0.19855933, 0.18547794, 0.22860141, 0.13999332, 0.14210562, -0.33748418, -0.122842506, -0.15546343, -0.024134178, -0.21489416, -0.0865141, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
result += vec4(0.006117499, -0.0031791371, 0.048566718, -0.021858927);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x3
//!HOOK MAIN
//!BIND MAIN
//!SAVE conv2d_tf1
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
vec4 hook() {
vec4 result = mat4(0.10929366, 0.327926, 0.4713077, 0.19815566, 0.09252597, -0.12897652, 0.14017919, -0.117154755, 0.07230293, 0.10565211, 0.047754508, -0.1503215, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
result += mat4(0.0026017402, -0.056956105, 0.0695359, -0.40459624, -0.41438407, -0.24114844, 0.673736, 0.22991985, 0.17312498, -0.36519593, -0.3227756, -0.31550214, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
result += mat4(-0.3247658, 0.18215618, -0.21491867, 0.10206452, 0.35056487, -0.04285168, -0.34823352, 0.2470923, 0.25979036, -0.48504788, -0.13086547, 0.099075995, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
result += mat4(-0.040807806, -0.30899513, 0.2068589, 0.17732157, -0.086111076, 0.3898061, -0.11504756, -0.20005062, -0.29525205, -0.107833266, 0.227913, 0.06954518, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
result += mat4(0.4532243, 0.21249862, -0.24575852, 0.11716148, 0.13279238, 0.8276753, -0.100262396, -0.14868626, -0.05340188, 0.44897172, 0.18865296, -0.57959807, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
result += mat4(-0.4039624, 0.09238004, -0.0056891013, 0.67555726, 0.14713438, -0.18302856, 0.022408731, 0.26836616, -0.4203644, -0.3223556, -0.476889, -0.36540377, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
result += mat4(0.07463623, -0.13695839, 0.19964464, 0.034749743, 0.0656226, -0.12622209, -0.18529165, -0.2443194, -0.14840299, 0.010471225, -0.30794603, 0.06472215, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
result += mat4(0.24495342, 0.2709279, 0.46451533, -0.1110042, 0.059573397, 0.08838069, -0.45778695, -0.090110734, 0.014180886, -0.3838859, -0.154384, 0.3170096, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
result += mat4(-0.10225649, 0.17237318, 0.12612183, 0.13250452, -0.21184945, -0.014274503, -0.03265513, -0.1426008, -0.51739746, -0.20366845, 0.29887617, 0.16982934, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
result += vec4(0.006826314, 0.00461317, -0.026852833, -0.057010923);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x3
//!HOOK MAIN
//!BIND MAIN
//!SAVE conv2d_tf2
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
vec4 hook() {
vec4 result = mat4(0.0471075, 0.31225806, -0.37929785, 0.43969426, -0.0020258147, -0.17849202, 0.18287076, 0.5349646, 0.26426196, -0.07494979, 0.043889828, 0.083557904, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
result += mat4(0.30102602, -0.20380482, -0.48910898, -0.132322, 0.056846913, 0.123972304, 0.16173325, 0.07034413, -0.21596576, -0.069037, 0.3502346, 0.25920063, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
result += mat4(-0.45725793, 0.33194527, 0.31424007, 0.02424403, -0.5363229, -0.29947516, -0.1431686, 0.42444733, 0.22996962, 0.2109503, -0.09393614, 0.33772293, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
result += mat4(-0.024214078, 0.33155, 0.20300971, -0.36914715, -0.16345179, 0.5682778, -0.26810458, -0.42982668, -0.14192776, -0.110919, 0.42419475, -0.1473602, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
result += mat4(0.18150777, -0.47733742, 0.10404226, 0.21457794, 0.37720117, 0.13280968, 0.008208851, 0.059821837, 0.443415, 0.030501857, 0.13587411, 0.080713995, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
result += mat4(-0.18850364, -0.3472835, 0.49484876, -0.06648983, 0.03814947, 0.27776024, -0.04688367, 0.61331964, -0.2776909, -0.36696884, 0.03983977, -0.35913125, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
result += mat4(0.19481012, -0.08641656, 0.011285091, -0.35443705, -0.17543805, -0.45401692, -0.5278059, -0.14485542, 0.006704323, -0.17372592, -0.07998461, 0.1811669, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
result += mat4(0.0059836046, 0.053937424, -0.2764704, 0.096112974, 0.36684337, 0.26575375, 0.563075, 0.45542747, 0.15248352, 0.11391156, -0.29306483, -0.1514665, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
result += mat4(-0.035114568, -0.13244304, -0.07839212, 0.39952558, 0.06760725, 0.2142741, -0.020275498, 0.3155373, 0.16888031, 0.24090965, -0.3730481, 0.1806138, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
result += vec4(-0.005380107, -0.017430196, 0.03937373, 0.0043463805);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x3
//!HOOK MAIN
//!BIND MAIN
//!SAVE conv2d_tf3
//!WIDTH MAIN.w
//!HEIGHT MAIN.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off)))
vec4 hook() {
vec4 result = mat4(0.049419224, 0.15691243, 0.39030707, 0.017580656, 0.08154996, -0.23705184, -0.15799701, 0.040712252, -0.3821994, 0.07067287, 0.01839085, 0.030687721, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
result += mat4(0.020802025, 0.33823022, -0.052135084, 0.3542869, -0.0027859134, 0.44006044, -0.16127233, -0.22381315, 0.2574494, -0.25050887, 0.20496298, 0.009993323, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
result += mat4(-0.08769917, -0.1953583, 0.05949845, 0.01795218, 0.3972092, -0.044264503, -0.4756617, 0.37460735, 0.09788464, 0.48144168, 0.080894485, 0.06296183, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
result += mat4(0.018645043, 0.019118845, 0.19234078, -0.39879698, 0.3848868, 0.104610726, 0.29154545, -0.028288463, -0.31086552, 0.5709823, -0.22434935, -0.5021053, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
result += mat4(0.46135244, 0.07460708, -0.20591648, -0.31916717, -0.38675314, 0.107762225, 0.39979035, -0.6061402, -0.40462908, -0.17135368, 0.26059985, 0.033156518, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
result += mat4(-0.057017997, 0.39801362, 0.26862207, -0.28336683, 0.23420385, -0.17003912, 0.017628595, -0.21126425, -0.23548096, -0.2774119, 0.18068078, 0.013097709, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
result += mat4(0.14194304, -0.15504828, 0.008901963, 0.30057347, -0.4207854, -0.07842078, -0.073276505, -0.2544436, 0.1802911, 0.2420754, -0.42773435, 0.2522558, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
result += mat4(0.19879274, -0.037631564, -0.48757973, 0.17617616, 0.12550192, 0.25250614, -0.69017535, -0.3262703, -0.42006296, -0.5177533, -0.45128047, -0.32255673, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
result += mat4(-0.11818855, 0.023456054, -0.3039647, 0.01846073, 0.27628344, 0.087394774, -0.31707954, -0.1830862, 0.48208076, 0.08061034, -0.0324067, -0.11835895, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
result += vec4(0.0015710528, -0.040573142, -0.0067538484, 0.017224679);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!SAVE conv2d_2_tf
//!WIDTH conv2d_tf.w
//!HEIGHT conv2d_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.16682588, 0.16400978, 0.1757737, -0.021072395, 0.06539432, -0.16751267, 0.058869474, -0.099648096, 0.17858149, 0.069162704, 0.060763087, -0.0552454, 0.1828016, 0.033170946, 0.02926846, -0.028046839) * go_0(-1.0, -1.0);
result += mat4(-0.16627714, 0.038792863, 0.21548623, 0.089160435, 0.14856382, 0.015014318, -0.21442959, -0.022967536, 0.17467047, -0.009386143, -0.10867876, -0.10340466, 0.02159861, 0.06991594, -0.1119627, -0.066545576) * go_0(-1.0, 0.0);
result += mat4(-0.052230895, -0.018615242, -0.11445917, 0.20970617, -0.084426574, -0.013301296, 0.04667932, -0.07582495, 0.07844388, 0.00012446557, -0.07266012, 0.08583548, -0.02102188, -0.11897397, -0.11998327, -0.18759511) * go_0(-1.0, 1.0);
result += mat4(-0.04358097, 0.014953064, -0.074998334, -0.19127296, 0.16845511, -0.04516635, 0.02583239, -0.047779176, -0.12151052, -0.1124019, 0.029203191, -0.018370887, -0.14904961, -0.09657445, 0.020365175, -0.05846497) * go_0(0.0, -1.0);
result += mat4(0.25461844, -0.060104672, -0.14170858, 0.069125645, -0.1670495, 0.09117099, -0.05437694, -0.03770912, 0.07687557, -0.019987138, -0.03828993, -0.036767155, -0.17758714, 0.2593606, -0.04066676, 0.055565428) * go_0(0.0, 0.0);
result += mat4(0.08597206, -0.011373685, 0.11531317, -0.13527994, 0.01074891, 0.022915367, -0.05613657, -0.0019634536, -0.046051264, 0.04448185, -0.26410443, -0.08412236, 0.07554895, -0.39869463, -0.23130144, 0.060447454) * go_0(0.0, 1.0);
result += mat4(0.08946055, 0.08202704, 0.079762414, -0.048531603, 0.08040403, 0.010686519, -0.087924965, -0.031123916, 0.016973065, 0.010001628, -0.011202491, -0.03149303, 0.03803412, -0.008884727, -0.18052368, -0.09137474) * go_0(1.0, -1.0);
result += mat4(-0.02726759, 0.21556567, 0.004814665, 0.057784032, 0.07907243, 0.033794418, -0.02036775, 0.0027191124, 0.08991113, 0.098211594, 0.07318809, -0.12720437, -0.060651563, 0.14401628, -0.035520233, -0.14350496) * go_0(1.0, 0.0);
result += mat4(-0.036229495, -0.023633955, 0.23254488, -0.025807278, -0.027887143, 0.015893005, -0.010803646, -0.15636021, -0.13111556, 0.024331553, -0.01490455, 0.13553609, 0.027496863, -0.25810578, -0.1345966, 0.09652125) * go_0(1.0, 1.0);
result += mat4(0.11428291, 0.27346528, 0.1849472, 0.24622405, 0.050756928, 0.07492283, 0.01873704, -0.0929874, 0.04518344, 0.06052399, -0.08201803, 0.023678334, -0.054044113, 0.07687756, -0.24156125, 0.118543856) * go_1(-1.0, -1.0);
result += mat4(-0.10255773, 0.058314987, -0.012948728, 0.22051606, 0.08234475, -0.024384284, -0.066541836, -0.0045136414, 0.14321695, -0.021375086, -0.018986465, 0.25354996, 0.032398373, 0.0074365274, -0.07150176, -0.0842891) * go_1(-1.0, 0.0);
result += mat4(-0.3070068, 0.13025287, 0.09119921, -0.014824796, -0.25336218, 0.13276166, 0.07451352, 0.071450256, -0.04538872, -0.06761559, -0.08009838, 0.053507026, -0.028579384, 0.12820083, -0.05414399, 0.02820338) * go_1(-1.0, 1.0);
result += mat4(0.25568405, -0.09424015, 0.064411856, 0.037094396, 0.089236505, 0.11341471, 0.06519967, -0.11673984, -0.07431905, 0.032323904, 0.012612807, -0.037857708, -0.09549262, 0.019785486, 0.11215783, -0.08178563) * go_1(0.0, -1.0);
result += mat4(-0.12977616, 0.052315574, 0.19321385, -0.23796389, -0.1430282, 0.033092096, 0.13771, -0.1681169, 0.07370609, -0.06530381, 0.023147697, 0.11661184, 0.009935798, -0.033072658, -0.1157439, 0.167107) * go_1(0.0, 0.0);
result += mat4(0.022870995, -0.051999938, 0.09499206, -0.050381728, -0.07750411, -0.07534439, -0.15148367, 0.10671288, -0.07895085, 0.08590099, -0.039177563, 0.04156403, 0.03901156, 0.0019494012, -0.082597494, -0.045954913) * go_1(0.0, 1.0);
result += mat4(0.18670611, 0.04035675, 0.010265794, 0.13104586, 0.015118543, 0.020945968, -0.08077425, 0.12478306, 0.033348877, -0.050095998, -0.021956673, -0.15989247, 0.0703153, -0.22443427, 0.09721435, 0.09415636) * go_1(1.0, -1.0);
result += mat4(0.022562401, -0.21802509, -0.13968697, 0.030495679, 0.20164397, -0.14806582, -0.16575468, 0.07708878, -0.007932748, 0.0076615694, 0.06960648, -0.09071667, -0.071091525, 0.014406244, -0.04066828, 0.07381237) * go_1(1.0, 0.0);
result += mat4(0.098004915, -0.15594271, 0.16878232, -0.13722226, 0.22940964, -0.009132059, -0.00984221, -0.10996952, -0.1617233, -0.011615988, -0.064739786, -0.21046808, 0.029180123, -0.10817059, 0.081083305, -0.124370016) * go_1(1.0, 1.0);
result += mat4(0.04555113, -0.038119707, -0.037176583, -0.22539136, 0.057313137, 0.0024502992, 0.11532159, -0.006040425, 0.013644908, -0.22676414, 0.045331072, 0.12293299, 0.022487158, -0.061195657, -0.15630952, -0.04152167) * go_2(-1.0, -1.0);
result += mat4(0.019613482, 0.07709181, -0.0667477, 0.030783981, -0.051050212, 0.13300157, -0.02746384, 0.044673294, 0.041831452, -0.12082941, 0.24011718, -0.13198936, -0.12387437, 0.11518795, 0.12564468, 0.0048698136) * go_2(-1.0, 0.0);
result += mat4(0.018528216, 0.06411587, -0.12267898, -0.024469404, 0.13344407, 0.09435489, -0.11681974, 0.13422827, 0.23464775, -0.13637649, -0.13120876, 0.16024348, -0.1178978, -0.0033701332, 0.05109847, -0.121679015) * go_2(-1.0, 1.0);
result += mat4(0.008721387, 0.07300866, 0.056996226, -0.04116479, 0.2858162, -0.03170533, -0.06512709, 0.07614593, 0.02063735, -0.10648821, 0.06545271, -0.07760196, 0.11181356, 0.09734669, 0.06384592, 0.13856758) * go_2(0.0, -1.0);
result += mat4(-0.087809436, 0.026485445, -0.10262454, -0.067591794, -0.054495905, -0.13071996, 0.007614136, -0.18144777, 0.1451436, 0.076285824, -0.006134546, -0.09420317, 0.059833933, 0.084446974, -0.08009216, -0.07066621) * go_2(0.0, 0.0);
result += mat4(0.21006338, -0.12184664, -0.18929327, 0.07800224, -0.032166578, 0.042057462, 0.030147228, -0.18111266, 0.06385915, 0.056353245, -0.08566922, 0.246077, 0.022679256, -0.046758424, -0.013280484, 0.048559744) * go_2(0.0, 1.0);
result += mat4(-0.016968472, 0.06551541, 0.10248965, -0.019251779, 0.12909546, -0.061840314, -0.006220995, -0.027636442, -0.023421615, -0.13997608, 0.22226256, -0.00414297, -0.11852816, 0.0030413773, -0.0484824, -0.057998173) * go_2(1.0, -1.0);
result += mat4(-0.074645035, -0.037241343, 0.093852654, -0.08116666, 0.03477197, -0.115568645, -0.10765692, 0.0003785455, 0.059631344, 0.13411269, 0.17720251, 0.09270491, 0.004923464, 0.118155435, 0.051029027, 0.019561961) * go_2(1.0, 0.0);
result += mat4(-0.11729622, 0.08133092, -0.1565527, 0.1092305, -0.044586428, 0.038454134, 0.1805931, 0.065337844, -0.033772465, 0.18221322, 0.064187706, 0.15034407, -0.112804286, -0.09195703, -0.06559008, -0.029188333) * go_2(1.0, 1.0);
result += mat4(-0.10510915, -0.0776238, -0.02661216, -0.07667854, 0.015220721, -0.16932015, -0.15212865, -0.12440911, 0.10847065, 0.16949058, 0.20047556, 0.06391445, 0.06942035, 0.09796073, -0.04969445, 0.18864428) * go_3(-1.0, -1.0);
result += mat4(0.050649058, 0.07098103, -0.0473734, -0.017548949, 0.059222713, -0.11837112, -0.1502057, 0.13990685, 0.16519493, -0.007813526, -0.015865954, 0.11118964, -0.0921189, 0.11554642, 0.09068235, -0.054495323) * go_3(-1.0, 0.0);
result += mat4(0.010653917, 0.071099974, -0.008376932, 0.08623703, 0.037236527, 0.05155848, -0.10741108, -0.12480437, -0.036548067, -0.02779435, 0.21860917, 0.110088535, 0.12381749, 0.0013657579, 0.078342445, 0.15400365) * go_3(-1.0, 1.0);
result += mat4(-0.044285372, -0.080408566, -0.082381204, -0.05444333, 0.09583508, -0.04366566, -0.18833442, -0.048229303, 0.12010392, 0.028752124, 0.20307614, -0.025710972, 0.07631876, -0.039822593, -0.21747215, -0.11503206) * go_3(0.0, -1.0);
result += mat4(0.15301265, -0.0904066, -0.13152894, 0.025233751, -0.0096486695, -0.047325417, 0.015993157, -0.074668825, 0.03168052, -0.12000325, 0.048012275, 0.04170218, 0.087761246, 0.114786044, -0.15148023, -0.039366517) * go_3(0.0, 0.0);
result += mat4(0.020880366, -0.06214199, -0.007097687, 0.017239975, -0.10893327, 0.076604076, -0.06110473, -0.08351579, 0.057976708, -0.11395709, -0.07283605, 0.17210332, 0.13145506, -0.034735806, 0.079893544, 0.027503777) * go_3(0.0, 1.0);
result += mat4(-0.064012215, -0.009359275, 0.051874913, 0.07147825, -0.002497903, -0.072561875, 0.06659626, 0.05593401, -0.0019645633, -0.0017003771, 0.0058332747, -0.03824299, 0.092494816, -0.16331163, -0.07637431, -0.1316867) * go_3(1.0, -1.0);
result += mat4(-0.012422661, 0.19522803, 0.08242971, -0.022447145, -0.08470463, 0.013340826, 0.022906132, 0.0104356585, -0.05838931, -0.22278416, -0.07702832, -0.03898843, -0.2222767, 0.020577319, -0.048793092, -0.20062482) * go_3(1.0, 0.0);
result += mat4(0.101836815, -0.07303682, 0.06112855, 0.07785088, -0.000851969, 0.1227914, -0.0124482615, 0.042857908, -0.0614457, 0.021257306, -0.047207817, -0.17122878, -0.20265298, 0.05639956, 0.13556977, -0.38614172) * go_3(1.0, 1.0);
result += mat4(-0.088439435, -0.13450874, 0.023986593, 0.06869799, 0.05181423, -0.041318443, 0.23758505, -0.003188584, -0.20574366, -0.08783116, -0.16370814, -0.10861661, -0.04101733, -0.25832054, 0.024531696, -0.052762356) * go_4(-1.0, -1.0);
result += mat4(0.06963789, -0.1523674, -0.13724455, 0.02417662, -0.26311964, 0.048317496, 0.033046376, -0.073426016, -0.07795718, -0.06680464, -0.10631037, -0.17531694, -0.00028496052, -0.18643321, -0.06544361, -0.260227) * go_4(-1.0, 0.0);
result += mat4(0.041163392, 0.1538335, 0.024395503, -0.22399011, 0.2949855, -0.046959065, 0.15241133, 0.1848325, 0.0073397346, -0.017275874, 0.20777975, -0.086460754, -0.03622649, 0.06786584, -0.06431515, -0.01926139) * go_4(-1.0, 1.0);
result += mat4(0.05714057, 0.026254643, 0.06006601, 0.044767264, -0.13143657, 0.077170044, 0.0218321, 0.3374874, 0.11799663, 0.07651933, -0.18386526, 0.12819925, 0.0458167, 0.031566396, -0.02104284, 0.060249478) * go_4(0.0, -1.0);
result += mat4(-0.15578985, -0.043274876, -0.06848441, -0.22675386, 0.34348467, 0.04755662, -0.120318204, 0.21213302, 0.22091343, 0.12801792, -0.27103272, 0.009107759, 0.28275114, -0.2595034, -0.08657963, -0.1385154) * go_4(0.0, 0.0);
result += mat4(-0.048247293, 0.006379949, 0.07069376, -0.03797948, -0.07503996, 0.10124351, 0.25479224, -0.012689729, -0.13646767, 0.063495666, -0.10367744, 0.02457448, 0.09329864, 0.25692573, 0.14967956, -0.11331509) * go_4(0.0, 1.0);
result += mat4(0.11566507, -0.10061327, -0.15576088, -0.091777846, 0.008444853, -0.08745054, -0.033295806, 0.0029031383, -0.030447904, 0.0064194244, 0.09609729, -0.12425308, -0.13877183, 0.06545948, 0.018649856, -0.00038733307) * go_4(1.0, -1.0);
result += mat4(0.021538408, -0.031782147, 0.053700346, -0.023047661, 0.06118648, 0.09422846, 0.15563804, -0.019954393, 0.058209274, -0.096121445, 0.0006476186, 0.0044233687, 0.10033549, -0.05667658, 0.0046613375, -0.21005854) * go_4(1.0, 0.0);
result += mat4(0.09127173, -0.13292567, 0.026308151, -0.086961046, -0.00038384288, -0.021899618, -0.018954279, -0.06198408, 0.083354875, -0.07151073, 0.05365628, -0.07579846, 0.032780807, 0.2582205, -0.10887159, -0.08340997) * go_4(1.0, 1.0);
result += mat4(0.03234336, -0.09737819, 0.005996931, -0.029132001, -0.13736439, -0.019345973, -0.13236563, 0.06412147, -0.012885312, 0.003402039, 0.07691811, 0.053523198, 0.047960896, -0.15073822, 0.07127285, -0.12797488) * go_5(-1.0, -1.0);
result += mat4(0.0013998925, 0.10343592, -0.03278372, -0.04077459, -0.04884479, 0.019157771, -0.035050172, -0.1138655, 0.0073900735, 0.06231151, -0.057525188, -0.18135616, 0.054992713, -0.20210464, 0.07046144, -0.04294392) * go_5(-1.0, 0.0);
result += mat4(0.057260677, -0.09056544, -0.15916282, 0.099339016, 0.16303736, -0.18345179, -0.031675916, 0.010661271, -0.13354564, 0.009094732, -0.123463884, -0.16987814, 0.040181488, -0.12794387, 0.20167524, -0.0942567) * go_5(-1.0, 1.0);
result += mat4(0.028133342, -0.0070152264, 0.027720878, -0.17349002, 0.04688365, -0.050090306, 0.062954105, 0.07243229, 0.056431357, -0.041695453, 0.02747664, 0.050903425, 0.1544682, 0.36754557, -0.16574225, -0.045575242) * go_5(0.0, -1.0);
result += mat4(0.07568822, -0.015356766, 0.062736675, -0.12429261, 0.006161586, -0.06951273, 0.0054048044, 0.0028502627, 0.07468177, -0.051956825, -0.034254014, 0.0506702, 0.16182432, -0.036455415, 0.14812818, 0.06563189) * go_5(0.0, 0.0);
result += mat4(-0.029565258, 0.028832972, 0.052721135, -0.11605627, 0.016583271, 0.0783395, 0.08374811, -0.15612024, 0.050813407, -0.14781949, 0.050757557, 0.047298737, -0.054435518, -0.0947514, 0.05424098, 0.03920314) * go_5(0.0, 1.0);
result += mat4(0.02041634, -0.094589, 0.017068772, -0.016447546, -0.07200135, -0.0031161357, 0.10459771, -0.13401397, 0.04388721, 0.007574108, -0.024857935, 0.08437274, 0.017542962, 0.0050615096, 0.0025386487, -0.058008164) * go_5(1.0, -1.0);
result += mat4(-0.074039295, 0.01593561, 0.027271466, -0.01622838, -0.12313946, 0.29065675, 0.0666616, -0.0015515542, -0.027692154, 0.11814952, -0.15590793, 0.0016750757, -0.055199716, -0.11188217, -0.041076142, 0.055293556) * go_5(1.0, 0.0);
result += mat4(-0.087336674, 0.09597909, 0.032252833, 0.019957634, -0.14232716, -0.037647195, -0.018637605, 0.028734578, 0.098073855, -0.039794624, 0.092389226, 0.16911197, -0.009319175, 0.12036487, -0.011530916, 0.080162555) * go_5(1.0, 1.0);
result += mat4(-0.024965037, 0.006104625, 0.10367222, 0.07385069, -0.15523866, 0.18478672, -0.28199175, 0.03124214, -0.106478676, 0.1969974, -0.0022582007, 0.0043790154, 0.013964622, -0.10033643, 0.07260623, -0.124574065) * go_6(-1.0, -1.0);
result += mat4(0.1866749, 0.21620537, -0.012563025, 0.03262129, 0.1719916, -0.053168118, 0.1302181, 0.21435094, -0.13355109, 0.06338094, -0.21260814, -0.014875881, 0.2550572, 0.03543736, -0.028924052, 0.34301576) * go_6(-1.0, 0.0);
result += mat4(0.014582116, 0.107564695, 0.19177647, 0.047451418, -0.11816758, -0.037558496, 0.37259078, -0.018045045, -0.14484513, 0.014460476, -0.006206022, -0.22719343, 0.06953869, -0.036870986, -0.0055092354, 0.21955575) * go_6(-1.0, 1.0);
result += mat4(0.25376984, 0.03961877, 0.12551436, 0.33974785, -0.27738678, -0.012565747, 0.08306037, -0.16246852, -0.09256709, 0.06350151, -0.0019622499, 0.14914742, 0.21517865, 0.15766472, 0.4066891, -0.20577961) * go_6(0.0, -1.0);
result += mat4(0.21415462, -0.0642115, -0.28112733, 0.27817658, -0.20207204, -0.06520876, -0.13293326, 0.0953727, 0.11732344, -0.02437645, 0.07841982, 0.081664644, 0.15626748, -0.06634179, 0.0855079, 0.34586227) * go_6(0.0, 0.0);
result += mat4(-0.05047869, 0.16492498, 0.11043203, 0.0057451506, 0.1889248, 0.007079426, -0.058276135, 0.21064675, -0.059098043, -0.19127457, -0.013977541, -0.1847022, -0.051189642, -0.27713004, 0.09603268, 0.36067933) * go_6(0.0, 1.0);
result += mat4(-0.067639776, -0.22933814, -0.07072787, -0.09514877, 0.0036013937, 0.054084364, 0.16150047, -0.09798026, -0.025709623, -0.04036443, -0.09191741, 0.12434371, 0.011584389, 0.0500184, 0.13453145, -0.04406909) * go_6(1.0, -1.0);
result += mat4(0.093614265, 0.08832574, -0.019384595, 0.33492145, 0.024007287, 0.20037757, 0.06563748, -0.08472612, -0.07865445, -0.017250929, -0.21227354, -0.15559788, 0.22698876, -0.062241085, -0.050376724, 0.104179695) * go_6(1.0, 0.0);
result += mat4(0.1361344, -0.054771457, 0.21874528, -0.13601023, 0.04159267, 0.04265182, -0.1952905, -0.006956085, -0.039083548, 0.12852322, 0.001135891, -0.12257516, 0.20699623, 0.037602983, -0.23034777, 0.2659882) * go_6(1.0, 1.0);
result += mat4(0.0074865655, -0.05454164, 0.0086328, 0.12537627, -0.19097276, 0.010964307, 0.09877973, -0.060631316, 0.0035393643, -0.010404835, 0.056712646, -0.13026424, -0.08125458, 0.08328297, -0.024453856, -0.019881193) * go_7(-1.0, -1.0);
result += mat4(0.2146004, 0.009173491, 0.06430178, 0.1115497, 0.2286379, 0.07678605, -0.074050754, -0.4544871, 0.04180918, 0.02466224, 0.049769487, -0.040270872, 0.031240942, -0.015997326, -0.05564773, 0.13276885) * go_7(-1.0, 0.0);
result += mat4(-0.024886066, -0.10454424, -0.008339705, -0.19566591, 0.017025474, -0.05540896, -0.14112535, 0.028222617, -0.110432364, -0.0370566, -0.060746565, -0.004373458, -0.110383295, 0.06892138, 0.057743933, 0.023001496) * go_7(-1.0, 1.0);
result += mat4(-0.07039479, -0.08098219, -0.0517122, 0.14518479, -0.0024635883, 0.08573159, 0.08298556, 0.19724075, 0.08604213, 0.026222989, 0.039014954, 0.027334757, 0.032409273, -0.012616069, 0.20315504, -0.18313569) * go_7(0.0, -1.0);
result += mat4(-0.25649765, 0.027311508, 0.18878505, -0.16631337, 0.077981934, 0.14177446, -0.045889527, 0.08531879, 0.05342123, 0.07260306, -0.024213074, -0.01107666, 0.10646281, 0.020352455, -0.06365357, -0.09970133) * go_7(0.0, 0.0);
result += mat4(-0.11130239, 0.07479549, -0.06315088, -0.08944423, 0.23731343, -0.059101656, -0.03792892, -0.08729022, -0.044306744, 0.098353304, -0.026851522, 0.055906583, -0.0229506, 0.007420558, -0.05338183, 0.07801898) * go_7(0.0, 1.0);
result += mat4(0.10403469, 0.11227043, -0.21066704, -0.09841933, 0.1123802, -0.09163859, 0.029262666, -0.02716128, -0.07741291, -0.12595192, 0.056868527, 0.11314479, 0.068367966, -0.048116703, 0.03942078, -0.049022034) * go_7(1.0, -1.0);
result += mat4(0.06663052, -0.18349448, -0.060040575, -0.034590982, 0.19210911, -0.16136944, 0.1027474, -0.026148252, 0.1331118, 0.08373371, 0.07543836, -0.0821376, -0.08116568, 0.028726097, -0.039574195, 0.12940447) * go_7(1.0, 0.0);
result += mat4(-0.0755444, -0.02010773, 0.12867439, -0.1612916, 0.11019535, -0.036212057, 0.08348267, 0.076423444, 0.103842124, 0.043353815, 0.005119714, -0.041111667, 0.19236392, -0.094081365, 0.088794835, -0.0032366752) * go_7(1.0, 1.0);
result += vec4(0.025721604, 0.008808415, -0.0029403395, 0.03648866);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!SAVE conv2d_1_tf
//!WIDTH conv2d_tf.w
//!HEIGHT conv2d_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.05523119, -0.09518896, 0.08921959, -0.13052566, -0.013512739, 0.047997378, 0.16674618, 0.019661155, 0.1088371, 0.040083896, -0.004689575, -0.036687367, -0.015716005, 0.049643658, -0.011459498, -0.064227246) * go_0(-1.0, -1.0);
result += mat4(-0.0014415162, -0.14803964, -0.10233617, -0.025700033, 0.09305118, -0.041833147, -0.017107604, -0.050550215, -0.055211663, 0.009147919, 0.07102604, 0.0067789825, 0.017316047, 0.032877374, 0.15263063, 0.031808965) * go_0(-1.0, 0.0);
result += mat4(0.11732844, 0.0910447, -0.081579626, 0.013813927, -0.07561606, 0.07621211, -0.08448194, 0.054920398, -0.043369707, 0.07710235, 0.04483282, -0.065252446, -0.01860033, -0.09282624, -0.042522658, -0.015202259) * go_0(-1.0, 1.0);
result += mat4(0.045474872, 0.10024481, -0.06166239, 0.12003297, -0.016422411, -0.05285928, 0.058388602, -0.1718166, 0.020738792, -0.0068486542, -0.04581591, -0.12065283, 0.06530598, -0.05116496, -0.01669561, 0.0024559954) * go_0(0.0, -1.0);
result += mat4(0.1193021, -0.25388858, -0.25403944, 0.048347283, -0.091768295, 0.082378544, -0.0510033, 0.017673727, 0.17033571, -0.14308529, -0.16331477, -0.04362767, -0.07888228, 0.14927958, -0.18066473, 0.089434035) * go_0(0.0, 0.0);
result += mat4(0.02403974, 0.08044914, -0.01426072, 0.03443945, -0.014536994, 0.02533013, 0.16955474, 0.0822529, -0.0060408474, 0.019831115, 0.04393656, 0.15207846, 0.05056048, 0.124797806, -0.139311, 0.09310812) * go_0(0.0, 1.0);
result += mat4(0.03542925, 0.11915315, -0.1311098, 0.09819034, -0.009666393, 0.029037869, 0.023572456, 0.020142581, 0.03380651, -0.08997595, -0.017141165, -0.018526986, 0.05253317, 0.049661253, -0.065568395, -0.091917224) * go_0(1.0, -1.0);
result += mat4(-0.07639606, -0.054812707, 0.057559833, -0.09068783, 0.11863554, -0.017611986, -0.18931979, -0.005461553, 0.10720041, 0.15927693, -0.0123401, 0.18948005, 0.041474298, -0.10943666, 0.06085662, 0.003503111) * go_0(1.0, 0.0);
result += mat4(0.055770155, 0.02822951, 0.09700467, -0.050730113, 0.03784999, -0.08229594, -0.02861142, 0.07229477, 0.121336035, 0.056729127, 0.04663669, -0.007550928, 0.16710907, 0.009395554, -0.008610169, 0.11862871) * go_0(1.0, 1.0);
result += mat4(0.13294618, -0.06904705, -0.20041288, 0.19415551, 0.01685586, 0.038024202, 0.13990912, -0.046226025, 0.0797283, -0.05583546, 0.028278789, -0.1492692, -0.11463168, 0.058183275, 0.049645618, 0.039629117) * go_1(-1.0, -1.0);
result += mat4(-0.18696861, -0.13563703, 0.032692514, -0.10432131, 0.02230654, -0.07747905, 0.14739737, 0.11521728, 0.0729215, 0.15747418, 0.025431354, 0.14331931, -0.1488298, 0.10179947, -0.101467535, -0.033923466) * go_1(-1.0, 0.0);
result += mat4(0.081285305, 0.026952317, -0.085190386, -0.10324916, -0.0015412258, 0.08588591, -0.19694312, -0.08696667, 0.023812002, 0.014004666, 0.0023922345, -0.014925462, 0.053948395, 0.026938133, 0.07743994, 0.069554806) * go_1(-1.0, 1.0);
result += mat4(0.13122624, 0.04613391, -0.05911036, -0.071337715, 0.14670388, 0.10637735, 0.120025985, -0.14935657, 0.17701747, 0.023492154, -0.028118515, 0.00088938075, -0.19212362, -0.20968609, 0.21538667, 0.26384237) * go_1(0.0, -1.0);
result += mat4(-0.054812234, -0.08416403, 0.0260952, -0.008515731, -0.142125, 0.02519786, 0.03312871, 0.0462577, 0.09721707, 0.013835848, -0.102207415, -0.10014805, 0.10402717, 0.08674653, 0.04860208, -0.06947179) * go_1(0.0, 0.0);
result += mat4(0.034799274, 0.024590576, -0.19037321, 0.03151982, -0.06556395, 0.006009085, -0.054991134, -0.06431149, -0.015655322, -0.0699281, 0.049673237, 0.06879375, -0.09895477, 0.0019435796, -0.0021232502, -0.06291184) * go_1(0.0, 1.0);
result += mat4(-0.09569188, -0.04358026, -0.056854516, -0.000111347676, 0.0853871, -0.028307417, 0.06702482, 0.032195363, -0.00012289426, 0.036054786, -0.07317682, -0.06055966, -0.008536366, -0.063153945, -0.13675526, 0.09815369) * go_1(1.0, -1.0);
result += mat4(0.060001787, -0.14248027, -0.18766588, -0.031177832, 0.25668815, 0.06644367, -0.10251424, 0.085613154, -0.07137866, -0.0390658, 0.07766741, -0.10317507, 0.025111878, 0.09819934, -0.2345668, -0.048678897) * go_1(1.0, 0.0);
result += mat4(-0.14977072, -0.087542735, -0.14482, 0.007347984, -0.08235114, -0.0005702134, 0.11287718, 0.021635564, -0.07436876, -0.11370213, 0.075715326, 0.06619972, 0.056717034, -0.020862443, -0.019998845, -0.051332474) * go_1(1.0, 1.0);
result += mat4(0.035570905, 0.13936782, -0.119994484, -0.1743154, 0.09265176, 0.067416996, -0.12855934, -0.03325352, -0.0010884873, -0.11393612, 0.26708764, 0.059674438, -0.06540884, -0.029078847, 0.0752755, 0.060898334) * go_2(-1.0, -1.0);
result += mat4(0.004282939, -0.074319474, -0.08570652, -0.08257143, 0.012451813, -0.052780382, -0.15148674, 0.080452204, -0.10941718, 0.04138225, -0.02822319, -0.1640315, 0.003044549, 0.13333072, 0.1302482, 0.117772214) * go_2(-1.0, 0.0);
result += mat4(-0.10399595, -0.06414262, 0.04463848, 0.03789655, 0.008393662, 0.096075214, 0.06362348, -0.08228957, 0.116857044, 0.107161805, 0.024692193, 0.20706779, -0.04162803, -0.021823602, -0.06078314, -0.08919124) * go_2(-1.0, 1.0);
result += mat4(0.21876146, 0.09191945, -0.1713131, -0.1695255, -0.14229187, 0.16128044, -0.042203654, -0.019452719, -0.11618261, 0.058886774, 0.21331106, -0.10177181, -0.050883863, -0.026295587, -0.011005942, 0.031958587) * go_2(0.0, -1.0);
result += mat4(-0.19700775, 0.00011510546, 0.064185515, 0.101220824, 0.14517656, -0.12774344, -0.083788246, -0.17077136, 0.015813397, 0.03214562, -0.036940534, -0.22156641, -0.13669154, 0.1068224, 0.046991926, 0.15731399) * go_2(0.0, 0.0);
result += mat4(0.07979363, 0.1641743, 0.1953904, 0.12759592, 0.058493655, -0.067155585, 0.012606587, 0.047781534, 0.1679869, 0.099415414, -0.14752066, 0.103076465, 0.010993393, 0.04623457, 0.06644519, 0.06356699) * go_2(0.0, 1.0);
result += mat4(0.17410177, -0.021142596, 0.03832318, 0.05570731, -0.08795235, 0.08994314, 0.14860317, 0.110479094, -0.053650588, 0.11992882, 0.0786844, -0.029005896, 0.022813741, -0.097005606, 0.043160316, 0.14180337) * go_2(1.0, -1.0);
result += mat4(0.020900672, 0.070728056, -0.058542836, 0.10948163, -0.044124976, -0.08577386, 0.1291225, -0.058463164, 0.10717037, 0.087889396, -0.19010662, -0.014903362, 0.066647105, 0.0008108183, -0.10592918, -0.16838996) * go_2(1.0, 0.0);
result += mat4(0.03863103, 0.061151855, 0.024460992, 0.00017194312, 0.16070026, -0.079970434, 0.14885707, 0.16158094, 0.07065171, -0.083885066, -0.0773903, 0.043984737, -0.13688512, 0.04315529, 0.029171892, -0.043184932) * go_2(1.0, 1.0);
result += mat4(-0.0032730796, -0.0678228, -0.1079233, -0.10729724, -0.0414774, -0.106715254, 0.021418726, -0.115363866, -0.021818358, 0.014319188, 0.27558854, 0.07177722, 0.16198973, -0.036741022, -0.039331302, 0.08528458) * go_3(-1.0, -1.0);
result += mat4(-0.0022572405, -0.12707013, 0.07970686, -0.033344477, 0.011235312, 0.029737111, 0.037241872, -0.027490782, 0.1667001, -0.22329094, 0.19529633, -0.06801771, 0.03439542, 0.09477615, -0.08548904, 0.02665781) * go_3(-1.0, 0.0);
result += mat4(0.023405857, -0.028674511, 0.17428322, 0.026365727, 0.059524775, 0.01696815, -0.11675319, 0.019108849, 0.043889746, -0.10923627, -0.06668395, -0.0001394108, -0.10932081, -0.10729272, -0.045865797, 0.058694717) * go_3(-1.0, 1.0);
result += mat4(0.028786171, -0.07996033, -0.042132188, 0.16268188, 0.01292829, -0.015771527, -0.11770419, 0.039871827, -0.067409195, -0.16829921, -0.12479334, -0.050815493, -0.0014285782, 0.037696563, 0.12936884, 0.24785544) * go_3(0.0, -1.0);
result += mat4(0.11821269, 0.02937396, 0.02528718, 0.02799023, -0.078774855, -0.13108966, 0.09530571, -0.12430738, -0.0658468, -0.014434043, -0.15922552, 0.10165563, 0.19187002, 0.0012871067, 0.13770217, 0.17639764) * go_3(0.0, 0.0);
result += mat4(-0.03887622, -0.043178383, -0.12944572, 0.0781853, -0.0343673, 0.15046304, 0.016929725, 0.010440784, 0.111742064, 0.20323086, -0.17518038, 0.20861465, 0.07141131, -0.1499564, 0.08331723, -0.018338641) * go_3(0.0, 1.0);
result += mat4(-0.09879554, -0.009893019, 0.0983551, 0.09640564, 0.041065227, 0.037249558, -0.048898797, -0.14597179, -0.036883067, -0.058221117, -0.061707452, 0.11114091, -0.04219781, -0.07160853, 0.025964098, -0.022408063) * go_3(1.0, -1.0);
result += mat4(-0.06854093, 0.033134002, -0.094440706, 0.03418527, 0.04887616, 0.14051184, -0.01767298, -0.020024845, -0.12027486, -0.14781527, 0.0006639068, 0.012838632, -0.0671156, -0.04252161, 0.16688527, 0.15175684) * go_3(1.0, 0.0);
result += mat4(-0.036188185, 0.009798812, -0.07980902, -0.018469814, -0.022443485, -0.057728596, 0.027371801, -0.004489727, -0.15019576, 0.063210264, 0.04545364, -0.094795585, -0.23649287, -0.2896298, 0.3047641, -0.02306759) * go_3(1.0, 1.0);
result += mat4(0.0710798, 0.055451605, -0.07648699, 0.13898383, -0.08452192, 0.11012541, -0.06281854, -0.05461686, -0.13105838, 0.041378103, 0.1423915, 0.022731576, -0.09423944, 0.042240687, 0.0055206236, 0.217599) * go_4(-1.0, -1.0);
result += mat4(0.07588608, 0.08921057, -0.0058231056, 0.026653443, -0.21734685, -0.006213704, -0.12702152, -0.07060434, 0.023911633, -0.06637617, -0.057719648, 0.0022903855, -0.009479896, -0.1350784, -0.16709046, 0.010745677) * go_4(-1.0, 0.0);
result += mat4(-0.10086355, 0.0110535165, 0.10848059, -0.07035538, 0.14857347, 0.14099321, 0.052920546, 0.0960118, 0.00702182, -0.009694436, -0.050239813, 0.11574682, -0.008785853, 0.117072344, 0.06994709, -0.0785332) * go_4(-1.0, 1.0);
result += mat4(-0.0033244858, -0.041283812, -0.0062056403, -0.079100005, 0.03710724, -0.20561017, -0.077498965, -0.089842565, -0.11496833, 0.014476948, 0.03424653, -0.011620334, -0.1081823, -0.036695667, -0.010624277, 0.19094554) * go_4(0.0, -1.0);
result += mat4(-0.10281635, 0.07619934, 0.24530065, 0.031338155, 0.2293712, 0.10000642, 0.2913761, 0.10625675, -0.19064593, -0.15475498, 0.017788576, -0.07991813, 0.13237537, 0.018305784, -0.021386296, -0.21711792) * go_4(0.0, 0.0);
result += mat4(-0.052176226, -0.0452586, 0.046231613, -0.011801034, 0.036633253, -0.106147125, -0.12706251, -0.14980705, 0.078584775, 0.09951909, -0.115246415, -0.07272013, -0.111544944, -0.03231619, -0.113790385, -0.12621674) * go_4(0.0, 1.0);
result += mat4(-0.10080901, -0.006650695, 0.0813086, 0.01621316, -0.049660202, -0.05663305, 0.060899526, 0.09370089, 0.1034699, 0.1313489, 0.08382034, 0.15258797, -0.007328495, -0.07970968, 0.13271572, 0.1248114) * go_4(1.0, -1.0);
result += mat4(0.0811457, 0.021604871, -0.0708046, 0.10275134, -0.059385683, -0.15250053, 0.15080771, 0.12262505, -0.015175936, -0.21616012, 0.11106964, -0.06573024, 0.1334304, 0.039077487, -0.0077960994, -0.082096316) * go_4(1.0, 0.0);
result += mat4(-0.026532508, 0.052564014, -0.13472368, 0.11765044, -0.045610473, 0.21229759, 0.14939204, -0.020855857, -0.12167336, 0.014780039, 0.005599771, -0.0366069, -0.114645116, 0.07955974, 0.025574045, -0.10698108) * go_4(1.0, 1.0);
result += mat4(-0.105111405, 0.01887759, 0.17108293, 0.030718861, -0.0036248523, -0.04220701, -0.1370944, 0.0610685, -0.08567308, 0.02382638, 0.04128756, 0.010917913, -0.0071965833, 0.11633362, -0.19415227, -0.06810197) * go_5(-1.0, -1.0);
result += mat4(0.17105678, -0.061937388, -0.12109572, -0.05737621, -0.010882215, 0.0077495095, -0.08858353, -0.037279226, -0.077877015, -0.08148342, -0.0128043005, -0.15990338, 0.06760134, 0.07077504, -0.077818625, 0.08186391) * go_5(-1.0, 0.0);
result += mat4(-0.04122479, -0.14456019, -0.00687704, -0.0023447806, -0.03724179, -0.01020969, 0.12662183, 0.0032528937, 0.0011372975, 0.0013715293, 0.042884655, 0.056097247, -0.023848789, 0.020091679, -0.056177765, -0.071522005) * go_5(-1.0, 1.0);
result += mat4(-0.10480783, -0.1623831, 0.16464269, 0.23841174, -0.13952696, -0.14506042, -0.0401578, 0.1833225, -0.1635158, -0.048028238, -0.026833056, 0.013035033, 0.33705005, 0.02140875, -0.0013267706, -0.13819021) * go_5(0.0, -1.0);
result += mat4(0.1160767, 0.060790952, -0.0724595, -0.04385768, 0.19978592, 0.0788206, 0.046029508, -0.049146708, -0.11248604, -0.09155754, 0.068832725, -0.03305183, 0.09853922, -0.22963063, 0.1005964, 0.08247126) * go_5(0.0, 0.0);
result += mat4(-0.028804837, 0.04783762, 0.026305035, 0.11646629, 0.022342246, 0.021584023, 0.0001582563, 0.04657554, 0.042147595, 0.10991348, -0.05957568, -0.035553932, 0.026858332, -0.048424963, 0.019152632, 0.019507838) * go_5(0.0, 1.0);
result += mat4(0.060836714, -0.022240432, -0.080111384, 0.012706318, -0.011927039, -0.036633156, -0.09807743, 0.001682814, -0.048570346, 0.022914637, 0.08297579, 0.07432916, -0.06689553, 0.07128321, 0.060760804, -0.053622015) * go_5(1.0, -1.0);
result += mat4(-0.08151351, 0.03328517, 0.0655914, 0.030473806, -0.20243235, -0.07587536, 0.059557915, -0.025496572, 0.08349247, 0.03562965, -0.013549137, 0.007226739, 0.02451737, -0.12500823, 0.17518938, 0.027817642) * go_5(1.0, 0.0);
result += mat4(0.111120775, 0.069498256, 0.109161, -0.07871808, 0.03341905, 0.093649514, -0.103547156, -0.0221692, 0.14756559, 0.08163537, -0.027058242, 0.012208241, -0.024274345, 0.036743194, 0.021657368, 0.08115235) * go_5(1.0, 1.0);
result += mat4(-0.016565295, -0.093153246, 0.07434916, 0.13516915, 0.066431835, -0.08160101, 0.22495477, -0.005786332, 0.050438188, -0.053129386, -0.19276144, -0.026223544, 0.07634501, 0.0152589185, 0.09015993, -0.12081901) * go_6(-1.0, -1.0);
result += mat4(-0.02868214, -0.09362387, 0.20420188, 0.2323043, 0.11400136, 0.005945724, 0.098368086, 0.08062859, 0.16150405, 0.035759013, -0.06049329, -0.043028176, 0.18725239, -0.16331641, -0.048589546, 0.0063477824) * go_6(-1.0, 0.0);
result += mat4(0.10109423, 0.028425362, 0.0021927503, -0.026673127, -0.061097544, -0.056787327, -0.19795562, -0.013237915, -0.010981921, -0.09065953, -0.13859056, -0.04323077, 0.040252034, 0.07637654, -0.11945002, 0.094968155) * go_6(-1.0, 1.0);
result += mat4(-0.3977607, -0.13790089, -0.055158988, -0.050174505, 0.052614894, -0.07778908, -0.015430888, 0.047986247, 0.14888169, -0.16543779, -0.2891003, -0.04342235, 0.30348074, 0.10824644, 0.10112518, -0.24783409) * go_6(0.0, -1.0);
result += mat4(0.23575824, 0.011677025, -0.085980736, -0.18474336, -0.046511535, -0.2450259, 0.015577409, 0.090929225, -0.23187812, 0.3062745, -0.008086566, 0.09375844, 0.17479296, -0.32219046, -0.17859502, -0.029911464) * go_6(0.0, 0.0);
result += mat4(0.0074331514, -0.0158369, -0.15111591, -0.0986743, -0.030352395, 0.25137565, 0.04130103, -0.0062408587, -0.1494196, 0.10451748, 0.17356388, -0.11889589, -0.21257852, 0.18119709, -0.32618928, -0.14297172) * go_6(0.0, 1.0);
result += mat4(-0.020291256, -0.12662272, 0.056155823, 0.057880387, 0.109167404, -0.08335087, -0.15138221, 0.047699973, 0.0058621103, -0.06914936, -0.073086455, 0.003365277, 0.22831668, -0.07399479, 0.024957279, 0.05620497) * go_6(1.0, -1.0);
result += mat4(0.07699637, 0.041208927, 0.06305996, 0.041955516, -0.08543101, 0.1444409, -0.08606257, -0.055031363, -0.10753908, 0.044322092, 0.15147197, -0.030209096, 0.009578645, -0.28745437, 0.182556, 0.019715844) * go_6(1.0, 0.0);
result += mat4(-0.075021446, -0.19192447, 0.1017877, -0.06666319, -0.14443877, 0.15312059, -0.073553406, -0.14337407, 0.08148258, 0.056119774, 0.12854706, -0.05987905, 0.08368831, -0.016305747, 0.07510809, 0.074687295) * go_6(1.0, 1.0);
result += mat4(-0.010471119, 0.13328238, 0.060071457, -0.03948096, 0.05319884, 0.17310601, -0.04464768, 0.08970178, 0.10060466, 0.03673445, -0.1702518, -0.16137329, -0.10923549, -0.080803566, 0.08140776, -0.023817802) * go_7(-1.0, -1.0);
result += mat4(0.013244887, 0.15331677, 0.09793132, 0.09692318, -0.1730623, 0.02818572, 0.05820418, -0.10480771, -0.009753599, 0.027658407, -0.08239695, -0.028878244, -0.13597834, -0.114619546, 0.12918031, -0.101478636) * go_7(-1.0, 0.0);
result += mat4(-0.1387837, -0.025863085, -0.07998665, -0.12072783, -0.02631342, 0.22394536, -0.044502188, 0.043130975, -0.054995466, -0.02638623, -0.03035314, -9.780792e-05, 0.10787078, 0.09983201, 0.048798468, -0.027303448) * go_7(-1.0, 1.0);
result += mat4(-0.030307472, 0.10377603, -0.048275083, -0.17565064, -0.0731305, -0.1687179, 0.049325664, 0.06664795, 0.15953282, 0.019989133, -0.12020434, 0.08591394, 0.016914282, 0.026901973, 0.058946334, -0.08739783) * go_7(0.0, -1.0);
result += mat4(-0.04967794, 0.07685563, 0.188108, 0.027708061, -0.12741639, 0.1113947, 0.080441244, -0.0532469, 0.18773162, -0.048492104, 0.10304353, -0.07217096, -0.03396989, -0.13489579, 0.0097981915, -0.07177994) * go_7(0.0, 0.0);
result += mat4(0.06648731, -0.013308226, 0.07468537, 0.018027442, 0.015774438, -0.12655127, 0.008981899, -0.10848047, 0.01785698, -0.037054867, 0.05375838, 0.026628552, -0.007766137, 0.021725474, -0.14604005, 0.07607764) * go_7(0.0, 1.0);
result += mat4(0.11879723, -0.015889695, -0.07713315, -0.069208734, 0.030487843, -0.01902965, 0.09156338, 0.11870824, -0.0053699217, 0.05143409, -0.07897252, -0.09999788, 0.037435826, 0.07663497, 0.0062756166, -0.007952132) * go_7(1.0, -1.0);
result += mat4(0.10580244, -0.036087725, -0.019035814, 0.033959202, 0.100345545, -0.1669388, 0.09289055, -0.0006761699, 0.05343634, 0.037503824, 0.08714516, 0.088569865, -0.08008031, -0.14313452, -0.0869759, -0.08801987) * go_7(1.0, 0.0);
result += mat4(0.006534133, 0.05105751, 0.1326258, -0.012239177, 0.058115125, 0.028674275, -0.09591513, -0.005499378, 0.041579086, -0.06331064, -0.045979768, 0.10551663, 0.112477005, -0.009950793, -0.1351577, 0.038971644) * go_7(1.0, 1.0);
result += vec4(0.05119014, 0.001999624, 0.0051741754, 0.006344799);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x48
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!BIND conv2d_2_tf
//!BIND conv2d_1_tf
//!SAVE conv2d_3_tf
//!WIDTH conv2d_tf.w
//!HEIGHT conv2d_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
#define g_1 (max((conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
#define g_2 (max((conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
#define g_3 (max((conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
#define g_8 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.113515526, 0.106837384, 0.20812881, 0.16897917, 0.041623022, -0.1039364, 0.19850619, 0.298937, -0.3082365, -0.031754434, 0.16342433, 0.37504506, 0.09699736, 0.010189174, 0.17887989, -0.09383025) * g_0;
result += mat4(0.10328652, -0.028724594, -0.03725655, 0.27347645, 0.10183029, -0.16081847, -0.10617321, 0.1901187, -0.03793219, 0.2775493, 0.14563474, 0.00840078, -0.17760493, 0.13339461, 0.089312814, 0.034915876) * g_1;
result += mat4(0.015832528, -0.045636576, -0.12128991, 0.2608647, 0.24673735, 0.10102276, 0.16210636, -0.46542636, -0.015267993, -0.15264183, 0.25447357, 0.031080268, 0.20901208, 0.14662905, -0.036634948, 0.0845752) * g_2;
result += mat4(0.09588151, 0.018494375, 0.027304746, 0.13447088, -0.06265565, 0.1733864, 0.334192, -0.113528445, 0.21299788, -0.1472667, 0.29488075, -0.1290995, -0.024090588, -0.3359844, -0.101115264, -0.2198912) * g_3;
result += mat4(-0.0139789, 0.21625891, 0.022689445, 0.06341661, -0.117535755, 0.2804869, -0.044223994, -0.19280532, 0.12332802, -0.038589306, 0.060168512, 0.003091399, 0.22361282, 0.20717236, -0.098680764, -0.3309222) * g_4;
result += mat4(-0.06628995, 0.12792988, 0.003792715, 0.1680786, -0.1342965, 0.41055954, 0.062222756, 0.049789477, -0.07372347, -0.18070233, 0.03299076, -0.09340363, 0.32073286, -0.07532172, -0.07331408, 0.20519489) * g_5;
result += mat4(0.086528674, 0.08663942, 0.25446007, -0.3459604, 0.08586162, -0.2900368, -0.24869849, 0.20104861, -0.5512707, -0.08311233, 0.14626856, -0.15290149, -0.1541716, 0.02692958, -0.0066374447, 0.37172756) * g_6;
result += mat4(-0.19816272, 0.08062059, 0.072980136, -0.1234166, 0.16083257, 0.07615364, 0.16252695, -0.31896582, -0.3006324, 0.24307664, 0.10824411, -0.22742745, -0.16614948, -0.22890756, -0.07267046, 0.09090352) * g_7;
result += mat4(-0.10712061, 0.071095675, -0.32983637, -0.09112012, 0.24694498, 0.09215849, 0.05334446, 0.077359654, -0.07286092, 0.34112877, -0.013829287, 0.06670894, -0.09276153, 0.072939105, -0.13622369, 0.14010417) * g_8;
result += mat4(0.11312907, -0.090158425, 0.3204081, 0.053531416, -0.253243, 0.12732224, -0.02162359, -0.34881824, 0.011340285, -0.2804999, -0.24482724, -0.06718974, 0.015262575, -0.0716948, -0.07537729, -0.20046124) * g_9;
result += mat4(0.046407733, 0.17073393, 0.027035931, -0.32520708, 0.47023183, -0.11385112, 0.10980019, 0.12331711, 0.039710827, 0.25615647, -0.06121073, 0.22643484, -0.053721283, -0.019124558, 0.24745707, -0.007544153) * g_10;
result += mat4(0.015645513, 0.24795622, -0.027034724, 0.091168396, 0.13050666, 0.19245213, -0.3235803, 0.12572092, -0.04100238, -0.2667382, -0.06869353, -0.18729845, -0.3253826, -0.15944591, -0.038754206, -0.022384685) * g_11;
result += vec4(-0.021124197, 0.065632634, 0.024891809, 0.072871104);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x48
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!BIND conv2d_2_tf
//!BIND conv2d_1_tf
//!SAVE conv2d_3_tf1
//!WIDTH conv2d_tf.w
//!HEIGHT conv2d_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
#define g_1 (max((conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
#define g_2 (max((conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
#define g_3 (max((conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
#define g_8 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.11699225, -0.011926791, 0.15968116, -0.28171888, -0.094884306, 0.12266288, -0.02869124, 0.124487214, 0.11344168, 0.27545413, -0.11473996, -0.18655725, 0.07444298, 0.20979966, -0.34344572, 0.09082154) * g_0;
result += mat4(0.34916008, 0.13911577, -0.010201517, 0.0037869287, 0.08340967, -0.12156858, -0.117294475, 0.35585365, -0.06922667, 0.06911412, -0.07068636, 0.12846842, 0.015117793, -0.023309045, 0.013241948, -0.107297644) * g_1;
result += mat4(0.17315003, -0.10761723, -0.072508104, 0.22057249, -0.07545323, 0.07440893, -0.20900318, 0.020722175, 0.10075026, -0.12781784, -0.023600617, -0.08387344, 0.32060823, -0.078003615, 0.114024006, 0.09494562) * g_2;
result += mat4(0.11551656, -0.000862936, -0.3338336, -0.19441503, 0.14071822, -0.09090158, 0.116582595, -0.14757058, 0.3173076, 0.027060512, -0.18175173, 0.103367195, -0.123774566, 0.004113376, -0.036047045, 0.20972507) * g_3;
result += mat4(0.2616819, -0.23769857, 0.14694063, 0.52330256, -0.15146148, -0.21730542, -0.067091495, -0.06504361, 0.04726932, -0.043983664, -0.04815243, 0.16768406, 0.19502987, -0.32623842, -0.051590122, -0.13552347) * g_4;
result += mat4(-0.10593247, 0.043780692, -0.0012781665, -0.027277134, 0.07427171, 0.21340221, -0.0145785725, -0.09647566, 0.07683649, -0.0025731022, 0.22363698, -0.05832384, 0.021017361, -0.07482151, -0.12129065, -0.0019391342) * g_5;
result += mat4(-0.0340859, -0.14430326, 0.10648293, -0.072308615, 0.11786764, 0.119093865, -0.012822142, -0.037612807, -0.1896853, -0.22999093, 0.4030961, -0.03841633, 0.12869515, -0.18355207, 0.010367995, 0.02159778) * g_6;
result += mat4(0.053300664, 0.09102034, 0.2953044, 0.20959346, 0.051493607, 0.42663953, -0.24863662, -0.18108594, 0.09425621, 0.13966715, -0.14302093, 0.043921605, -0.16983564, 0.0754303, -0.017989958, 0.17268774) * g_7;
result += mat4(-0.08402705, -0.09658915, 0.12671614, -0.16052966, 0.03697882, 0.30477068, 0.13104036, 0.0013146247, 0.20226406, -0.07586563, -0.011798672, 0.3262475, -0.06879792, 0.08181783, 0.36202317, 0.3781982) * g_8;
result += mat4(-0.17125002, 0.33657587, -0.39985514, 0.02585221, 0.1537332, 0.04795972, 0.018550362, -0.22021875, -0.19417998, 0.074346684, 0.12862094, -0.20361246, -0.024607735, -0.2939094, -0.20752306, -0.23394017) * g_9;
result += mat4(0.1611785, -0.21036223, 0.511955, -0.32777244, -0.1491686, 0.16397569, 0.08984783, -0.06717227, 0.0506624, 0.11203859, -0.05863204, -0.19412707, -0.10711086, 0.19335233, -0.036180694, -0.12216311) * g_10;
result += mat4(0.07279537, 0.118367635, -0.24924143, 0.077552676, 0.076574005, 0.29696205, -0.4367856, 0.049242187, 0.03598476, -0.23271763, 0.09492026, 0.1604189, 0.23055643, -0.5723609, -0.16704383, -0.1909646) * g_11;
result += vec4(0.02420742, -0.053550396, 0.09937034, 0.02549033);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x48
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!BIND conv2d_2_tf
//!BIND conv2d_1_tf
//!SAVE conv2d_3_tf2
//!WIDTH conv2d_tf.w
//!HEIGHT conv2d_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
#define g_1 (max((conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
#define g_2 (max((conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
#define g_3 (max((conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
#define g_8 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.2471731, -0.16232504, -0.30280364, 0.05774581, -0.33488455, -0.2850219, -0.14658487, 0.1705944, -0.24376623, -0.07736909, 0.13372669, 0.13659224, 0.15363434, 0.09130026, 0.118685074, -0.1887429) * g_0;
result += mat4(-0.14029902, 0.04204984, 0.029388431, -0.16639939, 0.037349563, 0.090201415, 0.115845665, 0.094291255, -0.003028802, -0.1821114, -0.052043844, 0.18686622, -0.1255908, 0.1673359, 0.17418015, -0.24007064) * g_1;
result += mat4(0.045778025, -0.038912218, 0.116795845, -0.118629694, -0.1916185, -0.21808104, 0.22124553, 0.12642126, -0.024481684, -0.32958513, -0.11877306, -0.13612218, 0.1202751, -0.17667405, 0.08483987, -0.07016802) * g_2;
result += mat4(0.004220892, -0.060743902, -0.15420602, -0.32612783, 0.022069136, -0.11913074, 0.22228731, 0.43151212, -0.03867469, 0.29992265, -0.14474417, -0.1324549, -0.067330755, 0.07419592, -0.3801413, 0.25740635) * g_3;
result += mat4(-0.43801382, 0.074864835, 0.22297561, -0.07522966, 0.089928746, -0.23775443, 0.12624952, 0.05267909, 0.11843678, 0.23380554, -0.16562468, 0.04727477, -0.07479534, -0.06559248, 0.41837972, 0.34442958) * g_4;
result += mat4(0.3688564, 0.13552678, -0.12272029, -0.14460362, -0.052870844, -0.0072880904, -0.20343664, 0.051840555, -0.07027805, 0.025613135, 0.1342496, -0.15982226, 0.21681777, -0.22339828, 0.04231994, 0.11173033) * g_5;
result += mat4(-0.014970335, -0.29749388, -0.17493735, 0.29414502, 0.040422376, 0.15367351, -0.16439381, -0.18030228, 0.11266584, 0.111256205, 0.14735286, 0.04284055, -0.15905188, 0.43124563, -0.32235175, -0.24786504) * g_6;
result += mat4(-0.05143537, 0.11057835, 0.21779476, 0.23726006, -0.0005560291, 0.04139496, -0.16062462, -0.24794249, -0.1464781, 0.19482404, -0.312965, 0.06129383, -0.18794996, 0.16319337, 0.14189719, -0.30816367) * g_7;
result += mat4(0.27121273, -0.004694028, -0.31637567, 0.032995105, -0.036668185, -0.11826119, 0.035944767, 0.21887423, -0.030638168, -0.3112658, 0.1413359, -0.05586408, 0.028680937, -0.109603494, -0.48359016, -0.085163146) * g_8;
result += mat4(-0.15236667, -0.06385869, 0.31347254, 0.024068993, 0.2756432, -0.0046036905, 0.07813827, -0.19012104, 0.04450809, 0.00904128, -0.21091071, 0.10090084, -0.014248632, 0.1903685, 0.27477407, 0.06778423) * g_9;
result += mat4(-0.13072848, 0.01106962, 0.09164927, 0.038539473, -0.27705765, 0.12634145, -0.32573533, 0.18789926, -0.089990735, -0.12661424, -0.19122249, 0.11970773, -0.15596688, -0.15337645, -0.39366686, 0.25173476) * g_10;
result += mat4(0.133498, -0.1286767, 0.0066307387, 0.05333134, 0.32057172, 0.11854806, 0.23994155, 0.07014444, -0.0822214, 0.17359538, 0.011753332, -0.098263726, 0.09097752, 0.23439142, 0.24286969, 0.30044666) * g_11;
result += vec4(-0.013156251, -0.073697254, 0.013861042, 0.029801248);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x48
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!BIND conv2d_2_tf
//!BIND conv2d_1_tf
//!SAVE conv2d_3_tf3
//!WIDTH conv2d_tf.w
//!HEIGHT conv2d_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_tf_tex(conv2d_tf_pos)), 0.0))
#define g_1 (max((conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
#define g_2 (max((conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
#define g_3 (max((conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_tf_tex(conv2d_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_tf3_tex(conv2d_tf3_pos)), 0.0))
#define g_8 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.0753999, 0.03658432, 0.18477479, 0.1749442, -0.5686113, 0.07571735, 0.3006386, -0.10368173, 0.31511122, 0.19695596, 0.022956114, 0.10611498, 0.11219441, 0.07497535, -0.051178914, 0.40932408) * g_0;
result += mat4(-0.53745884, -0.26310006, -0.14212249, -0.10600016, -0.3300384, -0.11597243, -0.10909209, 0.1591658, 0.20530003, 0.10293979, 0.44854087, -0.14645655, -0.17974512, -0.22815758, 0.055204354, 0.07649109) * g_1;
result += mat4(-0.11100687, -0.020421045, -0.06534363, -0.006278175, -0.20759039, 0.41434816, 0.019221503, -0.18696092, -0.17718618, -0.27402994, -0.31856942, 0.17581874, 0.19913019, -0.12737915, -0.23136902, 0.29896608) * g_2;
result += mat4(-0.19094995, -0.008856119, -0.1510312, 0.027294202, -0.038605593, 0.26966265, 0.07470327, -0.21256901, -0.004842345, -0.007547481, 0.0102520995, -0.101378344, 0.06716397, 0.32778296, 0.09866201, 0.105650894) * g_3;
result += mat4(-0.07321942, -0.20841677, -0.2987479, -0.025003504, 0.51052386, 0.11103265, -0.24727266, 0.05006711, -0.04068963, -0.17566985, 0.22884814, -0.08789049, 0.15666409, -0.2519647, 0.1815161, -0.29741505) * g_4;
result += mat4(0.32267484, 0.30005294, -0.32079622, 0.30390024, 0.47575063, 0.15858233, -0.049186833, -0.08754423, -0.30718598, -0.23053262, -0.4130956, 0.15375546, -0.2504387, 0.14406683, -0.03541755, -0.116562754) * g_5;
result += mat4(0.089908786, 0.16712907, 0.2827455, -0.1158676, 0.100818515, -0.13472387, 0.0018383784, 0.28862092, 0.16807888, 0.21766861, -0.008835093, -0.013818307, 0.29853174, 0.44468543, 0.109368436, 0.05118149) * g_6;
result += mat4(0.068973444, 0.0794158, 0.008132662, -0.025349714, -0.241619, -0.562253, -0.06472331, 0.26760724, 0.14286947, -0.108172484, -0.18315507, 0.082276024, -0.056612104, 0.15318224, 0.09156046, 0.059472494) * g_7;
result += mat4(0.17709294, 0.11063602, 0.016538871, -0.04356374, -0.4417025, -0.23322596, 0.1735871, -0.13079296, -0.014818513, 0.085076906, 0.31257257, -0.0979718, 0.23537876, 0.22838776, -0.1946557, -0.21086106) * g_8;
result += mat4(0.16094512, -0.20355348, 0.1149018, -0.19766387, -0.043893784, -0.12358672, -0.03911131, 0.23320928, -0.08093544, 0.09920411, -0.40996867, 0.08985439, -0.26298022, -0.35406327, 0.27618915, -0.17629734) * g_9;
result += mat4(0.17672168, 0.33174667, -0.1032466, -0.27387938, -0.02977908, -0.025017925, -0.20994124, -0.08694916, -0.02364592, -0.09470408, 0.020289965, 0.012267187, -0.36518613, -0.3328729, -0.006646349, 0.2829864) * g_10;
result += mat4(-0.37110084, -0.35592732, 0.23536026, 0.23718278, 0.047251917, -0.005406326, -0.3790981, -0.06730541, -0.059093118, 0.17381823, 0.08860589, -0.08435597, 0.063891046, 0.111061476, -0.17462096, -0.21782869) * g_11;
result += vec4(-0.036752474, -0.0199064, -0.031221999, 0.027302064);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!SAVE conv2d_5_tf
//!WIDTH conv2d_3_tf.w
//!HEIGHT conv2d_3_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_3_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_3_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.09734661, 0.061269853, 0.010684367, 0.07922197, 0.05781062, 0.09498859, 0.0059541194, 0.055028643, 0.029842257, 0.021540405, 0.046974428, -0.06634233, -0.13435823, 0.052091595, 0.15516177, 0.20840359) * go_0(-1.0, -1.0);
result += mat4(-0.11204712, 0.087035954, 0.18622182, 0.31039688, 0.14824612, -0.0020548997, -0.05728568, 0.09329071, -0.048949752, -0.00422063, 0.10059791, 0.01128758, -0.0667123, -0.07316058, -0.009909637, 0.14781536) * go_0(-1.0, 0.0);
result += mat4(0.21659678, -0.11969646, 0.31596485, -0.29449376, -0.085787125, -0.0041973544, 0.014939408, -0.06458572, 0.016557008, -0.10691503, 0.07453658, -0.09312512, -0.041953124, 0.0108861765, 0.046261944, 0.1774456) * go_0(-1.0, 1.0);
result += mat4(0.02254322, -0.052918423, -0.113152504, 0.071858585, 0.0117703015, 0.079451814, -0.0029153633, 0.015306896, -0.040042825, -0.06333894, 0.03827381, -0.003296969, 0.23065478, 0.11165739, 0.029987952, 0.13538778) * go_0(0.0, -1.0);
result += mat4(0.22478464, 0.053055856, 0.13375497, 0.11132069, 0.0768609, -0.08802591, -0.0005126305, -0.096074104, 0.05547799, 0.14047498, -0.21863975, 0.088811226, 0.14175189, 0.056029763, -0.09243144, -0.03227621) * go_0(0.0, 0.0);
result += mat4(0.058631405, -0.0020513993, -0.100427136, 0.09413551, 0.020093564, 0.069237374, -0.031309333, -0.15205812, -0.07296385, -0.08101741, -0.033533495, 0.04185518, -0.069678605, -0.11994933, -0.05458667, 0.1239785) * go_0(0.0, 1.0);
result += mat4(0.023654098, -0.016322771, -0.053925548, -0.05829063, 0.03189806, -0.07079362, 0.045294795, -0.056835167, 0.005102182, -0.004473431, 0.089829914, -0.051828075, 0.13791272, -0.12263063, 0.09900396, 0.08934504) * go_0(1.0, -1.0);
result += mat4(-0.14883909, -0.08370035, 0.029796274, -0.061349917, 0.031639863, 0.07670951, -0.07982861, -0.075953715, 0.01616426, 0.04547463, -0.17410962, -0.13339755, -0.030177329, 0.081280835, -0.071240604, -0.068024755) * go_0(1.0, 0.0);
result += mat4(-0.035136715, -0.0666993, -0.053949412, 0.23571363, 0.064162835, 0.058248613, 0.071939655, -0.043032203, 0.0027190417, 0.102130406, 0.08265134, 0.14767906, 0.11839981, 0.022512883, 0.008833997, -0.08867263) * go_0(1.0, 1.0);
result += mat4(-0.045464355, -0.03901701, 0.104742035, -0.054333255, -0.000674463, -0.072723635, -0.011385688, 0.1390963, -0.057841327, -0.10662542, -0.006296826, 0.07534485, -0.0022529615, -0.017679833, 0.11422933, -0.09602691) * go_1(-1.0, -1.0);
result += mat4(-0.037918784, 0.0471143, 0.01821684, 0.04785347, 0.05893716, -0.05264373, 0.031792507, 0.022692155, -0.12618628, -0.078732796, -0.107741006, -0.005904432, 0.033265546, -0.037677728, 0.018410092, -0.045087464) * go_1(-1.0, 0.0);
result += mat4(-0.08069271, 0.14640823, 0.03188813, 0.048628252, -0.10498838, -0.01750696, -0.017270578, -0.20060967, -0.022688782, 0.14007398, -0.064233646, -0.06584529, 0.048313648, 0.02902496, 0.025434876, -0.015005926) * go_1(-1.0, 1.0);
result += mat4(-0.11691012, 0.10830498, 0.0864008, -0.07428175, 0.059586193, 0.08761011, -0.051804967, -0.116023265, -0.040842712, 0.064043894, -0.055760466, -0.03979215, -0.1566118, -0.07059479, 0.23128736, 0.29601103) * go_1(0.0, -1.0);
result += mat4(0.019733015, -0.121494144, 0.07050759, -0.031028662, 0.02035677, 0.037133172, 0.1959422, 0.010620721, -0.11892457, -0.062402498, 0.23107922, 0.017938357, 0.039822582, -0.34718394, -0.0043610777, -0.12503235) * go_1(0.0, 0.0);
result += mat4(-0.1521077, 0.023124147, 0.17105149, -0.09529017, -0.18716997, 0.15938593, -0.075555176, 0.007660074, -0.0659198, 0.042362686, 0.06072557, -0.052555315, 0.031564806, -0.13988672, -0.100266196, 0.15556104) * go_1(0.0, 1.0);
result += mat4(0.03950866, 0.0932461, 0.14669223, -0.075737424, -0.09153526, 0.0028438887, 0.0519975, -0.008800768, -0.0026975062, -0.041466944, -0.10415832, -0.048266735, -0.19737266, -0.008451561, 0.054551005, -0.18987523) * go_1(1.0, -1.0);
result += mat4(-0.017622106, -0.10150143, -0.061344724, -0.021990284, 0.16188632, -0.039700583, 0.024772005, -0.05583961, 0.055742163, 0.17517552, 0.079216845, -0.045874085, -0.33632788, -0.55761105, -0.15164435, 0.19563487) * go_1(1.0, 0.0);
result += mat4(0.15358269, -0.08413987, 0.031613722, -0.016460061, -0.0045705284, 0.022188313, -0.053493183, -0.010319478, -0.10769792, -0.03695773, 0.004054835, -0.104466334, -0.10020303, -0.064705715, -0.041581728, -0.086132765) * go_1(1.0, 1.0);
result += mat4(-0.05974514, 0.036663704, -0.10178144, 0.21211717, 0.04420661, -0.036548615, -0.098309755, -0.08025222, 0.07865967, 0.07362496, 0.12985736, 0.12008698, -0.06263807, -0.10731051, -0.06923558, 0.07864413) * go_2(-1.0, -1.0);
result += mat4(0.22417663, 0.0588772, 0.1198325, -0.07723108, 0.033947755, -0.041091707, -0.16751619, -0.12512505, 0.100351505, 0.021007577, -0.0038691324, 0.11080665, 7.171485e-05, -0.05867157, 0.118601635, 0.053962808) * go_2(-1.0, 0.0);
result += mat4(0.021666002, 0.0027355652, 0.052574422, 0.056000613, 0.12146606, -0.13704947, -0.0871154, 0.025724513, -0.12228573, 0.11862116, 0.077627316, 0.0914951, 0.0656998, -0.012906203, 0.01584498, 0.0021894067) * go_2(-1.0, 1.0);
result += mat4(0.21685399, -0.21901615, 0.21654171, 0.09605749, 0.021838928, -0.060552385, 0.0023020366, -0.21475291, 0.19824745, -0.038538195, 0.14118937, 0.014410346, -0.03936526, -0.028588302, 0.01463384, 0.1269174) * go_2(0.0, -1.0);
result += mat4(-0.17986831, 0.17568718, 0.011101189, 0.034957506, -0.24435398, -0.17036551, 0.17677231, 0.114546336, 0.1765654, 0.14953285, -0.02125005, -0.090705946, 0.11545875, 0.11875337, 0.07169465, -0.056279495) * go_2(0.0, 0.0);
result += mat4(-0.20325391, 0.0077137332, -0.124255426, -0.03918733, 0.0057139527, -0.20959048, 0.016518086, 0.07134525, -0.033380203, 0.1895967, -0.020892128, -0.15934819, -0.026683806, 0.049555697, -0.012137531, 0.04078783) * go_2(0.0, 1.0);
result += mat4(0.044009577, -0.1267635, -0.19021805, 0.020304255, -0.026466701, -0.021304939, 0.05452358, 0.2480263, -0.10584058, -0.019716619, -0.021578709, -0.059174377, 0.016334238, 0.041968506, 0.06452988, -0.033252876) * go_2(1.0, -1.0);
result += mat4(0.13782366, 0.39971897, 0.041918628, -0.12675282, -0.06519262, -0.09265013, -0.09582015, 0.078845605, -0.16200846, -0.0828618, -0.028440878, 0.051919196, 0.18443401, 0.007192546, 0.1433654, 0.05663138) * go_2(1.0, 0.0);
result += mat4(0.20185442, -0.067758165, -0.074122995, 0.14756092, -0.12199864, -0.15655454, -0.12563851, -0.18541348, -0.021879317, 0.01678769, -0.0030687766, 0.08913009, 0.16956268, -0.023180367, 0.048467696, -0.046434075) * go_2(1.0, 1.0);
result += mat4(0.036227275, -0.05883773, 0.0012586793, 0.011253798, 0.10275155, -0.06640798, -0.1678144, 0.082103625, -0.1789737, -0.0023864328, -0.04942815, -0.030467045, 0.03752185, -0.014739322, -0.011592565, -0.08417689) * go_3(-1.0, -1.0);
result += mat4(0.010906125, -0.07623248, 0.024461044, 0.13993196, 0.026915673, 0.09800617, 0.00041784425, 0.0070541617, -0.1684005, -0.22166164, -0.019129276, 0.09959659, 0.09489805, 0.03439014, 0.10191427, 0.011791956) * go_3(-1.0, 0.0);
result += mat4(0.00095777505, -0.13054171, 0.14910473, -0.08741845, 0.02464533, 0.17301862, 0.04799081, -0.112584546, -0.10729309, 0.0021900109, -0.117694676, -0.22643587, 0.08776268, -0.013622246, 0.02121124, 0.0677086) * go_3(-1.0, 1.0);
result += mat4(0.080143295, 0.0005351027, -0.12454767, -0.009831431, 0.09471301, -0.06951146, 0.027126681, -0.0003073929, -0.045323767, 0.2865539, -0.08811831, 0.14265549, 0.057120778, -0.015644496, -0.13397896, -0.01764384) * go_3(0.0, -1.0);
result += mat4(-0.14829676, -0.22663654, 0.06900643, 0.19923732, -0.17632666, -0.1773072, -0.10938093, 0.1907633, -0.22015978, 0.16445194, -0.035109006, -0.1360336, 0.041809544, -0.05986774, -0.11678058, 0.02465583) * go_3(0.0, 0.0);
result += mat4(-0.1263213, 0.03851176, 0.06992986, 0.121745974, -0.0019402864, 0.069357015, -0.18422046, -0.021072289, 0.010600869, -0.09093927, 0.07218328, 0.030740313, -0.08003271, -0.07790914, 0.06410005, 0.014307259) * go_3(0.0, 1.0);
result += mat4(0.10477422, 0.0071695005, -0.14152291, -0.08124443, -0.09799372, -0.05710979, 0.058086738, -0.044789974, 0.043377526, 0.12331853, 0.025140652, 0.07699851, -0.045419525, -0.006256598, -0.1254608, -0.069459505) * go_3(1.0, -1.0);
result += mat4(0.012826945, 0.013810653, -0.03710287, 0.09192163, 0.20279253, 0.00034728806, -0.035849538, -0.017284289, -0.12103459, 0.113538265, 0.036033515, -0.2628409, 0.13250133, -0.15067518, -0.017473336, -0.017993376) * go_3(1.0, 0.0);
result += mat4(-0.04628539, -0.009509892, 0.010795782, 0.022657838, 0.034840304, -0.18331207, -0.043538917, 0.019726979, 0.093813986, -0.01182597, -0.030532721, -0.06725243, 0.035305396, 0.12598507, -0.045109455, -0.07104365) * go_3(1.0, 1.0);
result += mat4(-0.038427405, -0.03670289, 0.009010035, -0.08594717, 0.13386185, -0.055569336, 0.020312069, 0.17047036, -0.0005751851, 0.07102868, -0.0030843539, -0.062339533, 0.17729887, -0.02035552, -0.10233831, -0.11164339) * go_4(-1.0, -1.0);
result += mat4(-0.11263659, -0.05361348, -0.08857922, 0.025857484, 0.15782511, 0.11741005, 0.0008204784, -0.055593092, 0.16471939, -0.06537734, -0.049056504, -0.14134789, -0.06993487, 0.08265007, -0.026305847, -0.015778434) * go_4(-1.0, 0.0);
result += mat4(-0.007410701, -0.01441922, -0.013790292, -0.08496436, 0.059298597, 0.06749017, 0.033680003, -0.07553746, -0.007253728, 0.07603032, 0.03603444, 0.023113312, 0.009864538, 0.009545234, 0.007055779, 0.016675977) * go_4(-1.0, 1.0);
result += mat4(-0.03287154, 0.041329436, 0.048967343, 0.00020967565, -0.03840336, -0.26014775, 0.13467579, -0.01288433, 0.03179203, -0.124999754, 0.043841228, -0.06066888, -0.0051408918, -0.016409034, -0.12508035, -0.06799285) * go_4(0.0, -1.0);
result += mat4(-0.061412618, -0.023039775, 0.023298232, 0.027902585, -0.05903914, -0.04732177, -0.08157116, -0.16209878, -0.07151363, -0.11202448, 0.086137235, 0.13089454, -0.1727801, -0.084309146, 0.008881613, 0.10247897) * go_4(0.0, 0.0);
result += mat4(-0.080017336, -0.021263113, 0.19055346, -0.019997882, -0.1927784, -0.03550904, -0.030173002, 0.3082455, -0.15008178, 0.11214757, 0.02586731, -0.043060426, 0.07466955, 0.046203747, -0.07718886, 0.06528261) * go_4(0.0, 1.0);
result += mat4(0.019918084, 0.10393514, -0.009655002, 0.1094199, -0.089056216, -0.1737668, -0.059082154, 0.105823405, 0.026216887, 0.03503651, -0.12551196, 0.012876952, 0.11418996, -0.0284636, -0.11487945, 0.040532686) * go_4(1.0, -1.0);
result += mat4(-0.062002, -0.10289414, 0.0433779, -0.052594364, -0.026993295, -0.010685158, -0.14214714, 0.13103524, -0.1301826, -0.27670056, 0.11124729, -0.055402644, 0.01671333, -0.08101004, -0.05717023, 0.0962302) * go_4(1.0, 0.0);
result += mat4(-0.15299675, -0.0779102, 0.062842146, -0.11968336, -0.07164389, -0.017125668, -0.1688716, 0.061834283, 0.08188993, 0.0018753322, 0.08258499, -0.19381738, -0.04257649, -0.016848594, -0.017061861, -0.026112117) * go_4(1.0, 1.0);
result += mat4(-0.122003414, -0.09890703, -0.06982631, -0.02577599, 0.047824547, 0.03650507, 0.040395748, -0.04049112, 0.04005698, 0.09357465, 0.1360253, -0.15741147, -0.06551237, 0.08185881, -0.02194835, -0.013256005) * go_5(-1.0, -1.0);
result += mat4(-0.14268228, -0.08010237, 0.062330585, 0.24419874, 0.022156455, -0.031606868, 0.01986428, -0.123140745, 0.088045254, 0.07976336, 0.12356502, 0.03292295, 0.0039921612, 0.1391097, -0.1327237, 0.17087503) * go_5(-1.0, 0.0);
result += mat4(0.05809734, 0.10325669, 0.018551925, 0.18999831, 0.05094676, -0.031951625, -0.019107338, -0.024242481, -0.03815963, -0.14975072, 0.015570574, 0.116612114, -0.0035157371, -0.022934573, 0.0011566454, -0.1203576) * go_5(-1.0, 1.0);
result += mat4(-0.07571527, 0.1990212, -0.20027153, -0.10697796, -0.12820342, -0.084515885, 0.07578165, 0.020347733, -0.00892056, -0.18545923, 0.0695733, 0.14638829, -0.09150454, 0.006455754, -0.055462956, 0.042492133) * go_5(0.0, -1.0);
result += mat4(0.15239488, -0.06738116, -0.07969976, 0.1760308, 0.093105, 0.06533617, 0.037611242, -0.01698829, 0.09100471, 0.17494531, 0.10324255, -0.040920477, 0.04676677, -0.042271648, 0.17275427, 0.039887525) * go_5(0.0, 0.0);
result += mat4(0.04805025, 0.09289456, 0.012480428, 0.059763327, 0.20680524, 0.024041612, 0.04847308, -0.06536776, 0.03056509, -0.03703338, 0.031064041, 0.017866645, -0.0199645, 0.13258344, -0.0063539073, 0.04498349) * go_5(0.0, 1.0);
result += mat4(0.052932233, -0.11947033, -0.03155656, -0.07324679, -0.05424513, 0.078505605, -0.019819826, -0.118183404, 0.015165605, -0.15420818, 0.09117547, -0.06770803, 0.025362425, 0.10567001, 0.16803418, -0.014216641) * go_5(1.0, -1.0);
result += mat4(-0.002915114, 0.09753533, -0.07954533, -0.09036385, -0.10997803, -0.06226152, 0.15965928, 0.01742136, -0.16269052, 0.0012529608, -0.11517133, -0.06588761, 0.33304235, 0.32400182, -0.037736043, -0.08686809) * go_5(1.0, 0.0);
result += mat4(0.122677274, 0.07220127, 0.017788883, -0.1526565, -0.11781294, -0.096393414, -0.10738522, 0.027538292, 0.11034344, 0.0068561994, -0.01896905, 0.08191385, -0.031658173, -0.06143603, 0.11063846, 0.013613772) * go_5(1.0, 1.0);
result += mat4(-0.00034395256, 0.07757684, 0.03603346, -0.05409958, -0.039885473, 0.08888618, 0.11433487, 0.06239832, -0.012561817, -0.09264437, -0.06947361, -0.16703877, -0.05925366, 0.09730988, -0.0374859, -0.21553493) * go_6(-1.0, -1.0);
result += mat4(0.11113043, 0.046659853, -0.03720995, 0.13223019, -0.011127139, 0.045242492, 0.08000568, 0.026173163, -0.028678354, -0.04595475, -0.15907471, -0.061340734, 0.052668605, 0.120637506, 0.06996815, -0.032300867) * go_6(-1.0, 0.0);
result += mat4(-0.015105483, -0.035718217, 0.00565433, -0.0010706359, 0.01237486, -0.09663067, 0.060355566, -0.021619935, -0.0060178936, -0.10208557, 0.09834864, 0.005301487, -0.07065648, -0.0102565205, -0.079897635, -0.07363429) * go_6(-1.0, 1.0);
result += mat4(0.15122332, 0.01300845, 0.14561565, 0.0078122923, -0.07771233, 0.08672449, 0.059209164, 0.10349858, -0.18292949, -0.05491338, 0.037409253, -0.15557477, 0.007851884, -0.15677735, -0.007986883, -0.0820941) * go_6(0.0, -1.0);
result += mat4(-0.02603895, 0.004392774, 0.047779255, 0.030239321, -0.025975157, 0.007981695, -0.026700003, 0.17650554, -0.046760127, -0.12810352, 0.039018054, -0.020153303, -0.26770997, -0.24840021, 0.001749491, 0.13322414) * go_6(0.0, 0.0);
result += mat4(-0.048052143, 0.011061579, 0.048959274, 0.15330704, -0.05367691, 0.031792562, -0.030972287, 0.21764308, 0.07962203, -0.13632339, 0.05333787, 0.08173476, 0.029554084, -0.1607249, -0.14652269, -0.018444933) * go_6(0.0, 1.0);
result += mat4(-0.12028847, 0.11408145, -0.015187711, -0.1066138, 0.04004933, -0.054853894, -0.0002169158, -0.07392162, -0.06662435, 0.012898702, 0.11821237, -0.060647547, 0.10890098, 0.13925953, -0.034129824, -0.16795886) * go_6(1.0, -1.0);
result += mat4(-0.21198411, -0.22841139, 0.064901166, -0.0739707, 0.07579406, 0.13245337, 0.07984324, -0.11958311, 0.23518807, 0.03951031, 0.021313217, -0.039818693, -0.33798328, 0.14691062, -0.1605757, 0.054352395) * go_6(1.0, 0.0);
result += mat4(-0.13351469, 0.0918017, 0.021667097, 0.04695423, 0.1528799, 0.0066435975, 0.14461643, -0.0774705, 0.08538539, 0.029555036, 0.013566671, 0.04881617, -0.047637653, -0.024395077, -0.04682386, 0.024556898) * go_6(1.0, 1.0);
result += mat4(-0.04054251, -0.025060415, 0.13092743, 0.1434454, 0.019325754, -0.03814305, 0.038175087, -0.051956292, 0.107260615, 0.09564158, 0.033044748, 0.08718543, -0.0042597037, -0.08330614, -0.020769762, 0.021718048) * go_7(-1.0, -1.0);
result += mat4(-0.0467152, 0.011650741, 0.06790967, 0.1497807, -0.04228647, 0.0038935265, 0.050139807, -0.04191123, 0.11917793, 0.12565975, -0.09580006, -0.04954582, -0.022617152, 0.14059848, 0.06739387, 0.096524894) * go_7(-1.0, 0.0);
result += mat4(-0.0041557504, 0.14019534, -0.14307663, 0.16510043, -0.045185186, -0.07108944, -0.18530224, 0.0637945, -0.022739004, 0.016600542, -0.15113553, 0.03232497, 0.083305396, 0.030575624, -0.007784604, 0.10224721) * go_7(-1.0, 1.0);
result += mat4(0.13495712, 0.0132012805, 0.023121556, 0.09689293, -0.08771344, 0.13250796, 0.09810855, -0.07780123, -0.11128488, 0.049089704, -0.012155183, -0.01517611, -0.034393515, 0.11343268, 0.07681398, 0.12952201) * go_7(0.0, -1.0);
result += mat4(0.19935279, 0.16451101, -0.2434694, 0.0069289505, 0.099972665, 0.1275684, -0.25808835, -0.042677704, -0.018637422, -0.09171047, 0.010507542, 0.011131679, 0.09246794, -0.0041852095, 0.1290832, -0.07985622) * go_7(0.0, 0.0);
result += mat4(-0.0043436415, -0.15932998, -0.05970676, -0.13369723, 0.09200822, -0.047416117, -0.0073032505, 0.036765452, 0.03029621, -0.017910985, -0.071291275, 0.046770707, -0.07755798, -0.016484965, -0.057681244, 0.1414009) * go_7(0.0, 1.0);
result += mat4(-0.049801152, -0.11666162, -0.06752314, -0.027140377, 0.01744927, -0.015691767, -0.01865074, -0.049655963, -0.054574657, 0.042295195, -0.07221067, -0.04776607, 0.28138685, 0.03619317, 0.05957344, 0.12512729) * go_7(1.0, -1.0);
result += mat4(-0.18367589, -0.13354966, -0.18030748, -0.03868865, -0.13235895, 0.0832158, 0.06149876, 0.15696545, 0.0135377385, -0.029013326, 0.071308985, 0.027590062, -0.0692408, 0.07469874, -0.009006803, -0.028944101) * go_7(1.0, 0.0);
result += mat4(-0.05511066, 0.029652556, -0.034495458, -0.11805021, 0.1400147, 0.05601861, -0.008461109, -0.03828229, -0.010754387, -0.041252054, -0.01032058, -0.01723487, -0.06081277, -0.21858022, -0.086987965, 0.02353611) * go_7(1.0, 1.0);
result += vec4(0.046059743, 0.0101414705, -0.008947391, -0.020016287);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!SAVE conv2d_4_tf
//!WIDTH conv2d_3_tf.w
//!HEIGHT conv2d_3_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_3_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_3_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.015272437, -0.059803978, -0.028676871, -0.02191302, 0.09696589, -0.03694334, 0.079412386, -0.09939299, 0.055519488, 0.13914746, -0.06045851, -0.033998977, 0.068030894, 0.22130857, -0.007071924, -0.084617935) * go_0(-1.0, -1.0);
result += mat4(-0.31423712, -0.16286789, -0.19696762, -0.169529, -0.048720174, 0.0645061, -0.121878594, -0.09086406, -0.027578864, -0.12501127, -0.16284546, 0.05864118, -0.059388425, -0.091798484, -0.2045986, 0.008371446) * go_0(-1.0, 0.0);
result += mat4(0.1516353, -0.07816612, 0.06701313, -0.0950027, -0.06908343, -0.017901963, 0.044034127, -0.06375459, 0.0035083925, -0.008009938, -0.1553017, -0.09092037, 0.054205187, -0.07541141, -0.029629523, 0.1302109) * go_0(-1.0, 1.0);
result += mat4(-0.07794453, -0.11150074, 0.07698152, 0.08732758, 0.005230772, 0.14475264, -0.09703018, -0.10291971, 0.105738714, -0.12889017, 0.0348841, 0.13621795, -0.13801111, -0.09004793, 0.114610545, -0.0009902337) * go_0(0.0, -1.0);
result += mat4(-0.13234864, -0.22682235, -0.22653654, 0.008841708, -0.017389977, 0.0007245843, -0.034918804, 0.08006901, 0.06819286, 0.15364736, 0.048638005, 0.032650337, 0.277397, -0.00709555, -0.00092056254, 0.15162739) * go_0(0.0, 0.0);
result += mat4(-0.05169096, 0.21755818, 0.33516932, 0.031588975, -0.14497629, -0.04724443, 0.05017679, 0.07897262, 0.13459034, 0.31124622, 0.017543063, -0.12901956, 0.020066176, 0.035704516, 0.09234457, -0.13252299) * go_0(0.0, 1.0);
result += mat4(-0.079380505, 0.0073481426, -0.06069702, -0.010502408, 0.07515405, -0.116293535, 0.0046105445, 0.009152441, 0.0916981, 0.07103545, 0.021125732, -0.05427634, -0.05110015, -0.009169704, 0.064662114, -0.035349734) * go_0(1.0, -1.0);
result += mat4(0.038265344, -0.09519448, 0.059789244, -0.13617846, -0.061203677, -0.081682116, -0.029475613, 0.1452557, 0.09861209, -0.07015944, -0.05356181, -0.021776738, 0.10369119, -0.07849195, -0.038590387, -0.10154714) * go_0(1.0, 0.0);
result += mat4(0.13858013, 0.17500602, -0.06286432, 0.12322357, -0.020820327, 0.10139774, 0.06707506, -0.045559894, 0.08304632, 0.014706953, -0.031214742, -0.046962608, 0.029041013, 0.116795875, -0.034526866, 0.024736797) * go_0(1.0, 1.0);
result += mat4(-0.15546273, 0.12283236, -0.15851308, -0.15174977, -0.07573153, 0.018088356, 0.050452355, -0.1072712, 0.023415051, -0.083648965, -0.08438857, 0.0037589336, -0.052143987, 0.054112066, 0.068947434, 0.0041476013) * go_1(-1.0, -1.0);
result += mat4(0.11446611, 0.058583263, -0.06733016, -0.0023722851, 0.07993185, -0.023523904, -0.11709358, -0.04045295, 0.011010934, -0.040319018, -0.07934788, -0.13672778, -0.01871028, 0.050461486, 0.009289529, -0.04118888) * go_1(-1.0, 0.0);
result += mat4(0.09812941, -0.05562772, -0.054017413, -0.123784855, 0.001961671, 0.10594461, -0.04178937, 0.039041057, 0.04732996, -0.046621576, -0.02719964, -0.0011114897, -0.01653831, -0.12494121, -0.03380852, -0.016219255) * go_1(-1.0, 1.0);
result += mat4(-0.060704853, 0.07478782, -0.07182519, -0.0042965743, 0.016299726, 0.048351113, -0.01954189, 0.026182631, 0.1213542, -0.03132194, 0.1872669, 0.073706634, -0.2032187, 0.14876659, -0.17023273, -0.2227079) * go_1(0.0, -1.0);
result += mat4(-0.09304609, -0.07197119, -0.05462784, -0.0031730293, -0.279643, -0.04054853, 0.08253801, -0.18801835, -0.007780369, 0.103015654, 0.017752673, -0.33401743, 0.25395665, 0.124612115, 0.17287181, 0.09410012) * go_1(0.0, 0.0);
result += mat4(0.016278468, 0.09776316, -0.018774673, -0.028158069, -0.004626514, -0.089645386, -0.22390373, -0.22903992, 0.08918763, 0.093416885, -0.064013496, -0.020969093, 0.055319004, 0.038180985, -0.024488134, -0.040401362) * go_1(0.0, 1.0);
result += mat4(0.018308487, -0.011729305, -0.09917752, -0.002841483, 0.0599436, 0.016863806, -0.04848376, 0.042487588, 0.03422387, 0.010988273, -0.046248045, 0.016439699, -0.2109331, -0.26634532, 0.09737795, -0.22783673) * go_1(1.0, -1.0);
result += mat4(-0.043874994, 0.057370197, 0.108060665, 0.12056862, 0.04326372, 0.042426717, 0.10711789, 0.18016145, -0.06800899, 0.050411705, 0.062778726, -0.08883587, -0.12963888, -0.26155844, 0.1768527, -0.20759244) * go_1(1.0, 0.0);
result += mat4(-0.029307218, 0.034253594, 0.023449568, 0.10740543, -0.007117891, -0.08609973, -0.070199385, 0.028014658, 0.011849466, -0.103710175, -0.044059474, 0.0910086, -0.0036186902, -0.13148114, 0.11775623, 0.03689876) * go_1(1.0, 1.0);
result += mat4(-0.02930122, -0.028750544, -0.16977385, 0.024588319, 0.06966029, -0.05039873, 0.02433029, 0.008939243, -0.07164926, -0.024791168, -0.042547364, -0.0096171675, 0.026791278, 0.13012235, 0.018013593, -0.05196021) * go_2(-1.0, -1.0);
result += mat4(0.051087376, -0.010833802, -0.025629422, -0.16892247, 0.10266821, -0.08566462, 0.021818671, 0.099710494, 0.052938227, 0.15181173, -0.07044235, 0.006057611, -0.04405104, -0.008049883, -0.02076555, -0.16482745) * go_2(-1.0, 0.0);
result += mat4(0.09891512, 0.008049609, 0.01639775, -0.06643191, 0.017111722, 0.2329798, 0.035799496, 0.010293999, 0.0704336, -0.03576047, 0.023332953, -0.07576646, -0.0014989872, 0.022484222, 0.011937841, -0.04858518) * go_2(-1.0, 1.0);
result += mat4(-0.010375555, -0.29719326, 0.15491869, -0.12884745, 0.1403921, -0.0111622475, -0.040989667, -0.07690612, -0.18047535, -0.085979894, -0.04110178, -0.026867142, -0.116575025, 0.01505097, -0.064706944, 0.0068447054) * go_2(0.0, -1.0);
result += mat4(-0.17111692, -0.14148626, -0.074309886, -0.054845806, -0.12844844, -0.1814628, -0.080664955, 0.08824405, 0.049287837, 0.125754, 0.13574858, 0.22351772, -0.0020951808, 0.05195172, -0.19726871, 0.0040973197) * go_2(0.0, 0.0);
result += mat4(0.019996997, 0.06518832, -0.06759968, -0.07601458, 0.14987434, 0.10496216, -0.05135024, 0.004877606, -0.045061707, -0.037699945, 0.05177059, 0.084363855, 0.046086136, -0.030641818, -0.058476638, 0.08614476) * go_2(0.0, 1.0);
result += mat4(-0.08008592, -0.17577869, 0.2598816, 0.01865104, 0.09420606, -0.027588135, 0.122131534, -0.15293474, 0.058529835, -0.008539355, 0.015938425, 0.050187953, -0.02314343, 0.01624479, 0.00061906216, -0.08660734) * go_2(1.0, -1.0);
result += mat4(-0.09669957, 0.105325714, -0.04216754, 0.4313952, 0.01175941, 0.0064402292, -0.09035242, -4.4676657e-05, -0.09296604, 0.05282715, 0.10292071, 0.058552645, -0.12130569, -0.067147344, -0.03417468, 0.10585223) * go_2(1.0, 0.0);
result += mat4(0.032175943, 0.022815451, -0.11661248, 0.04680869, -0.0039209807, 0.03585509, 0.015391019, -0.012086847, 0.077763, -0.16538106, -0.08112365, -0.047386654, 0.046851672, -0.15512191, 0.12339567, 0.045468587) * go_2(1.0, 1.0);
result += mat4(-0.003045521, 0.011283177, 0.057040576, 0.14315721, -0.033659145, 0.04654075, -0.05798073, 0.016922075, -0.03206714, -0.029252306, 0.0752731, -0.19472761, -0.004521209, -0.008417225, -0.01819342, 0.09594639) * go_3(-1.0, -1.0);
result += mat4(0.023216221, 0.00050637213, 0.093280256, -0.0036191205, -0.099975824, 0.15540068, -0.0005460901, 0.07478613, -0.020638715, -0.11652944, -0.06071933, -0.14358073, -0.037845127, 0.0038647808, -0.07280816, 0.1025985) * go_3(-1.0, 0.0);
result += mat4(-0.10873849, -0.07031447, 0.0056161666, 0.034578577, -0.15001217, 0.017945569, -0.059527688, 0.009716552, -0.10370449, 0.032418504, 0.05663323, 0.10394252, 0.0230122, -0.07451814, 0.12283976, -0.11731048) * go_3(-1.0, 1.0);
result += mat4(0.09558205, -0.082451336, -0.033909228, -0.0067867287, 0.12707525, -0.016118657, -0.18240142, -0.29438785, 0.065717794, -0.16262093, 0.043810308, -0.2857367, 0.11772093, -0.042244613, -0.016529586, -0.0028848667) * go_3(0.0, -1.0);
result += mat4(-0.095545195, -0.14809576, -0.10179922, -0.3241558, -0.29769334, -0.003899532, 0.027323049, -0.17966785, 0.08280068, -0.028337095, 0.15347622, 0.1661956, 0.17435703, -0.115148745, -0.016894776, -0.018672291) * go_3(0.0, 0.0);
result += mat4(-0.16706415, -0.07363752, 0.062359426, 0.13341492, 0.033634063, 0.11740068, 0.18746865, 0.10657675, 0.032304406, 0.09954153, -0.1386874, -0.13592382, 0.029351018, -0.03206953, 0.09523795, 0.06962056) * go_3(0.0, 1.0);
result += mat4(-0.022705866, -0.06569827, -0.091605455, 0.070918486, -0.053591333, 0.061575353, -0.10306779, -0.13712883, -0.070348755, -0.024930507, 0.012275779, -0.20609841, -0.047163837, -0.06799354, -0.01722682, -0.07951833) * go_3(1.0, -1.0);
result += mat4(-0.09951865, -0.089199685, -0.03204326, 0.12676425, 0.017853266, -0.011848084, 0.16991617, 0.14529921, 0.07919947, 0.038282923, -0.16438726, -0.05181831, -0.051588885, 0.17036556, -0.025693918, -0.08663645) * go_3(1.0, 0.0);
result += mat4(0.09096619, -0.042492405, -0.02680967, 0.09422492, -0.03217904, -0.021298975, 0.122680284, 0.003280786, -0.0027162856, 0.32307196, 0.00042480655, -0.04048761, -0.05125339, 0.03318497, -0.017228108, 0.080749124) * go_3(1.0, 1.0);
result += mat4(-0.05089259, -0.0053160666, 0.04031622, 0.0675516, -0.075230755, 0.11064669, -0.16225758, -0.27091557, -0.033630677, 0.077405855, -0.08949044, -0.20493746, -0.08045375, -0.14623162, 0.01690271, 0.09677526) * go_4(-1.0, -1.0);
result += mat4(0.17415513, 0.0070055854, -0.10742436, 0.077625334, -0.046910375, -0.17963062, -0.13546865, -0.008154046, -0.007528051, -0.02987437, -0.02181232, -0.16890126, 0.029016118, -0.10211868, 0.062935695, 0.0028676116) * go_4(-1.0, 0.0);
result += mat4(-0.025289172, 0.20245677, -0.0033883427, 0.0069943997, 0.1960503, -0.104858525, 0.06183405, -0.010476609, -0.065109745, -0.13811804, 0.037909374, -0.027144575, 0.0040317164, 0.035209123, 0.09870678, -0.0479482) * go_4(-1.0, 1.0);
result += mat4(-0.028792664, 0.038431108, 0.014691095, 0.11340496, -0.060376063, -0.079663344, -0.023059526, -0.14558718, -0.14886084, -0.09452481, 0.16099294, -0.09676519, 0.14557302, -0.023548108, -0.04787074, -0.13845164) * go_4(0.0, -1.0);
result += mat4(-0.11922315, -0.17272118, 0.21888684, 0.0006877604, -0.041505255, -0.064750075, 0.17717092, -0.0050328346, 0.08072545, -0.15914737, -0.34404156, -0.12710881, -0.24833426, -0.012279114, -0.0929118, -0.17624308) * go_4(0.0, 0.0);
result += mat4(0.072484106, -0.079038285, -0.12901638, 0.082699366, 0.20412955, -0.114168845, 0.123569965, -0.27721637, -0.08529062, -0.03288879, 0.026492476, 0.19470787, 0.12789781, -0.046228945, 0.030243115, 0.102509424) * go_4(0.0, 1.0);
result += mat4(-0.018162742, 0.026119776, 0.028543998, 0.14580049, -0.031844176, 0.055030007, 0.00784516, -0.0094214855, 0.16610105, -0.13140243, -0.101545244, -0.14765148, 0.046954077, 0.0151733, 0.028250849, -0.016968153) * go_4(1.0, -1.0);
result += mat4(-0.071911104, 0.07253662, -0.0039084554, 0.10001815, -0.0059544197, 0.039695, 0.09711302, 0.12417695, 0.012477504, 0.19828807, 0.08522809, -0.0065681627, 0.030625535, 0.075225085, -0.016773878, 0.0051740888) * go_4(1.0, 0.0);
result += mat4(0.018142365, 0.06312399, 0.020529382, -0.08701831, -0.081653036, -0.020882376, -0.06594719, -0.015883535, -0.09766773, -0.013606815, -0.01932629, 0.14317879, -0.08628326, 0.032843128, -0.03849329, 0.044433527) * go_4(1.0, 1.0);
result += mat4(-0.19906221, -0.019701794, -0.13417694, -0.22192308, 0.12774472, -0.080230385, -0.07713913, -0.018704597, 0.04177193, 0.043377854, -0.004895913, -0.068911865, 0.09720858, 0.09008334, 0.09644683, -0.03094106) * go_5(-1.0, -1.0);
result += mat4(0.06691037, -0.07232021, 0.0880707, -0.1096942, -0.0670756, 0.15671045, 0.012647426, -0.01460337, 0.023473715, 0.25899747, -0.07224047, 0.033385064, -0.08618433, -0.04862091, -0.08293281, 0.086158596) * go_5(-1.0, 0.0);
result += mat4(0.08823607, 0.03869106, -0.023876008, -0.026033832, 0.03230582, -0.1304758, -0.068728656, -0.0057360893, -0.045426574, 0.063521795, -0.01852874, -0.042811543, -0.051053554, 0.03814756, -0.02033012, -0.048743658) * go_5(-1.0, 1.0);
result += mat4(0.015931997, 0.07338466, -0.001379819, -0.04980926, -0.059085526, 0.08673082, 0.06408948, -0.0012361417, -0.17019162, 0.094189726, -0.14372677, 0.004410176, 0.11336311, 0.10751407, -0.08628446, 0.11517482) * go_5(0.0, -1.0);
result += mat4(0.007854747, 0.11453255, 0.16967475, 0.047550052, -0.114481956, 0.08391739, 0.092615105, 0.06488047, 0.08140995, -0.1407751, 0.03324224, -0.02032371, -0.13508326, -0.055251148, -0.18647192, 0.12472472) * go_5(0.0, 0.0);
result += mat4(-0.052146748, 0.09979267, 0.029023444, -0.13495271, -0.0252162, -0.0596912, 0.080368, -0.03177713, 0.02240823, -0.0018220172, 0.015609448, -0.022447577, -0.15107572, -0.109189086, -0.100533925, 0.118836805) * go_5(0.0, 1.0);
result += mat4(0.022925707, -0.06910447, -0.018874725, 0.009468046, -0.14554814, 0.07727692, -0.0047826543, -0.0013009618, -0.07025157, 0.012556721, -0.037335817, 0.035178307, 0.06550488, 0.048649, -0.014515659, 0.06279116) * go_5(1.0, -1.0);
result += mat4(0.03258051, 0.1607996, -0.005463293, 0.027238868, -0.1231972, -0.0771126, -0.046944942, 0.12712134, 0.075969175, -0.09897373, 0.022424594, -0.088259995, 0.114332475, 0.1605132, -0.03992334, -0.00781645) * go_5(1.0, 0.0);
result += mat4(0.0684246, 0.1356707, -0.18023875, -0.04613952, 0.006020655, 0.030828401, -0.042292707, -0.032438643, -0.059692264, 0.04760126, -0.0045480486, 0.019046038, 0.06176289, 0.13285528, -0.023466881, 0.0345628) * go_5(1.0, 1.0);
result += mat4(-0.017516924, 0.04755433, 0.02724948, -0.20600726, -0.04323209, 0.07760261, -0.023362167, 0.08546276, 0.09192108, 0.036733013, 0.13411112, 0.048988055, 0.02760956, 0.02746886, -0.0072430624, 0.01127053) * go_6(-1.0, -1.0);
result += mat4(-0.08310694, -0.1415815, -0.08375172, 0.0363182, -0.081730485, -0.06046439, 0.02982689, 0.08872717, 0.00072316185, -0.14549169, 0.09066894, -0.14281332, 0.16423841, 0.052469682, -0.0067828847, 0.008377004) * go_6(-1.0, 0.0);
result += mat4(-0.13628009, 0.018103965, -0.032083835, 0.12424575, 0.024337478, -0.103213586, -0.13552395, -0.09551738, 0.0420191, 0.10316015, 0.067298695, 0.0035425322, 0.0029188823, -0.053332064, 0.027478272, 0.08300774) * go_6(-1.0, 1.0);
result += mat4(-0.007367251, 0.056404594, -0.048879124, -0.020900933, 0.010486612, 0.07887076, -0.020189175, -0.13583486, 0.13937452, 0.057288323, -0.07264488, -0.01801294, 0.19403873, 0.103872076, -0.14108293, -0.16779351) * go_6(0.0, -1.0);
result += mat4(0.109870814, 0.04083196, 0.19445752, 0.024208639, 0.20810223, -0.088830575, -0.194837, -0.04915425, 0.08709219, -0.06014266, 0.012886667, -0.23102829, -0.17614147, -0.18462501, -0.078888394, -0.085750245) * go_6(0.0, 0.0);
result += mat4(-0.043739304, -0.15343273, -0.004483079, 0.028602215, -0.053307105, 0.03963491, 0.09067442, -0.040540636, 0.005630982, -0.03907181, -0.08252026, -0.255134, 0.036551263, -0.1558265, 0.12722903, -0.018271362) * go_6(0.0, 1.0);
result += mat4(0.100884244, 0.041502595, -0.02924491, 0.0006563439, 0.05856145, -0.0045917677, 0.09798114, 0.089630224, 0.0275624, 0.0553079, -0.055310242, -0.10005074, 0.108301334, 0.035387103, -0.21943197, -0.02148485) * go_6(1.0, -1.0);
result += mat4(0.038974132, 0.07830882, 0.05164519, -0.12069417, 0.05397008, 0.061845202, -0.007274972, 0.058689874, 0.06141266, -0.0424411, -0.05565388, 0.07025662, 0.085278414, 0.047607705, -0.049411476, -0.17264275) * go_6(1.0, 0.0);
result += mat4(0.024846716, 0.011342758, 0.044558752, 0.005749814, -0.0656907, -0.10310058, -0.0502014, 0.10221803, 0.02951027, 0.08945397, 0.075140476, -0.14311805, 0.08085466, 0.13427396, -0.05678222, -0.28819987) * go_6(1.0, 1.0);
result += mat4(0.06705349, -0.018869668, 0.015324304, -0.07764027, -0.10141193, 0.028659642, -0.08375406, 0.005064868, 0.03488706, 0.09525751, -0.10248002, 0.06137774, -0.005868939, 0.006512338, -0.0560103, 0.030272838) * go_7(-1.0, -1.0);
result += mat4(-0.036294904, -0.018521994, -0.03307544, -0.08824787, -0.02880715, 0.009350453, 0.065284535, 0.021653919, 0.015398833, 0.14517242, -0.041406073, 0.12960012, -0.035283025, -0.15387185, 0.043584332, 0.033682194) * go_7(-1.0, 0.0);
result += mat4(0.028819354, 0.06410185, 0.036591727, 0.038817216, 0.046048388, -0.04071045, 0.105549805, -0.019702256, 0.04773352, 0.011951728, 0.024311544, -0.13352196, -0.020938, -0.021588324, -0.069265515, 0.08652285) * go_7(-1.0, 1.0);
result += mat4(-0.22862528, -0.046740018, 0.061469328, -0.020422334, -0.10328232, -0.1077609, 0.12025423, 0.057812545, 0.17792639, 0.012279389, -0.07101039, -0.025944097, -0.086152576, -0.0155693265, 0.083100215, -0.14897798) * go_7(0.0, -1.0);
result += mat4(0.14513083, -0.06021356, 0.049246337, 0.10806752, -0.021607077, -0.07385248, 0.057333313, 0.13416117, -0.06690401, -0.19059011, 0.021498155, -0.03842978, -0.10343301, 0.043801896, 0.10485668, 0.054747216) * go_7(0.0, 0.0);
result += mat4(0.111293696, 0.0013921659, 0.029689424, 0.05060646, -0.06785304, -0.05120073, -0.058148287, -0.054629184, 0.019767666, -0.03841178, -0.047711127, 0.12487687, 0.002752687, 0.0041709486, 0.06040608, 0.04098326) * go_7(0.0, 1.0);
result += mat4(-0.038370624, -0.09880031, 0.027125726, -0.060028706, 0.12887341, 0.07956673, 0.049340174, 0.12674156, 0.108758375, -0.01999054, 0.10093637, 0.05006565, -0.08913735, -0.026908305, 0.0202185, 0.020061754) * go_7(1.0, -1.0);
result += mat4(-0.025420299, 0.038421508, 0.09560932, -0.11508314, 0.0155848935, 0.0347484, -0.008577495, -0.18132563, 0.101311065, 0.10495623, 0.15127939, -0.10312934, 0.019007044, -0.027185634, 0.047117107, -0.016839046) * go_7(1.0, 0.0);
result += mat4(-0.08142026, -0.034331992, -0.029070942, -0.14392552, -0.078249715, 0.15499105, -0.08205064, 0.12780844, -0.020675218, -0.1315328, -0.07152117, 0.029007316, -0.037264626, 0.013577999, -0.03113356, -0.038550116) * go_7(1.0, 1.0);
result += vec4(0.076316014, -0.018089892, -0.012637839, -0.10212818);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x56
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!BIND conv2d_5_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!SAVE conv2d_6_tf
//!WIDTH conv2d_3_tf.w
//!HEIGHT conv2d_3_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_1 (max((conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
#define g_2 (max((conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
#define g_3 (max((conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
#define g_8 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.4954155, -0.097350635, 0.2804199, -0.13652386, -0.14972939, 0.19721153, -0.23526497, -0.2423665, 0.12555814, -0.0705443, 0.043938212, 0.19388582, 0.09386085, -0.43720174, 0.29635525, 0.26856044) * g_0;
result += mat4(0.14495872, 0.0610595, -0.20516497, 0.19073643, -0.008849148, 0.08743844, -0.12433487, 0.03215462, -0.01670364, -0.34068078, 0.15872881, -0.27169266, 0.33020407, 0.008234461, -0.12094001, 0.17628567) * g_1;
result += mat4(0.04740511, -0.15941422, 0.124839395, 0.081435576, 0.09804199, 0.058109295, -0.025289856, -0.29283887, -0.1833574, -0.09766394, 0.06008274, 0.05992534, 0.47684956, -0.08688919, -0.02071398, -0.08875196) * g_2;
result += mat4(0.051867574, -0.1671438, -0.015705047, -0.13457336, 0.13484482, -0.06867962, -0.0494534, -0.13416421, 0.031772017, 0.0070866095, 0.011681956, -0.2802077, -0.048953146, -0.0164331, 0.09649591, 0.040060654) * g_3;
result += mat4(-0.4341213, 0.0894957, -0.16301447, 0.18785268, -0.28154027, 0.21622275, 0.22126062, 0.2361705, -0.087688446, 0.38882533, 0.020676106, -0.17769825, -0.18067831, 0.0878923, -0.18052578, 0.009196582) * g_4;
result += mat4(-0.14932597, -0.025830185, -0.07313429, 0.28342503, 0.19499254, 0.122385964, 0.02120492, 0.15144306, -0.23691256, 0.043697022, -0.053712673, 0.2025457, -0.05035754, 0.04117272, 0.12530772, -0.2590774) * g_5;
result += mat4(0.15071404, 0.015031444, 0.24973233, -0.036299556, 0.30665022, 0.15286064, -0.03598529, 0.060580775, 0.10571382, -0.06852027, -0.13089266, -0.33822387, 0.04771977, -0.15371466, -0.14530133, 0.0127773) * g_6;
result += mat4(-0.04100588, 0.080336295, -0.0012170919, -0.18198122, -0.12988265, 0.11356896, 0.21294571, -0.080107085, -0.1408792, -0.24597132, 0.046940666, -0.029645668, 0.1568284, -0.07500836, -0.13504413, -0.17453668) * g_7;
result += mat4(0.38996047, -0.027129678, 0.2774081, 0.11160041, 0.2672792, -0.09991047, -0.1424887, -0.12418898, 0.15399674, -0.0089404015, 0.2265917, -0.08212792, 0.25704643, -0.013109098, -0.31268027, 0.10123544) * g_8;
result += mat4(0.033000022, 0.15843867, -0.21515252, -0.046294916, -0.35692936, 0.08798134, 0.23537703, 0.0043003275, -0.1383531, 0.1972939, -0.2003098, 0.1543574, 0.053583264, 0.29797947, 0.13025342, 0.038611986) * g_9;
result += mat4(0.10687409, 0.077787064, 0.27379388, 0.13262683, -0.23440802, 0.1360886, -0.20802121, 0.06401844, 0.26749787, 0.29900748, -0.04572612, 0.3015703, -0.3005316, 0.16046184, -0.0419697, -0.23878895) * g_10;
result += mat4(-0.063034855, 0.07657174, -0.17484638, 0.07603076, -0.06233915, -0.11565521, 0.02205211, -0.025715057, 0.102525316, 0.044643577, 0.112743095, -0.08565946, -0.121290885, -0.1572643, 0.19650643, -0.13887478) * g_11;
result += mat4(-0.36125946, -0.1215746, 0.15642375, 0.26731244, 0.24759081, 0.1720814, 0.3640398, -0.32403925, -0.06189445, 0.23764968, -0.02306858, 0.17816281, -0.06804958, 0.06811998, -0.07474977, 0.24738653) * g_12;
result += mat4(0.054465637, 0.057861228, 0.059370693, -0.12227704, -0.024842938, -0.10762688, -0.13456275, 0.10306674, 0.058080807, -0.3396897, -0.08585732, 0.016198207, -0.09374, 0.3309844, 0.00036378333, -0.16453783) * g_13;
result += vec4(0.016481666, 0.009086331, -0.036633138, 0.0041078017);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x56
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!BIND conv2d_5_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!SAVE conv2d_6_tf1
//!WIDTH conv2d_3_tf.w
//!HEIGHT conv2d_3_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_1 (max((conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
#define g_2 (max((conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
#define g_3 (max((conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
#define g_8 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.3210504, -0.13668466, 0.20637684, 0.0037060305, -0.2674051, -0.11230086, 0.29947895, 0.093965776, -0.08801977, 0.23411755, -0.00690265, 0.22540577, 0.3496324, -0.07614303, -0.2682172, -0.18024528) * g_0;
result += mat4(-0.12103706, -0.061189037, 0.019804776, 0.31127328, -0.36069378, 0.213189, 0.22896592, 0.008048813, -0.021931307, 0.3776008, 0.04475082, 0.08132412, 0.12560965, -0.12159681, 0.012501785, -0.3363862) * g_1;
result += mat4(-0.2294047, 0.038059004, 0.21087843, 0.037582193, -0.026122637, 0.28849372, 0.24839666, 0.13881797, -0.29496697, -0.17923991, 0.024531588, -0.06418792, 0.015839651, 0.12997966, 0.23888347, -0.1048919) * g_2;
result += mat4(-0.18445078, 0.025115933, 0.08433517, -0.22597772, -0.12536137, 0.21140383, -0.030371241, 0.036926106, 0.19343626, -0.0041754777, 0.00244178, 0.021117657, 0.26237983, 0.22308359, 0.2492868, -0.24042289) * g_3;
result += mat4(0.22000861, 0.08476075, 0.11643673, 0.15832588, 0.03325583, 0.24106406, 0.2292178, -0.2764258, -0.06348522, 0.17427239, 0.16678956, 0.17231269, -0.0872214, -0.0135706505, -0.06671483, -0.07503989) * g_4;
result += mat4(-0.30087617, 0.3176826, -0.31664857, -0.101466715, 0.073069066, 0.0038022113, -0.13776854, 0.10784852, 0.02954845, -0.24216515, -0.19634016, 0.022595271, -0.17444247, 0.17016955, -0.07563684, 0.20474768) * g_5;
result += mat4(-0.27660307, -0.07230632, -0.09617381, 0.21262856, 0.11049351, 0.050447285, -0.3273503, 0.05641904, -0.042776052, -0.17620195, -0.06274188, 0.039536018, -0.070038274, 0.20343757, 0.08803773, 0.009139854) * g_6;
result += mat4(0.24007742, -0.13485539, -0.3781107, 0.027324034, 0.010332106, 0.08556457, -0.2392748, -0.13601078, -0.19836703, 0.022715727, -0.016411083, -0.17756946, -0.14373688, 0.020681657, 0.05082997, -0.14939624) * g_7;
result += mat4(0.28352678, 0.20785898, -0.15538763, 0.04196249, 0.19792412, -0.24451323, 0.04824567, -0.1365707, 0.19390641, -0.061393958, -0.25272602, 0.0045554833, -0.21719287, -0.08406589, -0.048988152, 0.05259591) * g_8;
result += mat4(-0.10792345, -0.29639974, 0.21581274, 0.029042492, -0.28554165, 0.10910743, 0.07680131, -0.13153972, 0.14755669, 0.0854899, 0.24539046, 0.08502808, 0.22990887, 0.15149027, 0.23587988, -0.09517703) * g_9;
result += mat4(0.15912442, -0.34394726, 0.34174097, 0.25116822, -0.24741888, 0.37633938, -0.08430594, 0.2769256, -0.03159722, 0.05234807, 0.029541405, -0.1266574, -0.122047566, -0.16540837, 0.2679574, -0.23974617) * g_10;
result += mat4(-0.10200111, -0.11974673, -0.0079962695, -0.39264813, -0.006873918, -0.23566915, 0.13980511, -0.070295505, 0.12384241, 0.09101257, -0.04413333, -0.112293474, -0.27065778, 0.03445708, 0.16511594, 0.37050763) * g_11;
result += mat4(-0.096395366, 0.06278703, -0.09479416, -0.488774, -0.09141473, 0.12217416, -0.11785924, -0.22766003, 0.16063516, 0.00020897393, 0.3078544, 0.18561389, -0.15621823, -0.13971844, 0.020068014, 0.013216665) * g_12;
result += mat4(0.12522821, 0.0046115327, -0.007866688, -0.22109744, 0.2225005, -0.051918246, 0.11966214, -0.119629785, 0.2925202, -0.26889777, -0.3189588, -0.24831142, -0.036346573, 0.047227684, 0.1266368, 0.1058624) * g_13;
result += vec4(0.020081282, -0.013928095, 0.0059036794, 0.08544713);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x56
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!BIND conv2d_5_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!SAVE conv2d_6_tf2
//!WIDTH conv2d_3_tf.w
//!HEIGHT conv2d_3_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_1 (max((conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
#define g_2 (max((conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
#define g_3 (max((conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
#define g_8 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.056797255, -0.032698087, 0.029859383, 0.12932985, -0.31103006, 0.09165681, -0.15708402, 0.38043964, -0.13528557, 0.2859556, 0.14288856, 0.13102476, -0.08694984, -0.11780176, 0.16207103, -0.11293293) * g_0;
result += mat4(-0.008796308, 0.118975446, -0.081319205, 0.2084897, 0.08794772, 0.10214503, -0.08378455, -0.10624162, 0.05444449, 0.22647963, -0.12047645, 0.10406878, -0.031486277, 0.045164254, 0.47999045, -0.18060975) * g_1;
result += mat4(-0.0077636116, 0.05870985, 0.24050762, 0.31322572, 0.08778678, 0.14943774, 0.050537623, -0.102939114, 0.3195675, -0.14615574, -0.26218277, -0.25581908, -0.0019809192, -0.03835245, 0.031318333, -0.1428093) * g_2;
result += mat4(0.11256259, -0.19089468, -0.06846508, 0.033907987, -0.35249296, -0.06160221, 0.27247807, -0.048603278, 0.040144738, -0.0032360333, -0.2515736, 0.43086162, -0.055536952, -0.11406552, 0.382992, 0.27862927) * g_3;
result += mat4(-0.03384886, 0.10702642, 0.003908078, -0.009494176, 0.2838821, -0.12845019, 0.12637386, 0.19460931, -0.034333568, 0.012672623, 0.21387313, 0.15411916, 0.14327122, -0.1352761, -0.2997244, -0.017908785) * g_4;
result += mat4(-0.29253754, 0.33169383, 0.0082393335, -0.20709762, 0.2854362, -0.20728073, -0.22790352, 0.09301863, 0.13168077, -0.07411445, 0.09350424, -0.046449713, -0.11836855, -0.30250466, -0.13257061, 0.3576938) * g_5;
result += mat4(-0.13777697, 0.056764964, -0.36749512, 0.04235051, -0.041132767, -0.16603513, -0.023862578, -0.014339848, -0.38274148, 0.28778306, 0.15228234, 0.20225881, -0.02469988, -0.101541154, 0.26388898, -0.20009927) * g_6;
result += mat4(0.15456057, 0.27760306, -0.06929698, -0.24072653, 0.1415152, -0.1549776, 0.030720191, -0.0019005954, -0.06598489, -0.11686977, 0.12704816, -0.30917537, -0.14339961, 0.12742354, -0.23345275, -0.3419119) * g_7;
result += mat4(0.18928154, -0.19353028, -0.15966406, -0.19417015, 0.10313398, 0.0046505663, 0.21482769, -0.23275238, -0.20456892, -0.5014606, -0.10783419, 0.25891942, -0.24919175, -0.10028775, -0.2961402, 0.077766955) * g_8;
result += mat4(-0.085105784, 0.06528528, 0.102185756, 0.099264726, -0.00020144526, -0.08768721, -0.09324967, 0.30346313, -0.084492646, -0.14017163, -0.043167874, -0.20060216, 0.09593379, 0.28399333, 0.08168489, -0.33063418) * g_9;
result += mat4(0.15791257, 0.057779472, -0.20147012, 0.07967618, 0.04262509, 0.039220728, -0.15080509, 0.17438835, -0.044964172, -0.14530478, 0.31693324, 0.08582341, -0.1061789, 0.2800015, 0.33440664, 0.09700403) * g_10;
result += mat4(-0.14642169, -0.07778901, 0.13264288, -0.24182376, 0.23503877, 0.005028356, -0.30113846, 0.22778516, -0.1648793, -0.033169918, -0.20036162, -0.35071707, -0.06705746, 0.12431054, -0.022009062, -0.07124459) * g_11;
result += mat4(0.06766408, 0.09030523, 0.22668982, -0.38617492, -0.10099634, -0.029897379, 0.24775109, -0.20888264, 0.056208886, 0.0044284128, 0.16691649, 0.22874106, 0.0038740179, -0.07576401, 0.27207628, 0.11311432) * g_12;
result += mat4(-0.11319886, -0.3020603, 0.08133381, 0.19350809, 0.032002088, -0.038216423, -0.12224599, 0.08397432, 0.021123007, 0.075326644, 0.29643238, 0.20064169, 0.042381126, -0.002854783, -0.027586436, -0.06968597) * g_13;
result += vec4(0.038540784, 0.053720564, 0.012191528, -0.029126916);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x56
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!BIND conv2d_5_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!SAVE conv2d_6_tf3
//!WIDTH conv2d_3_tf.w
//!HEIGHT conv2d_3_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_1 (max((conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
#define g_2 (max((conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
#define g_3 (max((conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_3_tf3_tex(conv2d_3_tf3_pos)), 0.0))
#define g_8 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.014542811, -0.1261262, 0.17474864, -0.18425815, -0.3337646, 0.14748253, 0.09152566, 0.2310806, -0.06578738, -0.3566174, -0.22862534, 0.15323487, 0.01515519, 0.26764703, -0.13214609, 0.09887451) * g_0;
result += mat4(0.19941364, 0.015275053, -0.022320624, 0.020372959, -0.10664179, -0.28493354, 0.014191545, 0.12122301, -0.045194257, -0.22491856, -0.071520865, -0.020854274, 0.13432617, 0.25484133, 0.018084215, -0.06713652) * g_1;
result += mat4(0.017183261, -0.056154247, 0.13298456, -0.07631693, 0.18904336, -0.41949302, 0.14992298, 0.11840105, 0.13420148, 0.029390668, 0.017888589, -0.1975919, 0.22601372, -0.061724294, 0.12116033, -0.19753963) * g_2;
result += mat4(0.020371309, 0.21103396, 0.034326386, -0.23044631, 0.12982637, -0.14810205, -0.23559897, -0.2222485, 0.18240234, -0.17697355, -0.11639408, -0.08132961, 0.039377302, 0.07299684, 0.094041504, -0.13445067) * g_3;
result += mat4(-0.3512728, 0.09182307, -0.2731474, -0.20885572, 0.07993976, 0.23121795, 0.15620309, 0.3383141, -0.28460538, 0.12850872, 0.1916648, 0.13205391, 0.14932914, 0.041017998, -0.17976354, -0.0014468295) * g_4;
result += mat4(-0.069909975, -0.23581205, 0.11732144, 0.35232806, 0.3549401, -0.2124837, 0.10403375, -0.09976183, 0.1178997, 0.09910817, 0.061140217, 0.18059346, -0.48723674, 0.037783384, 0.109662086, 0.15543982) * g_5;
result += mat4(0.11262317, -0.12212692, -0.14394115, 0.15909098, 0.22035566, 0.06488609, -0.2719919, -0.05028129, -0.21462728, 0.17861556, -0.023895046, -0.060819868, -0.17524192, -0.042733762, 0.142835, 0.2747072) * g_6;
result += mat4(-0.034566112, -0.18427409, 0.09579439, -0.16909808, 0.052964725, -0.058238853, 0.33444786, -0.20727915, -0.31497413, -0.11388015, 0.13721034, 0.19388893, -0.21066165, -0.14097935, 0.030426605, 0.110704474) * g_7;
result += mat4(0.094303906, -0.23499818, -0.43609008, 0.21279193, 0.39544016, 0.19924188, -0.07611524, 0.012560389, -0.08812965, -0.13701713, 0.01677176, -0.29865423, -0.06948771, 0.14918856, 0.1985359, 0.3003729) * g_8;
result += mat4(0.014332535, -0.021538176, 0.20930877, -0.029769948, -0.06551115, 0.11966418, -0.08329082, 0.049386136, 0.08940004, 0.16989197, 0.06084547, 0.13855645, -0.10395637, -0.27498555, -0.19077462, 0.043506) * g_9;
result += mat4(-0.31060696, 0.047150746, 0.22204353, 0.31374148, 0.06301296, -0.007103609, -0.2580888, -0.07127509, 0.11478869, 0.094191864, 0.21567936, -0.06297016, 0.06925183, -0.023501558, 0.16371831, 0.2506513) * g_10;
result += mat4(0.07425674, 0.012622665, 0.02251264, -0.0731929, -0.008055616, 0.09563007, 0.063964136, 0.24579796, -0.30710867, 0.13981472, 0.025152119, -0.11285761, -0.4419823, -0.026953885, 0.14130811, -0.22058487) * g_11;
result += mat4(-0.04211301, -0.17002018, -0.13325875, 0.20184138, 0.09686255, 0.054461457, 0.16713423, -0.031002847, -0.26473212, 0.11992785, 0.04697473, 0.051042553, 0.17835025, -0.12469087, -0.3201284, -0.088562444) * g_12;
result += mat4(0.13638292, -0.033149652, -0.19838256, -0.09581218, 0.0060164076, 0.42301872, -0.07126564, -0.10523957, 0.16030665, -0.20535246, -0.14773448, -0.015409135, -0.24350728, 0.23187117, 0.0220223, -0.039217964) * g_13;
result += vec4(-0.011449135, -0.002830778, 0.09782809, -0.0067631872);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_6_tf1
//!BIND conv2d_6_tf2
//!BIND conv2d_6_tf3
//!SAVE conv2d_8_tf
//!WIDTH conv2d_6_tf.w
//!HEIGHT conv2d_6_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_6_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_6_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_6_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_6_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.08278094, -0.06729527, 0.031399664, -0.092175096, -0.09598525, 0.0692705, 0.07357648, 0.01260903, 0.045900777, 0.038010124, 0.15354258, -0.047163863, -0.043397132, -0.12536208, 0.02847729, -0.013675385) * go_0(-1.0, -1.0);
result += mat4(0.06463816, -0.17011416, -0.072270736, -0.00077445264, 0.05667064, 0.19799162, 0.026234929, -0.108368374, 0.11948396, -0.015124027, -0.05998398, -0.003967303, -0.03935485, -0.12709956, -0.022918347, 0.030837826) * go_0(-1.0, 0.0);
result += mat4(0.016932894, -0.124500565, 0.038753737, -0.053246994, -0.011897654, 0.06793573, 0.009754347, 0.093742564, -0.0022504984, -0.10328963, -0.041577645, 0.12853336, -0.0019680248, -0.06569624, -0.00980168, 0.07412545) * go_0(-1.0, 1.0);
result += mat4(-0.011991195, -0.14135748, 0.022438431, -0.08267288, -0.102458276, -0.06054887, 0.0740161, -0.22415951, -0.10556297, 0.067763075, -0.0012128456, -0.08078541, 0.037686612, -0.05131911, -0.077715784, -0.10292683) * go_0(0.0, -1.0);
result += mat4(-0.03901934, -0.025878599, -0.0039180447, -0.011033788, 0.08859326, 0.08883106, 0.06486116, 0.022174777, -0.017150419, 0.003371806, 0.14988162, -0.015397375, -0.22962348, 0.13905591, 0.0304279, 0.05778632) * go_0(0.0, 0.0);
result += mat4(-0.036198925, 0.010353016, 0.18139736, -0.030242506, 0.013582345, -0.1253235, 0.10521855, 0.08867587, -0.08140836, 0.05626297, 0.060417447, 0.023256533, -0.08408929, -0.050643906, -0.044822842, -0.03461039) * go_0(0.0, 1.0);
result += mat4(0.051602095, -0.0035041904, -0.08575373, 0.037096065, 0.07106982, 0.16974165, 0.035875358, -0.10185968, -0.061462298, 0.055281874, -0.10975635, 0.060814563, 0.19476666, -0.08311511, -0.090538144, -0.029539565) * go_0(1.0, -1.0);
result += mat4(-0.11952374, 0.026727766, 0.084769025, 0.12317156, 0.010292374, -0.004846773, -0.00056787115, -0.0043771397, -0.09487309, -0.067313395, -0.091773935, 0.024257664, 0.06091223, -0.06471365, -0.1844986, -0.0070593283) * go_0(1.0, 0.0);
result += mat4(-0.0129227275, -0.07383303, -0.094597906, 0.027363284, 0.12854053, 0.029074714, 0.17636952, 0.009017012, -0.11885556, 0.021179812, 0.032750517, -0.10665486, -0.117322296, 0.15855946, -0.042696536, -0.034112938) * go_0(1.0, 1.0);
result += mat4(-0.18735315, -0.0383124, 0.08355156, 0.0009654472, -0.027351197, -0.11594707, -0.11390738, -0.073805965, 0.016577588, -0.041749846, 0.095151775, -0.013978341, -0.045601666, 0.028430155, 0.044656575, 0.026988927) * go_1(-1.0, -1.0);
result += mat4(0.038661715, -0.033163723, 0.051213194, -0.017374616, -0.045903623, -0.15435313, -0.21136428, -0.085471176, 0.033464145, -0.1568745, 0.025762582, -0.1323702, -0.076927684, 0.082414575, -0.007401752, -0.010405403) * go_1(-1.0, 0.0);
result += mat4(0.12922324, -0.045166656, -0.119287744, -0.04893617, -0.16573387, 0.10323662, -0.10845215, -0.08680144, 0.053727087, -0.099716894, -0.12107649, -0.035701852, -0.10188255, -0.1050426, -0.11734088, 0.012192005) * go_1(-1.0, 1.0);
result += mat4(0.010157501, -0.028124793, -0.23867199, 0.028386971, -0.05079922, 0.14048165, 0.12307385, 0.04237863, -0.09109179, -0.12844259, 0.12961523, 0.11307605, -0.0037782195, 0.12505195, -0.033914108, 0.15617172) * go_1(0.0, -1.0);
result += mat4(-0.05588651, 0.20299816, -0.04803554, 0.07680136, -0.07316037, 0.11256523, 0.021389104, 0.06444092, -0.033678472, -0.1238879, 0.32729727, 0.1160183, 0.24852078, 0.09187297, 0.030721879, -0.17204261) * go_1(0.0, 0.0);
result += mat4(-0.1090884, -0.08179965, 0.012365602, 0.0023614678, 0.047255266, -0.011425142, 0.050309908, 0.020743, 0.011185459, -0.0783444, -0.10389257, 0.15164678, -0.09860278, 0.2308804, 0.14304534, -0.023106692) * go_1(0.0, 1.0);
result += mat4(0.13734475, 0.028718147, 0.012539987, -0.14427094, 0.18098259, 0.042366285, -0.0006354639, -0.033402618, -0.08078463, -0.036856003, -0.09954893, 0.08161202, -0.0700716, -0.1013236, 0.14824523, 0.01243695) * go_1(1.0, -1.0);
result += mat4(-0.052275825, 0.013260194, 0.008599061, 0.048557945, -0.01833292, 0.07512356, -0.13110496, -0.1584473, -0.05318785, 0.15830933, -0.06464659, -0.12064129, 0.02371888, 0.016303185, 0.19887853, 0.18558335) * go_1(1.0, 0.0);
result += mat4(0.032500263, 0.03570767, -0.015267871, 0.02510295, -0.16201164, -0.033186425, 0.13611977, 0.004775358, -0.020494966, 0.015229924, 0.09721559, -0.008303934, 0.20763409, 0.052391976, -0.074661806, 0.028839186) * go_1(1.0, 1.0);
result += mat4(-0.06636867, -0.04612264, -0.05086471, 0.039922826, -0.11093169, 0.049438246, 0.11703952, -0.22848104, 0.06390542, 0.19045272, -0.039848838, 0.020837499, 0.0740839, 0.07413691, 0.0029493799, -0.006748913) * go_2(-1.0, -1.0);
result += mat4(-0.031790916, -0.03261483, 0.03141088, -0.06491077, -0.0059831943, 0.056244142, -0.092812866, 0.06591125, 0.05781488, 0.06261082, -0.15501937, 0.1827671, -0.0065676877, -0.0029327788, -0.10061289, 0.001621177) * go_2(-1.0, 0.0);
result += mat4(-0.021516185, -0.035738394, 0.02173596, -0.09346334, -0.024093078, 0.20837367, -0.19447315, -0.106595434, 0.1764288, 0.10132692, -0.20130908, 0.0020316292, 0.088547304, -0.14616993, -0.004568217, -0.05189275) * go_2(-1.0, 1.0);
result += mat4(0.1434771, 0.16794604, 0.049545784, -0.14729089, -0.09666416, 0.021916742, -0.16318898, 0.005039905, -0.014329562, -0.14026406, 0.04786338, 0.032467626, -0.040357247, -0.036503237, 0.066264, 0.044725385) * go_2(0.0, -1.0);
result += mat4(-0.044699024, 0.2657712, -0.045145772, 0.023147859, -0.007385799, 0.054834887, 0.0045836456, -0.14960848, 0.021600831, -0.080300994, 0.23189497, 0.16937429, 0.15613528, 0.07286254, 0.07573354, -0.09220955) * go_2(0.0, 0.0);
result += mat4(-0.118413486, 0.116047636, 0.04855291, 0.17476392, 0.18554908, -0.1393284, -0.26401383, -0.12099436, 0.39432368, 0.06991714, -0.23502299, 0.09135091, -0.0004467319, 0.18719012, -0.06892029, -0.049125932) * go_2(0.0, 1.0);
result += mat4(-0.04694353, 0.05887831, 0.051786385, 0.09872501, 0.016071057, 0.0675272, -0.07588389, 0.08099156, -0.08351224, 0.028720237, -0.18468943, -0.064417, 0.02897887, -0.02838868, -0.0051516593, 0.020160142) * go_2(1.0, -1.0);
result += mat4(0.06967655, -0.10119048, -0.07461322, 0.046589576, -0.07417147, -0.27599525, -0.14567149, -0.018966913, -0.0080859475, 0.097926416, -0.004793609, -0.0238407, 0.13844706, 0.052965965, 0.18324359, -0.07171396) * go_2(1.0, 0.0);
result += mat4(0.09684431, 0.07697054, 0.07467197, 0.0841034, -0.03485726, -0.19047433, -0.13606454, -0.14253993, 0.0042300713, 0.12028247, 0.0343525, 0.15145339, 0.047937512, -0.019340659, 0.043160856, 0.1289243) * go_2(1.0, 1.0);
result += mat4(-0.026626844, -0.012561339, -0.09748627, -0.054832272, -0.0049458332, -0.034060504, 0.013348937, -0.17650189, -0.003711293, 0.22327754, 0.0058838148, -0.08777391, -0.02241254, 0.06661738, 0.056674536, 0.15060939) * go_3(-1.0, -1.0);
result += mat4(0.057583887, -0.096711345, -0.13132288, 0.04828797, 0.18810083, -0.010919861, -0.03167035, 0.054168098, -0.07418671, 0.007635684, -0.12464779, -0.087896496, -0.11705839, 0.15784474, -0.05894365, 0.00985668) * go_3(-1.0, 0.0);
result += mat4(0.04880203, 0.15284486, -0.07269711, 0.06278638, 0.0020699063, -0.10799795, 0.011133507, -0.07771604, 0.055557128, -0.06618517, -0.09253136, -0.029467167, -0.09276546, 0.04678591, 0.051960696, 0.103199065) * go_3(-1.0, 1.0);
result += mat4(0.080728024, 0.12400965, -0.03501919, 0.035573788, 0.19680372, -0.021293646, 0.14413169, -0.1221883, -0.03054547, 0.030825824, 0.11822608, 0.076860145, 0.111504436, 0.08573583, -0.045738664, 0.13754657) * go_3(0.0, -1.0);
result += mat4(-0.20742206, 0.1834124, 0.06952014, -0.16472295, 0.34194514, -0.015351303, 0.011443411, -0.02556704, 0.0299547, -0.14608088, 0.10182188, 0.07452315, 0.12299894, -0.066409536, 0.11641269, 0.0396994) * go_3(0.0, 0.0);
result += mat4(-0.038516127, -0.12653664, -0.101806566, -0.21038078, 0.21433663, -0.068815336, 0.0032489449, -0.016478453, -0.053524405, -0.14795046, -0.109093994, -0.12870269, -0.002630448, -0.06801728, 0.14639665, -0.06822433) * go_3(0.0, 1.0);
result += mat4(-0.07080211, -0.040826853, -0.033220325, -0.059183825, 0.04329672, 0.063708104, -0.035263177, -0.0458802, -0.02008796, -0.049146526, 0.089134075, 0.03859085, -0.045549996, 0.029697193, 0.15034728, -0.0018817111) * go_3(1.0, -1.0);
result += mat4(0.039675616, 0.018654805, 0.13472396, -0.10085893, 0.10066916, -0.08033906, 0.018985836, 0.1816522, -0.018084701, -0.10209158, 0.0449365, 0.09099806, -0.020470351, -0.06829825, -0.014519299, -0.00509428) * go_3(1.0, 0.0);
result += mat4(-0.15741396, 0.05455757, 0.117732294, -0.057458114, -0.114514634, -0.094042346, -0.17771651, -0.061140526, -0.060833562, 0.10035822, 0.06124312, -0.06661064, -0.0018217589, 0.038015686, 0.01619762, 0.052612346) * go_3(1.0, 1.0);
result += mat4(-0.046267886, 0.027238147, -0.081795394, -0.09895906, 0.05681646, -0.18517537, 0.12982327, 0.1463164, -0.20571908, -0.0044081192, -0.07597679, 0.06798806, -0.024998685, -0.105057, 0.020142943, -0.04110074) * go_4(-1.0, -1.0);
result += mat4(-0.07359837, 0.08834078, -0.07412248, -0.12616368, 0.0115964, -0.04456031, 0.008991023, -0.015968446, -0.043489736, 0.14576635, 0.13684048, 0.15739883, 0.05994394, 0.11297449, 0.12657966, -0.059943344) * go_4(-1.0, 0.0);
result += mat4(-0.17568645, 0.11484936, 0.062251553, -0.15136053, 0.29049096, 0.0024718787, 0.121878795, -0.009670675, -0.19996215, 0.029120186, 0.12848198, 0.076529734, 0.011830436, 0.1576248, -0.12900768, -0.05310298) * go_4(-1.0, 1.0);
result += mat4(-0.06142374, -0.17815915, 0.00058353646, -0.0667871, 0.0668762, -0.29092032, 0.23282619, -0.010448164, 0.05979426, 0.08196557, 0.111800365, 0.1558172, -0.010005564, 0.075883746, -0.040655583, 0.0051063546) * go_4(0.0, -1.0);
result += mat4(-0.0077534625, -0.14138709, 0.010493417, -0.15145995, -0.09795836, 0.106897555, 0.26405326, 0.07498084, -0.15466009, -0.19128636, 0.15841517, 0.054464955, 0.031502593, -0.09426758, 0.22110905, -0.00015192994) * go_4(0.0, 0.0);
result += mat4(-0.35819224, -0.10807826, 0.06658498, -0.10841418, 0.09475472, 0.13453954, -0.013960625, -0.009735592, 0.038927417, 0.13535383, 0.033521585, -0.094346955, -0.019520368, 0.06643515, -0.07618614, -0.07051688) * go_4(0.0, 1.0);
result += mat4(-0.055401906, -0.037381615, 0.041573223, -0.14800537, -0.1526917, 0.050005253, -0.049910907, 0.047916252, 0.034644917, -0.14797066, 0.046542633, -0.07104987, -0.026582243, 0.15330225, 0.2227041, 0.19780077) * go_4(1.0, -1.0);
result += mat4(0.003628358, -0.059674487, -0.21862231, -0.1362011, 0.016803924, 0.20197828, 0.18969901, 0.09246762, 0.027481126, -0.019240722, -0.061361928, 0.1739253, 0.01544318, -0.11393152, 0.047847472, 0.11922861) * go_4(1.0, 0.0);
result += mat4(-0.16246219, -0.12184918, 0.02492925, -0.035550725, 0.03243216, -0.0061611524, 0.06504156, 0.12337497, -0.03740865, 0.2711029, 0.19475599, 0.0069879107, -0.04362148, -0.002894425, -0.08314916, -0.25339) * go_4(1.0, 1.0);
result += mat4(0.06639268, 0.1226432, -0.114832185, 0.070980854, -0.0730899, 0.057009514, 0.046833325, -0.067606986, -0.09919963, -0.37281474, -0.017902378, 0.063805416, 0.08555195, 0.048291102, -0.020758439, -0.027784465) * go_5(-1.0, -1.0);
result += mat4(0.013405216, -0.14713968, -0.10929318, -0.024524782, -0.19179231, 0.005229531, -0.035046607, -0.03029374, 0.12758893, -0.06695983, -0.16914585, -0.02630946, -0.05946738, 0.0141625535, -0.08066392, -0.0039679087) * go_5(-1.0, 0.0);
result += mat4(-0.081084944, 0.16825265, 0.057608504, 0.015340001, 0.03824054, -0.10183542, 0.0990391, 0.101068445, -0.0107377535, 0.028140228, 0.1429819, -0.016266476, -0.117353275, -0.18448253, 0.18239972, 0.14592138) * go_5(-1.0, 1.0);
result += mat4(0.022838028, -0.13077143, 0.020248974, -0.055619814, 0.36748004, -0.25471938, 0.22140662, 0.037865274, 0.043932404, 0.055467438, 0.01949179, -0.17188439, -0.029154088, 0.07582445, 0.2514083, 0.017520098) * go_5(0.0, -1.0);
result += mat4(0.24249633, -0.015670802, 0.10350504, 0.10091157, 0.073665835, 0.154068, -0.13934352, 0.034722574, -0.14473338, 0.16642897, 0.14154346, 0.19300297, -0.15170477, 0.17405164, 0.0993315, 0.082411245) * go_5(0.0, 0.0);
result += mat4(0.120236054, 0.04393166, -0.1274564, -0.14343578, -0.17841624, 0.14795913, 0.1327008, 0.04306565, 0.03820121, 0.036950663, -0.09966917, 0.1561982, 0.15704241, 0.010505043, -0.059078265, 0.17782433) * go_5(0.0, 1.0);
result += mat4(0.015989952, -0.10346438, 0.01477996, 0.01381734, -0.0020046702, -0.08296894, 0.030247187, -0.06902144, -0.033283636, 0.08230534, 0.2041918, -0.017593132, -0.05823506, -0.06271958, 0.057211872, 0.16528864) * go_5(1.0, -1.0);
result += mat4(0.15105817, 0.08504043, -0.14911468, -0.19373105, 0.077416345, -0.07362624, -0.14520273, -0.117083244, -0.098855175, -0.11546281, 0.2013104, -0.09206118, 0.049059115, -0.03629559, 0.071217075, 0.1291613) * go_5(1.0, 0.0);
result += mat4(-0.03957678, -0.12520507, -0.045303326, -0.11613586, 0.16313192, 0.072967835, 0.025449362, 0.01722513, -0.055758182, -0.043600183, -0.02403487, -0.031192053, 0.14819577, -0.051370014, -0.14941072, 0.034644872) * go_5(1.0, 1.0);
result += mat4(-0.073024414, 0.02202545, 0.09309926, -0.06473012, -0.091724865, 0.05130679, -0.015425844, 0.021199657, 0.08321363, 0.077499814, -0.12684996, 0.11093035, -0.0031282227, -0.16674936, -0.037387174, 0.051467184) * go_6(-1.0, -1.0);
result += mat4(-0.02690489, -0.010381964, 0.104083754, -0.026472932, -0.28350607, 0.09717675, 0.040012196, -0.025573855, 0.14496754, 0.043652393, 0.066548236, -0.13428038, 0.05158042, 0.029492611, 0.06677995, -0.09331364) * go_6(-1.0, 0.0);
result += mat4(-0.008557023, 0.053805478, 0.14596899, 0.14682902, -0.1280871, -0.12252611, -0.1342184, -0.09569089, 0.04287121, 0.14218418, -0.01535556, 0.14128487, 0.07601873, 0.062792934, 0.17843449, 0.0013233593) * go_6(-1.0, 1.0);
result += mat4(-0.03626641, -0.086798765, 0.111303665, 0.084100485, -0.034761395, -0.1768037, 0.06328535, -0.056683894, 0.04654289, 0.17042455, 0.010163501, 0.04580083, 0.163605, 0.06626728, -0.08693581, -0.27529544) * go_6(0.0, -1.0);
result += mat4(0.07475657, -0.010114883, 0.13548818, 0.05231574, -0.04789571, -0.20014645, -0.13627432, -0.08317294, 0.18127209, 0.1864717, 0.101762116, -0.14188983, -0.19037981, -0.034903, 0.06820425, 0.06638825) * go_6(0.0, 0.0);
result += mat4(0.0842221, -0.080642395, 0.07986916, 0.09827023, 0.005293987, -0.23334707, -0.021650719, -0.1095129, 0.13535668, 0.062001623, 0.14404789, 0.22836635, 0.013712175, -0.03593151, -0.107020594, 0.106728524) * go_6(0.0, 1.0);
result += mat4(-0.0025111288, -0.02401042, 0.10017584, -0.0787389, -0.05934919, -0.003888015, -0.15397097, -0.118789256, 0.1755306, 0.062894, 0.08169569, 0.070930645, 0.009758565, 0.02642412, 0.11837063, 0.017998926) * go_6(1.0, -1.0);
result += mat4(0.09113588, -0.07959844, -0.017930401, 0.15803315, 0.07464388, -0.043724272, -0.14296398, -0.10401141, 0.20054936, 0.084242016, 0.11802311, 0.18693525, 0.12843236, -0.1743202, -0.2691209, -0.10083827) * go_6(1.0, 0.0);
result += mat4(-0.0104539115, -0.057354454, -0.052867286, 0.1466724, 0.09271791, 0.08887784, -0.02005143, -0.07572476, 0.27422255, 0.042678628, -0.20733066, 0.19042592, -0.1411383, 0.02257083, -0.064085186, -0.09262303) * go_6(1.0, 1.0);
result += mat4(-0.039105386, 0.1234472, -0.050453164, -0.06813485, -0.03566356, -0.082925014, 0.004115353, 0.03527489, 0.14877772, 0.10940238, 0.038895883, 0.14791708, -0.00093082275, 0.013463437, 0.052204877, -0.09501719) * go_7(-1.0, -1.0);
result += mat4(-0.13413331, 0.30298924, 0.06975083, 0.06468644, 0.021598302, -0.042296782, 0.047363598, 0.0656856, 0.116241224, -0.056966808, -0.048400965, 0.15398203, -0.017706253, -0.21229734, 0.081751674, -0.07334096) * go_7(-1.0, 0.0);
result += mat4(-0.015395337, 0.08013673, -0.007724216, -0.16373841, -0.040737778, 0.046441197, 0.099434204, 0.010231656, -0.09467427, 0.0027398872, -0.11485949, -0.04768318, 0.021612423, 0.12103776, 0.0017846692, -0.19943565) * go_7(-1.0, 1.0);
result += mat4(-0.03624946, 0.09955605, -0.05853764, 0.11099403, -0.11808308, -0.030056255, -0.0073744217, -0.077378385, -0.07616062, -0.12060334, 0.21527039, 0.18560308, 0.081354655, -0.09822593, 0.0857936, 0.022761296) * go_7(0.0, -1.0);
result += mat4(0.17069015, -0.11525897, -0.051111165, -0.14717498, 0.012639682, 0.09998064, 0.17585759, -0.14529346, 0.1109187, -0.32648262, 0.004875526, -0.16914915, -0.3011962, 0.15414944, 0.1256961, 0.058924194) * go_7(0.0, 0.0);
result += mat4(-0.09058702, 0.083920516, 0.16238095, 0.029322624, -0.043353304, 0.013579545, 0.0129472315, 0.06778881, 0.0683832, 0.035574593, 0.20563723, 0.06673693, 0.08938325, 0.038934063, 0.09244839, 0.028088508) * go_7(0.0, 1.0);
result += mat4(-0.07614752, -0.047567874, -0.1380417, -0.18331873, 0.052511748, -0.0539637, 0.039498847, 0.08259066, -0.02891946, -0.021063829, 0.14133519, 0.01393951, -0.010774704, 0.016167268, -0.16802885, -0.061799638) * go_7(1.0, -1.0);
result += mat4(-0.18863532, 0.16274302, 0.192186, -0.0077962317, -0.020892195, -0.09247625, 0.005973833, -0.09916121, 0.057757266, 0.22371474, 0.010263742, 0.05736251, -0.05340698, 0.010000294, 0.07362701, -0.036168545) * go_7(1.0, 0.0);
result += mat4(0.13246104, -0.0075489967, 0.045744922, 0.012578804, 0.069654465, 0.09448002, 0.07289381, -0.028779842, -0.028920207, 0.019855209, -0.012340226, 0.11704812, -0.0732277, -0.06416991, -0.19167633, -0.19066313) * go_7(1.0, 1.0);
result += vec4(-0.049622387, 0.08094756, 0.01070978, -0.004729037);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_6_tf1
//!BIND conv2d_6_tf2
//!BIND conv2d_6_tf3
//!SAVE conv2d_7_tf
//!WIDTH conv2d_6_tf.w
//!HEIGHT conv2d_6_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_6_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_6_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_6_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_6_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.035603523, -0.08185009, 0.100660555, -0.022107664, 0.006483063, 0.010618868, 0.066785395, -0.10532644, -0.022030462, -0.03625011, 0.007837545, 0.08149827, -0.12578116, -0.07853147, -0.05958921, 0.053226028) * go_0(-1.0, -1.0);
result += mat4(-0.05855061, -0.015080681, 0.011201599, 0.20149398, 0.14702003, 0.12853478, 0.06493872, -0.11110786, -0.046400975, -0.051260192, -0.00061310694, 0.0035754163, -0.018769907, -0.05883245, 0.14298503, 0.044353373) * go_0(-1.0, 0.0);
result += mat4(-0.03558178, 0.049559087, 0.12715517, -0.10066971, 0.09137559, 0.043789122, 0.022936953, -0.05118043, 0.04014738, 0.10581346, -0.0290242, -0.01377225, -0.022771021, 0.046499223, -0.017308814, 0.024164317) * go_0(-1.0, 1.0);
result += mat4(-0.05326584, 0.0648063, -0.019037703, 0.026325414, -0.028105821, 0.06404821, -0.08319213, -0.028761376, 0.08944063, -0.043534186, -0.1310267, -0.15940449, -0.039495252, 0.05476147, 0.11432263, 0.061669342) * go_0(0.0, -1.0);
result += mat4(-0.041112833, -0.21133068, 0.06816941, 0.055115074, 0.025840355, -0.026093813, 0.053838182, 0.019086495, -0.009952756, -0.070893176, 0.13810948, 0.0705213, 0.12261168, 0.055244014, 0.08636737, -0.13819547) * go_0(0.0, 0.0);
result += mat4(0.004913478, -0.048463155, 0.0072081247, -0.003661033, -0.0008038985, 0.040157363, -0.10312559, -0.08591067, 0.040277693, -0.06355311, 0.06348351, -0.00020286323, -0.0517869, 0.079511285, 0.13597977, 0.14372323) * go_0(0.0, 1.0);
result += mat4(0.060098045, 0.0035651794, 0.04503383, 0.028510861, 0.065317295, 0.16709213, 0.05087783, -0.0064135925, 0.13494767, 0.10095361, -0.061869144, -0.13709058, -0.04864603, 0.025154103, 0.07870689, 0.048005972) * go_0(1.0, -1.0);
result += mat4(-0.033613607, -0.1275044, -0.060809586, -0.044648085, 0.010648507, 0.05642866, -0.06120529, -0.009423726, -0.01780852, 0.038888674, 0.0984886, 0.13126552, 0.07388317, 0.05093105, -0.016656855, -0.11651323) * go_0(1.0, 0.0);
result += mat4(0.007843721, 0.017831927, -0.15450433, -0.15955317, 0.010202567, -0.009159524, -0.07439414, -0.089754924, -0.021661272, 0.03366527, -0.0006366156, 0.0006161091, -0.04967107, -0.07847564, 0.083504364, 0.05554673) * go_0(1.0, 1.0);
result += mat4(0.031190002, 0.13800605, -0.15574321, 0.010022096, -0.14684476, 0.061689105, 0.014063308, -0.00039702927, -0.1003136, 0.068490945, 0.0048890817, -0.094239116, 0.021505974, 0.015284103, 0.090422966, -0.08774978) * go_1(-1.0, -1.0);
result += mat4(0.09721201, -0.06701299, -0.039967485, 0.043807294, 0.08414275, -0.06183705, 0.16963054, 0.16145426, -0.046832524, -0.11351221, -0.025378993, -0.066796064, -0.108117335, 0.03834068, -0.084380955, 0.07838217) * go_1(-1.0, 0.0);
result += mat4(0.01133327, -0.08794524, 0.043305114, -0.061654102, 0.0051152804, 0.027094582, 0.10866538, 0.028519077, -0.07746428, 0.0301101, -0.109595634, -0.072024494, 0.14254291, 0.06296279, -0.13838717, 0.029168306) * go_1(-1.0, 1.0);
result += mat4(0.03323507, 0.0005419394, 0.049774323, 0.13523221, -0.11138956, 0.023692777, -0.12362618, -0.09451136, 0.043240786, -0.04068215, 0.100901894, 0.026546478, -0.039114397, -0.08423817, 0.131507, -0.08842477) * go_1(0.0, -1.0);
result += mat4(-0.057802275, -0.013870614, -0.04850402, -0.04543366, -0.16024384, 0.0058730533, 0.0760309, 0.19207342, -0.19927716, -0.010100102, 0.09135455, -0.060649123, 0.025650078, 0.018444177, 0.00021598223, -0.04745473) * go_1(0.0, 0.0);
result += mat4(-0.080954164, 0.048129823, 0.040365905, -0.046155997, -0.06328537, 0.03939891, 0.112972215, 0.06335107, -0.004712385, 0.03634818, -0.09019586, -0.09726606, 0.057669904, -0.08364145, -0.02754419, -0.016794952) * go_1(0.0, 1.0);
result += mat4(0.06571239, -0.02034063, 0.047206875, 0.12161593, 0.025209486, -0.058197014, 0.111869335, 0.090523414, 0.077260986, 0.0056082606, -0.02820308, 0.06973363, 0.029205032, -0.062267963, 0.015583637, 0.019638522) * go_1(1.0, -1.0);
result += mat4(-0.083109334, -0.05083325, -0.05968024, -0.11155437, 0.105850436, 0.09744165, -0.03303017, -0.013044941, -0.0077590025, -0.04237108, -0.20369965, 0.031323917, 0.012978714, -0.063359976, 0.042146076, 0.019776987) * go_1(1.0, 0.0);
result += mat4(0.035537377, -0.10743068, 0.133754, 0.090181574, -0.028627062, 0.028155155, 0.018499529, 0.09005287, 0.16607289, 0.15793674, -0.11622822, -0.013572966, 0.029706242, 0.017781565, -0.009353398, -0.17865635) * go_1(1.0, 1.0);
result += mat4(-0.11203039, -0.038313862, 0.024553291, -0.14427736, -0.04825668, 0.042359933, -0.07456192, 0.07533933, 0.06583026, 0.028042082, 0.17915186, -0.09986524, 0.0045316215, -0.055563286, -0.01603018, 0.0072140303) * go_2(-1.0, -1.0);
result += mat4(0.023269117, -0.13553037, -0.12864427, 0.05080066, 0.116199985, 0.055588637, 0.020242607, 0.028640006, -0.019016344, 0.02210024, -0.13367496, -0.042627923, 0.10561512, 0.1900557, -0.19167726, -0.13005958) * go_2(-1.0, 0.0);
result += mat4(-0.009667415, 0.048991125, 0.03990137, 0.06523109, -0.0047858153, -0.054032765, -0.04514449, -0.050494507, -0.0417104, 0.100091435, 0.14701962, 0.08403896, -0.025943374, 0.022905018, -0.092077054, -0.11161656) * go_2(-1.0, 1.0);
result += mat4(-0.03497298, 0.077198364, -0.13679147, 0.11873723, -0.024424871, 0.053137034, -0.032385264, -0.0141263325, -0.013927444, -0.071978, 0.13627312, 0.063701816, 0.008311752, 0.0098141, 0.05543976, -0.058797874) * go_2(0.0, -1.0);
result += mat4(0.004518499, -0.07926175, -0.20172442, -0.07550185, 0.24148971, -0.098768815, 0.040357675, 0.0815576, 0.06890898, -0.013913556, 0.008509605, -0.27146277, -0.21143566, 0.14486042, 0.026823578, 0.06405004) * go_2(0.0, 0.0);
result += mat4(0.07543994, -0.00025196848, -0.05954198, -0.046995167, 0.010792962, 0.06456983, 0.05764683, 0.15503259, -0.16120984, 0.0807539, -0.038956456, 0.12451675, -0.08603456, -0.1705987, -0.06136245, -0.18488552) * go_2(0.0, 1.0);
result += mat4(-0.00572469, -0.023406431, -0.024342058, -0.05564663, 0.024842156, -0.07729906, 0.026645722, 0.05106307, 0.024492387, 0.0016276453, 0.06377535, -0.012904678, -0.012211929, -0.029794648, -0.048944846, -0.09197441) * go_2(1.0, -1.0);
result += mat4(0.17784351, 0.33556664, -0.16068351, -0.079374805, -0.04599449, 0.11359752, -0.053493448, -0.21075985, -0.019184487, -0.06383055, -0.01185842, -0.0695056, -0.1157193, -0.22757286, -0.090421006, -0.05891914) * go_2(1.0, 0.0);
result += mat4(-0.0024737257, 0.034482602, -0.006574776, -0.123885706, -0.032806616, 0.13714285, 0.03184805, 0.051896997, -0.10557891, -0.23659584, -0.11904932, 0.13204372, -0.048789233, -0.22316931, -0.11616664, -0.12002667) * go_2(1.0, 1.0);
result += mat4(-0.16620998, -0.083569415, 0.0065785977, -0.028163226, 0.118216015, -0.042357974, 0.12170964, 0.049162548, -0.012655221, -0.062021617, 0.061642777, 0.026117237, 0.058876973, -0.13939914, 0.0016208607, 0.044976454) * go_3(-1.0, -1.0);
result += mat4(-0.14663431, 0.03581357, 0.077214204, 0.10090841, 0.086941764, -0.11483719, 0.013683549, 0.14151746, -0.037653763, -0.049350277, 0.05558862, -0.12354268, 0.08483936, 0.025416449, -0.1325484, 0.039415598) * go_3(-1.0, 0.0);
result += mat4(-0.036637645, -0.037072327, 0.06181543, 0.018595748, 0.03781546, 0.004868063, 0.051894557, -0.045784436, -0.12323018, -0.043563627, -0.061274346, 0.018986262, 0.08072628, 0.15792938, 0.06480739, 0.048926838) * go_3(-1.0, 1.0);
result += mat4(-0.025308818, -0.019264646, -0.061931565, 0.00022685992, 0.08663662, -0.025102472, -0.044551793, -0.014964958, 0.10428076, 0.103535, -0.062238917, -0.00082623254, 0.1021367, 0.07957318, -0.15018936, -0.0863818) * go_3(0.0, -1.0);
result += mat4(0.15889543, -0.049840968, -0.04183841, -0.083414994, -0.1916174, 0.13753025, 0.14771314, 0.33127707, 0.000934214, 0.28703767, -0.008823727, -0.08902316, 0.10487791, 0.045531362, 0.011037433, 0.055553384) * go_3(0.0, 0.0);
result += mat4(-0.048647963, 0.03926244, -0.08315152, 0.06590094, -0.0009501526, 0.17133625, -0.04364588, 0.14289281, 0.044428002, -0.08102835, 0.008432385, 0.007471905, 0.0034905518, 0.08767701, 1.0289642e-06, 0.022898048) * go_3(0.0, 1.0);
result += mat4(0.04429903, -0.11645563, -0.026604889, 0.07899901, -0.023821525, -0.026004031, -0.018923612, -0.053543407, -0.042527657, 0.0036584022, 0.027810149, 0.024032138, 0.10543079, -0.030619275, -0.030865723, -0.05092747) * go_3(1.0, -1.0);
result += mat4(0.026915446, 0.120717816, 0.0019816516, -0.049912937, -0.0007762602, 0.022564199, 0.18567841, -0.056447282, 0.13844876, 0.13579142, 0.10044439, 0.047508094, -0.04063719, 0.17919034, 0.08064534, -0.03256138) * go_3(1.0, 0.0);
result += mat4(-0.0434133, -0.06033915, -0.04983542, 0.0400338, -0.053370785, -0.05155623, 0.045170438, -0.045111567, -0.053353325, -0.12816454, -0.0677066, -0.021872709, -0.02099235, -0.016961794, 0.028701715, 0.06569918) * go_3(1.0, 1.0);
result += mat4(0.06710011, 0.057980128, 0.013201372, 0.030130189, 0.06094751, 0.07235975, -0.047589682, 0.2354357, 0.14901309, 0.04262213, 0.0966923, 0.2618183, 0.005253222, 0.020696905, -0.017493509, 0.030192135) * go_4(-1.0, -1.0);
result += mat4(0.054935362, 0.081852324, -0.009865248, -0.1405845, -0.06501512, -0.081201576, -0.19381413, -0.07899466, 0.1869321, -0.010295521, 0.07100554, 0.039669935, -0.0717112, 0.06757859, -0.057729263, 0.10774218) * go_4(-1.0, 0.0);
result += mat4(-0.05170724, 0.028823921, -0.039832033, 0.102353394, -0.040672857, -0.071934074, -0.03207114, -0.062728606, -0.0041836924, 0.049775664, -0.015730772, 0.115351014, 0.0198361, -0.04392965, 0.06256708, -0.018467398) * go_4(-1.0, 1.0);
result += mat4(-0.004088018, -0.0075854803, -0.053410996, 0.053963624, 0.038335897, -0.043097124, -0.053266585, -0.02110349, -0.100289516, 0.13708574, 0.045705263, 0.14583495, 0.049664762, -0.007881616, -0.07083171, 0.06628562) * go_4(0.0, -1.0);
result += mat4(-0.096194305, 0.3136127, -0.06582547, -0.10976745, 0.0052450127, -0.06082186, 0.072152615, 0.15377738, -0.023069546, 0.024237594, -0.08700614, 0.01600506, -0.11880559, 0.05290161, 0.18157464, 0.12359404) * go_4(0.0, 0.0);
result += mat4(0.05889622, 0.14444394, 5.1526327e-05, -0.016800134, 0.14292586, -0.11104289, -0.03384623, -0.0071736914, -0.027003476, -0.050374918, -0.07425175, -0.06407235, 0.030245714, -0.013432628, 0.036909264, -0.10258834) * go_4(0.0, 1.0);
result += mat4(-0.050930936, -0.012308526, -0.0224252, 0.02924823, -0.014263356, -0.2264721, -0.033080157, 0.10535792, -0.0007992285, -0.07806312, -0.0446525, 0.08360969, -0.07534844, -0.08033527, 0.09658374, 0.03556867) * go_4(1.0, -1.0);
result += mat4(0.036354, -0.01415224, 0.15901333, 0.03089121, -0.105297774, -0.0567874, -0.046968583, -0.02000512, 0.019031817, -0.10858096, -0.16507767, -0.14353652, -0.047385126, 0.08500263, 0.10296464, 0.12831974) * go_4(1.0, 0.0);
result += mat4(0.08133631, -0.08120405, 0.12163648, -0.00789435, 0.06704583, 0.06559347, 0.056115437, 0.014905266, 0.15081121, -0.06725895, -0.06748307, 0.1599525, -0.07030421, 0.12173684, 0.103771955, 0.053344633) * go_4(1.0, 1.0);
result += mat4(0.0195776, -0.0622637, 0.06881111, -0.13235638, -0.009745966, -0.20333163, -0.016195327, 0.0498002, -0.00685214, -0.10209501, -0.035590008, 0.09018023, -0.031462304, -0.0349528, -0.10600601, -0.0090544615) * go_5(-1.0, -1.0);
result += mat4(0.15811858, -0.06563293, 0.016432226, -0.028199475, -0.12282523, -0.06881546, -0.092320375, -0.0031693543, -0.064210124, 0.043783337, -0.2019922, -0.13730226, -0.08938997, -0.10791797, 0.11714907, -0.022770153) * go_5(-1.0, 0.0);
result += mat4(0.06281743, 0.07511937, -0.048748665, 0.04450613, -0.04570434, 0.021222433, -0.06628591, 0.073260285, 0.09201485, -0.028903183, 0.003736346, -0.08917027, -0.07610416, -0.14540285, 0.07343613, -0.06727425) * go_5(-1.0, 1.0);
result += mat4(-0.15571125, -0.0640986, -0.04293689, -0.24749066, -0.11165803, 0.0051061464, 0.019376764, 0.07696208, -0.04814943, -3.504131e-05, -0.16579178, 0.1502019, -0.023707883, 0.04413888, -0.04388852, -0.009154628) * go_5(0.0, -1.0);
result += mat4(-0.07220755, -0.041894138, -0.13767485, 0.026967121, 0.028019764, -0.07266683, 0.09768252, 0.051648475, 0.2144752, -0.049994867, 0.09415208, -0.12033149, -0.2286533, -0.1035957, -0.20106381, -0.05755881) * go_5(0.0, 0.0);
result += mat4(0.124922104, 0.10773247, -0.09984372, 0.08305024, 0.043024022, -0.039096966, 0.09213775, 0.093309745, 0.041290306, 0.054291926, 0.023719616, 0.020621356, -0.16033965, -0.025751784, -0.026916293, -0.012173795) * go_5(0.0, 1.0);
result += mat4(0.00044945415, -0.017210819, 0.053547475, -0.005321006, -0.04807709, 0.06448037, -0.048554003, 0.011876162, -0.05595753, -0.06437566, -0.042622857, 0.020113062, -0.0020804277, 0.018597316, 0.013574127, -0.043030854) * go_5(1.0, -1.0);
result += mat4(0.043135546, 0.18260844, -0.09212242, 0.16260995, -0.026462799, -0.026555145, 0.13806862, -0.07638378, 0.13613388, -0.036159042, 0.21367857, 0.099882215, 0.04033422, 0.06743046, -0.04514496, 0.07347721) * go_5(1.0, 0.0);
result += mat4(-0.05599136, 0.24458563, -0.055775292, 0.023797944, 0.017738774, -0.0026254307, 0.020338422, -0.05910233, -0.041537784, -0.07887153, 0.02836997, 0.029184725, -0.09466807, -0.056054644, -0.20904629, -0.06603871) * go_5(1.0, 1.0);
result += mat4(-0.0809845, 0.113287315, -0.07588069, -0.07764146, 0.018005516, 0.0058764964, 0.015952185, 0.0026178441, -0.025305526, 0.016157705, -0.031857558, 0.012376404, -0.0033852167, -0.0025056018, 0.033977445, -0.035882123) * go_6(-1.0, -1.0);
result += mat4(0.01720746, 0.12093419, 0.004281695, 0.015260916, -0.025000513, 0.019857937, -0.015916452, -0.14818902, 0.10654605, -0.044710767, 0.068046734, 0.0020083294, -0.06207356, -0.11559851, -0.014965024, -0.021263203) * go_6(-1.0, 0.0);
result += mat4(0.10744724, -0.117611334, -0.07036045, -0.16104576, -0.03606856, -0.021588141, 0.003583071, 0.08581648, -0.027726242, 0.0065163933, -0.022813367, -0.042334005, -0.0783816, 0.04475857, -0.013612499, -0.11017741) * go_6(-1.0, 1.0);
result += mat4(-0.03915705, -0.06676148, -0.017724907, -0.08243233, 0.024043124, -0.00641056, -0.046309136, 0.0028519596, -0.020301778, 0.090468615, -0.02914518, -0.01921614, 0.0066639995, 0.0115059335, -0.07672176, -0.11208497) * go_6(0.0, -1.0);
result += mat4(0.08966859, -0.032337032, 0.1445986, -0.1320196, -0.07705068, 0.26452798, -0.102185756, -0.0669899, -0.17417169, 0.04188311, 0.1864277, -0.1504491, 0.22015794, -0.16350059, 0.0710934, -0.2829582) * go_6(0.0, 0.0);
result += mat4(0.06390482, -0.025778925, -0.036299095, 0.038941868, 0.03774386, 0.03236249, -0.094204284, -0.02483742, 0.028479036, -0.0043308022, -0.07259228, 0.012454688, -0.042251453, 0.12513779, -0.09296203, 0.11374747) * go_6(0.0, 1.0);
result += mat4(0.047953177, -0.13953067, -0.16459087, 0.07894725, -0.056713596, 0.021099769, 0.03746491, -0.039627306, 0.013983546, -0.012757725, -0.029330993, 0.06562089, -0.04810442, 0.099750385, -0.0027220398, -0.03113898) * go_6(1.0, -1.0);
result += mat4(-0.18453379, -0.19663307, -0.069053225, -0.0886819, -0.0801514, 0.030041967, 0.052098416, 0.14237365, -0.122975424, -0.020104067, 0.03250069, -0.012830738, 0.015021435, 0.17618941, -0.17539805, -0.11354229) * go_6(1.0, 0.0);
result += mat4(0.039481774, -0.03845886, -0.024213333, -0.013388697, 0.021345852, -0.081355266, 0.060501907, 0.020541774, 0.0050397296, 0.01937342, 0.124778345, -0.02009733, -0.03618026, 0.18081245, -0.059872225, 0.0480807) * go_6(1.0, 1.0);
result += mat4(0.06564816, -0.033822373, -0.0733927, -0.03701997, 0.109872006, 0.0289091, -0.05753885, 0.07605533, 0.01233494, 0.105628036, -0.05230974, 0.020886896, -0.012355101, 0.09088149, -0.077560514, 0.0067109973) * go_7(-1.0, -1.0);
result += mat4(-0.1322054, -0.013291897, -0.03752736, -0.1729646, -0.07199937, 0.044647448, -0.05308083, -0.17281532, -0.22998895, 0.08423837, 0.096846774, -0.03199861, 0.16217668, -0.038777575, 0.11706502, 0.003698661) * go_7(-1.0, 0.0);
result += mat4(-0.04857856, -0.033291973, 0.042390086, 0.07810751, -0.033537693, -0.044030026, -0.039593477, 0.04621247, -0.17857364, -0.09121616, 0.051663235, 0.11376567, 0.026875451, -0.020726817, -0.07497909, 0.04745875) * go_7(-1.0, 1.0);
result += mat4(-0.04273227, -0.06567099, 0.068244755, 0.004056219, 0.071459755, 0.06104156, -0.040738944, 0.026269622, -0.0829272, -0.213161, 0.12350121, -0.12019999, -0.0047574732, -0.07947193, 0.11080581, 0.06579881) * go_7(0.0, -1.0);
result += mat4(-0.0059235813, 0.3313213, 0.11250806, 0.10323526, 0.10955034, -0.16566339, -0.19147675, -0.030210944, 0.04117325, -0.0210125, 0.17611006, 0.08003979, 0.049902663, -0.07172505, -0.122315325, 0.010667146) * go_7(0.0, 0.0);
result += mat4(0.054875605, -0.0037542211, 0.063533604, -0.06934719, -0.03633734, -0.035200633, 0.13640474, -0.0012530384, 0.11430386, -0.19378312, 0.09804568, 0.013388336, -0.05530006, -0.04414178, -0.19488367, -0.0756056) * go_7(0.0, 1.0);
result += mat4(-0.020816237, 0.06688388, -0.037516814, -0.12198087, -0.015191337, 0.027221302, -0.06470536, -0.02152179, -0.017627591, -0.1226421, -0.032714654, -0.05618612, 0.05928148, 0.0800804, 0.048406508, 0.00018751089) * go_7(1.0, -1.0);
result += mat4(-0.048010882, -0.09108586, 0.15244915, 0.013734108, 0.06698592, 0.12715879, -0.06800172, -0.08406023, -0.0060334927, -0.18118794, 0.028690156, -0.041895367, -0.09738513, -0.091504306, 0.005916668, 0.041399106) * go_7(1.0, 0.0);
result += mat4(0.03526128, -0.0710679, 0.026936322, 0.016473033, 0.050931316, 0.07237934, 0.052602474, 0.036545273, -0.044300303, -0.007841123, 0.12865187, 0.13500206, 0.10369719, 0.017725354, -0.046136603, 0.11124073) * go_7(1.0, 1.0);
result += vec4(0.02762366, 0.015666952, 0.009978591, -0.020644614);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x64
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_6_tf1
//!BIND conv2d_6_tf2
//!BIND conv2d_6_tf3
//!BIND conv2d_8_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!SAVE conv2d_9_tf
//!WIDTH conv2d_6_tf.w
//!HEIGHT conv2d_6_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_1 (max((conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
#define g_2 (max((conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
#define g_3 (max((conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
#define g_8 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.09864263, 0.16643536, -0.10098628, -0.27088618, 0.2439447, -0.15055421, -0.16554014, 0.15346923, 0.22877191, 0.36627764, 0.0009881472, -0.29182792, -0.1399589, 0.20674823, -0.1336018, -0.23139776) * g_0;
result += mat4(0.30116054, -0.14907749, -0.057519797, -0.115984246, -0.010677967, 0.24336332, 0.18829945, -0.009448468, -0.20248725, 0.1898866, 0.10740923, 0.070664346, 0.19182079, 0.19262572, -0.10405306, -0.14409591) * g_1;
result += mat4(0.02424672, 0.18151794, -0.3288155, 0.09967775, 0.08982069, -0.33101448, -0.13098675, 0.001805271, 0.093248144, 0.0062144175, -0.27785897, 0.15994431, 0.07629904, 0.11391333, -0.09452774, 0.028830891) * g_2;
result += mat4(-0.12576537, 0.124780804, -0.005383383, 0.010800503, 0.074371964, -0.15757772, -0.012425731, 0.26471737, -0.12934509, 0.18494883, -0.019696942, 0.39016318, 0.108690634, -0.12907083, 0.23849326, 0.2127003) * g_3;
result += mat4(0.06064956, 0.13181925, -0.06518252, 0.09022306, 0.10722941, -0.029313153, 0.05462699, -0.12941502, -0.32090643, -0.2399227, -0.0010322831, 0.2706631, -0.018146884, -0.25801313, 0.2318069, 0.114894636) * g_4;
result += mat4(-0.12751573, -0.13918388, 0.20377824, -0.033067297, -0.0028459544, -0.17263114, 0.07472814, -0.08497229, -0.19693358, -0.23583023, -0.23746331, -0.1620524, 0.12260008, 0.20666504, 0.018275812, 0.05227883) * g_5;
result += mat4(0.017006887, -0.079197586, -0.1751486, -0.24029018, 0.17393425, 0.19827369, 0.14355439, 0.07403027, 0.26099652, 0.34026688, -0.07905064, 0.1136539, -0.033830065, 0.0038907684, -0.25529358, -0.3126053) * g_6;
result += mat4(-0.18364787, 0.06289015, 0.30731493, 0.2604622, 0.14766745, -0.19659941, -0.24400567, -0.13139778, -0.20132752, -0.31973583, -0.04709369, 0.2157305, -0.05968398, 0.41553238, -0.26575878, 0.12818466) * g_7;
result += mat4(0.1777632, 0.30519867, 0.04919452, -0.050079886, -0.09780533, 0.071669996, -0.30823946, -0.05612444, 0.13824712, -0.17230682, 0.1516716, -0.42944372, 0.26453936, -0.3669238, -0.2791366, -0.158038) * g_8;
result += mat4(-0.16834885, -0.36678392, -0.116782546, -0.12371954, 0.030408079, 0.030037245, -0.118157424, 0.21994841, -0.06582355, 0.35889858, -0.08357428, 0.33521906, 0.0730811, 0.12300713, 0.08012372, 0.13627763) * g_9;
result += mat4(0.3792248, 0.2113681, -0.057442214, 0.056784596, -0.07914339, 0.2952479, 0.0039747343, -0.010485219, -0.21411481, -0.26210615, 0.14048009, -0.09856881, 0.17023402, -0.059730083, 0.019566841, -0.016332023) * g_10;
result += mat4(-0.61801714, -0.31580862, 0.024079382, -0.26253095, 0.15262255, -0.05209289, -0.058584727, -0.17753975, 0.09153676, 0.018372437, -0.08778411, 0.15213694, 0.23527849, 0.0651243, 0.082912475, -0.12144174) * g_11;
result += mat4(-0.10203859, -0.2157538, 0.09766386, 0.255458, 0.14621232, 0.15972705, 0.037336424, 0.29910806, -0.23335846, -0.27241442, 0.056837723, -0.15916888, 0.14921062, 0.018489221, 0.29236946, -0.21704453) * g_12;
result += mat4(-0.20196709, 0.03039717, -0.016681867, 0.09106574, 0.016594073, -0.11138761, -0.39326677, -0.12731183, 0.017273927, 0.20023176, 0.40969402, -0.09844807, -0.21699667, -0.08527532, 0.03868599, 0.08391285) * g_13;
result += mat4(0.04918593, -0.28722, 0.13262631, 0.19763342, 0.07408771, 0.20518765, -0.08351114, 0.023192497, 0.08808452, -0.024055472, 0.2863115, 0.028993187, 0.18309475, 0.14929788, 0.41230813, -0.14815095) * g_14;
result += mat4(-0.068900704, -0.085048415, -0.3247905, -0.04743062, -0.09697462, 0.015716264, 0.016111441, -0.020915799, 0.0722674, 0.23050514, -0.038081765, 0.23436533, 0.0045003896, -0.25709474, -0.11242606, -0.2509955) * g_15;
result += vec4(0.016932571, 0.01285098, 0.065885656, -0.045639206);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x64
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_6_tf1
//!BIND conv2d_6_tf2
//!BIND conv2d_6_tf3
//!BIND conv2d_8_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!SAVE conv2d_9_tf1
//!WIDTH conv2d_6_tf.w
//!HEIGHT conv2d_6_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_1 (max((conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
#define g_2 (max((conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
#define g_3 (max((conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
#define g_8 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.003937308, 0.3325553, -0.051680394, -0.016791617, -0.22406012, -0.1772422, -0.40026435, 0.061494246, -0.052263122, 0.050062478, 0.12657858, 0.25956464, -0.25395867, -0.14557794, 0.065642186, -0.0036497142) * g_0;
result += mat4(0.14910382, -0.1219233, -0.08730868, 0.12936969, -0.38082328, -0.04098752, -0.21931636, 0.22471759, -0.22303404, 0.005031252, 0.29523098, -0.06785384, -0.29611492, -0.13362305, -0.28399295, -0.015605514) * g_1;
result += mat4(-0.092055865, 0.23942079, -0.15355012, -0.2754471, 0.3476136, -0.17973644, 0.20373236, 0.47628164, 0.18442081, 0.2272365, 0.39171374, -0.2109089, -0.081467606, -0.19725452, 0.015637135, -0.07057403) * g_2;
result += mat4(0.10774966, 0.123727456, -0.12286534, 0.16600358, 0.1364775, -0.21570408, 0.074118935, -0.045826353, -0.035832357, -0.28274775, 0.052669924, 0.07969379, 0.17066151, 0.14648491, -0.06644816, -0.14589809) * g_3;
result += mat4(-0.119286284, -0.09573102, 0.090612456, 0.04023182, 0.09588572, 0.177818, 0.23690048, -0.058244612, -0.016383434, 0.2576226, 0.25695682, -0.014298511, -0.024256507, 0.30848315, -0.041158218, -0.03914358) * g_4;
result += mat4(-0.29271403, 0.059981633, 0.0021134338, -0.19035797, -0.0037269308, 0.10220867, 0.07883107, -0.13369656, 0.026632074, 0.37791765, 0.13582648, -0.09352286, -0.082421385, -0.15049607, -0.29702196, -0.024250919) * g_5;
result += mat4(0.06582016, -0.16060877, 0.103828825, 0.06621281, 0.18454358, -0.15770862, 0.0062189074, -0.29478952, -0.38229987, -0.008481092, 0.0146497395, -0.012977512, -0.086033165, 0.24041377, 0.15929726, 0.1291446) * g_6;
result += mat4(-0.26255193, -0.17674851, 0.016529905, -0.29671943, -0.11499627, 0.057172883, 0.024476945, 0.20377044, -0.246527, -0.2740495, 0.27754322, 0.0035727941, -0.08662866, -0.26152274, -0.1885568, -0.12391516) * g_7;
result += mat4(0.012594749, 0.09329428, -0.024767002, 0.09388145, 0.053089734, 0.06234544, 0.2099255, 0.46252325, 0.123893864, 0.082300425, -0.07509414, 0.15968856, -0.34341866, -0.13525012, 0.15489148, 0.35870647) * g_8;
result += mat4(0.15168503, 0.30187908, 0.015656032, 0.013370691, -0.06671537, 0.11837605, -0.08213855, -0.15433209, -0.17091727, -0.0625883, 0.008888305, 0.039089687, 0.15172026, -0.0836314, -0.13341047, -0.029075664) * g_9;
result += mat4(-0.07207691, -0.36168703, 0.022065176, 0.06053417, 0.10515104, -0.15767829, 0.19980878, 0.17313905, 0.016179686, 0.18054177, 0.19189085, -0.14294004, 0.22004858, -0.28201142, 0.2872886, -0.20112494) * g_10;
result += mat4(0.34156498, 0.1817744, 0.13134623, 0.05987189, 0.037724342, -0.090201005, 0.10240794, 0.22642598, -0.5217192, -0.033472296, -0.14296426, -0.094750494, -0.03383312, 0.30726826, 0.049418118, 0.10151059) * g_11;
result += mat4(0.032571465, 0.048514433, -0.10347128, -0.1084494, -0.036202013, -0.008492653, -0.11478463, -0.14242981, -0.16216394, 0.22039019, 0.17737237, -0.1416988, -0.099641696, 0.09431141, -0.17891696, 0.15241605) * g_12;
result += mat4(-0.22881852, 0.040407304, -0.08619452, 0.08407503, 0.027044954, 0.121950984, 0.17166145, -0.056074105, 0.20592104, 0.05306128, -0.249151, -0.15258761, -0.028193245, -0.033121727, 0.009724152, -0.060050894) * g_13;
result += mat4(0.055882175, -0.19219743, -0.08486314, 0.25344363, -0.15363735, -0.16262405, -0.16883601, -0.360693, -0.02007423, -0.18265313, -0.13402134, 0.012125967, -0.15832315, 0.35946545, 0.057530846, -0.20121863) * g_14;
result += mat4(-0.026532218, 0.0999541, -0.18022218, 0.040167805, -0.07300608, 0.23191977, -0.13492207, -0.21953888, -0.006438377, -0.11377467, 0.29050368, 0.08367901, -0.1185086, -0.19436763, 0.19460331, -0.12790322) * g_15;
result += vec4(0.0048366417, -0.01623872, 0.0149186235, -0.0021957709);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x64
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_6_tf1
//!BIND conv2d_6_tf2
//!BIND conv2d_6_tf3
//!BIND conv2d_8_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!SAVE conv2d_9_tf2
//!WIDTH conv2d_6_tf.w
//!HEIGHT conv2d_6_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_1 (max((conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
#define g_2 (max((conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
#define g_3 (max((conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
#define g_8 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.104137026, 0.102377966, 0.29650456, 0.16560245, -0.049722087, -0.022562431, 0.1480423, 0.22173022, -0.15099648, 0.25188634, 0.29793224, -0.25045073, -0.166794, 0.17724776, -0.13309427, -0.14215149) * g_0;
result += mat4(0.0111736925, -0.20109345, -0.004992949, -0.16356087, -0.03629021, -0.17836154, -0.020239769, -0.0027136574, -0.057733543, 0.1929391, -0.25687936, 0.032994594, 0.28941298, -0.24378207, 0.0058246693, -0.04602329) * g_1;
result += mat4(0.058517553, -0.00855018, -0.10235121, 0.031646684, -0.3329856, 0.28455597, 0.09738041, -0.38193113, -0.11249739, -0.01848674, 0.2163143, -0.06349695, 0.20303167, -0.033269245, -0.2735205, -0.15447442) * g_2;
result += mat4(0.080081046, 0.07366588, -0.09329567, 0.18479577, -0.118616, 0.09503109, -0.26074445, 0.35643557, 0.30263063, 0.22413187, 0.09882829, 0.12301443, -0.006198813, 0.19721447, 0.10678005, -0.1651503) * g_3;
result += mat4(-0.06906497, -0.3009552, 0.07767211, 0.05151866, 0.11417627, 0.23357406, -0.048603542, -0.049274545, -0.06154897, -0.12599663, 0.07611352, 0.00786339, 0.14635855, -0.26319003, -0.06853761, 0.088817514) * g_4;
result += mat4(0.11830914, -0.10345762, -0.09292891, -0.0074040242, 0.0073001185, -0.15325016, -0.011847827, 0.23296888, 0.06515359, -0.06067429, -0.090339884, 0.13176519, 0.23185344, 0.071258485, -0.06901788, -0.0903061) * g_5;
result += mat4(0.17608684, 0.1722441, -0.00018389517, 0.026899414, 0.11040594, 0.053332347, 0.074438855, 0.0608023, -0.089713804, -0.10031175, -0.09828107, 0.2759653, 0.040628787, -0.014327023, -0.18901895, -0.19466661) * g_6;
result += mat4(-0.077983975, 0.116868906, -0.23626202, 0.24141665, 0.18514152, 0.12009115, 0.024183134, -0.19578324, -0.2004096, 0.16053474, -0.12452011, -0.24160402, 0.044126388, -0.08934569, 0.26577887, 0.09816567) * g_7;
result += mat4(0.10499274, 0.2265129, -0.078521736, 0.29265165, 0.0041190055, 0.36288932, -0.103490636, 0.05727936, -0.089100264, 0.04249254, 0.30703348, -0.024190163, 0.026818752, 0.21627031, 0.1413635, 0.5749679) * g_8;
result += mat4(-0.11887336, 0.27841938, 0.18154635, -0.30292216, -0.14453453, -0.32330868, -0.06806779, -0.13335946, 0.12325082, -0.2776033, -0.2176617, -0.14796872, 0.14378121, -0.1515707, -0.19313759, -0.03666135) * g_9;
result += mat4(-0.16793656, 0.14827895, 0.31085837, 0.039777525, 0.049468413, -0.19864005, -0.11719598, 0.16815868, -0.02205864, -0.20461129, -0.15883179, 0.026992796, -0.2750394, 0.20748213, 0.24951674, -0.06626439) * g_10;
result += mat4(-0.22174093, -0.20898962, -0.03558482, 0.23259541, 0.12385461, 0.11644065, 0.13360718, -0.298495, 0.05759325, -0.06470147, -0.1467882, -0.1233936, 0.124703325, -0.004894744, -0.44175613, 0.30384606) * g_11;
result += mat4(-0.22360735, 0.13903587, 0.123154536, 0.22120447, 0.07635435, -0.08578538, -0.0070886854, -0.16854721, 0.2935059, 0.014837484, 0.011378183, 0.11189771, 0.15975478, 0.1525562, 0.17962816, -0.30664667) * g_12;
result += mat4(-0.13563982, -0.11331227, -0.35234228, 0.17117529, 0.09372269, -0.018378476, -0.060744487, 0.066920675, -0.12684692, -0.15846166, 0.040910132, 0.15608624, -0.0839549, 0.06397846, -0.11739037, -0.24138166) * g_13;
result += mat4(-0.3350538, -0.24931656, -0.13913944, -0.078073435, 0.12782471, -0.033278856, 0.22328287, -0.0494411, -0.16591735, -0.03392308, 0.1588464, -0.19808592, 0.19063896, -0.16003527, 0.21511821, 0.10613058) * g_14;
result += mat4(-0.060294464, -0.09252907, -0.01603874, -0.07597569, 0.03133959, 0.072272286, -0.13213353, 0.15609686, 0.2167412, 0.06884895, -0.2590782, 0.33470517, 0.003332907, 0.03748415, -0.25728425, -0.30776468) * g_15;
result += vec4(0.0085292775, -0.0498912, 0.02406236, 0.013927507);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x64
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_6_tf1
//!BIND conv2d_6_tf2
//!BIND conv2d_6_tf3
//!BIND conv2d_8_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!SAVE conv2d_9_tf3
//!WIDTH conv2d_6_tf.w
//!HEIGHT conv2d_6_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_1 (max((conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
#define g_2 (max((conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
#define g_3 (max((conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_6_tf3_tex(conv2d_6_tf3_pos)), 0.0))
#define g_8 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.18489622, 0.01521825, -0.053398065, 0.077619, -0.08345202, 0.20407347, -0.11390942, 0.08462241, -0.1705865, 0.30955344, -0.08472498, -0.16442084, -0.22677645, 0.048857957, -0.057290807, -0.40370303) * g_0;
result += mat4(-0.04026143, -0.020023338, -0.022386922, -0.1292272, 0.17330426, 0.13575786, 0.16291218, -0.14266899, -0.23032628, 0.11625899, 0.0062630204, -0.0012355708, 0.15870166, -0.035987332, 0.0871242, 0.085054055) * g_1;
result += mat4(0.016969275, 0.054262232, -0.23052263, -0.19101018, 0.03396106, 0.0054336865, -0.0467761, 0.19085331, -0.106530495, -0.27656856, 0.015368871, 0.13383915, -0.08088739, -0.15458798, 0.01770847, 0.26224154) * g_2;
result += mat4(-0.1710468, -0.010396238, -0.008604742, -0.27136776, -0.08490557, 0.016414553, -0.27219942, -0.2275841, -0.0020410966, -0.074557334, 0.32281566, -0.0358406, -0.07795256, 0.11081372, -0.34438163, 0.15058495) * g_3;
result += mat4(-0.13303854, -0.054123223, -0.034091465, -0.08479921, -0.3663492, 0.047407333, -0.08467303, -0.015536085, 0.07641996, -0.08629571, -0.026073072, 0.05748389, 0.39037332, 0.017548965, 0.105086334, -0.08005681) * g_4;
result += mat4(0.08531782, -0.06040872, -0.25501314, -0.15468454, -0.18607718, -0.045276865, -0.08727564, 0.101659656, -0.14160259, -0.011791499, -0.14346547, 0.16301742, -0.054622017, -0.028709898, -0.05332203, -0.23680754) * g_5;
result += mat4(0.18716991, 0.12908773, -0.3459139, -0.054999888, -0.1764484, 0.04881557, 0.096896894, -0.011711037, 0.093170814, 0.1973141, -0.028869364, -0.052994333, -0.050567757, -0.052473217, -0.20334762, -0.29321235) * g_6;
result += mat4(0.16290617, 0.070835315, -0.13578944, 0.049878098, 0.024889912, 0.0046419716, 0.17256121, 0.24758084, 0.33473715, -0.05304426, -0.031384464, 0.30393425, 0.06880461, 0.018678263, 0.40095538, -0.32181707) * g_7;
result += mat4(-0.12459963, 0.0924927, 0.17442048, -0.015650576, -0.05587131, 0.21291989, 0.31195658, 0.07287886, 0.1531054, 0.022245308, 0.09070423, -0.090930104, 0.036900636, -0.062797755, -0.015801767, -0.06667231) * g_8;
result += mat4(-0.22362942, 0.30185577, -0.0560174, -0.17768693, 0.14361233, -0.36686167, -0.108977124, -0.06692557, 0.046176855, 0.06899551, 0.19507368, 0.18504564, 0.2892618, 0.108308315, -0.32998815, 0.15013184) * g_9;
result += mat4(-0.06166722, 0.03421678, 0.007097079, -0.06511754, -0.07503845, -0.097745866, 0.0767785, 0.12762466, 0.078295015, 0.15278883, -0.20041291, -0.15149453, 0.1359745, -0.055542946, -0.1351582, 0.04746136) * g_10;
result += mat4(0.2754691, -0.045461576, 0.28655398, 0.066658214, 0.10664401, 0.019698175, 0.21868771, 0.010793508, -0.37068173, -0.22633933, 0.05709351, -0.015515003, -0.25028723, 0.07527501, -0.060320277, 0.11013715) * g_11;
result += mat4(0.16451468, -0.048677545, -0.21968195, -0.024521982, 0.06710036, -0.00431936, -0.040931974, 0.14162326, 0.30826005, -0.19923253, 0.06730949, 0.33769038, -0.17198718, 0.060878154, -0.2895043, -0.029802436) * g_12;
result += mat4(-0.10908404, -0.18938556, 0.11546769, 0.11317103, -0.096525446, -0.1143871, 0.095474064, -0.12509643, -0.20624343, -0.23595047, -0.11051539, 0.1230616, -0.047473382, -0.11819063, -0.1330644, -0.09428916) * g_13;
result += mat4(0.099916406, -0.19375911, -0.08102031, 0.1239838, 0.27221766, 0.20148776, 0.19851638, 0.08333579, 0.086547665, -0.18228337, 0.022614995, -0.1385529, 0.35897738, 0.20353337, -0.051304217, 0.09238109) * g_14;
result += mat4(-0.17090152, 0.34364688, 0.25943616, 0.04933595, -0.022766197, 0.33663043, 0.09173691, -0.040311158, -0.20550281, 0.17361137, -0.13678429, 0.07744437, -0.42078802, -0.2707222, 0.21051168, 0.2207691) * g_15;
result += vec4(-0.00853374, 0.014111409, -0.018602863, 0.025112765);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_9_tf
//!BIND conv2d_9_tf1
//!BIND conv2d_9_tf2
//!BIND conv2d_9_tf3
//!SAVE conv2d_11_tf
//!WIDTH conv2d_9_tf.w
//!HEIGHT conv2d_9_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_9_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_9_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_9_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_9_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_9_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_9_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_9_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_9_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.2167346, 0.08259927, 0.01593457, -0.06168633, 0.028108353, -0.016532995, 0.008972924, 0.011045642, -0.28601897, 0.25977787, 0.057599183, -0.011715917, 0.042454317, 0.08984024, -0.09684031, 0.12903662) * go_0(-1.0, -1.0);
result += mat4(-0.07467005, -0.0044173184, 0.042089712, -0.096472785, -0.090920694, 0.14287423, -0.1197274, 0.15093653, -0.17902398, 0.2337814, -0.2301511, -0.26088297, -0.16935518, 0.07310083, -0.0051561873, 0.2587852) * go_0(-1.0, 0.0);
result += mat4(-0.015114397, -0.0615879, 0.061449658, -0.08588831, 0.06878012, -0.066395596, -0.120973326, 0.1751009, 0.13974409, 0.07330856, 0.015523489, -0.119367056, -0.12705635, 0.08617225, -0.08821478, 0.042958662) * go_0(-1.0, 1.0);
result += mat4(-0.015199017, 0.031381227, 0.0780515, 0.069131814, -0.12783948, 0.030788802, -0.030043626, 0.016303174, -0.27775663, 0.16235924, 0.008142429, 0.04124429, 0.10874539, -0.022458551, -0.008865443, 0.09369907) * go_0(0.0, -1.0);
result += mat4(-0.01634807, -0.008341841, 0.06457744, -0.08560355, -0.24626143, 0.011861395, 0.020570388, 0.062295143, 0.34602648, -0.17742984, -0.02403783, 0.16412638, 0.10932493, -0.0042189476, 0.040966537, 0.058982532) * go_0(0.0, 0.0);
result += mat4(-0.043838717, -0.056111507, -0.016028062, -0.059582476, 0.12887439, -0.033336997, -0.26650676, 0.0662371, -0.053933796, -0.032257825, 0.16265263, 0.023418164, -0.08054197, 0.30419502, -0.19452181, 0.010710408) * go_0(0.0, 1.0);
result += mat4(0.01280635, 0.10079952, -0.033026945, 0.08498357, -0.04817073, -0.13418624, 0.09589368, -0.022635134, -0.06345144, -0.05724931, -0.14657016, -0.0786738, 0.05080321, 0.041433394, 0.01910969, 0.19891381) * go_0(1.0, -1.0);
result += mat4(0.10898035, -0.14818819, -0.08342, 0.106918834, -0.19069608, -0.023136294, -0.018794658, -0.03204733, -0.039217297, 0.07554547, -0.037759304, -0.044361852, 0.019575626, 0.09581649, -0.005387532, 0.08929196) * go_0(1.0, 0.0);
result += mat4(0.17248777, 0.08927015, 0.12626562, 0.069963455, 0.027248785, -0.10808538, 0.0022578489, -0.10984469, -0.015384902, 0.12769361, 0.06637168, 0.058609772, 0.013054495, 0.13254511, 0.076141186, 0.09916911) * go_0(1.0, 1.0);
result += mat4(-0.124390416, 0.10685674, -0.10966216, -0.08369025, -0.0651576, -0.1300008, -0.027007537, 0.13056019, 0.115544505, -0.07873411, -0.083743975, 0.05898996, 0.22908325, -0.053363908, -0.01612341, -0.15103827) * go_1(-1.0, -1.0);
result += mat4(-0.020670712, -0.2649095, -0.030632991, -0.04527719, 0.46974248, 0.043867197, -0.15608059, 0.20002516, -0.16267627, 0.0990293, -0.064487904, 0.19699238, -0.04589485, -0.038980853, 0.10857598, -0.0039152764) * go_1(-1.0, 0.0);
result += mat4(-0.2282477, -0.00044616987, 0.166831, 0.03326744, 0.15271889, -0.025690703, -0.29518652, 0.032539356, -0.06354523, -0.031361856, 0.053646125, 0.00018960344, -0.030466253, 0.15894201, -0.12748806, -0.11215912) * go_1(-1.0, 1.0);
result += mat4(0.11262574, 0.13243207, 0.050107982, -0.097106785, -0.12724099, 0.022966115, 0.033192, -0.08005735, -0.069815435, -0.06228412, 0.017130738, -0.08344178, -0.11615836, -0.11328931, 0.22229461, -0.066494435) * go_1(0.0, -1.0);
result += mat4(-0.047039963, 0.009185746, -0.10476018, 0.078825586, -0.045319136, 0.011463228, -0.02181092, -0.0020480661, 0.0045678956, -0.016130341, -0.14006588, 0.05225688, -0.12515195, 0.18153296, -0.05256603, -0.11048086) * go_1(0.0, 0.0);
result += mat4(0.18182711, -0.14322367, 0.15531246, 0.09205347, 0.25048062, 0.0677125, -0.08411049, 0.036185652, 0.19853042, 0.04891688, 0.07559669, -0.054106154, 0.01919658, 0.22520682, 0.15135488, -0.038460355) * go_1(0.0, 1.0);
result += mat4(-0.050445374, -0.14471428, -0.23796226, -0.15576342, -0.028298652, 0.09235079, -0.06269788, -0.19188045, -0.053789496, 0.11350222, 0.04766122, 0.10510269, 0.0038152386, 0.09062761, 0.1011998, 0.040780947) * go_1(1.0, -1.0);
result += mat4(0.019419372, 0.03997944, 0.119759075, 0.04283821, -0.051738333, 0.08721772, -0.077736385, -0.05724854, -0.08099945, 0.17420025, 0.073216155, -0.05489914, 0.09093694, -0.08793478, 0.013140325, -0.0043218792) * go_1(1.0, 0.0);
result += mat4(0.037703384, -0.02789724, 0.013243169, 0.17291826, 0.0074070534, 0.114018075, -0.104694985, -0.0530431, 0.10854754, -0.21815501, -0.091733016, 0.05429939, 0.008154856, 0.017797785, -0.04539086, -0.022114938) * go_1(1.0, 1.0);
result += mat4(0.08511963, -0.044427045, 0.13799068, -0.0029811792, -0.15045413, -0.09981538, 0.042939857, 0.1374501, -0.029713511, -0.13069215, 0.11228989, -0.11295705, -0.14637329, -0.09949667, 0.071820505, -0.12730566) * go_2(-1.0, -1.0);
result += mat4(0.08256388, -0.01721364, -0.14035071, 0.029640568, 0.10975381, 0.020408878, -0.048385482, -0.054182887, 0.07115744, -0.00768504, 0.062499907, 0.11246996, 0.15368488, 0.016138898, -0.07301467, -0.08368065) * go_2(-1.0, 0.0);
result += mat4(-0.061671108, 0.036220826, -0.051254276, 0.069273986, 0.15657571, 0.014273202, -0.13077787, 0.0056451196, -0.14062496, 0.03103866, 0.04512255, -0.010760401, 0.008121844, 0.011501802, -0.06567986, 0.017685082) * go_2(-1.0, 1.0);
result += mat4(-0.113867186, -0.12749363, -0.08943638, 0.13412562, -0.071981415, 0.022248283, -0.06953866, -0.08428237, 0.03129861, -0.06123529, -0.092742726, 0.020794291, 0.096983775, -0.02983442, -0.015079871, -0.081479155) * go_2(0.0, -1.0);
result += mat4(0.04013621, 0.084514834, -0.13812582, -0.12510088, 0.14553706, 0.10702256, -0.08045372, 0.08607196, -0.16143145, -0.007886448, 0.01781611, -0.003077175, -0.11296926, 0.1734043, -0.13854994, 0.13680972) * go_2(0.0, 0.0);
result += mat4(0.050505515, -0.17902215, -0.04802798, -0.14421499, -0.030427728, 0.03368048, -0.110685, 0.09567036, 0.03252777, 0.09485837, 0.06954893, 0.023373473, 0.07177965, 0.04810273, 0.08434124, 0.116279624) * go_2(0.0, 1.0);
result += mat4(0.0005544921, -0.051555045, -0.06470852, -0.0531636, 0.057035804, -0.03869994, -0.027945146, 0.07932229, -0.0063175303, -0.05515467, -0.08356414, -0.11859253, 0.12668021, -0.051041365, -0.012815135, 0.007949852) * go_2(1.0, -1.0);
result += mat4(-0.06800659, -0.0071774335, -0.08469053, 0.03886348, 0.025524322, -0.1410413, -0.043023676, 0.029417936, -0.07544589, 0.09294302, -0.08465406, -0.096837744, 0.08364276, 0.024115281, 0.271438, -0.058223505) * go_2(1.0, 0.0);
result += mat4(-0.109101065, -0.17002128, -0.24179345, -0.017228592, 0.10659014, 0.015143326, -0.12937164, -0.0338922, -0.036312755, 0.14563227, 0.009092129, 0.018083349, -0.05089822, -0.06514431, -0.03596386, 0.015814291) * go_2(1.0, 1.0);
result += mat4(-0.08573881, 0.03633208, -0.21500291, 0.15564376, 0.0030492172, -0.021795621, -0.09432696, 0.10721101, 0.2153867, 0.13202792, -0.12423073, 0.005352684, 0.037872642, -0.10474273, 0.013933625, -0.0068198596) * go_3(-1.0, -1.0);
result += mat4(-0.185121, 0.06808207, -0.1228317, 0.06725058, 0.09664016, 0.07007545, -0.027438058, -0.14229484, -0.0033542877, -0.24367031, 0.12804145, -0.19115108, -0.14038874, 0.09379996, 0.04307599, -0.20208067) * go_3(-1.0, 0.0);
result += mat4(-0.27465674, 0.06494048, -0.10362797, 0.0827255, 0.069154, -0.065038726, -0.06611099, 0.22829211, -0.112552926, -0.07423944, 0.011163635, -0.04373235, 0.030065138, -0.03776159, -0.013699219, 0.005617585) * go_3(-1.0, 1.0);
result += mat4(-0.14471242, 0.09473557, -0.008799688, 0.297687, -0.170291, -0.097003534, -0.13033749, -0.086734496, 0.1607779, -0.040937416, 0.07660159, -0.0802484, 0.15036124, -0.040300827, 0.13356747, 0.18778445) * go_3(0.0, -1.0);
result += mat4(-0.0062669497, -0.047926545, -0.02322052, 0.11640132, -0.027486369, 0.084390946, -0.12318683, 0.088127784, 0.034363724, 0.09600964, -0.08777073, -0.03262654, 0.09757491, -0.17299609, -0.10113106, -0.07975111) * go_3(0.0, 0.0);
result += mat4(-0.12862378, 0.05227614, 0.2132678, 0.056268826, 0.01965921, -0.27655914, 0.092967786, 0.005236845, -0.077529125, 0.08411694, -0.01710931, 0.026741153, 0.074644126, 0.028845703, 0.08699953, -0.024485381) * go_3(0.0, 1.0);
result += mat4(-0.04199397, -0.1308821, -0.19070597, -0.08945986, -0.1037197, -0.13604449, -0.016228938, -0.022551721, -0.0076362723, 0.17063893, -0.11217443, -0.08726737, 0.030895764, -0.1522529, 0.06507714, 0.12095355) * go_3(1.0, -1.0);
result += mat4(0.10817155, -0.09881775, 0.040993568, 0.13947234, -0.021370577, -0.1635348, 0.10220782, 0.02202579, 0.11209738, 0.020609956, -0.14656629, -0.13919814, -0.14060068, -0.12372531, -0.10188449, 0.09123819) * go_3(1.0, 0.0);
result += mat4(0.025041433, -0.10927458, 0.025021726, 0.06930344, -0.021769155, -0.15327594, -0.0069944495, -0.096232496, 0.045868713, 0.13147569, 0.12798029, 0.14647365, -0.12404578, -0.06822283, 0.05034958, -0.079014435) * go_3(1.0, 1.0);
result += mat4(0.120342575, 0.14266843, 0.15449679, -0.20489338, -0.18671677, -0.14057173, -0.022556288, 0.18901058, -0.039756775, -0.08051133, 0.0049373866, -0.07846298, 0.13748513, -0.16085026, -0.13095982, 0.069473505) * go_4(-1.0, -1.0);
result += mat4(-0.0007415831, 0.31254232, 0.21238111, 0.3193219, -0.013947761, -0.11949059, 0.071580306, 0.20652267, 0.0025851065, -0.050295394, 0.07416682, 0.118062474, 0.09723194, -0.1944007, -0.04659032, 0.0041032876) * go_4(-1.0, 0.0);
result += mat4(0.036666203, -0.034048863, 0.08825516, 0.12822092, -0.07214442, 0.14225818, 0.05442037, 0.2867944, 0.10804068, 0.005131857, 0.06265404, -0.1566144, -0.095446564, 0.02358177, -0.06441483, 0.013047708) * go_4(-1.0, 1.0);
result += mat4(-0.019146625, 0.006266473, 0.16762416, -0.0046162964, 0.028772417, -0.04452443, 0.14713071, 0.110226825, -0.08499617, 0.05402624, 0.1251715, 0.15287799, -0.13131016, -0.14755967, -0.0972085, -0.11798382) * go_4(0.0, -1.0);
result += mat4(-0.30595997, 0.12551622, 0.14074358, 0.31970632, 0.021614574, 0.05120308, -0.116856426, 0.17851515, -0.0606671, 0.0880086, 0.0879823, -0.121758536, -0.115652494, -0.10002807, 0.0134744225, -0.12445348) * go_4(0.0, 0.0);
result += mat4(-0.0023540058, 0.0014380866, -0.0062776282, -0.013318381, 0.2525834, 0.05257154, 0.27028328, 0.25816876, 0.0989505, 0.013704121, -0.12839815, -0.018599706, -0.06479225, 0.031059438, 0.09665992, 0.11649063) * go_4(0.0, 1.0);
result += mat4(0.15184228, 0.07354054, 0.12431531, 0.03574188, -0.092972584, -0.015326739, 0.058178544, 0.077439696, -0.048038736, -0.049098626, 0.06988285, 0.13670042, -0.030649297, -0.13373514, 0.079972826, 0.1935703) * go_4(1.0, -1.0);
result += mat4(-0.0306585, 0.034239594, 0.033652745, 0.08766325, 0.04726368, -0.0018955129, -0.07785312, 0.04691356, 0.04909221, 0.06809451, 0.05471455, 0.033277687, 0.08671436, -0.076155, 0.058292333, 0.07179553) * go_4(1.0, 0.0);
result += mat4(-0.11209963, -0.13103989, -0.33400932, -0.11662754, -0.0042046346, 0.10080948, -0.012552136, 0.067940794, 0.002866087, -0.009874096, 0.12763286, -0.03031877, -0.022642719, -0.036547594, 0.03913018, 0.16629295) * go_4(1.0, 1.0);
result += mat4(-0.049061082, 0.04717187, 0.071327575, 0.102352396, -0.07726938, 0.14094698, 0.09341758, -0.058272626, -0.12784153, -0.12360863, 0.07852188, -0.018093389, 0.035160895, 0.016824258, 0.0052461606, 0.0033554626) * go_5(-1.0, -1.0);
result += mat4(0.018116081, 0.16159694, -0.07326371, 0.022021493, -0.22974226, 0.14431556, 0.18882045, -0.06435289, -0.08000142, 0.22792707, 0.29219145, -0.11494335, 0.034841456, 0.06518259, -0.106704816, 0.021235496) * go_5(-1.0, 0.0);
result += mat4(0.018035064, -0.096702196, -0.003464681, -0.0022220302, 0.17624727, 0.14363256, -0.19396667, -0.34004405, -0.03063283, 0.19805308, -0.27726153, 0.057164174, 0.15531784, 0.047855917, 0.10516178, -0.032779023) * go_5(-1.0, 1.0);
result += mat4(-0.027642028, 0.012042295, 0.04119136, -0.0016244284, -0.008791894, -0.099617824, 0.130931, 0.09994816, 0.078902684, -0.09399918, -0.028129447, -0.08370564, 0.14835656, -0.092096, 0.028383795, 0.06584475) * go_5(0.0, -1.0);
result += mat4(0.05457846, -0.08758556, 0.065143414, -0.02529071, 0.025666919, 0.062288575, 0.064544715, -0.12310881, -0.02070911, 0.18719092, 0.0012470647, 0.09065394, 0.089744836, -0.15765521, 0.011515355, 0.0014871175) * go_5(0.0, 0.0);
result += mat4(0.07279259, -0.12122391, -0.08129001, -0.003152676, -0.12411482, -0.073190294, -0.082995065, -0.18986583, -0.13675113, 0.22535498, -0.3076794, 0.07931998, 0.05800563, 0.1491273, -0.041464128, 0.019409955) * go_5(0.0, 1.0);
result += mat4(-0.025654098, 0.004081217, 0.12530875, -0.021707695, 0.021711746, -0.12258257, 0.038685348, 0.012969257, 0.15082629, 0.25955087, 0.038080525, 0.06926174, -0.18477698, -0.019098116, -0.102281064, 0.15542246) * go_5(1.0, -1.0);
result += mat4(0.10249199, -0.10188846, 0.021524258, -0.12272311, -0.11009372, 0.06345044, -0.18588856, -0.007431814, -0.050587643, -0.15557933, -0.13853042, 0.047833357, -0.0744104, 0.11987986, -0.105088085, 0.042513683) * go_5(1.0, 0.0);
result += mat4(0.026596246, 0.018244766, 0.028712826, -0.09448985, -0.11023519, -0.18980093, -0.13144584, 0.028966134, -0.07903197, 0.07254252, 0.03271572, -0.016627928, 0.060513306, -0.0023916247, 0.036441766, 0.09406577) * go_5(1.0, 1.0);
result += mat4(0.14232405, 0.114720814, -0.11144986, 0.05589229, 0.21639122, -0.21761972, -0.061168928, 0.080087356, -0.10099732, 0.21700649, -0.031544153, 0.117821574, -0.06040332, 0.13623528, 0.06532833, -0.14136268) * go_6(-1.0, -1.0);
result += mat4(-0.07024258, 0.06820036, -0.09896652, 0.05239327, 0.032074407, 0.060166884, 0.10918488, -0.1604831, -0.009571049, 0.04476715, 0.0015439093, -0.10482196, 0.06763937, 0.06017622, 0.052919876, -0.014136124) * go_6(-1.0, 0.0);
result += mat4(-0.11302243, -0.1170903, 0.0673738, 0.23662187, -0.27710503, 0.22600567, -0.157852, 0.18483819, -0.06633612, -0.075139135, 0.18872209, -0.16697425, -0.009961328, 0.0054550236, 0.15502341, 0.28695628) * go_6(-1.0, 1.0);
result += mat4(0.092126146, 0.117538795, -0.06692514, 0.09119318, 0.062271398, -0.015108815, -0.11658865, -0.06650951, -0.07589854, 0.1035485, -0.021629412, 0.09805429, -0.0708413, -0.13716145, -0.062434144, -0.21314396) * go_6(0.0, -1.0);
result += mat4(0.14058985, 0.05628658, 0.068072565, 0.015168637, -0.081879094, -0.11241576, -0.15573281, -0.14864771, -0.008265013, -0.016971482, 0.029315297, -0.022753824, 0.17329606, 0.15320353, -0.019930441, 0.018783867) * go_6(0.0, 0.0);
result += mat4(0.13796028, 0.0007160951, 0.09305637, 0.1422529, 0.026356421, 0.123341836, 0.23719853, 0.1400149, -0.021316648, 0.024492603, 0.012550349, 0.045684777, 0.025818808, -0.018001324, -0.038435712, 0.20630158) * go_6(0.0, 1.0);
result += mat4(-0.11568665, -0.03569228, -0.044090636, -0.10155582, 0.083382055, 0.24301195, -0.022245454, -0.033773556, -0.0018937895, -0.032795303, 0.022721868, 0.061526462, 0.0015668315, 0.06938226, 0.0012288125, 0.16084138) * go_6(1.0, -1.0);
result += mat4(-0.05176824, -0.14839195, -0.103155345, -0.019997707, -0.019272018, -0.14287192, -0.122550696, 0.0026290747, 0.019299414, -0.06372184, 0.043157134, -0.082327895, -0.056246907, -0.14413235, -0.033780627, 0.004704482) * go_6(1.0, 0.0);
result += mat4(-0.046451636, 0.11087259, -0.037147224, 0.023245918, -0.042846806, -0.1184961, 0.1623827, 0.29253852, -0.06542917, 0.049678918, -0.12009241, -0.045717973, 0.056798954, -0.2672507, -0.2594758, 0.08353679) * go_6(1.0, 1.0);
result += mat4(0.13407503, -0.008476969, -0.06088965, -0.051065, 0.0742294, -0.16301575, 0.052767858, 0.07149886, 0.047530167, -0.068021476, 0.1448473, -0.07827654, 0.032189, 0.12479039, 0.21760924, -0.019127456) * go_7(-1.0, -1.0);
result += mat4(-0.11901753, -0.07702293, -0.19622257, 0.21091644, 0.101466514, -0.17538056, -0.026478102, -0.09568351, -0.13776886, 0.03352246, -0.044475798, 0.06343639, -0.06423362, 0.010770134, 0.10607595, -0.06725147) * go_7(-1.0, 0.0);
result += mat4(-0.068801604, -0.03648746, 0.02905415, 0.09690945, 0.07492833, -0.038676526, 0.12591788, 0.02544471, -0.0071540326, -0.08509896, 0.06756858, -0.036927108, -0.021289624, 0.17029919, 0.085151546, -0.26516253) * go_7(-1.0, 1.0);
result += mat4(0.07898282, -0.05492911, -0.06265257, -0.032484416, 0.17785741, -0.05145782, 0.01762633, 0.016563665, 0.060774446, 0.051605314, 0.033413686, -0.19302492, 0.13779348, -0.11123576, 0.12809837, 0.03933712) * go_7(0.0, -1.0);
result += mat4(-0.0611527, -0.15432398, -0.11532295, 0.1302903, 0.05395265, 0.0364706, 0.0031310646, -0.08676014, -0.06850696, -0.08188169, 0.09603465, -0.08290717, -0.001512079, 0.10533397, 0.13712364, -0.09277913) * go_7(0.0, 0.0);
result += mat4(0.19899495, 0.01849356, 0.03558897, 0.11410951, -0.10390808, 0.008156282, 0.057708547, 0.065857045, 0.083575174, -0.09678853, -0.020182457, 0.051305577, -0.015270724, 0.055178646, 0.06955839, -0.07062595) * go_7(0.0, 1.0);
result += mat4(-0.054933123, -0.04966491, -0.0047603757, -0.15511824, -0.052456774, 0.04770036, -0.12310741, 0.062061965, -0.0059904433, -0.07888004, -0.012614444, -0.15300304, 0.052804995, -0.028602274, 0.18020386, 0.06730639) * go_7(1.0, -1.0);
result += mat4(-0.025813729, 0.15076204, -0.13246286, 0.030926403, 0.06400941, 0.11952475, 0.081793286, 0.007770181, -0.06359484, 0.07682049, 0.10800592, -0.0327746, -0.107736856, 0.15939856, 0.1538754, 0.06256646) * go_7(1.0, 0.0);
result += mat4(-0.15986821, 0.021590011, -0.11264431, 0.0093079535, -0.013647156, -0.2604828, -0.11631053, 0.016986847, 0.0015941777, 0.05487975, -0.074997805, -0.06112192, 0.0983382, 0.013772516, 0.1471619, -0.08080517) * go_7(1.0, 1.0);
result += vec4(0.010537005, 0.0126211485, -0.032614365, 0.0065620933);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_9_tf
//!BIND conv2d_9_tf1
//!BIND conv2d_9_tf2
//!BIND conv2d_9_tf3
//!SAVE conv2d_10_tf
//!WIDTH conv2d_9_tf.w
//!HEIGHT conv2d_9_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_9_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_9_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_9_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_9_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_9_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_9_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_9_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_9_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.08889782, -0.15311077, 0.04823438, -0.04558368, 0.044214565, -0.028379409, 0.028363805, 0.13412485, -0.02070058, 0.0712695, -0.07548294, 0.008121656, -0.0072323224, -0.03016635, -0.02453755, 0.019908503) * go_0(-1.0, -1.0);
result += mat4(0.050423365, 0.004502398, -0.13227503, 0.0142806405, -0.09818105, 0.036187742, 0.105036445, 0.030699562, 0.072710045, 0.036431707, -0.32996574, -0.028462645, 0.018948672, 0.092441365, 0.056769088, -0.0005644272) * go_0(-1.0, 0.0);
result += mat4(0.04035664, 0.02985188, -0.10089088, 0.03438271, 0.050862562, 0.07788319, -0.050375022, -0.06304437, 0.17106578, -0.028320076, 0.016773457, 0.15019535, -0.027613606, 0.035642974, -0.14601788, -0.013190211) * go_0(-1.0, 1.0);
result += mat4(-0.046619892, -0.16665885, 0.09188837, 0.009912041, 0.10663907, 0.015233106, -0.12871371, -0.019690927, -0.011069769, -0.22700125, -0.0690297, 0.019255418, -0.054341584, -0.01620642, -0.08029935, 0.0070098583) * go_0(0.0, -1.0);
result += mat4(-0.057606664, 0.11877831, 0.15346865, 0.036811285, -0.22125806, 0.0075666574, 0.17679036, 0.11306051, -0.13521308, -0.15850207, 0.022859296, 0.00769397, -0.08765156, -0.104902625, -0.07514916, 0.2486268) * go_0(0.0, 0.0);
result += mat4(-0.013212743, -0.0044239555, 0.025461525, -0.015481864, 0.14041474, 0.05975429, -0.17976587, 0.0145503, -0.077713594, -0.04593509, 0.052384466, 0.0006284831, 0.038034808, -0.05230159, -0.109702006, -0.07265091) * go_0(0.0, 1.0);
result += mat4(-0.025693098, -0.13572535, -0.01895864, 0.03893592, -0.036710177, -0.01088019, -0.09368372, -0.03182742, 0.122763634, -0.0076654744, -0.050077043, -0.022201162, 0.0074185994, -0.006451397, -0.038261954, -0.1110297) * go_0(1.0, -1.0);
result += mat4(-0.039450645, -0.04789768, 0.09936957, 0.058521174, 0.07142846, -0.084644906, 0.07261612, -0.046694856, -0.012884207, 0.13373013, -0.01742012, -0.1042255, -0.12536846, 0.070329286, 0.047471847, -0.10530532) * go_0(1.0, 0.0);
result += mat4(-0.04974837, 0.13026807, 0.04820301, -0.01600421, -0.042744927, -0.025909515, 0.014976897, 0.08282662, 0.022004148, 0.06386686, 0.059391394, -0.082625166, -0.008872271, 0.1102126, 0.035499003, -0.13043708) * go_0(1.0, 1.0);
result += mat4(-0.043579586, -0.046892926, -0.070677124, -0.041093647, 0.03537788, -0.076763846, 0.0009548247, 0.14523864, 0.05719185, -0.045606427, 0.123260975, 0.006404617, -0.099142045, 0.03578823, -0.10354938, -0.07529272) * go_1(-1.0, -1.0);
result += mat4(-0.116821036, -0.15675275, 0.18103552, 0.04812708, -0.036657147, 0.08506689, 0.24174918, 0.22408468, -0.06543428, 0.066437855, 0.19154602, 0.028406492, -0.046705004, -0.04704879, 0.19588713, 0.055319898) * go_1(-1.0, 0.0);
result += mat4(-0.010022652, 0.0015642877, 0.009469823, 0.009802116, -0.037166927, -0.02884251, 0.13500874, 0.01426166, 0.008246828, 0.03139519, -0.012114353, -0.016503382, 0.2640404, -0.051485654, -0.016649412, -0.017588545) * go_1(-1.0, 1.0);
result += mat4(-0.010124425, -0.14225397, 0.08314724, -0.23153158, 0.0014681354, -0.1390618, 0.07377463, 0.039181106, -0.040100355, -0.0142914895, -0.17522524, -0.037204843, 0.021581141, 0.18683401, 0.13369183, 0.0390764) * go_1(0.0, -1.0);
result += mat4(-0.02851701, 0.23242348, 0.1277155, -0.19211055, 0.023522437, -0.08730311, -0.05148616, 0.035363246, 0.042116232, 0.08163083, 0.04480609, 0.038017258, 0.19803137, 0.099729985, -0.038464006, -0.07226916) * go_1(0.0, 0.0);
result += mat4(-0.1866285, -0.11600278, 0.1881696, 0.06068764, -0.10416259, 0.077949375, -0.053726874, 0.1047242, -0.13619052, -0.08904579, -0.016545152, 0.17650889, 0.039236277, 0.043816928, 0.1268894, -0.19868605) * go_1(0.0, 1.0);
result += mat4(-0.025585523, 0.045342762, 0.0026381463, 0.004636469, -0.07053126, 0.04854706, -0.018913629, -0.010274392, 0.081275366, 0.052705947, 0.07343148, 0.09422946, -0.074321106, -0.0866174, -0.051429134, 0.057454497) * go_1(1.0, -1.0);
result += mat4(0.037784588, 0.084031895, 0.065270744, -0.10870336, -0.13500641, -0.025338924, -0.019163836, -0.07293429, 0.116194114, 0.1266802, 0.015490869, 0.008635241, -0.21149078, -0.199303, 0.009074041, 0.042760603) * go_1(1.0, 0.0);
result += mat4(-0.06323883, 0.055710826, 0.017565519, -0.04540938, 0.013367078, 0.15984154, 0.13096973, 0.03138492, 0.027152853, -0.021551156, -0.13443787, 0.06898135, -0.10787318, -0.043363508, 0.00666605, 0.043900643) * go_1(1.0, 1.0);
result += mat4(0.009035264, 0.020594807, 0.015705304, 0.01909982, 0.08320093, -0.103481755, -0.10641082, -0.03442891, 0.0047570583, 0.08687775, 0.06897745, -0.018835394, -0.066996634, -0.049071193, -0.16802575, 0.0044500753) * go_2(-1.0, -1.0);
result += mat4(0.04045015, 0.08801431, -0.08804257, -0.0023234654, 0.030842444, 0.018819112, 0.10408235, 0.06429923, 0.03985677, 0.031426232, 0.13569061, -0.14335556, -0.037044074, -0.103468224, -0.09185709, -0.07604263) * go_2(-1.0, 0.0);
result += mat4(-0.010495441, 0.06289279, -0.05870335, -0.1904296, 0.057986103, 0.043326564, -0.097958155, 0.104971156, 0.07364184, 0.034985706, -0.19703776, 0.043712724, 0.07940852, -0.010851745, 0.14496458, -0.015142011) * go_2(-1.0, 1.0);
result += mat4(0.025466047, -0.08039815, -0.026971048, 0.10441981, -0.06507468, -0.1337023, 0.1451312, -0.092361696, 0.11647118, -0.018967701, -0.09679053, -0.12715657, 0.0049849623, 0.05230491, -0.021765102, -0.020865416) * go_2(0.0, -1.0);
result += mat4(0.0075712977, 0.03345767, -0.057719618, 0.14185268, 0.082015894, 0.009533725, 0.07871332, -0.09614353, 0.07002554, 0.079299755, -0.025585618, 0.0152029125, -0.08076779, -0.19227244, -0.04965265, -0.061909772) * go_2(0.0, 0.0);
result += mat4(-0.010124431, 0.0013454502, 0.05622167, 0.0614913, -0.006998316, 0.023906026, -0.07123647, -0.09987564, -0.14460497, -0.041314058, -0.036342222, 0.112912245, 0.048668977, 0.044658728, 0.019917604, -0.007595695) * go_2(0.0, 1.0);
result += mat4(0.055248134, 0.017488867, -0.0074054203, -0.04487277, -0.13840093, 0.037144244, -0.0017901342, -0.049469203, -0.068407014, -0.002747277, 0.029810332, -0.07904478, 0.055827897, 0.114826, 0.07382718, -0.026687222) * go_2(1.0, -1.0);
result += mat4(0.08219817, 0.1619462, -0.09470693, 0.083237365, -0.0924052, 0.01067484, -0.0035807928, -0.069811486, -0.013960181, 0.10654318, -0.024244606, -0.06582165, 0.04962566, 0.027068332, 0.0841098, 0.033444792) * go_2(1.0, 0.0);
result += mat4(0.17503081, 0.03665154, -0.0675055, 0.027293172, -0.03523338, 0.0109953685, 0.011622604, -0.11386672, -0.00032072345, -0.025685903, -0.05279821, 0.09421746, 0.039889757, -0.01880816, 0.05618171, 0.0022874111) * go_2(1.0, 1.0);
result += mat4(-0.13145523, 0.18216553, 0.16554132, 0.09174621, -0.0051634437, -0.048285816, -0.029851796, -0.024521131, -0.064170815, 0.04725991, -0.097417906, -0.09764079, 0.049423784, 0.16233915, 0.23060358, -0.0062447516) * go_3(-1.0, -1.0);
result += mat4(0.032495294, -0.2682059, -0.37521285, -0.029825145, -0.09773881, -0.0066955523, 0.06277792, -0.083181195, 0.05386697, -0.037506554, -0.039655734, -0.0050008455, 0.037204262, 0.09936529, 0.005109203, 0.12107711) * go_3(-1.0, 0.0);
result += mat4(0.17437148, -0.059008747, -0.22437404, -0.061140712, -0.085489735, -0.03494208, 0.080636404, -0.060815886, 0.05937275, -0.025692465, -0.025606196, 0.042834997, -0.13546485, -0.10590498, -0.14345334, 0.0046743182) * go_3(-1.0, 1.0);
result += mat4(0.03558994, 0.087737836, -0.038992245, 0.14311473, 0.053867705, -0.1257101, -0.0018974398, 0.018802585, 0.034442518, 0.09937298, 0.13657762, 0.024501108, -0.0040634726, -0.078894846, 0.10380101, 0.035019495) * go_3(0.0, -1.0);
result += mat4(-0.16890417, 0.06156658, 0.03077302, -0.16106246, -0.017029505, 0.11685676, -0.012574194, 0.039645053, -0.003144679, 0.089480534, -0.03166805, 0.08350338, 0.012151949, -0.033835117, 0.11382378, 0.07414846) * go_3(0.0, 0.0);
result += mat4(-0.17016909, 0.027876107, 0.04067996, -0.048124984, 0.011483843, 0.09505421, -0.009452186, -0.051690947, -0.07523587, 0.10085903, -0.05644697, -0.028940927, 0.17628358, 0.09629752, 0.14373964, 0.0021410924) * go_3(0.0, 1.0);
result += mat4(-0.0037599285, 0.04272923, 0.0026777869, -0.0140216, -0.026618365, -0.04173863, 0.08150853, 0.0025315892, -0.01895354, 0.102992274, 0.041345052, 0.03883729, 0.0924492, 0.05886179, 0.015202135, -0.11207661) * go_3(1.0, -1.0);
result += mat4(-0.12403727, 0.01637198, 0.04096121, -0.11977578, -0.014450318, -0.06769534, 0.11740226, 0.08816537, 0.19629698, 0.18154356, -0.08592387, -0.019187221, -0.03796658, -0.106272355, 0.05420226, 0.018840006) * go_3(1.0, 0.0);
result += mat4(-0.050734147, 0.061064612, 0.016702149, -0.018882874, 0.09218629, -0.11073548, -0.0028023277, -0.010835074, 0.04149203, 0.12168354, -0.059796926, -0.12945394, 0.038868375, -0.08704314, -0.009328244, 0.081930615) * go_3(1.0, 1.0);
result += mat4(-0.100008845, -0.115009055, 0.15168963, -0.01758568, 0.04532579, 0.08870267, 0.09462516, 0.005414994, -0.050950747, 0.13270593, 0.030503616, 0.027042845, -0.006835031, -0.10579588, -0.0643324, -0.008061472) * go_4(-1.0, -1.0);
result += mat4(-0.18259896, -0.06677021, 0.009504482, -0.1842928, -0.026170325, 0.00043852927, -0.06471976, 0.02997685, 0.02595068, 0.031614214, 0.21114227, 0.025900716, -0.17008767, -0.007941647, 0.17943352, 0.057212297) * go_4(-1.0, 0.0);
result += mat4(0.010857713, -0.0002794059, 0.23158428, 0.16893044, -0.1557764, 0.019845916, -0.050243165, 0.020767516, -0.058061093, 0.020982072, 0.012367622, 0.01101485, 0.024589071, 0.05084018, -0.02436446, -0.05878187) * go_4(-1.0, 1.0);
result += mat4(0.012373701, 0.067655645, -0.028974818, -0.051458526, -0.03400436, 0.07357711, 0.020821717, 0.120083876, -0.053849153, 0.1278378, -0.011223256, 0.06836699, 0.030158738, 0.0467768, 0.14818475, -0.045275457) * go_4(0.0, -1.0);
result += mat4(0.03103519, -0.026628016, -0.15541978, -0.08434361, 0.06292301, -0.03746335, -0.107766226, -0.09786059, 0.07117096, -0.06319719, 0.11203641, -0.037364762, 0.12603277, 0.08220379, 0.0149918785, -0.092076994) * go_4(0.0, 0.0);
result += mat4(-0.09075286, -0.033164006, 0.10945737, 0.2770637, -0.16555783, 0.07310421, 0.026942289, 0.29650962, -0.1007844, 0.009096539, -0.06395033, 0.09699946, -0.07901404, 0.040918924, 0.098537594, -0.04509798) * go_4(0.0, 1.0);
result += mat4(0.007999323, 0.0046959305, -0.03181889, -0.041286197, -0.0036372268, 0.020058637, 0.037964053, -0.016066216, -0.019170566, 0.016866915, -0.10172061, 0.09604732, 0.082420416, -0.05594466, -0.0756941, 0.036003392) * go_4(1.0, -1.0);
result += mat4(0.071109265, -0.08595922, -0.15273578, -0.04714358, -0.039822437, 0.085219406, -0.057365675, 0.045313027, 0.1338325, -0.027771475, 0.13640241, 0.1525042, 0.055682134, -0.094727375, -0.026674733, -0.009161929) * go_4(1.0, 0.0);
result += mat4(0.0027815856, 0.17028663, 0.01599458, 0.11059541, 0.021278301, -0.02299255, -0.046445813, 0.01140362, -0.028351959, -0.038226657, -0.01955651, 0.11908411, -0.034029853, -0.10767461, -0.11081511, 0.03566396) * go_4(1.0, 1.0);
result += mat4(-0.01359866, 0.13117082, -0.09357916, -0.029195316, -0.009054719, 0.0694315, 0.17173718, 0.037290372, 0.062218763, 0.082544655, 0.03066545, 0.09272635, 0.082720116, -0.014737289, 0.10527505, -0.0689924) * go_5(-1.0, -1.0);
result += mat4(-0.0706202, 0.12618336, -0.15827578, -0.057750463, 0.14855652, 0.1458758, -0.123203725, 0.19543667, 0.18961985, -0.007020239, -0.031297687, -0.033669226, -0.010986353, 0.0066039455, -0.1652515, -0.0059961043) * go_5(-1.0, 0.0);
result += mat4(-0.040597215, 0.016640672, 0.0061419294, 0.080478184, 0.018984126, 0.06710943, -0.06675578, -0.11948528, 0.04214188, 0.0052774074, 0.030882267, -0.005388406, -0.039811462, -0.01028474, -0.083587855, 0.0029053325) * go_5(-1.0, 1.0);
result += mat4(-0.05731081, -0.04265545, -0.0755327, 0.1441698, 0.036332745, -0.0067641083, -0.04228671, 0.08545495, -0.0909647, 0.2205254, 0.20305182, -0.09450949, -0.04061624, -0.035271652, -0.095942676, -0.026358822) * go_5(0.0, -1.0);
result += mat4(-0.050612856, 0.0145045, 0.17043534, 0.08267622, -0.034799397, -0.06804938, 0.13429774, 0.07218003, 0.15208139, -0.039168525, 0.038500663, 0.07258302, -0.122111656, -0.15208225, -0.09210869, 0.059862003) * go_5(0.0, 0.0);
result += mat4(0.0415679, 0.11520605, -0.030313483, 0.122075975, 0.06583631, -0.019953119, 0.109392576, -0.0510396, 0.09787855, 0.26775602, -0.18646449, -0.12933819, -0.04493963, -0.037615146, 0.0570058, 0.011027787) * go_5(0.0, 1.0);
result += mat4(-0.02655267, -0.098945014, -0.09336936, 0.07748091, -0.00047962685, 0.014854489, -0.068141386, 0.0071108737, -0.1333433, 0.03353786, 0.018027728, -0.07141378, -0.064265154, 0.056028087, 0.082747355, -0.071275316) * go_5(1.0, -1.0);
result += mat4(-0.05542939, -0.07380958, 0.01437026, 0.23931144, 0.08378484, 0.026806151, 0.009641943, -0.011398272, -0.051237162, 0.08034507, -0.017141929, -0.020286817, 0.08660475, 0.07309451, -0.03789005, -0.052705795) * go_5(1.0, 0.0);
result += mat4(-0.028130122, -0.031831503, 0.016689168, 0.10056315, -0.06354666, -0.15095639, -0.08982293, 0.116643555, -0.025013596, -0.019885266, 0.014840034, -0.2278798, -0.01701857, 0.011629466, -0.006176379, 0.04527816) * go_5(1.0, 1.0);
result += mat4(0.09877462, 0.029073205, 0.11243462, 0.044177532, -0.075923786, 0.02546148, 0.10739565, -0.13975054, 0.044879325, -0.11958629, 0.04363638, 0.077704646, 0.02696298, -0.027670769, -0.09089905, -0.06455269) * go_6(-1.0, -1.0);
result += mat4(0.0030152819, -0.02731273, 0.0066886866, 0.048644535, -0.06557933, -0.005832296, -0.06140005, -0.1994014, -0.11878561, -0.2267219, -0.11640984, -0.0155212805, 0.07085509, -0.009048477, -0.14769004, -0.123608634) * go_6(-1.0, 0.0);
result += mat4(-0.06752226, -0.016893445, 0.07294028, -0.052196287, 0.03547883, 0.101674356, 0.04949045, -0.09284047, 0.0729387, -0.07581744, -0.09281662, -0.031965096, 0.037925586, -0.07312763, -0.036286525, 0.03144849) * go_6(-1.0, 1.0);
result += mat4(0.064824305, 0.024864329, -0.056642268, 0.04918063, 0.1930241, 0.0071046185, -0.016237276, 0.013059835, -0.14946592, -0.09492835, 0.020961342, 0.047568906, 0.00048450654, -0.15269406, -0.08010619, -0.1388464) * go_6(0.0, -1.0);
result += mat4(-0.18825355, 0.22652678, 0.13892595, 0.117251605, -0.062407874, 0.008739453, 0.073387355, 0.05264442, -0.0031089867, -0.06777429, -0.16784573, -0.020113356, 0.04869496, 0.08135994, 0.07246035, -0.19927453) * go_6(0.0, 0.0);
result += mat4(-0.18046555, 0.14942019, -0.009922297, 0.040851727, -0.13020493, 0.10147689, -0.08173918, -0.026491666, 0.039945066, 0.08903092, -0.036917374, -0.093293, -0.09607799, 0.19442783, -0.004808152, 0.097780965) * go_6(0.0, 1.0);
result += mat4(-0.0758065, -0.03808871, 0.047511652, -0.0060790107, 0.08365728, 0.199537, 0.034738176, -0.19402026, 0.038024064, 0.065259285, 0.053378936, -0.009232693, -0.063165165, 0.024357138, 0.01648106, -0.0013202438) * go_6(1.0, -1.0);
result += mat4(0.03521039, -0.034457784, 0.1159957, -0.115214765, 0.1685411, -0.021456879, -0.08062013, -0.13672292, -0.0668036, -0.101206556, -0.052379187, 0.03147825, -0.09889599, -0.028870791, -0.11832699, -0.0046074977) * go_6(1.0, 0.0);
result += mat4(-0.050857995, 0.15759641, 0.047607794, 0.14805913, -0.07750758, 0.105473354, 0.102374494, 0.01994999, 0.033616915, -0.06992014, 0.056393575, -0.14204934, 0.05354153, 0.05013943, -0.114074394, 0.065119326) * go_6(1.0, 1.0);
result += mat4(-0.04829731, 0.06885148, -0.14768778, -0.060326908, -0.103351146, 0.036768492, -0.06135658, 0.11148307, 0.014534502, 0.123006314, 0.036450353, -0.0383252, -0.20370677, -0.17286272, 0.16101491, 0.07556089) * go_7(-1.0, -1.0);
result += mat4(-0.15262854, 0.14199285, 0.2511771, -0.10075314, 0.17736407, 0.2943528, 0.27172905, 0.1151125, 0.049084056, 0.059168756, 0.0650204, 0.03935768, -0.15067302, -0.13848037, -0.033887982, -0.026555846) * go_7(-1.0, 0.0);
result += mat4(-0.0051172585, 0.02692111, 0.20705879, 0.008218838, -0.021862414, -0.102145776, 0.12885559, 0.114753574, 0.102891475, -0.1007345, 0.01208991, 0.05938357, 0.06780603, -0.1589195, -0.20958908, -0.041277707) * go_7(-1.0, 1.0);
result += mat4(0.05422305, 0.029327532, -0.14234012, -0.030016532, 0.0482255, -0.046472695, 0.09939593, 0.08224116, 0.035823345, 0.07811289, -0.10744252, -0.08363756, -0.08364467, 0.057085298, -0.16731818, 0.20220445) * go_7(0.0, -1.0);
result += mat4(-0.001880624, 0.11825207, 0.008596269, -0.10103486, -0.17410794, 0.0017706376, 0.21030387, 0.10192447, 0.07783077, -0.014912659, 0.164237, -0.17776188, -0.097639844, -0.08774552, -0.16644147, 0.12934735) * go_7(0.0, 0.0);
result += mat4(0.06927279, 0.059731327, -0.060738076, -0.062833875, -0.015539843, -0.021360295, -0.053207625, 0.115540475, 0.017843733, 0.065999255, 0.0007332877, -0.03914544, -0.105941266, -0.07532644, -0.095935695, 0.10708794) * go_7(0.0, 1.0);
result += mat4(0.0873342, 0.003396962, 0.026241373, -0.0785419, 0.081882305, -0.01897599, -0.040988095, -0.028300753, -0.056872226, -0.03653725, -0.0036923515, -0.07191479, 0.070348285, 0.20352787, 0.14121976, 0.055011783) * go_7(1.0, -1.0);
result += mat4(0.01868485, 0.0013574177, -0.025322456, -0.08943172, 0.08110719, -0.0014665145, -0.17301609, -0.15072477, 0.032763265, -0.048716765, 0.035305195, -0.064817816, 0.0371342, -0.08201281, -0.19665426, 0.0653309) * go_7(1.0, 0.0);
result += mat4(0.034040254, 0.08749453, 0.039605893, 0.026554601, 0.049870778, 0.16673377, -0.024515232, 0.1613443, -0.039366666, -0.011511365, 0.03501774, -0.015119788, -0.10082997, 0.002426415, -0.067138135, -0.05282799) * go_7(1.0, 1.0);
result += vec4(-0.01535558, -0.024700014, 0.041315205, 0.023633905);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x72
//!HOOK MAIN
//!BIND conv2d_9_tf
//!BIND conv2d_9_tf1
//!BIND conv2d_9_tf2
//!BIND conv2d_9_tf3
//!BIND conv2d_11_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!SAVE conv2d_12_tf
//!WIDTH conv2d_9_tf.w
//!HEIGHT conv2d_9_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
#define g_1 (max((conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
#define g_2 (max((conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
#define g_3 (max((conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
#define g_8 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.07763047, 0.27418226, -0.14338551, -0.11081361, 0.18755837, 0.13486148, -0.103934124, 0.15729067, -0.30118144, -0.23599705, -0.03624479, -0.13197371, 0.2509935, -0.053046692, 0.22451721, 0.062433634) * g_0;
result += mat4(-0.009606105, -0.11484272, 0.014596453, 0.05732435, -0.28318888, 0.14493735, -0.12094529, -0.021383354, -0.19675042, -0.20649005, -0.117224075, -0.044716556, 0.07876854, 0.0063603655, 0.14384452, 0.34768546) * g_1;
result += mat4(-0.20010832, 0.26670012, -0.07552091, 0.16396587, -0.0011262367, -0.10468841, 0.17872465, -0.041907642, -0.04863038, -0.13880715, -0.12238532, -0.00602456, -0.11301867, 0.13501893, -0.15452485, 0.0051267557) * g_2;
result += mat4(0.015291708, -0.2517837, -0.24560767, 0.10868371, -0.1582953, -0.30957448, 0.29895902, -0.25554538, 0.24216072, -0.045922607, -0.08923091, -0.25642177, -0.33101156, -0.0058916584, 0.1821658, -0.05911768) * g_3;
result += mat4(0.15687323, 0.055351928, -0.32324156, 0.1137441, 0.41560605, 0.41545513, 0.12071179, 0.10673924, -0.11547584, -0.37552577, 0.077131264, -0.12138124, -0.13219355, -0.22411941, 0.03978703, 0.3492272) * g_4;
result += mat4(0.07044036, 0.11714306, -0.13374294, -0.055823848, -0.06303139, -0.1482969, -0.110342264, 0.036638733, 0.314413, 0.1842789, 0.17475197, 0.043438207, 0.0015348946, -0.3156743, -0.056865085, -0.053799774) * g_5;
result += mat4(0.21131508, 0.4045569, 0.083308145, 0.14813706, -0.02388631, -0.061720062, 0.24854286, 0.30907345, 0.027408333, -0.007549164, 0.19938764, -0.17439002, 0.025626602, 0.08443904, -0.2024683, -0.06329822) * g_6;
result += mat4(-0.015397141, 0.18421206, 0.08390624, -0.119724214, 0.17461216, 0.25613582, 0.056294072, -0.30151296, -0.1661106, 0.004817213, 0.20178172, -0.1557543, 0.31574607, 0.016265873, -0.11313175, 0.101584174) * g_7;
result += mat4(-0.036003333, -0.2948743, 0.08890492, -0.2424807, 0.20558605, -0.005326227, -0.14824234, 0.13657871, -0.08299064, -0.2654781, 0.07763288, -0.20758678, 0.12413959, -0.09051654, -0.27145076, 0.1981802) * g_8;
result += mat4(0.06444485, 0.041239545, 0.4109527, 0.25702617, -0.17460653, 0.2697094, 0.18714386, -0.10359985, 0.034952056, 0.058017034, 0.36967984, 0.1442043, -0.102753505, -0.07272067, 0.09906319, -0.02692305) * g_9;
result += mat4(-0.3257422, -0.25091344, 0.05630559, -0.22858965, 0.0969714, 0.0627054, -0.09547412, -0.21921997, 0.11027036, -0.2087131, -0.0034146109, -0.042596426, 0.1338729, -0.029776977, -0.136488, 0.048176914) * g_10;
result += mat4(0.42944148, 0.07361601, 0.039996527, -0.06972752, 0.12532753, -0.05265781, -0.061011825, 0.12728149, -0.007630841, 0.010768823, -0.08062439, 0.15050723, 0.059922203, 0.034361467, 0.2352152, -0.059999254) * g_11;
result += mat4(0.1987271, -0.068179525, -0.33349162, 0.018712096, -0.069019474, 0.16223519, -0.012386762, -0.058549248, 0.23421755, -0.11690985, -0.18661754, -0.12185474, -0.022877546, -0.11763273, 0.0713361, -0.036679223) * g_12;
result += mat4(-0.0042756563, -0.20779006, -0.14918481, 0.096974574, -0.015246231, -0.11454528, 0.14464086, 0.19934529, -0.0877081, 0.38296238, -0.010145265, -0.4274725, -0.20933542, 0.03727663, -0.004354278, -0.024973618) * g_13;
result += mat4(-0.15737206, -0.20578605, 0.2868647, -0.13985285, 0.13827614, -0.048706137, 0.10751875, -0.09783745, 0.04060606, 0.21132666, 0.0064998385, -0.03548873, 0.11786483, -0.15699282, 0.2044634, 0.007233451) * g_14;
result += mat4(-6.82634e-05, 0.23951311, -0.06425014, 0.07997111, 0.11085256, 0.15976904, 0.13375166, 0.21199653, -0.35401696, 0.065035254, -0.030974375, -0.08552442, 0.37972608, 0.10081147, 0.2001372, 0.17563076) * g_15;
result += mat4(0.2773931, 0.1178841, 0.027378619, 0.2863328, -0.30616024, 0.06384452, -0.16728342, 0.06004475, 0.011872468, 0.05471154, -0.32518378, -0.18874332, -0.12623757, 0.23276375, 0.068185456, 0.21938467) * g_16;
result += mat4(-0.18750657, -0.22679184, -0.024820909, -0.095249355, -0.14394966, -0.27550733, -0.19173676, 0.20593777, 0.07831533, 0.2730425, 0.34470567, 0.07874521, 0.09838028, -0.13954316, 0.18111953, 0.18931043) * g_17;
result += vec4(-0.03305349, -0.054945398, 0.02216584, -0.091164745);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x72
//!HOOK MAIN
//!BIND conv2d_9_tf
//!BIND conv2d_9_tf1
//!BIND conv2d_9_tf2
//!BIND conv2d_9_tf3
//!BIND conv2d_11_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!SAVE conv2d_12_tf1
//!WIDTH conv2d_9_tf.w
//!HEIGHT conv2d_9_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
#define g_1 (max((conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
#define g_2 (max((conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
#define g_3 (max((conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
#define g_8 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.29876372, 0.016366975, 0.21096407, -0.020094471, -0.1900656, -0.072851926, 0.26933378, 0.2965162, 0.047404896, -0.07100038, 0.36576727, -0.1726564, -0.09022945, -0.045195863, 0.054235443, 0.05129035) * g_0;
result += mat4(-0.17622513, 0.029871318, 0.1261812, 0.2222432, -0.13800889, 0.07485947, 0.18132168, -0.07646577, 0.35130787, 0.025769712, -0.08360745, 0.1823751, 0.2580671, 0.17893296, -0.2970342, 0.2615672) * g_1;
result += mat4(-0.09122936, 0.041544963, 0.11103348, -0.32509488, 0.11889552, -0.15459736, -0.14604495, 0.13639185, 0.25519374, -0.09549251, 0.027490158, -0.22870867, 0.15262592, -0.05271851, 0.07649719, -0.14544797) * g_2;
result += mat4(-0.07842013, -0.07909847, 0.16719495, 0.060775355, 0.039721165, -0.11024404, 0.15099376, 0.017221982, 0.03604949, -0.00044745833, 0.09993808, 0.016347472, -0.1123219, 0.12352075, 0.0055856355, -0.038503457) * g_3;
result += mat4(0.04749609, -0.011603198, -0.11631744, 0.29501718, 0.21616888, 0.076152876, 0.008262415, -0.17586538, -0.025060087, -0.06677992, -0.05253498, 0.20535102, 0.14948508, -0.16102068, 0.06183411, 0.12077816) * g_4;
result += mat4(-0.0036952377, 0.15648776, -0.2770151, -0.26803473, -0.12806855, 0.21423273, 0.10177632, -0.010165392, 0.059501424, -0.16206288, -0.0119383745, -0.09637166, 0.016029779, -0.107704446, -0.066519134, -0.039579522) * g_5;
result += mat4(-0.025284212, -0.11085338, -0.10921526, 0.19486162, 0.002627237, -0.24155024, -0.22131649, -0.008362887, -0.17378221, 0.254153, 0.14457825, 0.1237066, 0.1588314, 0.034734476, -0.32959384, 0.18392745) * g_6;
result += mat4(-0.23717919, 0.032724388, -0.2579177, 0.032373153, 0.19237953, 0.18673407, -0.032884978, 0.34017587, 0.3633359, 0.22996293, 0.05866704, -0.051001176, 0.10989479, 0.15821928, 0.03814914, 0.18687908) * g_7;
result += mat4(0.18111174, -0.045572106, 0.28947538, 0.028062606, 0.017460342, -0.11182857, -0.02323663, 0.22442394, -0.09908654, -0.1892071, -0.16361217, 0.23111914, -0.4034355, -0.160105, 0.124996185, 0.16111071) * g_8;
result += mat4(-0.24601339, 0.16504896, -0.50432545, 0.17059588, -0.05622342, 0.03449165, 0.19813967, -0.23526217, 0.027649945, -0.091902114, 0.24123852, -0.27897063, 0.092255116, 0.46413165, 0.24431442, -0.28772914) * g_9;
result += mat4(-0.10406283, 0.011556308, -0.28718328, 0.089035675, -0.34427065, -0.14430703, -0.05688551, 0.0073183607, -0.09622162, 0.11313123, 0.05555725, 0.14841734, 0.1549386, -0.17246638, 0.20873484, -0.03606831) * g_10;
result += mat4(0.026205625, 0.20152962, -0.06303816, -0.3621029, -8.37066e-05, 0.022963323, 0.1556007, -0.010206023, -0.03585696, 0.013210482, 0.08844526, 0.08085807, 0.0154804215, 0.01674602, -0.22619575, -0.20517838) * g_11;
result += mat4(-0.14771776, -0.087712936, 0.26490626, 0.13074578, -0.15972485, -0.17711553, -0.023439731, -0.35535946, 0.033503015, -0.04976214, 0.18148364, -0.25102466, 0.1015065, -0.17691332, -0.117089726, 0.2718636) * g_12;
result += mat4(0.021445429, -0.2229151, 0.04363617, -0.01848845, 0.19044793, 0.12978733, 0.1401384, -0.051114038, -0.16472392, -0.059583012, -0.002701528, -0.12270173, -0.18227173, 0.03988044, 0.3377543, -0.18024927) * g_13;
result += mat4(0.38426477, -0.09308802, -0.11083124, 0.21756104, -0.055889897, 0.100914784, 0.051462848, 0.1997221, 0.16923136, -0.0040037725, 0.21070997, -0.035059523, -0.0740145, -0.42558807, -0.020239443, -0.06474659) * g_14;
result += mat4(-0.020568244, 0.08227015, -0.053252015, 0.01569164, -0.109781235, 0.06688285, 0.2620034, -0.18460485, -0.13735083, 0.0030442013, -0.21416521, -0.054695573, 0.047963038, 0.10726088, 0.034117166, 0.21801902) * g_15;
result += mat4(0.520728, 0.06186967, -0.30889672, 0.0150618, -0.014702558, -0.2076953, -0.13387786, 0.101004966, -0.16997512, 0.14452092, -0.018287892, -0.14064445, 0.10045448, 0.33445045, 0.12254727, 0.033601977) * g_16;
result += mat4(-0.08978202, 0.015013341, 0.11111453, 0.05192639, 0.18055484, 0.123284765, -0.1554275, 0.09262196, 0.057058904, -0.080403194, -0.163374, 0.046445247, -7.656726e-05, 0.23957397, -0.24086528, -0.04172887) * g_17;
result += vec4(0.0030341349, -0.028386809, -0.0693459, -0.021886);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x72
//!HOOK MAIN
//!BIND conv2d_9_tf
//!BIND conv2d_9_tf1
//!BIND conv2d_9_tf2
//!BIND conv2d_9_tf3
//!BIND conv2d_11_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!SAVE conv2d_12_tf2
//!WIDTH conv2d_9_tf.w
//!HEIGHT conv2d_9_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
#define g_1 (max((conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
#define g_2 (max((conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
#define g_3 (max((conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
#define g_8 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.12601665, 0.16175638, -0.19269617, 0.107886985, -0.28229153, -0.47275612, -0.23898768, 0.11874162, -0.0438132, 0.1620992, -0.07009845, -0.088367306, -0.13653506, -0.24453755, 0.07402701, 0.112232625) * g_0;
result += mat4(-0.1342178, -0.06971262, 0.12556942, 0.01929168, 0.23838176, 0.018971201, -0.05296016, -0.08929702, 0.040384937, -0.09414689, 0.07239966, 0.057094514, 0.022977736, 0.23681253, 0.07352691, 0.1401568) * g_1;
result += mat4(0.13201892, 0.04062019, 0.052444696, 0.039319273, 0.029174356, 0.024773024, 0.24973504, 0.20124938, -0.11042911, -0.32369703, 0.13876265, 0.07454285, -0.29048622, -0.0073187165, 0.18820713, 0.1310624) * g_2;
result += mat4(-0.052355357, 0.14466842, -0.20304704, -0.10945343, -0.13633797, -0.0362287, 0.21200177, -0.115031704, -0.007819006, -0.0060177785, 0.10633933, -0.06184755, 0.09415192, -0.109933, -0.025773333, 0.13335694) * g_3;
result += mat4(-0.15166026, -0.363905, 0.16473109, 0.36505404, 0.056683872, 0.0061098817, 0.4168733, -0.044268914, 0.2840304, -0.27333218, -0.032296672, 0.08772143, -0.0003773526, 0.34500858, 0.16723311, -0.08633425) * g_4;
result += mat4(0.17295076, 0.058134206, 0.10268273, -0.05562554, -0.01107067, -0.16301824, -0.15832978, -0.35605776, -0.059426963, -0.16527529, 0.08868478, -0.1846189, -0.017306576, 0.10800906, -0.012656846, 0.29250982) * g_5;
result += mat4(-0.0046278895, -0.41774723, 0.24683201, 0.023414413, -0.0560346, 0.3508538, -0.018426506, -0.22601782, -0.22005035, 0.24708134, 0.20629126, 0.017688079, -0.21966107, 0.0007773641, 0.27158982, -0.15457745) * g_6;
result += mat4(0.28892994, -0.0948736, -0.22442342, 0.18630128, 0.056576118, -0.17367427, 0.036432527, -0.12435009, 0.049795005, 0.13438956, 0.38832325, 0.040559538, -0.18281, -0.027084656, 0.14047231, 0.16336608) * g_7;
result += mat4(0.07984998, 0.10912455, -0.25223976, -0.07150487, 0.39511418, -0.16752689, -0.012659484, 0.14530154, 0.15754412, -0.10894477, -0.1896881, -0.12754244, -0.2143525, -0.18319069, -0.13740367, 0.049823396) * g_8;
result += mat4(-0.2693335, -0.22025953, -0.08723098, 0.030883936, -0.01043496, 0.049120355, 0.027913291, 0.2757188, 0.2999968, 0.1511124, 0.03902692, 0.012411737, 0.3374636, 0.07545474, 0.0019430651, -0.2693774) * g_9;
result += mat4(0.22447923, 0.18749979, -0.2726834, -0.054140817, -0.028611785, -0.1420322, -0.26904938, 0.034827393, -0.16475505, -0.13389514, 0.004789874, -0.041023012, 0.13383822, -0.33016685, 0.14386353, -0.16444317) * g_10;
result += mat4(0.06270732, -0.1334095, -0.15366173, -0.05587756, 0.10967794, 0.20958632, 0.0024631543, 0.0054002493, 0.1983807, 0.21552248, -0.027546072, 0.03749206, 0.09604704, -0.015076683, -0.18674834, -0.048891157) * g_11;
result += mat4(0.3359941, 0.005712003, 0.12872687, 0.17963566, 0.13625218, -0.07016191, 0.41262105, 0.12859339, -0.029220538, 0.042857308, -0.09492956, -0.006781853, -0.002147385, 0.09192873, -0.034135956, 0.04365597) * g_12;
result += mat4(-0.0655155, 0.09802182, -0.009230572, -0.11295286, -0.04042111, -0.167074, -0.042077914, -0.3769242, 0.3564197, -0.41506588, 0.010919382, 0.19179656, -0.30047882, -0.12062898, -0.09184107, 0.18559954) * g_13;
result += mat4(-0.02611887, 0.18515642, -0.26166156, -0.11706778, 0.1758253, -0.04787028, -0.1428414, 0.20101525, -0.19495995, -0.114093624, 0.15655537, 0.09985385, -0.28163755, 0.04849391, 0.08238636, -0.084574856) * g_14;
result += mat4(0.00010702968, -0.1017887, 0.18226019, -0.059170388, 0.18746078, 0.060440563, -0.14334333, -0.1825296, 0.27030236, 0.028283298, -0.09769837, -0.0023890818, 0.18596847, 0.07152733, -0.06317227, -0.12367107) * g_15;
result += mat4(0.24603085, 0.056102052, 0.13449737, -0.23569027, -0.05986085, 0.27015293, -0.2839155, -0.089338146, -0.057650078, 0.25799945, -0.2778006, 0.32337326, 0.15381968, -0.10049262, -0.0764022, 0.07623496) * g_16;
result += mat4(0.15472987, 0.087436944, -0.14177966, 0.22156389, 0.020608503, 0.2505864, 0.20408471, 0.031214792, -0.059114598, -0.15656275, 0.228334, -0.11210813, -0.06963447, -0.033369016, -0.09053422, -0.007444799) * g_17;
result += vec4(0.010953258, -0.03096994, -0.08644558, -0.025292031);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x72
//!HOOK MAIN
//!BIND conv2d_9_tf
//!BIND conv2d_9_tf1
//!BIND conv2d_9_tf2
//!BIND conv2d_9_tf3
//!BIND conv2d_11_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!SAVE conv2d_12_tf3
//!WIDTH conv2d_9_tf.w
//!HEIGHT conv2d_9_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
#define g_1 (max((conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
#define g_2 (max((conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
#define g_3 (max((conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_9_tf_tex(conv2d_9_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_9_tf3_tex(conv2d_9_tf3_pos)), 0.0))
#define g_8 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.17770122, 0.29082096, 0.04282091, 0.02549757, -0.23898254, 0.0010372455, 0.12527937, -0.0698982, 0.2606404, -0.010801856, 0.32558066, -0.26030767, -0.04800019, -0.07218525, 0.14526579, -0.18770672) * g_0;
result += mat4(0.15203147, -0.07794133, 0.007123589, 0.098241664, 0.09907035, -0.27661824, -0.086697206, -0.2342014, -0.31787968, 0.049847364, 0.06507202, 0.21814133, 0.32412624, -0.083394185, -0.09934146, 0.23159225) * g_1;
result += mat4(-0.096130975, 0.08083216, 0.44819605, 0.03937152, -0.13312627, -0.18089001, -0.18645371, -0.010557667, -0.124474674, -0.10351831, -0.12635191, -0.05673057, 0.018399497, -0.24488576, 0.026230913, -0.15852088) * g_2;
result += mat4(0.10968734, -0.035089277, -0.067034565, 0.066106535, -0.14149925, 0.1641957, -0.18244973, -0.22383699, -0.18098424, -0.151712, 0.260575, -0.00048691966, 0.27418098, 0.2131733, -0.12303702, -0.101710096) * g_3;
result += mat4(-0.3226536, 0.01744138, -0.12473336, 0.05616008, -0.4558458, -0.33108178, 0.004296858, -0.25150925, 0.11538608, -0.08004571, 0.20220277, 0.1365363, 0.21196564, 0.07377505, -0.060209595, 0.039599787) * g_4;
result += mat4(0.00477916, -0.114327356, 0.011587205, -0.2702971, 0.23033854, -0.27782437, 0.32360908, -0.44537735, -0.013454022, 0.056789074, 0.033459242, 0.12902088, -0.1313282, -0.004177221, 0.041425087, 0.250106) * g_5;
result += mat4(-0.24296634, -0.2151481, -0.030868901, 0.25469768, -0.042654943, 0.15871386, -0.12589258, -0.016274497, -0.033228472, 0.17153168, 0.04850832, 0.3116558, 0.07950622, 0.16695933, -0.25321132, -0.32425934) * g_6;
result += mat4(-0.17190868, -0.08966977, 0.0064142062, 0.2417195, -0.28092504, -0.06055805, 0.24716014, -0.020504756, -0.030874953, -0.048863903, -0.043293115, 0.02698432, 0.079950914, -0.055653498, 0.034776926, 0.064640135) * g_7;
result += mat4(-0.13084945, 0.06205162, -0.13606736, 0.39602286, -0.0030491774, -0.02476442, 0.0069150706, -0.026167216, 0.032697376, -0.030357588, 0.25825238, -0.07841919, -0.17723657, -0.06571916, -0.079561666, -0.009374618) * g_8;
result += mat4(-0.24869454, -0.20812686, 0.21540813, -0.06763655, 0.08248998, 0.09615888, 0.01718324, 0.21635905, 0.20144391, -0.07219777, 0.098456375, -0.3403119, 0.13258833, -0.13171546, 0.09525975, -0.048105728) * g_9;
result += mat4(0.22724295, -0.08324391, 0.0316843, 0.0060743215, 0.010268236, -0.17710914, -0.26217553, 0.052261468, -0.0564278, 0.118447, -0.221497, -0.004723381, -0.082461685, -0.06658231, -0.05635201, -0.16272539) * g_10;
result += mat4(-0.19052428, 0.087694265, 0.10222324, 0.11315066, 0.11910176, 0.11697917, 0.093398556, 0.28112432, 0.030032964, -0.0145031605, -0.30618244, 0.058343805, 0.29364142, 0.4507355, -0.012588871, -0.04779493) * g_11;
result += mat4(-0.30753234, -0.16848947, -0.027776828, 0.04406865, 0.24091373, 0.30855393, -0.14061853, -0.1889476, -0.013829834, -0.265403, -0.27854362, 0.20213468, -0.012963777, -0.01078832, -0.07769813, -0.21151513) * g_12;
result += mat4(0.26133433, 0.17727493, -0.109125234, 0.08433557, 0.072260365, 0.2561018, 0.090859175, -0.07598044, 0.1457562, -0.025295084, -0.021166144, 0.045864385, 0.039569605, 0.20864639, 0.02609065, 0.26301143) * g_13;
result += mat4(-0.13943508, -0.13203211, 0.35905635, 0.27272087, 0.18303953, 0.012707511, 0.088180274, -0.14280272, -0.23073225, -0.13123025, -0.0930568, 0.074749425, 0.22671546, -0.22136143, -0.029851126, 0.12233923) * g_14;
result += mat4(0.12482134, -0.10828533, -0.079140544, -0.2453333, -0.090807475, 0.0063584484, 0.1211467, 0.062918566, 0.14158563, 0.04865186, -0.047368318, 0.16969171, 0.05705982, -0.06532511, 0.039894924, -0.2492887) * g_15;
result += mat4(0.045366418, -0.11773512, 0.3228948, 0.03694021, 0.08063588, 0.15884815, -0.20808393, -0.053136192, 0.12179582, -0.008855191, -0.09951698, 0.052134108, -0.23938279, -0.12222782, -0.12329915, -0.2170608) * g_16;
result += mat4(-0.18194616, 0.10244923, 0.05732402, 0.10120477, 0.118554674, 0.006850547, -0.026597708, -0.19694051, -0.040258426, 0.3326919, 0.27358428, -0.22072372, -0.4095388, 0.15311103, 0.14642514, 0.4488546) * g_17;
result += vec4(0.048863593, 0.012109077, -0.016607719, 0.037871145);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_12_tf
//!BIND conv2d_12_tf1
//!BIND conv2d_12_tf2
//!BIND conv2d_12_tf3
//!SAVE conv2d_14_tf
//!WIDTH conv2d_12_tf.w
//!HEIGHT conv2d_12_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_12_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_12_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_12_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_12_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_12_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_12_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_12_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_12_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.13730694, 0.09572443, -0.16228959, 0.0539934, 0.015976029, -0.020617478, -0.031389967, 0.086105354, -0.02737102, -0.009822752, 0.079854555, 0.021560928, 0.021912804, -0.05518721, -0.055796772, -0.13649039) * go_0(-1.0, -1.0);
result += mat4(0.16258714, -0.1714513, -0.02435225, 0.061715234, 0.075829744, -0.0935106, 0.051781043, 0.027690506, 0.09556227, 0.1269502, 0.1137493, 0.13980514, -0.018691815, 0.075835496, -0.13254827, 0.007191193) * go_0(-1.0, 0.0);
result += mat4(0.08184935, -0.086010106, 0.048796415, 0.015115541, 0.035149876, 0.053475354, 0.12256089, 0.06159943, 0.08541651, 0.0065930625, -0.04444402, -0.06579454, 0.16545528, 0.07714567, -0.07318036, -0.0410161) * go_0(-1.0, 1.0);
result += mat4(0.052661866, -0.06528621, -0.033377446, 0.03374355, -0.10203855, 0.027142841, -0.009596358, 0.033278905, 0.14031664, 0.12529425, 0.0447338, -0.37799904, -0.18007077, -0.031899042, -0.028458513, 0.0036119984) * go_0(0.0, -1.0);
result += mat4(0.019022847, -0.07892097, 0.028167801, -0.03970351, 0.15201952, -0.082866214, -0.07775842, -0.0092036445, 0.0375805, -0.07498207, -0.10523698, -0.07382711, 0.060292613, -0.14215495, -0.0460591, 0.07628205) * go_0(0.0, 0.0);
result += mat4(0.039698813, 0.043937914, 0.05321076, 0.07739694, 0.06098655, 0.06888494, -0.07167099, -0.052405626, 0.05308723, -0.18511309, 0.09709155, -0.02147648, 0.11734863, 0.007313008, -0.09469101, 0.076938465) * go_0(0.0, 1.0);
result += mat4(0.006754393, -0.0482479, -0.08238743, 0.06375976, 0.04045994, -0.019509573, 0.18255574, 0.09500812, -0.04551239, 0.10516026, 0.1547579, 0.08199154, -0.10011012, -0.10849286, -0.10245379, -0.1411837) * go_0(1.0, -1.0);
result += mat4(0.15574688, 0.10194304, 0.1370253, 0.122291274, 0.06903438, 0.028846793, -0.036889754, 0.14082685, 0.0746532, -0.085606076, 0.04378959, 0.04567366, 0.13036871, 0.017091148, 0.0860928, 0.049529802) * go_0(1.0, 0.0);
result += mat4(-0.0019084985, -0.030891823, -0.11242672, -0.0028197083, 0.1089532, -0.036664832, -0.08357979, -0.04067862, -0.018984286, -0.08164459, 0.09161135, 0.025528084, -0.024401465, 0.053186838, -0.13926849, -0.09147531) * go_0(1.0, 1.0);
result += mat4(0.030601272, 0.020320972, 0.11978473, 0.021981956, 0.0066586067, 0.010468703, 0.08935148, -0.02064418, -0.051966265, 0.13076556, 0.114875935, -0.13965933, -0.06370764, -0.02479983, -0.040174097, -0.051495917) * go_1(-1.0, -1.0);
result += mat4(-0.06858974, -0.1011349, 0.05012081, -0.09389995, 0.18634044, -0.02636947, 0.29009673, -0.20761599, -0.18480374, 0.18764408, -0.03863296, -0.001258129, -0.20276432, -0.22974198, -0.011534593, 0.053845435) * go_1(-1.0, 0.0);
result += mat4(-0.011961684, -0.0027767534, 0.15667303, 0.014906583, 0.08829907, 0.13073516, 0.12739272, -0.14619562, -0.05524262, -0.044016067, 0.056112796, -0.11271024, -0.15298633, -0.07068307, 0.15127258, -0.059431132) * go_1(-1.0, 1.0);
result += mat4(0.0035851684, 0.048734687, 0.058004834, -0.25574937, -0.05717012, 0.027982244, -0.036910195, 0.07176039, -0.1437177, 0.15508057, 0.055488504, 0.08993959, -0.21916981, -0.09351557, 0.059080753, 0.059446696) * go_1(0.0, -1.0);
result += mat4(0.121534444, 0.05071775, 0.25775218, 0.100448884, -0.0609293, -0.0032914479, -0.012675448, -0.03919934, -0.048212145, 0.15936059, 0.07263143, -0.15671557, -0.029125307, 0.056486927, 0.09249241, -0.049256064) * go_1(0.0, 0.0);
result += mat4(0.13813132, 0.1061218, 0.13439661, 0.013360326, 0.20840476, 0.033466756, -0.02981596, -0.16605316, 0.21835527, 0.20860583, -0.08051366, -0.048786163, -0.15034862, 0.031393945, -0.12630752, 0.03662063) * go_1(0.0, 1.0);
result += mat4(0.20240387, 0.11153365, -0.10545571, 0.20638049, -0.030318, -0.013820859, -0.15446675, -0.117573425, 0.020086143, 0.17280579, -0.14882061, 0.054609608, -0.06867725, 0.005472737, -0.001194474, 0.053710196) * go_1(1.0, -1.0);
result += mat4(-0.078191735, 0.19296291, 0.094308026, 0.13090765, -0.08120196, -0.025820611, -0.06864976, -0.1892419, 0.04313153, 0.05904389, -0.0666416, -0.0647475, -0.20729442, -0.20761089, 0.12242998, 0.03860268) * go_1(1.0, 0.0);
result += mat4(0.3584512, 0.033826537, 0.054210454, 0.0789943, 0.008851024, 0.09464614, -0.12718089, 0.11983708, 0.1720017, -0.020153422, -0.016108112, -0.022643095, -0.112861484, -0.14127043, 0.062141683, 0.039889514) * go_1(1.0, 1.0);
result += mat4(0.0535196, -0.03970797, 0.03354509, -0.117369846, -0.14703709, -0.012058039, -0.07475193, -0.06776651, 0.059161127, 0.012486282, 0.28265083, 0.006532838, -0.18549983, 0.008657684, -0.074575126, 0.13438265) * go_2(-1.0, -1.0);
result += mat4(-0.039811708, 0.12738322, 0.18482146, 0.021987366, -0.007785863, -0.103660956, -0.25238964, 0.1722417, 0.11030613, -0.013517135, 0.080717966, 0.09645111, 0.02491521, -0.06768416, 0.07801766, -0.0083899405) * go_2(-1.0, 0.0);
result += mat4(0.02637314, -0.02295658, 0.009299312, 0.04080987, 0.009788877, -0.06768737, -0.09209687, -0.0064441212, 0.17683631, 0.11308535, 0.120473646, -0.043513045, -0.012239015, -0.11771954, 0.041769065, -0.035535622) * go_2(-1.0, 1.0);
result += mat4(-0.02476574, 0.0006269701, 0.031228809, -0.114411384, -0.06647686, 0.044763204, 0.0125348745, 0.06740366, -0.13100466, -0.14606014, 0.05104513, 0.08999373, 0.047833115, -0.027034575, 0.17426285, 0.15505366) * go_2(0.0, -1.0);
result += mat4(-0.04584108, 0.026565347, -0.17377949, 0.09393312, 0.24355736, -0.070104554, 0.14847255, 0.03672425, -0.025585584, -0.24469705, 0.18408243, 0.3059801, 0.066561416, 0.05520613, 0.051541686, -0.009497027) * go_2(0.0, 0.0);
result += mat4(0.09706289, 0.1355479, -0.10922811, 0.040889144, -0.1304492, -0.1115297, -0.050781623, 0.13141242, 0.20192824, 0.21923521, 0.2232753, -0.04984208, -0.07344629, -0.048347905, -0.06926673, 0.00018091204) * go_2(0.0, 1.0);
result += mat4(0.12485469, 0.052772295, -0.11423363, -0.09852666, 0.0133323725, 0.014865848, -0.09087173, -0.0148057, 0.006184697, -0.1351809, 0.20683081, 0.19722891, 0.016914789, -0.047588933, 0.10100042, 0.009027416) * go_2(1.0, -1.0);
result += mat4(-0.05893103, -0.037235342, -0.10422848, 0.10374478, -0.08594368, 0.14460947, 0.05852035, -0.11371309, 0.024052324, -0.16274521, 0.04695501, 0.24024189, 0.04611697, -0.04172007, -0.14143556, 0.0947182) * go_2(1.0, 0.0);
result += mat4(0.029644629, 0.047125343, 0.043564074, 0.029975709, -0.20870477, -0.054786757, -0.06884723, 0.072272494, 0.15565543, -0.1053078, -0.058403894, 0.16519445, -0.0603395, 0.009007387, -0.11781728, 0.15130705) * go_2(1.0, 1.0);
result += mat4(-0.042338666, -0.12772329, 0.051055513, -0.06525264, -0.0040495084, -0.09565801, 0.07052012, -0.08048783, -0.08279771, -0.08353822, -0.04170163, 0.050944712, -0.039810754, -0.061679646, -0.1736554, -0.18661833) * go_3(-1.0, -1.0);
result += mat4(-0.1809492, -0.086604275, -0.004732337, 2.8006345e-05, 0.12348477, -0.18016535, 0.06667517, 0.15141962, 0.074052304, -0.0010897494, 0.02608532, -0.084111795, 0.19251096, -0.11398725, -0.10063286, -0.22106121) * go_3(-1.0, 0.0);
result += mat4(-0.25605115, -0.15571332, -0.1340056, -0.08346116, 0.09454819, -0.030701093, 0.10532109, -0.12843955, -0.12315552, 0.08900104, 0.01561725, -0.12959191, 0.09758207, -0.112124294, 0.06608123, 0.028534982) * go_3(-1.0, 1.0);
result += mat4(0.11170476, -0.0630822, -0.038899932, 0.1342047, -0.021606628, -0.062111627, 0.051371798, -0.08569797, -0.15001743, -0.05062917, -0.17575061, -0.084941536, -0.116146035, -0.15812515, -0.17216232, -0.22350411) * go_3(0.0, -1.0);
result += mat4(0.06449703, -0.22082505, -0.16758165, -0.09813526, 0.13100046, 0.011371541, -0.096522264, -0.100944474, 0.043882452, -0.05947248, 0.009845581, 0.17306656, 0.0756555, -0.21856773, 0.09360379, 0.064962044) * go_3(0.0, 0.0);
result += mat4(0.10466668, -0.25351757, -0.030175129, -0.07844458, 0.047858343, 0.02165889, 0.17470923, 0.113614105, -0.09934851, 0.085113294, -0.093170576, 0.12370991, 0.0032511167, 0.067286566, -0.0058747306, -0.014485702) * go_3(0.0, 1.0);
result += mat4(-0.029907176, 0.060396403, -0.103236124, 0.2610491, -0.053192623, 0.1007005, -0.18771408, 0.1928706, 0.067260295, -0.009832933, -0.009121694, -0.054794073, 0.111395195, -3.396428e-05, -0.016206376, -0.061671183) * go_3(1.0, -1.0);
result += mat4(0.053124864, 0.07192942, 0.059849158, 0.081840195, -0.05420444, -0.0019643765, 0.04362153, 0.14748906, 0.0506163, 0.013644277, -0.16886376, -0.006343483, -0.018263722, 0.052267574, 0.059044275, -0.082981944) * go_3(1.0, 0.0);
result += mat4(0.13965447, -0.13021067, 0.04670164, 0.086573035, 0.025060145, -0.037466228, -0.04684806, -0.10827496, -0.047038436, -0.0039735837, -0.0730053, -0.016094094, -0.07558495, -0.035218224, 0.08817588, -0.042479306) * go_3(1.0, 1.0);
result += mat4(-0.008962302, 0.04630662, 0.018500257, -0.087029375, 0.11477668, 0.10218926, 0.024974326, -0.08728321, -0.12020556, 0.15970382, 0.21653348, 0.10660835, 0.2738671, 0.0997252, -0.108846664, -0.04685405) * go_4(-1.0, -1.0);
result += mat4(-0.022257768, -0.064715914, 0.055771556, 0.010960265, -0.20388158, -0.006702773, -0.10523913, 0.041671757, -0.1278118, 0.056031987, -0.14149639, 0.024696268, -0.08956393, -0.032904375, -0.19515826, 0.07697775) * go_4(-1.0, 0.0);
result += mat4(-0.0051774043, 0.057510026, -0.0022631476, 0.061950665, -0.2055609, -0.06095393, -0.17338821, 0.13429311, 0.116932675, 0.049505264, 0.1167626, -0.13347769, 0.08006289, -0.17509666, 0.14619496, -0.099814855) * go_4(-1.0, 1.0);
result += mat4(0.07875518, 0.029798327, -0.09710777, 0.067920126, 0.03193534, -0.089395255, 0.052021433, 0.15372773, 0.046054084, 0.24912815, -0.025290666, 0.1745077, 0.028125856, -0.042680793, -0.2864328, 0.3608281) * go_4(0.0, -1.0);
result += mat4(0.18727463, -0.15704368, 0.08394469, -0.043886885, 0.08093717, -0.14508902, -0.08175545, -0.012856592, 0.090690896, 0.15311036, 0.09262695, -0.20497702, -0.12629865, 0.16602357, -0.12650378, -0.27009165) * go_4(0.0, 0.0);
result += mat4(-0.026015654, -0.15421996, -0.006285523, 0.084399685, -0.05706165, -0.11809227, 0.20115097, 0.100516826, 0.04193344, 0.12963672, -0.003606976, 0.26124814, -0.03276488, 0.09699929, 0.006967106, -0.21132018) * go_4(0.0, 1.0);
result += mat4(0.13496664, -0.06661801, -0.01474205, -0.16868557, -0.029672602, -0.006720598, -0.117897324, 0.04533316, 0.030741133, 0.1053171, -0.016952176, -0.32376495, 0.070213996, 0.040165827, 0.004966792, -0.2232084) * go_4(1.0, -1.0);
result += mat4(0.09690112, -0.07795268, 0.077351056, 0.0152706485, -0.089807846, -0.015780134, -0.17489035, 0.040249743, 0.21050693, 0.1011979, -0.106833994, -0.051176246, 0.017105445, 0.03109709, -0.038326148, -0.01485861) * go_4(1.0, 0.0);
result += mat4(-0.057408247, 0.06229008, 0.0030242403, 0.039700616, -0.13085157, 0.020828856, 0.16776583, -0.2604126, 0.07311746, 0.31123817, -0.010544573, -0.13669181, -0.03168772, 0.00608244, -0.10768166, 0.1240025) * go_4(1.0, 1.0);
result += mat4(0.038978737, -0.106837034, 0.14167462, 0.041263003, 0.06207514, -0.00715465, -0.02379835, -0.031825457, 0.061413057, 0.0760847, 0.13212702, 0.0336207, -0.13638654, -0.08007447, 0.010262531, -0.0034590475) * go_5(-1.0, -1.0);
result += mat4(-0.08324591, -0.044817638, 0.10628384, 0.061015308, 0.07592109, 0.08827193, -0.08403659, -0.20712458, 0.058871835, -0.11746996, 0.16809036, -0.0395111, -0.106638305, -0.039189354, 0.015224756, 0.015626334) * go_5(-1.0, 0.0);
result += mat4(-0.047755025, -0.040199798, -0.003975084, 0.028568355, 0.19709164, -0.15811369, -0.06603298, 0.01573683, -0.005953187, -0.050047178, -0.060785852, 0.0508898, 0.009161574, -0.04349141, -0.00926554, 0.009818446) * go_5(-1.0, 1.0);
result += mat4(0.11093553, 0.019093536, 0.10260777, 0.055262566, 0.1195068, 0.09863856, -0.18714024, 0.19104338, 0.06376209, -0.034790665, -0.094363205, -0.09618141, -0.0058454727, -0.108213976, 0.12300049, -0.011991122) * go_5(0.0, -1.0);
result += mat4(0.04611049, 0.19236325, 0.08004335, -0.15592095, 0.15835464, 0.036216386, 0.036609154, 0.023461621, -0.120403476, -0.12745048, 0.06265683, -0.01600802, 0.16362222, 0.11878418, 0.11366202, -0.10238857) * go_5(0.0, 0.0);
result += mat4(0.06759989, 0.033161543, -0.10036328, -0.0098760715, 0.038350176, 0.15091336, 0.010098192, -0.13720898, -0.26202145, 0.001311828, -0.024214303, -0.16074173, 0.22281381, 0.13370523, -0.032966968, -0.062518656) * go_5(0.0, 1.0);
result += mat4(0.012291961, -0.068143904, 0.05493764, -0.087144345, 0.073538706, -0.015827144, 0.012285127, -0.07855669, -0.2829798, -0.039494153, 0.23575827, 0.06981807, -0.061576065, -0.1076866, -0.013749979, -0.09326816) * go_5(1.0, -1.0);
result += mat4(0.2558642, -0.10623661, -0.23699932, -0.05788955, -0.05908788, -0.1335758, 0.005269156, 0.0074094567, -0.0876448, 0.08961541, 0.20585236, -0.23521425, 0.13892744, 0.056449905, 0.055848006, -0.059444457) * go_5(1.0, 0.0);
result += mat4(-0.033819564, -0.026836576, -0.10386869, 0.14426531, -0.14975053, -0.005463496, 0.07058732, -0.028187437, 0.1480432, 0.06334134, -0.11467099, -0.023551162, -0.16923405, 0.0879496, 0.038746398, 0.119617105) * go_5(1.0, 1.0);
result += mat4(-0.066057675, -0.05716839, -0.12655802, -0.31106478, -0.05422454, -0.08211238, 0.10340335, 0.094708785, 0.17412704, -0.08796308, 0.032862302, -0.07645405, 0.18197642, 0.11359161, 0.057399232, -0.101643234) * go_6(-1.0, -1.0);
result += mat4(0.032984644, -0.151437, -0.15703787, -0.15147786, -0.06443887, -0.14499481, -0.07964961, -0.10063501, -0.06489532, -0.033841714, 0.13743237, 0.07402381, -0.10539726, 0.04741985, -0.06813811, -0.08186571) * go_6(-1.0, 0.0);
result += mat4(0.04169854, 0.10285583, 0.20537099, 0.4232497, -0.0102178855, -0.07464401, 0.064116195, 0.06713617, -0.10848632, 0.07029541, 0.061891586, 0.09450866, -0.14710844, 0.10902902, 0.078601316, 0.24068502) * go_6(-1.0, 1.0);
result += mat4(-0.17666584, 0.06827289, 0.1803935, -0.21800393, -0.10945116, -0.05033793, 0.043604486, -0.10778255, -0.13906737, -0.1066709, 0.07845706, 0.17276351, -0.31800953, 0.15222964, -0.05974643, 0.24923734) * go_6(0.0, -1.0);
result += mat4(0.09485684, 0.07775303, -0.26359668, -0.26235437, -0.014160949, 0.09610528, 0.032751855, 0.009587253, -0.033312347, -0.054030016, 0.100942805, -0.2810844, -0.31456363, 0.29743198, 0.35422295, 0.19903661) * go_6(0.0, 0.0);
result += mat4(-0.15256523, 0.052043784, -0.114385866, 0.26754585, 0.14714424, -0.044223707, 0.18718323, 0.16299742, 0.009067459, -0.09861915, 0.058909696, 0.053495083, -0.026219709, -0.0371573, 0.12850215, 0.085496284) * go_6(0.0, 1.0);
result += mat4(0.013324529, 0.22692935, -0.110274024, -0.04928268, 0.058278915, -0.003172765, 0.09637179, 0.0031671112, 0.1529764, 0.013240627, -0.047746982, 0.123970434, 0.08522273, 0.044676673, -0.031025682, 0.08779327) * go_6(1.0, -1.0);
result += mat4(0.12727101, 0.08387524, 0.12543088, -0.18653108, 0.11925347, -0.077335745, -0.19534324, -0.036191355, -0.03850302, 0.0028999215, 0.09276233, 0.0901103, 0.015147803, -0.12371782, 0.26163867, 0.2604429) * go_6(1.0, 0.0);
result += mat4(-0.2130723, 0.019236565, -0.15499762, 0.06025093, 0.042726953, 0.0875672, 0.024576176, 0.09540413, 0.21235454, -0.09488397, 0.019722011, 0.1176617, -0.09731747, -0.027660578, -0.1065942, -0.005856232) * go_6(1.0, 1.0);
result += mat4(0.11156219, 0.09702357, -0.035195213, 0.08480061, 0.025406074, -0.13845637, 0.19578338, -0.02658565, 0.094306186, 0.025026903, -0.054557443, -0.02111127, -0.026145646, 0.11951934, -0.023019921, 0.006862455) * go_7(-1.0, -1.0);
result += mat4(-0.017856622, 0.0715022, 0.089152284, 0.23237874, 0.062624305, 0.17638148, 0.10636494, -0.05033142, -0.055300098, 0.13743642, 0.09478692, -0.25387746, -0.04399249, 0.089958854, -0.13650721, 0.11658587) * go_7(-1.0, 0.0);
result += mat4(-0.011758824, 0.08557066, 0.044390026, 0.0022194844, 0.014199994, 0.045136537, -0.095475696, 0.010693854, 0.052194178, -0.032430097, -0.11542995, -0.038783815, -0.13697112, -0.0808607, 0.0048690503, 0.02350201) * go_7(-1.0, 1.0);
result += mat4(0.26391774, -0.06323651, 0.015183379, 0.07485423, -0.017147731, 0.1381914, 0.037845995, -0.104021296, -0.1099861, -0.01835351, -0.15305562, 0.049315173, 0.098395124, -0.04365968, -0.0077367523, -0.059888527) * go_7(0.0, -1.0);
result += mat4(-0.058792043, 0.11672284, -0.06516679, 0.2531902, -0.054773577, 0.051864814, -0.13140003, 0.08435319, 0.017941497, -0.0008525759, 0.02973079, 0.027343648, -0.19903877, -0.11735335, 0.025595637, 0.1632998) * go_7(0.0, 0.0);
result += mat4(0.22285266, 0.06903356, 0.23277758, -0.022075538, -0.066381, 0.087023556, 0.04032252, -0.124985844, -0.09607507, -0.118496284, -0.16543318, -0.005035066, -0.06618295, -0.117022425, 0.06941833, -0.033855513) * go_7(0.0, 1.0);
result += mat4(-0.05111795, -0.046070304, 0.047060743, 0.09478824, 0.025756294, 0.059333634, 0.04922012, 0.094563365, -0.06372419, -0.024169741, -0.12049204, -0.1545189, -0.08127697, 0.01430538, 0.1596365, 0.14503178) * go_7(1.0, -1.0);
result += mat4(0.009547742, -0.0052827215, 0.07463234, 0.09285053, -0.19082169, 0.07953675, 0.07934419, 0.106866054, 0.13285162, 0.033329457, 0.05625213, -0.0009985549, -0.06783011, -0.07779119, 0.036950454, -0.1311533) * go_7(1.0, 0.0);
result += mat4(0.12313845, 0.09518573, -0.005228664, 0.18021671, -0.0023382735, -0.022417013, 0.14969905, -0.0799508, -0.117919005, -0.043378588, -0.13032569, -0.16071445, -0.09841616, 0.010907256, 0.168342, -0.047372725) * go_7(1.0, 1.0);
result += vec4(0.02878389, 0.011853628, 0.04421832, -0.014076957);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_12_tf
//!BIND conv2d_12_tf1
//!BIND conv2d_12_tf2
//!BIND conv2d_12_tf3
//!SAVE conv2d_13_tf
//!WIDTH conv2d_12_tf.w
//!HEIGHT conv2d_12_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_12_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_12_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_12_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_12_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_12_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_12_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_12_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_12_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.009639149, -0.0038982404, -0.000950235, -0.042617463, -0.18144657, -0.041786347, 0.09120882, 0.0038534713, 0.008700073, -0.08467945, 0.08520402, 0.077761576, -0.039405044, 0.12381529, 0.03898792, 0.04511578) * go_0(-1.0, -1.0);
result += mat4(0.0014207684, 0.07446709, 0.16319937, -0.07770856, -0.09554286, 0.10978643, -0.049450707, 0.064207695, -0.12975316, -0.011036553, 0.087152034, -0.035981875, 0.21567516, -0.013519614, 0.12568897, 0.05585702) * go_0(-1.0, 0.0);
result += mat4(0.2250859, -0.07630085, 0.085674696, 0.08418434, -0.027402846, -0.028869295, -0.074562736, -0.045597237, 0.010643633, -0.12091428, 0.034802727, 0.016727531, 0.06755005, 0.019975858, 0.19802167, -0.09351427) * go_0(-1.0, 1.0);
result += mat4(-0.03201277, 0.050427675, 0.09706081, -0.089708805, 0.046288054, 0.047746085, -0.020521134, -0.016593749, -0.016695522, 0.00024074932, -0.10998622, 0.010020027, 0.026319914, -0.13093436, 0.09340489, -0.011133997) * go_0(0.0, -1.0);
result += mat4(0.06594458, 0.108969614, -0.3391531, 0.15241535, -0.03524658, -0.12494807, 0.07165373, 0.15068692, -0.12112645, 0.035398778, -0.18387815, 0.03840943, 0.10092417, 0.09231077, 0.11415836, -0.09056854) * go_0(0.0, 0.0);
result += mat4(-0.10499352, -0.12734324, -0.15330572, 0.18510772, 0.0120012155, -0.08454591, -0.043570805, 0.08853887, 0.004295982, 0.065011546, 0.064469345, -0.023783352, -0.043566104, 0.027954584, 0.08104736, -0.032231607) * go_0(0.0, 1.0);
result += mat4(0.10343434, 0.032162443, 0.08311337, -0.060843915, 0.04154088, -0.04438331, 0.042682778, -0.12004948, -0.06710734, -0.06452065, 0.031105455, -0.00583183, 0.009057851, -0.049873523, 0.11332005, 0.03758812) * go_0(1.0, -1.0);
result += mat4(0.08962952, -0.056837637, -0.028504362, -0.058604047, -0.09876495, -0.19140477, -0.05717117, -0.2970397, 0.032477252, -0.0597137, -0.02873599, 0.053601198, -0.0019746928, 0.073336996, 0.016864251, 0.10919654) * go_0(1.0, 0.0);
result += mat4(0.18142548, 0.10124668, 0.00368281, -0.23038292, 0.07240071, -0.15039761, -0.010341523, -0.11067377, -0.047206733, -0.031967275, -0.02992342, -0.12399463, 0.014134053, -0.027491156, 0.1586509, -0.011076121) * go_0(1.0, 1.0);
result += mat4(-0.10831383, 0.03130954, 0.11106777, -0.14316523, -0.15185675, -0.091914624, 0.04525621, -0.09765117, 0.0018873657, 0.1467699, -0.15126435, -0.08295151, 0.053585067, 0.03242634, -0.12851547, -0.014847684) * go_1(-1.0, -1.0);
result += mat4(-0.04666656, -0.11540183, -0.0040082233, 0.032173898, -0.006088054, -0.055952623, -0.006328234, -0.020379877, 0.09165287, 0.040902767, -0.1251588, 0.12423666, -0.14924148, 0.12587278, -0.14483361, 0.07241668) * go_1(-1.0, 0.0);
result += mat4(-0.08733716, -0.0038874142, 0.03347875, 0.020994259, -0.1411847, 0.04610875, 0.17974979, 0.07831092, 0.042416275, -0.017010015, -0.043574873, 0.01362277, 0.0150662195, -0.060527198, 0.013415603, 0.09190049) * go_1(-1.0, 1.0);
result += mat4(-0.047956496, -0.21187243, 0.10645179, -0.029983195, -0.05739006, 0.04807922, -0.023896229, 0.20409703, 0.07719372, -0.13761039, 0.043128423, 0.16602203, 0.1391456, 0.14163828, -0.11660084, 0.1721344) * go_1(0.0, -1.0);
result += mat4(-0.08192942, 0.12966244, 0.08534996, 0.004243316, -0.14284796, -0.05193116, -0.115842864, 0.20631583, 0.0077530663, -0.08806305, 0.010341862, 0.093308315, 0.016404482, 0.17783935, -0.012804549, 0.055335052) * go_1(0.0, 0.0);
result += mat4(-0.0864709, 0.14595704, 0.122848816, 0.041808892, -0.011105475, -0.15309574, -0.038991075, -0.018167017, -0.0737871, 0.08204525, 0.12244646, -0.018635223, 0.14988273, 0.080346294, 0.14383334, 0.09073764) * go_1(0.0, 1.0);
result += mat4(-0.10824354, -0.14525421, 0.10709654, 0.057008598, -0.0274041, 0.060830723, -0.019880934, 0.059121948, 0.13224299, -0.0986574, 0.041039772, 0.031663973, 0.10696096, 0.07072492, -0.056812435, -0.03713634) * go_1(1.0, -1.0);
result += mat4(-0.1286229, 0.038206976, 0.2866795, 0.32729703, -0.001265015, -0.050362974, 0.054691862, -0.019820811, 0.015161029, 0.012408566, 0.019214492, -0.043584425, 0.1747071, -0.1806168, 0.0026230705, 0.17746288) * go_1(1.0, 0.0);
result += mat4(-0.14500563, 0.07194882, 0.3341538, 0.29419795, 0.018053567, -0.013366127, 0.13004167, -0.12123059, -0.062439676, -0.06531261, -0.032591254, 0.098543815, 0.15538938, -0.02330424, -0.051805083, 0.14865872) * go_1(1.0, 1.0);
result += mat4(0.022300392, 0.074889585, 0.07658969, 0.04842954, -0.10574494, -0.06770181, -0.0766897, -0.07461142, 0.09686923, 0.00633828, -0.06368929, 0.036549773, 0.023586588, -0.028077459, 0.1585986, 0.011422953) * go_2(-1.0, -1.0);
result += mat4(0.03940578, -0.0339597, 0.10257943, -0.12667413, -0.02898388, 0.07838695, -0.19138049, 0.0014735579, 0.22062407, 0.061582483, -0.13024235, 0.12023966, -0.06983561, -0.011443659, -0.09145462, 0.021667738) * go_2(-1.0, 0.0);
result += mat4(-0.12349507, 0.059815507, -0.046543095, 0.030673595, 0.04561801, 0.14247265, -0.105132155, -0.021296836, -0.021644723, 0.2025441, -0.012284828, 0.047515646, -0.09826343, 0.075690396, 0.13212551, -0.023619266) * go_2(-1.0, 1.0);
result += mat4(-0.14024511, 0.06597363, -0.0336176, 0.036653478, 0.060431093, -0.10295052, 0.085898645, -0.0044551087, 0.079314135, 0.08170928, -0.18242195, 0.029556789, -0.09011537, -0.09237228, -0.026066486, 0.006826721) * go_2(0.0, -1.0);
result += mat4(-0.14503199, 0.03387515, -0.053300664, 0.064943515, -0.020676823, 0.0074872165, -0.018416155, 0.012171563, 0.14327627, -0.13214412, -0.02946512, 0.07235393, -0.10908717, -0.012565086, 0.035278827, 0.17581236) * go_2(0.0, 0.0);
result += mat4(0.00934611, -0.11156072, 0.13832138, 0.15502927, 0.0020792482, 0.02049791, 0.04461106, -0.18925, 0.22086848, -0.06498976, 0.19501008, 0.124619834, 0.15347329, -0.0077355206, 0.0038152216, 0.07109297) * go_2(0.0, 1.0);
result += mat4(-0.041063566, -0.03631559, 0.087020025, -0.12633711, -0.043662015, 0.13777676, -0.100011535, 0.09353299, 0.026900792, 0.026761487, -0.020541789, 0.1791581, -0.09209707, 0.082125105, -0.08652077, 0.07599723) * go_2(1.0, -1.0);
result += mat4(-0.05044385, 0.0059138206, 0.004846873, -0.055986855, 0.035403732, 0.12932262, -0.10948213, 0.059482235, -0.0783685, 0.18257779, -0.014302566, -0.03769118, -0.093388505, -0.029699821, -0.06636151, -0.08418176) * go_2(1.0, 0.0);
result += mat4(-0.04013502, 0.0967123, 0.033448823, 0.093523204, 0.11187449, 0.019631773, -0.105332315, 0.16213791, -0.029868113, -0.1064927, 0.19695841, 0.13877009, -0.047273844, -0.01044426, -0.08446086, -0.0458913) * go_2(1.0, 1.0);
result += mat4(-0.0741451, 0.042197462, -0.08023183, 0.09765462, 0.054821562, 0.08290217, -0.023233455, -0.14262572, -0.15324473, -0.014632389, -0.06739699, 0.15956666, 0.034347642, 0.054041438, -0.07310525, 0.0035158119) * go_3(-1.0, -1.0);
result += mat4(0.08562873, 0.0022956019, 0.011018242, 0.027326696, 0.09330304, -0.039874583, 0.024133299, -0.08445561, 0.019993046, -0.063240565, -0.054243866, 0.124074, -0.074563324, -0.1390738, 0.0820039, -0.23211582) * go_3(-1.0, 0.0);
result += mat4(0.078051165, -0.12620433, -0.03478548, 0.09409214, 0.1526626, -0.041634113, 0.2237483, -0.15523861, 0.07555192, 0.034417253, -0.12693669, 0.018821344, -0.036353048, -0.013764508, 0.100658715, -0.020644104) * go_3(-1.0, 1.0);
result += mat4(0.011323663, 0.07608287, 0.00851126, 0.09341987, -0.029945532, 0.10300047, 0.0074313437, -0.19487564, 0.0011054972, -0.15525223, 0.21401389, -0.10354629, -0.04318926, 0.12821019, 0.032365642, 0.032030214) * go_3(0.0, -1.0);
result += mat4(0.007591815, 0.012629317, -0.19445145, -0.08644862, -0.030899128, -0.010336647, 0.06901035, 0.053609345, -0.13558851, 0.055843044, -0.19542934, 0.27220258, -0.10258334, 0.08873226, 0.100590244, -0.13569663) * go_3(0.0, 0.0);
result += mat4(0.047885086, 0.01407929, -0.05241635, -0.07852867, 0.034674972, 0.10237697, -0.080549136, -0.15041627, -0.025430735, 0.0479369, 0.037376665, 0.025655257, -0.0355407, 0.050879892, -0.07782001, -0.032121796) * go_3(0.0, 1.0);
result += mat4(0.18598914, 0.17488232, 0.04308569, -0.113249674, 0.18825708, -0.025347264, -0.03777555, 0.055674437, -0.050593246, -0.07975001, 0.06947618, 0.007018156, -0.014732591, -0.079240546, 0.10789699, -0.19743954) * go_3(1.0, -1.0);
result += mat4(-0.038231947, 0.016942957, 0.028590739, -0.090752594, 0.038188618, 0.021015111, 0.016965266, -0.03435059, -0.01212547, 0.015248877, 0.11611426, 0.123496845, -0.04629721, 0.06697021, -0.19438337, 0.05686309) * go_3(1.0, 0.0);
result += mat4(-0.05551822, -0.008124752, 0.05373102, 0.08483395, -0.0006295456, -0.102434106, -0.059557695, 0.0052035716, -0.008159529, -0.12018468, -0.019952172, -0.08871863, 0.024393221, 0.012160636, 0.00085074763, -0.031381) * go_3(1.0, 1.0);
result += mat4(0.052483644, -0.10067336, 0.007827775, 0.04217924, 0.05370174, 0.053045593, -0.021322401, -0.057574254, -0.15052581, -0.054354582, 0.010731893, -0.084049575, 0.08664663, 0.008586996, -0.067191415, -0.013433542) * go_4(-1.0, -1.0);
result += mat4(-0.07656686, -0.026798321, -0.0035791546, 0.1813216, 0.12657459, -0.08586928, -0.14434212, 0.100000456, -0.17489576, -0.059281647, -0.16410424, 0.07507215, -0.17735171, -0.15760069, -0.029753244, 0.06384127) * go_4(-1.0, 0.0);
result += mat4(-0.0826688, 0.09742932, 0.034533966, -0.0460573, -0.11716473, 0.03802808, 0.12547252, 0.08928232, -0.14233275, -0.012195422, -0.02531116, 0.043976627, -0.06876278, -0.0810813, 0.18094346, -0.023339571) * go_4(-1.0, 1.0);
result += mat4(-0.005550866, -0.14349146, -0.12596409, -0.044651084, 0.087609954, -0.12565547, -0.22447549, 0.09360963, -0.02317106, -0.0005260532, 0.085363105, -0.09604336, 0.09518486, 0.018432705, -0.18793124, 0.07429292) * go_4(0.0, -1.0);
result += mat4(-0.104204915, -0.051323626, 0.06698747, 0.041701533, -0.15290372, 0.021271959, 0.091065526, -0.08150357, -0.018144151, -0.152379, 0.03481493, 0.07758276, 0.048658404, 0.018046448, 0.07488417, 0.224359) * go_4(0.0, 0.0);
result += mat4(0.089659564, -0.087014616, -0.04502746, -0.037926767, -0.10490111, 0.08001486, 0.1122022, -0.17835194, 0.04582323, 0.09560471, -0.20311408, -0.09920451, -0.07066689, 0.05220927, -0.005073715, -0.11543198) * go_4(0.0, 1.0);
result += mat4(-0.020940287, -0.08553711, 0.02721499, 0.06101611, 0.038569175, 0.03166766, -0.16536324, -0.040709663, -0.24566115, 0.03939649, 0.13328575, 0.103327386, -0.085061535, -0.23112987, 0.023643477, 0.053550832) * go_4(1.0, -1.0);
result += mat4(-0.07766694, -0.02958393, -0.10941775, -0.029797763, -0.09903559, 0.06466456, -0.0037769163, 0.12833694, -0.14952287, -0.09172456, -0.026234943, 0.09768058, -0.0046768547, 0.05787786, -0.020349951, -0.22735849) * go_4(1.0, 0.0);
result += mat4(0.103295185, 0.07010887, 0.06500701, -0.121797815, 0.06688264, 0.045738444, -0.006048553, 0.070973165, 0.038500775, -0.06096765, -0.02083498, -0.02247928, 0.079471394, 0.17344089, -0.03399603, -0.061526738) * go_4(1.0, 1.0);
result += mat4(-0.07608997, -0.07450355, -0.007454942, -0.028890591, 0.11185288, 0.003963864, -0.021245597, -0.02870811, 0.15497267, -0.1021612, -0.006275503, 0.059440117, -0.01191032, -0.015024686, -0.04264744, 0.03784974) * go_5(-1.0, -1.0);
result += mat4(-0.04255224, -0.041475482, 0.05568204, 0.050781105, -0.052326836, -0.00050962373, -0.070848726, -0.05095658, 0.09177018, -0.0071918922, 0.0076208673, -0.16307355, 0.26428407, 0.029546542, -0.038873114, 0.049068365) * go_5(-1.0, 0.0);
result += mat4(0.08395406, -0.09043276, -0.061525855, -0.05533077, -0.02462208, 0.10786481, -0.030796457, -0.094646156, 0.022507463, 0.13190217, 0.15948486, -0.07191217, 0.07654077, -0.016571704, -0.10635289, -0.12771434) * go_5(-1.0, 1.0);
result += mat4(0.20890597, 0.042703193, 0.11934406, -0.068621606, 0.19478202, -0.22793923, -0.08700698, -0.051709924, -0.12904456, -0.036816675, -0.13506871, -0.1441102, 0.18136409, -0.04663707, 0.023695884, 0.10738338) * go_5(0.0, -1.0);
result += mat4(-0.0077736047, -0.050436057, 0.052196283, 0.021431614, 0.09436767, -0.15021068, 0.012207774, -0.11543215, 0.03382365, 0.08989429, -0.1512068, 0.014381187, 0.15813205, -0.0106526185, 0.069779254, -0.047933288) * go_5(0.0, 0.0);
result += mat4(-0.040429626, -0.09228546, 0.067300335, -0.050324153, -0.12237185, -0.005077286, 0.10356324, 0.08864007, 0.14282528, 0.00388525, 0.041097626, -0.00031747436, -0.07723348, 0.053238407, 0.029446052, -0.08864969) * go_5(0.0, 1.0);
result += mat4(0.023686264, 0.08331933, -0.039449427, -0.014959959, 0.14075331, -0.015477129, -0.14249621, -0.03923339, -0.15062886, 0.09447539, -0.047904875, -0.048168503, 0.004206913, -0.047516745, -0.08620613, 0.11478539) * go_5(1.0, -1.0);
result += mat4(-0.15785892, 0.0016641589, 0.054308683, 0.078738764, 0.03644378, -0.043989647, -0.23225886, -0.028951952, 0.12305073, 0.034319617, 0.063887954, 0.30429685, -0.0674872, -0.014318411, -0.075369544, -0.10330481) * go_5(1.0, 0.0);
result += mat4(0.05397921, 0.00084955874, 0.045667082, -0.05417764, -0.021353342, 0.046038885, -0.058720488, -0.1322894, -0.03535338, -0.06338738, 0.03697614, 0.19055063, 0.10346999, 0.019249164, -0.063068286, 0.05991159) * go_5(1.0, 1.0);
result += mat4(-0.16993704, -0.121817954, -0.068771094, -0.093197905, 0.023346378, 0.04720914, -0.012925106, 0.052896366, 0.035280302, 0.08439714, 0.09756478, -0.0689576, 0.014461433, 0.36325473, 0.0059230574, 0.119897366) * go_6(-1.0, -1.0);
result += mat4(-0.061328445, -0.084383406, 0.140687, -0.052830886, -0.19621404, 0.049339704, 0.097477786, 0.040443562, 0.02491262, 0.08539904, 0.0037707782, -0.10327091, -0.18353617, 0.12956996, 0.07299752, 0.03221227) * go_6(-1.0, 0.0);
result += mat4(0.099849336, -0.0030822768, 0.09948366, -0.09262815, 0.005154421, 0.017867574, 0.04436232, -0.11582937, 0.12381722, 0.008043948, 0.018097827, -0.01493066, 0.19907461, 0.07169137, -0.10570496, -0.023753323) * go_6(-1.0, 1.0);
result += mat4(-0.13449772, -0.08731747, 0.007594631, 0.047381114, -0.08820047, 0.03528644, 0.018318443, 0.10107897, -0.06938975, -0.046471428, -0.020976078, 0.03441364, 0.040995363, 0.076138265, 0.17306629, -0.15272485) * go_6(0.0, -1.0);
result += mat4(-0.040097646, -0.19255275, 0.11918789, -0.10042692, 0.066699795, -0.21395916, -0.19686851, -0.03610402, -0.15390179, 0.095026605, 0.10847023, 0.09153435, 0.092816375, 0.39089674, -0.07198312, -0.07213701) * go_6(0.0, 0.0);
result += mat4(0.18701003, 0.20726307, -0.06296938, 0.046546813, 0.10833181, -0.010530105, 0.10806227, 0.025746476, 0.007955516, 0.035664618, -0.10563672, 0.07682432, 0.06649218, -0.048704594, 0.029186353, 0.17028451) * go_6(0.0, 1.0);
result += mat4(-0.016500747, -0.05593024, -0.040827576, 0.043642387, -0.017343521, -0.014898818, 0.012727514, -0.061562564, -0.004637191, -0.03331617, 0.020227065, -0.03502501, 0.023354309, -0.2833901, 0.24159743, 0.15924545) * go_6(1.0, -1.0);
result += mat4(0.045860395, -0.085586816, 0.14444515, -0.14926824, 0.036471445, -0.08628815, -0.040382892, -0.09526737, 0.02248159, 0.08855503, 0.04053488, -0.0646117, -0.08404396, -0.018245775, 0.14743677, -0.08093212) * go_6(1.0, 0.0);
result += mat4(0.19665717, -0.063776046, -0.07914273, -0.101823136, 0.074716374, -0.0081710825, -0.072673425, -0.023794344, -0.045717727, -0.0072561842, 0.00880925, 0.10889137, 0.28553, 0.041376498, 0.10031953, -0.053196393) * go_6(1.0, 1.0);
result += mat4(0.058159113, -0.016123742, -0.040074885, -0.038218047, 0.002453882, -0.04483796, 0.0026933532, -0.018928505, 0.090848856, -0.052964754, 0.103885755, 0.08822124, -0.007740776, -0.008643374, 0.04387468, -0.0057572736) * go_7(-1.0, -1.0);
result += mat4(-0.0084681, 0.05910616, -0.001957422, -0.09665248, 0.012324636, 0.102279514, 0.06271529, -0.00034822398, 0.12200529, 0.1406025, 0.11727222, -0.0012732374, 0.039069153, -0.116325095, -0.061304893, 0.08860798) * go_7(-1.0, 0.0);
result += mat4(-0.010817937, 0.05053197, 0.07127862, 0.071622476, -0.08677775, -0.07592008, -0.083137125, 0.07795782, -0.09153038, -0.051893257, -0.01434632, -0.006406496, -0.07038631, 0.011519815, 0.003298223, -0.018880721) * go_7(-1.0, 1.0);
result += mat4(0.108540215, -0.11548324, -0.025263477, -0.09077007, -0.12751491, -0.045055117, -0.07248591, 0.017866008, 0.03721452, 0.022656098, 0.101389855, 0.17055717, -0.058076404, -0.040419124, -0.11432533, -0.037566364) * go_7(0.0, -1.0);
result += mat4(0.09876384, 0.12987193, 0.12171421, 0.014026945, 0.10515426, 0.028641013, -0.031601854, 0.030440113, 0.049359053, -0.08800547, 0.0854042, 0.018510768, 0.14893699, 0.05856994, 0.049679566, -0.1422863) * go_7(0.0, 0.0);
result += mat4(-0.024617737, -0.048034295, 0.041004565, 0.16694058, -0.087675445, -0.13464865, 0.020481937, 0.13655907, 0.023696382, 0.057758246, 0.08800533, -0.07602074, 0.038965706, -0.010369045, -0.048242304, -0.037163552) * go_7(0.0, 1.0);
result += mat4(-0.055520747, -0.050512962, -0.0811104, 0.12796733, 0.03975134, 0.008006016, 0.051304568, -0.028837964, 0.040738724, -0.041288063, 0.096619, 0.0035735967, 0.0017250563, 0.16457585, -0.06661859, 0.003944026) * go_7(1.0, -1.0);
result += mat4(-0.020751026, -0.027768351, 0.1756595, 0.07444893, 0.059397127, 0.15285788, 0.078808025, -0.059350044, -0.019066172, 0.013111508, 0.04378732, -0.12025232, 0.030088948, 0.07998034, 0.06673197, 0.21354596) * go_7(1.0, 0.0);
result += mat4(-0.13661024, -0.017206049, 0.001673235, -0.053352535, -0.09720139, -0.010726428, -0.06063081, -0.012507998, 0.0019330509, 0.030889131, 0.0007580833, 0.11350111, -0.033315495, -0.097962864, -0.056640666, 0.06880053) * go_7(1.0, 1.0);
result += vec4(-0.050349966, 0.007465336, 0.0047519095, 0.03447193);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x80
//!HOOK MAIN
//!BIND conv2d_12_tf
//!BIND conv2d_12_tf1
//!BIND conv2d_12_tf2
//!BIND conv2d_12_tf3
//!BIND conv2d_14_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!SAVE conv2d_15_tf
//!WIDTH conv2d_12_tf.w
//!HEIGHT conv2d_12_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
#define g_1 (max((conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
#define g_2 (max((conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
#define g_3 (max((conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
#define g_8 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.113152556, -0.17597556, -0.20193578, -0.16201825, -0.08261954, -0.09107908, 0.044691782, 0.096718885, -0.092856266, -0.32485804, 0.15855914, 0.107594654, -0.049829155, -0.39206952, -0.17158785, -0.23730572) * g_0;
result += mat4(-0.071358085, 0.05543187, 0.22816211, -0.15256211, 0.001002783, -0.097697146, 0.1485318, 0.3147081, -0.015470234, 0.1159168, -0.087412134, 0.025953531, 0.10858151, 0.04679302, 0.0035066542, 0.080319606) * g_1;
result += mat4(-0.093644544, 0.15760094, 0.13644949, 0.15050913, 0.010754489, 0.21110971, 0.11982236, -0.027942248, 0.07777082, -0.05871466, 0.18935864, 0.26278642, -0.17607118, -0.24569197, -0.17914876, 0.011594047) * g_2;
result += mat4(0.07215027, 0.07955528, -0.1192735, -0.24221008, -0.16430855, 0.31650412, -0.23902535, -0.14772269, -0.18149576, 0.1425237, 0.19313167, -0.25584412, -0.116279155, -0.0810948, -0.06305671, 0.31891116) * g_3;
result += mat4(0.06337334, -0.0032687138, -0.035707716, -0.28104553, 0.12251401, 0.14867608, -0.28116974, -0.2499687, 0.16777486, 0.27506724, 0.1349104, 0.21004717, 0.2722905, -0.10366932, -0.089448065, 0.054238733) * g_4;
result += mat4(0.2623722, -0.06399301, 0.26491323, 0.09354902, -0.15800871, 0.11810623, 0.01566208, -0.026193254, -0.22059508, -0.09398052, -0.15558046, 0.1636607, -0.24724618, -0.025115723, -0.03819038, -0.089232855) * g_5;
result += mat4(-0.049244456, -0.2812487, -0.15883873, -0.1873005, -0.12443533, 0.26619563, 0.006807127, -0.18589701, -0.23903847, -0.04840708, -0.19155607, -0.3244167, 0.029380817, -0.073488645, 0.04205761, 0.12826183) * g_6;
result += mat4(0.060077637, 0.21867147, -0.08562434, 0.12142833, -0.103506744, 0.015023599, -0.012361518, 0.39705324, 0.20116816, -0.1352389, -0.08270523, 0.08666531, 0.03978398, 0.012456996, 0.16741525, -0.03339209) * g_7;
result += mat4(0.27487412, -0.2183994, -0.22064212, -0.18507382, 0.09653221, -0.31412682, -0.020428544, 0.15572692, -0.1708959, -0.09906218, -0.24475281, -0.07649422, -0.06725418, -0.1632794, -0.042570926, 0.15362686) * g_8;
result += mat4(0.25352266, 0.078569, -0.06491825, 0.0024975773, -0.2520004, -0.14971292, 0.2396663, -0.10596094, -0.16498, -0.1615543, 0.03212853, 0.022647707, 0.11449023, -0.12597407, -0.3845188, -0.6042289) * g_9;
result += mat4(-0.09472388, 0.09383272, -0.113919444, 0.06324396, -0.18574698, -0.017954197, 0.102970116, -0.036133416, -0.14566462, 0.106732786, -0.1981579, 0.08657682, 0.023193007, -0.26844215, -0.044777893, 0.1802785) * g_10;
result += mat4(0.11824268, 0.060186915, -0.09982153, 0.054944858, -0.06390667, -0.12343378, 0.06823325, -0.05481055, -0.160094, -0.041776497, -0.093563, -0.18349311, -0.014049265, 0.24608798, -0.022140604, -0.14207092) * g_11;
result += mat4(0.13720459, 0.07687791, -0.060669206, 0.11711911, -0.19655584, -0.008325822, 0.28701362, -0.03874219, -0.080647625, 0.08374782, 0.08991399, 0.1254085, -0.06939809, 0.10815167, -0.07602521, 0.003993563) * g_12;
result += mat4(0.050552983, 0.3398467, 0.21439157, 0.07090537, 0.003626732, -0.013387389, -0.16702957, -0.023790954, -0.22492494, -0.17196465, 0.020361913, 0.028113617, 0.08070967, 0.06335804, 0.1024209, -0.07302465) * g_13;
result += mat4(-0.06452998, -0.19448164, 0.068943985, 0.26658177, 0.03672322, -0.042712092, -0.14239077, 0.026480686, -0.0026813857, 0.07805945, 0.10659483, 0.25577578, 0.14431271, 0.26420194, -0.057292048, 0.14447866) * g_14;
result += mat4(0.17443675, -0.10127553, -0.08078197, -0.13357292, 0.080379255, -0.0743335, 0.15775783, 0.042903706, -0.2730787, 0.0143810455, -0.100053966, 0.04868161, -0.17388023, -0.27480134, 0.17716847, 0.09831684) * g_15;
result += mat4(-0.009394652, 0.05770814, 0.12612171, -0.07125733, 0.039110083, 0.18584593, 0.34637934, 0.1997804, -0.034237277, -0.2637098, -0.2565544, 0.18495636, 0.16258357, 0.051936973, -0.2022921, 0.025638767) * g_16;
result += mat4(0.0264838, 0.34137276, 0.05243436, 0.0092191165, -0.22356755, -0.06718224, -0.07905385, -0.10482739, 0.26888105, -0.0944922, 0.11656137, -0.025189193, -0.21240412, -0.0740068, 0.3606278, 0.117385626) * g_17;
result += mat4(0.24394973, -0.33353502, -0.20044908, -0.047943193, 0.26528633, 0.18467769, -0.118773505, 0.19762191, 0.008643024, 0.27267835, 0.110893816, -0.097346835, 0.35045865, 0.27740118, 0.12889476, -0.013060394) * g_18;
result += mat4(-0.0465528, 0.05087261, -0.12176598, -0.26143193, -0.012329495, 0.12112426, -0.25950795, -0.06628347, -0.18653181, -0.003041955, -0.093980595, 0.10332955, -0.29503638, -0.011706522, -0.37699062, 0.18755646) * g_19;
result += vec4(-0.015548932, 0.0007181281, 0.032181147, 0.046147745);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x80
//!HOOK MAIN
//!BIND conv2d_12_tf
//!BIND conv2d_12_tf1
//!BIND conv2d_12_tf2
//!BIND conv2d_12_tf3
//!BIND conv2d_14_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!SAVE conv2d_15_tf1
//!WIDTH conv2d_12_tf.w
//!HEIGHT conv2d_12_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
#define g_1 (max((conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
#define g_2 (max((conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
#define g_3 (max((conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
#define g_8 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.06566936, 0.050075732, -0.28377536, -0.008723959, -0.15360966, 0.017306754, 0.14521429, -0.3126355, -0.07001781, 0.24416047, 0.23609962, 0.095428005, 0.051152043, 0.047046803, -0.11905595, 0.084599525) * g_0;
result += mat4(-0.054007493, -0.1917774, -0.12253726, -0.25697917, -0.13300818, -0.014515598, -0.06988327, 0.07294474, -0.17037617, -0.11330418, 0.15588778, -0.0024750067, 0.18527855, 0.16439237, 0.13763049, 0.14903007) * g_1;
result += mat4(-0.06097875, 0.017688967, 0.084205635, -0.20286436, 0.06378928, 0.051785655, -0.00819132, 0.2283147, -0.0010928598, 0.19555786, -0.057957973, -0.1283918, 0.0130625125, 0.24465637, -0.029474005, -0.08648904) * g_2;
result += mat4(0.2977628, -0.21103969, -0.046574663, 0.15004829, -0.22748028, -0.048065472, -0.25989944, 0.2236256, 0.07941025, -0.052161288, 0.04335678, -0.24627966, 0.07268186, -0.038388748, 0.035197932, 0.05556185) * g_3;
result += mat4(-0.12658507, -0.200711, 0.10936925, 0.21350707, -0.05308915, -0.08038389, -0.21488698, 0.12463842, -0.039825447, -0.061766982, -0.16644825, -0.13220729, 0.12675424, -0.3512296, -0.28100672, -0.002683097) * g_4;
result += mat4(0.16233717, 0.05970525, 0.028119681, -0.087842815, -0.06486345, -0.06930576, -0.15099292, -0.085598275, -0.11941735, -0.19621682, -0.19929451, -0.12694003, -0.23668842, -0.3260459, -0.1669464, 0.21992308) * g_5;
result += mat4(-0.15114589, 0.3370156, 0.11051971, 0.15529542, -0.1644359, 0.03944235, -0.04013774, -0.07215706, 0.20360462, 0.083222464, 0.12099312, 0.02515875, -0.087714344, 0.13805264, -0.14398378, -0.27612263) * g_6;
result += mat4(-0.07686366, 0.061692268, -0.017847976, -0.16373406, -0.06558452, 0.07674664, 0.11457862, -0.21175413, -0.21797107, -0.31008083, -0.016061796, 0.010659135, -0.0031505653, -0.06681698, -0.19412144, 0.16077086) * g_7;
result += mat4(0.043644525, -0.02776246, 0.14185701, -0.027494097, -0.06645238, -0.19521286, -0.3502527, -0.028178494, -0.032492533, -0.32320002, 0.15325007, -0.3127702, 0.12887025, 0.18266484, -0.08985129, -0.34389883) * g_8;
result += mat4(-0.05747523, -0.12848844, 0.19728723, -0.108118065, 0.056262556, 0.26523066, -0.17712027, 0.31646273, 0.058449365, 0.38118544, -0.08126795, 0.16811565, -0.024995815, -0.009981597, -0.047409683, 0.18652919) * g_9;
result += mat4(-0.001337023, -0.32653907, 0.24057804, 0.18893267, 0.044070523, 0.25686195, -0.0058101956, 0.19947663, 0.31318483, 0.12546687, -0.04676781, 0.1793074, -0.19815332, -0.017479869, 0.2998801, -0.011709262) * g_10;
result += mat4(0.021966469, 0.045877025, -0.22806744, 0.10764939, -0.13102953, -0.096345, 0.0801237, -0.21132103, -0.44632608, 0.02980375, -0.37176967, -0.2655013, 0.27665234, -0.29347885, 0.041475385, 0.024725065) * g_11;
result += mat4(-0.21308075, 0.041253224, -0.109849155, -0.20893334, 0.09030459, 0.19662417, -0.100110866, -0.20908715, -0.060150456, 0.30329007, 0.18626331, 0.14155315, 0.07804046, -0.0916941, 0.27937013, -0.1512788) * g_12;
result += mat4(0.13618731, -0.14704673, -0.071122654, 0.019604936, 0.1254093, -0.016677566, -0.087662145, -0.08561128, 0.16301125, 0.1387518, 0.10387402, 0.25537175, 0.07070756, -0.10887832, 0.028897746, 0.17835346) * g_13;
result += mat4(-0.08490608, 0.026569808, -0.3456361, 0.020109842, -0.18946368, -0.12816896, 0.04407577, 0.029665362, 0.003496549, -0.31034058, 0.023039173, -0.016018149, -0.20683154, 0.23216362, 0.32729226, -0.12827688) * g_14;
result += mat4(0.013153797, 0.027919725, 0.36677372, 0.12828171, 0.3900067, 0.2961308, -0.16830838, -0.07397908, 0.1868292, 0.09739989, -0.10895602, -0.19859214, -0.1334346, -0.19208196, 0.28900802, -0.06582624) * g_15;
result += mat4(0.03638428, 0.035884462, -0.16868213, -0.038831823, -0.14761804, -0.08772457, 0.12720594, -0.045940604, 0.037369534, -0.02216757, 0.12334018, 0.08524158, -0.06456619, 0.017709045, 0.08379434, -0.2587099) * g_16;
result += mat4(-0.14868304, 0.255881, -0.17220873, 0.1882922, -0.11029569, 0.05895402, 0.2143255, 0.18148275, 0.020576546, -0.10496286, -0.19348511, -0.11536339, 0.14612065, 0.27825454, -0.073165655, -0.20478225) * g_17;
result += mat4(0.11683568, 0.05585525, -0.31354317, -0.060689308, -0.3203063, 0.116788305, -0.14543387, -0.02960584, 0.06610334, -0.11565926, -0.01838577, -0.33486378, 0.055412084, -0.2405772, -0.24344021, 0.23109037) * g_18;
result += mat4(0.36880726, 0.042794302, 0.38861996, 0.15946254, -0.15122825, 0.3142487, -0.17530881, -0.07510673, 0.0400742, 0.1710061, -0.21697284, 0.26265535, 0.17539124, -0.04652943, 0.14543319, -0.32873863) * g_19;
result += vec4(-0.003596251, -0.00022212608, -0.010425431, 0.014811408);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x80
//!HOOK MAIN
//!BIND conv2d_12_tf
//!BIND conv2d_12_tf1
//!BIND conv2d_12_tf2
//!BIND conv2d_12_tf3
//!BIND conv2d_14_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!SAVE conv2d_15_tf2
//!WIDTH conv2d_12_tf.w
//!HEIGHT conv2d_12_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
#define g_1 (max((conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
#define g_2 (max((conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
#define g_3 (max((conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
#define g_8 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.29968667, -0.2054413, -0.42633036, 0.06540815, 0.25410962, -0.064704284, 0.15351892, 0.15098672, -0.060556993, 0.15943852, -0.2327252, -0.15252773, -0.27296653, -0.023351386, 0.01709797, 0.17157109) * g_0;
result += mat4(0.21247834, 0.16731767, -0.23244476, 0.033929322, 0.12147452, 0.15835738, 0.20386045, 0.0099615855, 0.11954695, -0.0007262615, 0.25783026, 0.2163411, 0.2006933, -0.2897014, 0.22469328, -0.037531313) * g_1;
result += mat4(-0.075687766, -0.0587827, -0.26173526, 0.014225498, -0.069109224, 0.19879107, 0.26262647, 0.1933589, 0.17341125, -0.075728156, 0.32497543, -0.12600474, -0.07275422, 0.032364674, 0.26471478, 0.18148176) * g_2;
result += mat4(-0.19684902, -0.12419164, -0.15366356, 0.035451632, -0.1676133, 0.30628285, 0.013135715, 0.0828437, 0.24747711, 0.111026585, -0.3899608, 0.040306747, -0.14160432, 0.11833543, 0.07778105, 0.019718869) * g_3;
result += mat4(-0.22168091, 0.27330446, 0.25358558, -0.13290156, -0.035276677, 0.0024858087, -0.055826478, -0.2468239, -0.008866367, -0.05784767, -0.01706684, 0.07295643, 0.1302385, -0.08386059, -0.02501015, 0.07468001) * g_4;
result += mat4(0.042352963, 0.0657346, 0.13386852, 0.11897824, -0.12557411, -0.05947027, -0.16942193, -0.250491, 0.05414618, 0.28099364, -0.023707846, -0.40636906, -0.028787367, -0.13474262, 0.16070609, 0.31273147) * g_5;
result += mat4(-0.13678479, 0.19962284, -0.26247823, -0.23762986, 0.06520537, -0.03368567, -0.16694795, -0.14713484, -0.01582234, -0.063183546, 0.24840857, 0.11376298, 0.0037960846, -0.16444042, 0.013803154, -0.030848777) * g_6;
result += mat4(-0.06552558, 0.01993205, 0.18481286, -0.12726143, -0.23085758, -0.20116006, 0.10603243, -0.10200674, -0.16622123, 0.107850745, -0.19173287, 0.060454354, -0.0027331826, 0.20100433, 0.11314092, -0.05037935) * g_7;
result += mat4(-0.14448921, 0.29943776, -0.020892464, 0.37468755, 0.122420244, 0.3393939, -0.15974823, -0.16213733, -0.21092644, -0.1603829, 0.197158, -0.008338081, 0.23865728, 0.03966763, 0.025320457, -0.1346732) * g_8;
result += mat4(0.37890595, -0.121016815, 0.0532523, -0.513218, 0.039289672, -0.15242423, 0.043490604, -0.19230618, -0.07929196, -0.09307486, -0.034099534, -0.19038978, -0.20650864, 0.12007891, -0.103319936, 0.090364404) * g_9;
result += mat4(-0.13087903, -0.26987913, -0.17999482, -0.08381556, 0.010039951, 0.0047134277, -0.11918671, -0.11301866, 0.2314213, 0.2650823, -0.039580453, -0.31289777, 0.07591129, -0.21344167, 0.031197479, 0.25037217) * g_10;
result += mat4(0.07539192, -0.11289182, -0.035013635, -0.0049591977, -0.062005084, -0.016576197, 0.033936746, -0.09773915, -0.393588, 0.045551285, 0.049009543, 0.040800996, -0.08324719, -0.14489968, 0.03073572, -0.2191878) * g_11;
result += mat4(0.19480848, 0.007287647, 0.10993567, -0.31089494, -0.23149367, -0.154109, -0.0038248543, -0.15359117, 0.051747542, 0.007752202, -0.12192655, 0.023507293, 0.017773356, -0.280811, 0.20664506, 0.020295167) * g_12;
result += mat4(0.15923792, -0.023258807, 0.09257097, 0.08763583, -0.0037047588, 0.32919067, 0.22631034, 0.14352241, -0.05482676, 0.19056046, 0.017488375, 8.430863e-05, -0.021616697, -0.038389638, -0.22182924, -0.21699542) * g_13;
result += mat4(0.010522319, -0.066425666, -0.12642634, 0.12129272, -0.022023065, -0.233132, 0.09775469, -0.027969204, -0.032578427, -0.20589033, 0.09356718, 0.08583383, 0.05210765, -0.07712435, 0.250104, 0.008439425) * g_14;
result += mat4(0.06802483, -0.13343696, -0.047004845, 0.16506574, -0.091166094, -0.16346036, -0.13110496, -0.28389332, 0.035855703, 0.12646672, -0.099049605, -0.0008063162, -0.009684357, 0.010770653, -0.009783527, 0.11862203) * g_15;
result += mat4(-0.010126488, -0.028762225, 0.18976927, -0.030415734, 0.12148659, 0.041320156, 0.0746818, 0.018062174, -0.30057785, -0.13369675, 0.122107536, 0.198235, -0.2140395, -0.024747701, -0.3379253, -0.21174349) * g_16;
result += mat4(-0.016392622, 0.02029067, 0.11583286, -0.1268402, -0.19290908, 0.09967843, -0.12862396, 0.08984122, -0.003903114, -0.08975317, -0.18257642, -0.2447739, -0.13734268, -0.06588839, -0.039996687, 0.086118914) * g_17;
result += mat4(0.15091965, 0.12736365, 0.13546066, 0.008318725, 0.028630871, -0.36270767, 0.24071144, -0.047721867, -0.0029238814, -0.299951, 0.16515507, 0.2045453, 0.23567834, -0.1644619, -0.18801829, 0.14953467) * g_18;
result += mat4(-0.14868434, 0.023688158, -0.11039743, -0.18117934, 0.16662696, -0.17234206, -0.14898847, 0.16994476, -0.04968569, 0.19829328, -0.051957127, 0.11434248, -0.18070386, -0.114997305, 0.6586136, 0.21840969) * g_19;
result += vec4(0.05267218, -0.01234981, -0.005742453, -0.0313311);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x80
//!HOOK MAIN
//!BIND conv2d_12_tf
//!BIND conv2d_12_tf1
//!BIND conv2d_12_tf2
//!BIND conv2d_12_tf3
//!BIND conv2d_14_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!SAVE conv2d_15_tf3
//!WIDTH conv2d_12_tf.w
//!HEIGHT conv2d_12_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
#define g_1 (max((conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
#define g_2 (max((conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
#define g_3 (max((conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_12_tf_tex(conv2d_12_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_12_tf3_tex(conv2d_12_tf3_pos)), 0.0))
#define g_8 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.024876181, 0.049410935, 0.18863276, -0.21360011, 0.120626085, -0.041039187, -0.025031038, 0.15861072, 0.031020435, 0.047245055, -0.013810417, -0.13509113, 0.039912585, 0.0030006578, -0.20477976, -0.006812967) * g_0;
result += mat4(0.20956035, 0.06598898, 0.39945224, 0.0020346004, 0.03396126, -0.055860132, 0.24823242, 0.07525624, -0.21111757, -0.01021541, -0.024861235, 0.13525884, -0.11488383, 0.17399031, -0.10318724, -0.0632262) * g_1;
result += mat4(-0.06352241, -0.05806122, 0.11548247, -0.09170009, 0.40792373, 0.10823234, 0.25872982, -0.14128555, 0.15681162, 0.087651595, 0.20255132, 0.1707228, 0.061114226, -0.20349206, 0.28370798, 0.29029718) * g_2;
result += mat4(0.18111548, 0.055765428, -0.33313075, 0.0006103676, 0.2546437, 0.14968075, 0.010974743, -0.023569109, 0.08389516, 0.11510806, -0.09821152, 0.016062623, -0.044881605, -0.023495123, 0.036569294, -0.09006456) * g_3;
result += mat4(-0.0032415257, -0.028372264, -0.071512826, -0.19787377, 0.06515368, -0.0302441, 0.18496229, -0.19373836, -0.06467672, 0.06881524, 0.08946629, 0.032331206, 0.28018954, -0.03519139, 0.12457947, -0.10447036) * g_4;
result += mat4(-0.26683676, -0.035779674, -0.33102936, -0.16464533, -0.03501263, 0.13808376, 0.14350422, 0.22299303, -0.17892793, 0.5684519, -0.22766575, -0.05168531, 0.12079673, -0.028563501, -0.008283765, -0.057736557) * g_5;
result += mat4(0.26274854, 0.06040585, 0.08909, 0.3820274, -0.12244029, -0.112672985, -0.38198316, 0.16422817, -0.012557389, -0.18269186, 0.00044065682, -0.09841192, 0.031287532, -0.3910334, -0.030273868, -0.08873974) * g_6;
result += mat4(-0.07051197, 0.06768202, 0.060395453, 0.021798966, 0.08901619, -0.22387257, 0.029923506, 0.2166611, 0.21220657, 0.029643808, -0.08909047, 0.16643848, 0.02217428, 0.10017023, 0.13721336, 0.009448813) * g_7;
result += mat4(-0.03333011, -0.33377162, 0.2840832, -0.075103775, -0.16588315, 0.24898893, 0.007910625, 0.35778743, -0.036830995, -0.15491192, -0.13378191, 0.02509361, -0.2987233, 0.016634934, -0.09080739, 0.057995312) * g_8;
result += mat4(0.024250133, 0.38453543, -0.012589143, -0.048741948, 0.04583434, 0.42664826, 0.35224134, -0.108690985, 0.034614064, -0.19162184, -0.09440296, 0.07740561, 0.3153523, -0.02028819, -0.0464603, -0.21693204) * g_9;
result += mat4(0.12554936, 0.28191876, 0.20692183, 0.02204118, -0.12202598, 0.15557781, -0.15807728, -0.22403438, -0.0050102826, -0.25063172, 0.19841024, -0.0935906, -0.016202275, 0.038872335, -0.032258067, 0.1769041) * g_10;
result += mat4(0.09860859, -0.12880474, -0.32096177, 0.18863943, -0.108892374, -0.040826876, -0.11872242, 0.014217295, -0.110700965, -0.14552751, -0.19022615, 0.23588236, -0.09166652, 0.06676425, -0.114403374, -0.032579597) * g_11;
result += mat4(-0.28780296, -0.026555603, 0.14381845, 0.18344115, -0.0932073, 0.13699014, -0.12567475, -0.120724775, 0.24272558, -0.12773077, -0.3670164, -0.037173547, 0.056873374, 0.03516149, 0.076903544, 0.21553768) * g_12;
result += mat4(-0.10597593, -0.040730987, 0.01580388, -0.14816804, 0.06471183, -0.23214011, 0.189348, -0.041128606, -0.23000284, -0.21311183, 0.24912965, 0.02485546, 0.14808623, 0.040830627, 0.043355484, -0.25108483) * g_13;
result += mat4(-0.11192612, -0.0769642, 0.26336476, -0.0879536, 0.10262009, 0.13074996, 0.20801952, -0.08162488, -0.08020716, -0.006562019, -0.029345717, 0.16304365, -0.15999863, -0.07409018, 0.025488326, -0.06557731) * g_14;
result += mat4(-0.0436646, 0.16603959, 0.10123139, 0.17289525, -0.17661704, 0.0985401, -0.062753186, -0.09045243, 0.19563136, 0.21048959, 0.119753934, 0.096117176, 0.043681554, 0.037470255, 0.012589698, 0.34186623) * g_15;
result += mat4(-0.111708984, 0.14836372, -0.1774937, -0.059907373, -0.12757868, 0.2671399, 0.0795556, -0.121689394, -0.14408125, -0.20676754, -0.32231417, -0.009280711, -0.3287384, -0.03544951, -0.0937731, -0.048848808) * g_16;
result += mat4(0.22088239, -0.07246235, -0.026009787, 0.01313955, 0.0537936, -0.19702353, -0.21666858, 0.14131804, 0.1057349, 0.10163044, 0.024502473, -0.21511002, 0.032470826, 0.040648606, 0.33920923, 0.2154231) * g_17;
result += mat4(-0.06127513, -0.33544734, 0.02393552, -0.0050719925, -0.1159799, 0.076991595, 0.05514996, 0.26366106, 0.020541657, -0.1467507, -0.014061093, 0.0154901175, 0.08579732, 0.06905036, -0.2559085, -0.2857713) * g_18;
result += mat4(0.18818028, 0.07449577, 0.28119013, 0.32452857, 0.14604072, -0.059530415, 0.06402294, 0.17558031, 0.04828705, 0.2532384, 0.082392104, 0.080385216, -0.16187488, -0.094814144, -0.0061105727, -0.21911964) * g_19;
result += vec4(-0.033699915, 0.023496272, 0.022923317, -0.04813553);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_15_tf
//!BIND conv2d_15_tf1
//!BIND conv2d_15_tf2
//!BIND conv2d_15_tf3
//!SAVE conv2d_17_tf
//!WIDTH conv2d_15_tf.w
//!HEIGHT conv2d_15_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_15_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_15_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_15_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_15_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_15_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_15_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_15_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_15_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.10141816, 0.14976878, 0.03195215, -0.039459493, 0.07342809, -0.13988629, -0.0063446215, -0.08049595, -0.04162974, -0.01193011, 0.0043608593, -0.16511472, -0.07410478, 0.08040536, 0.15624346, 0.16637307) * go_0(-1.0, -1.0);
result += mat4(0.04363024, 0.1558041, -0.051349774, -0.2017786, -0.14090109, 0.0077253273, 0.20365517, 0.11794583, 0.17618881, 0.1697445, -0.09291706, 0.020068632, 0.02007473, 0.2233203, 0.10414641, -0.029859295) * go_0(-1.0, 0.0);
result += mat4(-0.04228483, -0.2522017, -0.08950456, -0.07378427, 0.10902103, 0.0016241051, 0.022387296, -0.07227263, 0.17921664, -0.07670382, 0.107183404, 0.055107605, 0.008698778, -0.051294874, 0.042903744, 0.058951948) * go_0(-1.0, 1.0);
result += mat4(-0.1375484, -0.023858752, 0.049783953, -0.10186465, 0.07819816, -0.1402314, -0.014493593, 0.10538838, 0.0055485037, 0.0005635436, -0.095101885, 0.06633904, -0.11578867, 0.005958089, 0.17136146, 0.11700411) * go_0(0.0, -1.0);
result += mat4(0.13330704, -0.05399527, -0.059408378, -0.012242189, 0.048309475, 0.014368095, -0.12477356, 0.016511722, -0.06304495, -0.11824205, -0.084178604, -0.1071192, -0.10863286, -0.10858007, -0.16140759, -0.18176575) * go_0(0.0, 0.0);
result += mat4(0.07680403, -0.08245252, 0.055462312, 0.053744126, 0.067585744, 0.17620924, -0.06432487, -0.16865245, 0.26111647, -0.19865918, 0.12157986, -0.06446687, -0.15832807, -0.02337486, -0.16785344, 0.114276074) * go_0(0.0, 1.0);
result += mat4(-0.073085696, 0.026583878, -0.21170044, -0.041149564, 0.04610835, 0.21036178, 0.004559763, 0.023281705, 0.13178588, 0.012508884, -0.14963967, -0.14690685, -0.021903453, 0.07176222, 0.15243328, -0.10042701) * go_0(1.0, -1.0);
result += mat4(0.0664264, -0.16415414, -0.17569391, -0.06900063, -0.06844009, -0.08645253, -0.10603767, -0.00832005, -0.07373927, 0.15736815, 0.08295166, 0.1052753, -0.1397909, 0.097937405, 0.23047511, -0.11606347) * go_0(1.0, 0.0);
result += mat4(-0.15628648, -0.113366134, -0.06865726, 0.061113577, 0.08942056, -0.09596354, -0.08677791, -0.09045824, -0.056612067, 0.13108426, 0.012026924, 0.072144784, -0.04866906, -0.05377174, 0.17577443, -0.18520343) * go_0(1.0, 1.0);
result += mat4(0.06607407, -0.120200165, 0.03707084, 0.15172935, 0.2430265, -0.113085315, -0.011460811, 0.08904817, -0.022574378, 0.033570133, 0.044159263, -0.009697304, -0.02309598, -0.040957745, -0.21013923, -0.17041521) * go_1(-1.0, -1.0);
result += mat4(0.022768836, -0.07471788, 0.0032480883, -0.028676828, 0.07174294, 0.12089073, -0.09654299, 0.030429209, -0.1041162, -0.05869679, 0.21359834, -0.034161806, -0.02269268, 0.10165246, -0.13029668, 0.1188484) * go_1(-1.0, 0.0);
result += mat4(0.029641088, 0.060067747, 0.0075102164, -0.1309527, -0.0051006447, 0.24038218, 0.012248357, -0.03506548, 0.101247, -0.11584173, -0.084328905, -0.023940684, -0.02261787, -0.09003932, -0.079946354, 0.16499889) * go_1(-1.0, 1.0);
result += mat4(0.08340322, -0.084059194, 0.032852225, 0.06628357, -0.042182837, 0.13932712, 0.059110105, -0.18841559, 0.077167906, -0.11461596, 0.011843562, 0.079223566, 0.17172302, 0.09588103, -0.04519654, -0.105250426) * go_1(0.0, -1.0);
result += mat4(0.0072912937, -0.17274414, -0.14938009, -0.069200344, 0.0957791, -0.014477511, -0.052849926, 0.023967758, -0.0035198112, 0.028233815, 0.13004604, -0.024852267, -0.114071615, 0.019608831, 0.20646521, 0.097629465) * go_1(0.0, 0.0);
result += mat4(0.0028235735, -0.0030747976, -0.012810413, -0.119974546, 0.049126018, 0.06264352, -0.06849737, -0.11978027, 0.10988244, -0.015898775, 0.09746785, -0.006982965, 0.058684476, -0.034703217, 0.2606026, 0.0029088869) * go_1(0.0, 1.0);
result += mat4(0.12530242, 0.1369462, 0.09158591, -0.11397034, 0.018868709, 0.04104663, 0.04852858, -0.09407637, -0.01602279, -0.06524504, -0.03544078, -0.043030232, -0.08382277, 0.06879843, 0.05892557, 0.16079953) * go_1(1.0, -1.0);
result += mat4(0.051489368, -0.121827774, 0.07657864, -0.012008831, 0.22305761, 0.175661, -0.10651213, -0.0713164, -0.19909866, 0.008551008, -0.075291224, -0.13893497, 0.0064601367, -0.033508357, -0.05580783, 0.01087825) * go_1(1.0, 0.0);
result += mat4(0.0890387, -0.005465109, -0.03689836, 0.053952705, 0.016625151, -0.06267179, -0.10336324, -0.034135565, 0.020885276, -0.07612263, 0.11301436, -0.044119492, 0.06116916, -0.11245377, -0.13503706, -0.016538095) * go_1(1.0, 1.0);
result += mat4(0.27475291, 0.13184716, -0.0680776, -0.018830024, 0.029797517, -0.14674206, -0.13773149, 0.07596705, -0.12054772, -0.10542588, -0.078347825, -0.0711237, 0.033791598, 0.1366684, -0.008929289, -0.044218395) * go_2(-1.0, -1.0);
result += mat4(-0.10575078, -0.08208724, -0.12209491, 0.075179026, -0.108247526, 0.049645945, 0.17491071, 0.033732615, -0.24320623, -0.05394347, 0.059426192, 0.21437696, 0.13719973, -0.028119182, -0.109999254, -0.006878209) * go_2(-1.0, 0.0);
result += mat4(-0.16982876, 0.001536919, 0.04183064, -0.036760435, -0.022450875, -0.06082643, 0.12952876, 0.09636169, 0.059916295, 0.076769084, 0.033762798, 0.01730426, -0.04495645, -0.040148437, 0.004881271, 0.04875726) * go_2(-1.0, 1.0);
result += mat4(0.03642368, -0.43472657, 0.041129608, -0.17804651, -0.1057716, -0.051420793, 0.24544626, 0.13492435, 0.070110224, -0.058953024, -0.047583204, 0.107109495, 0.16330208, 0.10041534, 0.009722348, -0.041390747) * go_2(0.0, -1.0);
result += mat4(0.04072445, -0.30625793, 0.13379507, 0.20906621, 0.040475562, 0.09978542, 0.07838612, -0.061970588, -0.014157455, -0.08661651, 0.049639836, 0.092796445, 0.14035767, -0.07199328, 0.2702048, 0.13223602) * go_2(0.0, 0.0);
result += mat4(0.08312407, 0.026157904, 0.1338742, -0.1169418, 0.20012325, 0.2693674, 0.1465921, -0.02459555, -0.060668815, 0.026844399, -0.05361937, -0.082469605, -0.04559839, 0.13304235, 0.16309445, -0.121678405) * go_2(0.0, 1.0);
result += mat4(0.3037645, -0.047783196, 0.16506009, 0.08809878, -0.13823804, -0.015729615, 0.06759662, 0.017325116, 0.043904126, -0.017581047, 0.09673254, 0.094264686, -0.13746184, -0.12914835, -0.002408157, -0.013865908) * go_2(1.0, -1.0);
result += mat4(0.10031577, 0.11770728, -0.15092418, 0.09787308, 0.065984525, 0.24215704, 0.059678502, 0.15129778, -0.1041671, -0.1671323, -0.10720415, -0.03810631, -0.054461427, 0.11054692, -0.1274286, -0.07087494) * go_2(1.0, 0.0);
result += mat4(-0.12774822, 0.07534175, -0.15987013, 0.03355638, 0.014404904, -0.0988583, 0.028051285, -0.039134447, 0.05298065, -0.105260774, -0.023862204, -0.044772115, -0.055214968, 0.13535902, 0.06230091, -0.083698004) * go_2(1.0, 1.0);
result += mat4(0.0139728915, -0.048358914, -0.034966476, -0.009007154, 0.08131041, -0.08471946, 0.050465804, 0.04653661, -0.124946415, 0.14791906, 0.086607225, -0.15802874, -0.0032374691, 0.052836478, -0.04980938, -0.016416343) * go_3(-1.0, -1.0);
result += mat4(0.16441637, 0.060025495, -0.0066467216, 0.13411339, 0.030276867, -0.07048473, -0.028923895, 0.044106837, -0.14255995, 0.0277301, 0.111437134, -0.17750145, -0.09217831, -0.2319309, -0.025248565, -0.102717236) * go_3(-1.0, 0.0);
result += mat4(0.06973222, -0.035588417, -0.111446336, 0.13473494, -0.112381935, 0.053046275, -0.0671602, -0.052672945, 0.0119380765, -0.120062254, -0.077458374, -0.16899844, -0.06409111, -0.31383014, -0.1415216, -0.0095003825) * go_3(-1.0, 1.0);
result += mat4(0.18645856, -0.075802125, -0.076009706, -0.008515984, -0.118233606, -0.08088051, -0.048755296, 0.15596835, -0.14270495, 0.11329069, 0.12079284, -0.110061385, -0.20744714, 0.13587101, 0.080459, -0.03490168) * go_3(0.0, -1.0);
result += mat4(-0.05136024, 0.027372051, 0.068267904, -0.19892217, -0.06297041, -0.12936479, 0.047871254, -0.10061141, -0.20743029, -0.14944652, -0.048013274, -0.111466944, 0.071750574, -0.014199303, 0.22018474, 0.03526866) * go_3(0.0, 0.0);
result += mat4(-0.015961887, 0.34805354, -0.084889576, -0.04103895, 0.012770726, 0.15756465, -0.056900878, 0.0012191968, 0.023338098, -0.068657495, 0.10945492, 0.054981403, -0.22202769, -0.25471666, -0.094040915, 0.04642164) * go_3(0.0, 1.0);
result += mat4(-0.06906127, 0.054665376, 0.26725876, 0.16588517, 0.039062407, 0.030395871, -0.22915559, -0.07140849, -0.12185479, -0.19255042, 0.06323481, -0.13590309, 0.019942466, -0.019182289, -0.14168435, 0.10321306) * go_3(1.0, -1.0);
result += mat4(-0.21957119, -0.12511711, 0.28405094, -0.07832896, -0.009318511, 0.20928006, 0.07713814, -0.039801426, 0.07545705, 0.020907026, 0.027893608, 0.10876504, -0.29373664, -0.18898283, 0.015717847, -0.069892325) * go_3(1.0, 0.0);
result += mat4(-0.08305131, 0.106991254, 0.060219277, -0.034433957, 0.038117282, 0.050357938, 0.008414432, 0.041005578, -0.012356306, -0.030845974, 0.068301044, -0.018243417, -0.029335339, -0.25252038, 0.14035118, 0.06186665) * go_3(1.0, 1.0);
result += mat4(0.047154456, -0.07945457, -0.010143473, 0.14525153, 0.004434465, 0.13061778, 0.11142133, 0.11891932, 0.03673374, -0.0031975107, -0.07057913, -0.10060252, -0.018507725, -0.05440741, -0.041567538, 0.06602653) * go_4(-1.0, -1.0);
result += mat4(-0.053671002, -0.0062734983, 0.030443976, -0.02611883, -0.11054853, 0.07524956, -0.18110128, 0.085256346, 0.006264908, -0.19079378, 0.041253116, -0.03462252, 0.11103377, -0.11105306, 0.0022028198, 0.108352505) * go_4(-1.0, 0.0);
result += mat4(0.05842086, 0.07041998, -0.083942145, 0.062100563, 0.08270817, 0.044405486, -0.027223391, 0.19852112, 0.16944961, 0.13228446, 0.0068719517, -0.105019845, 0.12576698, -0.020317027, 0.08117506, -0.06097545) * go_4(-1.0, 1.0);
result += mat4(-0.011024374, -0.14779495, 0.20576821, 0.10269086, -0.069063395, -0.018516377, 0.17406136, -0.10562391, 0.014538016, -0.050628114, -0.29504398, -0.06448774, -0.043636657, 0.04359594, 0.021326946, 0.2251655) * go_4(0.0, -1.0);
result += mat4(-0.091270216, -0.17969126, 0.10563032, -0.04412368, -0.0032437663, 0.03424443, 0.16033265, -0.02958856, -0.19704275, 0.15207182, 0.054025695, 0.040374033, -0.0071690367, 0.041726355, 0.121862285, 0.045662563) * go_4(0.0, 0.0);
result += mat4(-0.12316079, 0.048827652, -0.053332523, -0.13136196, -0.07160488, 0.043115586, 0.08805954, 0.09753396, -0.036120344, 0.092870444, -0.0034468954, -0.19077231, -0.054664202, 0.20115146, 0.0016251119, -0.051902667) * go_4(0.0, 1.0);
result += mat4(-0.0315559, 0.03361163, -0.10469534, -0.0871928, 0.11241524, -0.03091901, 0.015451541, 0.004027563, 0.025825808, 0.06891256, -0.10293409, 0.1631189, -0.22473077, -0.044312675, 0.12753218, -0.02040456) * go_4(1.0, -1.0);
result += mat4(-0.007374305, -0.08562257, 0.05379794, 0.096869245, 0.097899415, -0.0030102937, 0.0076100267, 0.051482208, 0.004514031, -0.22291246, -0.2495633, -0.08240695, 0.036596466, 0.05963552, 0.12940569, -0.1415334) * go_4(1.0, 0.0);
result += mat4(-0.095979825, -0.05715345, -0.023848705, -0.06566416, 0.12034552, 0.14720978, 0.005992561, 0.100924246, -0.107772924, 0.07058055, -0.061445955, -0.018437093, -0.29193494, 0.10358182, 0.20117821, -0.14332218) * go_4(1.0, 1.0);
result += mat4(-0.12156258, 0.06907849, -0.046949413, -0.0714296, 0.018323392, 0.03803995, -0.2321375, -0.15585358, 0.29162106, -0.15450235, 0.01548735, -0.0012524665, 0.05624532, -0.08688869, -0.11437038, -0.11211981) * go_5(-1.0, -1.0);
result += mat4(-0.07032475, 0.14325896, 0.15342546, 0.09299106, -0.15903436, 0.04795819, -0.0380711, 0.06558145, 0.05663524, 0.10471699, 0.16202284, 0.22659935, 0.083957784, -0.18429661, -0.038526375, 0.1839184) * go_5(-1.0, 0.0);
result += mat4(-0.07748898, 0.05564984, 0.06250746, -0.07047388, 0.030230096, -0.07243236, 0.00052768853, 0.030641804, -0.21637511, -0.061787657, 0.23074016, 0.26485935, 0.036239654, -0.05382996, -0.039605018, 0.047457904) * go_5(-1.0, 1.0);
result += mat4(0.038591295, -0.0118487505, 0.040234715, -0.062315144, -0.03631829, 0.06990438, -0.041493274, -0.06670605, -0.025423469, 0.12878254, 0.13836798, 0.004582435, 0.19626965, -0.23641632, -0.080461845, 0.15305169) * go_5(0.0, -1.0);
result += mat4(0.04500124, 0.0041531166, -0.04867464, -0.020004667, 0.018133044, -0.02402259, -0.012567247, -0.055164766, 0.095157854, -0.16957271, -0.1773557, -0.0073297294, -0.016875492, -0.22265767, -0.18525612, 0.06058628) * go_5(0.0, 0.0);
result += mat4(0.048397746, -0.02788455, -0.00040129846, 0.24131092, 0.063177764, -0.101537034, 0.048137493, 0.088934034, -0.24852042, 0.047054883, -0.03160053, 0.042998843, -0.013301893, -0.110713534, 0.09375505, 0.0425776) * go_5(0.0, 1.0);
result += mat4(-0.14482269, -0.054757748, 0.13310885, -0.007347218, -0.18589966, -0.08201558, 0.12553383, 0.012745022, -0.041277397, -0.27254996, -0.052470755, 0.058272712, 0.12499827, -0.022242187, -0.0945158, -0.07560099) * go_5(1.0, -1.0);
result += mat4(0.13483234, 0.1061582, 0.19909498, -0.019715492, 0.067625776, -0.061768368, -0.07905436, 0.054142125, 0.01305098, 0.20080145, 0.068478644, 0.02703119, -0.062937714, -0.08034533, -0.043274418, -0.048142888) * go_5(1.0, 0.0);
result += mat4(0.092937544, 0.05118526, -0.05864547, 0.03750556, -0.058229998, 0.042656448, -0.08145865, 0.089373656, -0.015661148, 0.092575066, 0.052451044, 0.06404418, -0.16234049, 0.10882622, -0.14870071, -0.14796436) * go_5(1.0, 1.0);
result += mat4(0.080398865, 0.07038971, 0.09692282, 0.02861559, -0.0713776, 0.03789653, -0.12821087, -0.108117945, -0.18606333, 0.20648551, -0.009968705, -0.058358673, 0.038921814, -0.015748626, -0.13130306, 0.03157655) * go_6(-1.0, -1.0);
result += mat4(0.11004321, 0.12440213, 0.043692373, 0.105881914, 0.055679493, 0.0013664741, 0.15824854, 0.13856025, -0.1295074, 0.004022093, 0.033498365, -0.10273302, 0.08524401, 0.16063328, 0.08564703, 0.10373729) * go_6(-1.0, 0.0);
result += mat4(-0.014664466, -0.11535996, 0.06562263, 0.12310657, -0.012192171, 0.113815434, -0.025748147, -0.056379057, -0.06376049, -0.065414384, -0.0641455, -0.20318998, 0.06978728, -0.043363202, 0.15023038, -0.029428175) * go_6(-1.0, 1.0);
result += mat4(0.065250464, 0.081754886, 0.22338922, -0.024675546, 0.03792266, 0.048089582, -0.051933024, -0.11904402, 0.09984588, 0.06062117, -0.28772864, 0.013163268, 0.054647114, -0.049608726, -0.0002510924, -0.06022509) * go_6(0.0, -1.0);
result += mat4(0.03816607, 0.08511951, -0.024275059, -0.07368607, 0.057391707, 0.05121836, -0.034112077, -0.17826608, 0.15133052, 0.052271105, -0.16036001, 0.21736205, 0.065108694, -0.019315425, -0.12633246, 0.03905335) * go_6(0.0, 0.0);
result += mat4(0.07849344, 0.050402712, 0.10410282, -0.17477596, 0.09423114, 0.01998794, -0.15437658, -0.051446997, -0.117983155, -0.13454825, -0.2263363, 0.16925961, -0.014475626, 0.11754052, -0.0486922, 0.080298886) * go_6(0.0, 1.0);
result += mat4(0.06447236, -0.08227287, 0.047538612, -0.025023978, 0.0327808, 0.19078472, 0.11304362, -0.114679985, -0.059365615, -0.1522396, -0.030596083, -0.0648535, 0.11473043, 0.099015206, -0.095805876, -0.113419555) * go_6(1.0, -1.0);
result += mat4(0.044888392, -0.04274824, -0.2327295, 0.10396123, 0.19391696, -0.081802174, 0.14488702, -0.016344251, -0.22996062, -0.25684744, 0.20749056, 0.028734291, -0.090665944, 0.07197542, -0.034485128, 0.10249939) * go_6(1.0, 0.0);
result += mat4(-0.11119326, -0.11946935, -0.12337761, 0.060325015, 0.1824222, 0.018512564, 0.057066485, -0.14212456, -0.26227912, 0.015946273, -0.08148649, 0.0525647, 0.013987963, 0.024034664, -0.09109407, -0.08800889) * go_6(1.0, 1.0);
result += mat4(0.08942057, -0.012771407, 0.052976996, 0.034529075, 0.1310871, -0.047644522, -0.13528478, -0.09086901, 0.041775502, -0.13844568, 0.03964684, 0.031089516, -0.07392355, -0.052174408, -0.009474784, -0.2290421) * go_7(-1.0, -1.0);
result += mat4(-0.017659597, 0.050037336, -0.0025299324, 0.0753296, 0.06764149, -0.14075726, 0.08307984, 0.08205474, 0.077473514, -0.24571882, 0.14922607, -0.042693764, 0.044783637, -0.15163653, 0.0481681, 0.1755556) * go_7(-1.0, 0.0);
result += mat4(-0.08418654, 0.105244175, 0.20956765, -0.06294217, 0.1879804, -0.029752912, 0.032740694, -0.11350783, 0.1573697, -0.338965, -0.005411119, -0.06498442, -0.074411646, 0.11154879, -0.007983718, 0.099891976) * go_7(-1.0, 1.0);
result += mat4(-0.11360442, -0.023985954, 0.050237827, -0.039197393, 0.24417207, -0.17750946, 0.0029264402, 0.06552346, 0.07999777, -0.16054434, 0.05239082, -0.09109438, 0.20186174, -0.045056574, 0.12976813, -0.030063752) * go_7(0.0, -1.0);
result += mat4(-0.0030791545, -0.08059885, -0.0036832225, -0.057302896, -0.095006235, 0.11108009, 0.1688286, 0.18473075, -0.060287848, 0.034863815, -0.022221414, 0.24895363, -0.025254453, -0.053281628, 0.2836165, 0.089012854) * go_7(0.0, 0.0);
result += mat4(-0.048098963, -0.024920667, -0.008542859, -0.12416585, -0.007935982, 0.19714202, 0.08050051, -0.005334343, -0.14211339, -0.08771554, 0.16370557, -0.32066932, -0.10727847, -0.12724026, 0.104362994, -0.06707228) * go_7(0.0, 1.0);
result += mat4(-0.15704228, -0.024204414, 0.007087552, -0.12148864, 0.13878778, -0.012233652, 0.03271341, 0.046406206, 0.050816927, -0.093313076, -0.24589844, 0.052772272, -0.28821534, -0.121905856, 0.19799241, -0.0708691) * go_7(1.0, -1.0);
result += mat4(-0.23982097, 0.04363522, 0.3527458, 0.023065759, -0.13373962, 0.117174946, -0.06172028, -0.17474857, -0.13406518, -0.011999389, -0.037810836, -0.44302982, 0.08802065, -0.08534176, 0.05789676, -0.021465434) * go_7(1.0, 0.0);
result += mat4(-0.18225484, 0.098582916, -0.029838774, -0.12963313, -0.15371342, 0.059467446, 0.06810986, -0.13996232, 0.02387343, -0.19576547, 0.24994224, -0.22950345, 0.04223122, 0.097238496, 0.037641723, -0.22899197) * go_7(1.0, 1.0);
result += vec4(-0.021099666, -0.03129005, -0.026100485, -0.032015156);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_15_tf
//!BIND conv2d_15_tf1
//!BIND conv2d_15_tf2
//!BIND conv2d_15_tf3
//!SAVE conv2d_16_tf
//!WIDTH conv2d_15_tf.w
//!HEIGHT conv2d_15_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_15_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_15_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_15_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_15_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_15_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_15_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_15_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_15_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.09609756, -0.055012375, -0.043073136, -0.055666514, 0.016418008, 0.036120225, 0.06029676, 0.020939374, 0.11832701, -0.053679865, -0.015110101, 0.13618767, 0.09494681, -0.03174575, 0.0027091461, -0.079117626) * go_0(-1.0, -1.0);
result += mat4(0.16776627, -0.059132457, -0.08617137, 0.111107774, -0.07522468, 0.11456014, 0.10206192, -0.09795013, -0.031782568, 0.036730297, 0.09556621, -0.000958083, -0.04877398, -0.12761621, -0.05328436, -0.17509152) * go_0(-1.0, 0.0);
result += mat4(-0.013845615, 0.0364183, 0.010424956, 0.041805822, -0.116106875, 0.002734559, -0.029624986, -0.17783165, -0.07629819, 0.04145108, -0.07223744, -0.007690453, -0.064606376, 0.12174394, -0.014825361, -0.0084151495) * go_0(-1.0, 1.0);
result += mat4(-0.002451479, 0.07880965, -0.0139416065, -0.24062878, -0.088408604, 0.058236387, 0.006706374, -0.0010319118, 0.09392773, -0.03210168, -0.114932165, 0.1618595, 0.14179535, -0.042500906, -0.09045998, -0.14127046) * go_0(0.0, -1.0);
result += mat4(-0.027822092, 0.019911472, 0.19860765, 0.15724073, 0.10166673, 0.06093802, 0.14866613, 0.06564189, -0.055504557, 0.0024655203, -0.0673572, -0.009370036, 0.031148747, -0.07150111, -0.043881677, 0.18116175) * go_0(0.0, 0.0);
result += mat4(-0.04210747, -0.0071274997, -0.032913957, 0.018660989, 0.051073376, 0.06782918, -0.017950369, 0.07190485, -0.22312792, 0.16126503, 0.04935446, -0.07235652, 0.010417901, 0.07713274, -0.09850908, -0.028445879) * go_0(0.0, 1.0);
result += mat4(0.06469987, -0.11051662, 0.00044343024, -0.0824562, 0.09513741, -0.017997947, -0.06515641, 0.11881489, 0.03063408, 0.007759294, 0.07263358, 0.025132397, -0.02236495, -0.023467774, 0.017836783, -0.10823227) * go_0(1.0, -1.0);
result += mat4(-0.13958383, 0.01932197, 0.034343425, 0.03998081, 0.04705273, -0.066937834, 0.072302155, -0.015934192, -0.067153506, -0.07604367, 0.0135788955, -0.09868874, 0.028401552, 0.016137991, 0.030741712, -0.05084945) * go_0(1.0, 0.0);
result += mat4(0.09688358, -0.0038751946, 0.08666303, -0.025303468, -0.106170915, -0.058171537, -0.03180972, -0.099828646, -0.03305094, 0.0017180776, -0.1330951, -0.0258952, 0.0075092567, -0.022991123, 0.0692612, -0.11860208) * go_0(1.0, 1.0);
result += mat4(0.1289264, -0.051340435, 0.07629522, 0.08525001, 0.17129055, 0.08729278, 0.16216865, 0.029870907, 0.037678342, 0.0049766265, 0.058949407, -0.037198026, -0.080018, -0.055140797, -0.10370115, -0.18345577) * go_1(-1.0, -1.0);
result += mat4(0.0070326407, -0.12450474, 0.010306007, -0.11749582, 0.21073423, 0.08744276, -0.2049444, -0.07198778, -0.023872219, -0.06021247, -0.110835806, 0.099957176, 0.022628674, -0.05737548, -0.03985959, 0.008792708) * go_1(-1.0, 0.0);
result += mat4(0.022252496, -0.06173045, 0.053174034, 0.0787691, -0.091547325, -0.07840242, -0.15143803, 0.08442903, -0.08603787, 0.13783117, -0.123351984, -0.14503227, 0.062592834, -0.032115187, 0.1645178, -0.042738732) * go_1(-1.0, 1.0);
result += mat4(0.24653557, -0.1127134, -0.06485058, -0.01246277, -0.042020027, 0.030455599, -0.027297743, 0.063047804, 0.030217074, 0.012030112, -0.041015655, 0.031267677, -0.17512026, 0.1655615, -0.15595682, 0.100183144) * go_1(0.0, -1.0);
result += mat4(-0.032732334, 0.017509729, -0.058794443, -0.031101031, -0.03794737, 0.025334312, 0.06050446, 0.1429206, 0.02906151, -0.01638736, -0.13368747, 0.00013812391, 0.14179116, 0.16578944, 0.0016875591, -0.0081081325) * go_1(0.0, 0.0);
result += mat4(-0.17499752, -0.012791056, -0.0039763134, -0.014580471, 0.015078276, -0.16282362, -0.012617101, 0.081141666, 0.07503038, -0.0045926278, -0.0072176065, 0.080567606, -0.074966975, -0.06954477, 0.20330784, 0.106600724) * go_1(0.0, 1.0);
result += mat4(-0.061575174, -0.011066679, 0.051635355, 0.06448836, 0.07634649, 0.006140537, 0.07088602, -0.0043026246, 0.042276155, 0.15659745, 0.05378826, 0.044281624, 0.046426885, -0.09314892, 0.021468692, -0.065087035) * go_1(1.0, -1.0);
result += mat4(0.036643215, -0.16454737, -0.106744304, -0.036818992, -0.08886182, 0.1267292, 0.19476546, 0.25881895, 0.11264265, -0.16113323, 0.007636693, -0.00693805, -0.060398016, 0.065028094, 0.064959414, 0.03238651) * go_1(1.0, 0.0);
result += mat4(0.048840225, -0.023630783, -0.024679976, -0.0014270309, 0.0084513305, 0.17124465, 0.19591704, 0.1291631, 0.1774293, 0.08246338, -0.017292364, -0.011336239, 0.11411684, 0.08811617, -0.03444606, 0.16706938) * go_1(1.0, 1.0);
result += mat4(-0.0013355667, 0.08377846, -0.093042545, 0.084158204, 0.2795504, -0.09045552, 0.06632154, 0.10977727, -0.0400835, -0.034911055, 0.056995716, 0.040316224, -0.008876082, -0.007732556, 0.050168034, -0.16885711) * go_2(-1.0, -1.0);
result += mat4(0.13376418, 0.07325086, -0.09131099, 0.13401611, 0.050767064, -0.17131376, 0.047098216, 0.10656574, -0.03088948, 0.08322672, 0.12997481, 0.03262986, 0.06139361, 0.12225519, -0.037071053, -0.008163907) * go_2(-1.0, 0.0);
result += mat4(0.12655751, 0.025844684, 0.050787576, 0.02169468, 0.18041965, -0.0036477768, -0.025983771, 0.12426952, -0.066581994, 0.06865894, 0.055160727, -0.06682907, 0.026987294, -0.09632507, 0.1279279, -0.032017976) * go_2(-1.0, 1.0);
result += mat4(0.20881699, -0.04413474, 0.00041975285, 0.018447168, 0.15139039, -0.17890811, -0.048498105, 0.026863892, -0.04038872, 0.19609426, 0.07234381, 0.07763264, 0.07762023, -0.06942944, 0.09720136, -0.020185204) * go_2(0.0, -1.0);
result += mat4(-0.033203717, 0.051632375, -0.29151496, -0.019714551, 0.054144926, -0.06135866, 0.34238565, 0.028267676, -0.04485083, -0.053827494, 0.2143548, -0.011955068, -0.14167474, -0.04505376, 0.10723791, -0.041945346) * go_2(0.0, 0.0);
result += mat4(-0.102433704, 0.004789273, 0.1119891, -0.0203109, -0.017740408, -0.09619332, 0.3475929, 0.029633807, 0.04624514, 0.0640723, 0.038288433, -0.043456446, 0.0028731087, 0.03015074, -0.020183885, 0.044622716) * go_2(0.0, 1.0);
result += mat4(0.24704404, 0.041703355, -0.049013373, 0.045351848, -0.0093254475, -0.1278815, 0.14508104, 0.080030285, 0.056857005, 0.08688084, 0.19216926, -0.06220198, 0.17112607, 0.07218316, 0.0795074, 0.01839487) * go_2(1.0, -1.0);
result += mat4(0.1733775, 0.026274947, -0.01898811, 0.15374832, 0.119747944, 0.12652078, 0.03181385, 0.058963638, 0.020806959, -0.052343946, 0.12007364, 0.12834589, 0.12946364, -0.004851643, -0.09275399, -0.023749454) * go_2(1.0, 0.0);
result += mat4(0.0193869, 0.16029198, -0.1647226, 0.14820257, 0.015849369, 0.061719846, 0.01781591, 0.06546549, 0.01411068, 0.047441017, 0.10499331, 0.0444021, 0.10317269, 0.012305531, -0.027644547, -0.02026022) * go_2(1.0, 1.0);
result += mat4(0.022080548, 0.055724394, 0.01700489, 0.14965396, 0.052224305, -0.036954537, 0.03474517, -0.009189564, -0.049905237, -0.020433484, 0.048628446, -0.102126524, -0.012649122, 0.04515492, -0.045957103, -0.024198) * go_3(-1.0, -1.0);
result += mat4(-0.08102677, -0.005510669, 0.089871764, 0.042553343, -0.04897514, 0.016537901, -0.0031736959, -0.063882664, 0.18177465, -0.081341125, 0.035784308, 0.019861514, -0.06374453, -0.021801073, 0.07553763, 0.2392607) * go_3(-1.0, 0.0);
result += mat4(-0.051674295, -0.024726579, 0.012708328, 0.0120022455, 0.06796091, -0.11919646, 0.10550911, -0.016914662, -0.0017664131, 0.053862873, 0.01002813, -0.007454544, -0.19201882, 0.005823377, 0.023013754, 0.016918607) * go_3(-1.0, 1.0);
result += mat4(-0.0688164, 0.069968164, 0.035286, -0.12940317, 0.17318653, -0.05089972, -0.007604, 0.026937611, -0.0047092275, 0.03783206, -0.006852713, -0.15646859, -0.030406103, -0.06980891, 0.009835896, -0.02440511) * go_3(0.0, -1.0);
result += mat4(0.16799697, -0.06943555, -0.03730531, -0.1721256, -0.09911213, -0.081116, 0.0018397432, 0.04689856, 0.018798007, 0.102041714, 0.10882061, 0.07884699, 0.15522195, 0.039948918, 0.1331871, 0.29782096) * go_3(0.0, 0.0);
result += mat4(0.060170665, -0.12705128, 0.27997023, 0.07200365, 0.15316802, -0.19086201, 0.03769603, 0.09388092, 0.013621962, -0.001599727, -0.014308661, 0.055155694, 0.108794376, -0.03869029, -0.14731637, -0.09738743) * go_3(0.0, 1.0);
result += mat4(-0.056280326, -0.013755136, 0.051307328, 0.047183447, 0.16895631, -0.15820411, -0.18688565, 0.08207807, -0.07443388, -0.03691134, -0.14448541, -0.07053698, -0.082723446, -0.088062696, 0.081009656, 0.10446362) * go_3(1.0, -1.0);
result += mat4(0.07195501, -0.005046178, -0.10009494, -0.0068428647, -0.014195055, -0.1258344, -0.112450786, -0.04761318, -0.0004043175, -0.07863752, -0.018329088, -0.015974361, -0.09353746, -0.075935334, 0.2102448, -0.028742688) * go_3(1.0, 0.0);
result += mat4(0.007925812, -0.14759003, -0.12893279, 0.20039004, -0.059057757, -0.062296968, 0.0114990985, 0.005130549, -0.04773586, -0.13635732, 0.022072053, -0.067658275, 0.12064796, 0.038565595, 0.062534854, -0.15858793) * go_3(1.0, 1.0);
result += mat4(0.012978919, 0.09248063, 0.079721585, -0.10949528, 0.05636094, 0.0639426, -0.08391837, -0.054627553, 0.00037798003, -0.013555376, -0.18349887, -0.04274588, -0.14281152, 0.0057977308, -0.05939348, 0.010091491) * go_4(-1.0, -1.0);
result += mat4(0.1422423, -0.10552157, -0.03913756, -0.0653251, 0.06479668, 0.0115009425, -0.1867643, 0.114124864, 0.007959146, -0.03393825, 0.11404819, 0.012734461, 0.058671746, -0.05543321, -0.08331419, 0.07654381) * go_4(-1.0, 0.0);
result += mat4(0.09127371, -0.021557972, -0.05028715, -0.05016229, 0.017002096, 0.19106826, 0.05418276, -0.05694394, 0.06581798, -0.0598181, 0.018230528, -0.0635826, -0.05732186, -0.10073851, -0.011672219, -0.033285677) * go_4(-1.0, 1.0);
result += mat4(-0.048617575, 0.019004911, -0.019724898, 0.0065591526, 0.101372994, -0.08572456, -0.10958081, -0.07779033, -0.0744815, -0.071501486, 0.08134343, -0.11673183, -0.052799657, 0.09455502, -0.046477437, 0.062174764) * go_4(0.0, -1.0);
result += mat4(0.15564895, 0.08472279, 0.11441956, -0.14344747, -0.24006632, -0.032172255, 0.039400138, -0.007438132, 0.009162504, 0.05753773, -0.11778383, -0.06364131, 0.1863039, -0.024734113, -0.06508269, 0.084494196) * go_4(0.0, 0.0);
result += mat4(0.042976603, 0.10006721, -0.05396374, -0.091420546, -0.07264408, -0.0376512, 0.09453536, -0.025677709, -0.040637143, 0.009227286, 0.21652271, -0.08846454, 0.011874195, -0.24357733, -0.20396955, 0.0034799203) * go_4(0.0, 1.0);
result += mat4(0.11487922, 0.06142311, -0.05799218, -0.043709278, -0.011386744, -0.047758225, -0.04346472, -0.15726915, -0.010850286, 0.055703852, 0.11554872, 0.14175794, -0.025774736, 0.03302446, -0.031050406, -0.14743169) * go_4(1.0, -1.0);
result += mat4(0.107260466, 0.09991366, -0.0854939, -0.13359135, -0.17836837, 0.0947788, 0.076283626, -0.03702856, 0.045162823, 0.02137722, 0.013965963, 0.008323008, 0.1299707, -0.06806633, -0.08851454, -0.0519084) * go_4(1.0, 0.0);
result += mat4(-0.039744638, -0.009205459, -0.06797804, -0.031998966, 0.061308265, -0.0007453291, -0.0007644073, -0.016154464, 0.011811196, 0.034707885, -0.12882923, -0.0021590462, 0.13357846, 0.058845736, -0.15742505, -0.06657708) * go_4(1.0, 1.0);
result += mat4(-0.018271925, 0.100263335, 0.01960824, -0.1153796, -0.23422036, -0.0031631307, -0.050807018, -0.053269822, -0.03458429, 0.14577144, 0.13469611, -0.11434715, -0.009439456, 0.030330583, -0.040208224, 0.12874405) * go_5(-1.0, -1.0);
result += mat4(0.031613346, 0.15594259, 0.20758592, 0.03629735, -0.12865163, -0.067441724, -0.019100431, -0.047031283, 0.06444509, 0.04873205, 0.12288836, 0.042170476, -0.12388107, 0.00048445113, -0.027354648, -0.013098879) * go_5(-1.0, 0.0);
result += mat4(-0.054265685, 0.11467644, 0.02952745, -0.017398788, 0.082775794, 0.09431421, -0.022905173, 0.011000366, -0.016479017, -0.07035369, 0.15773647, 0.09656325, -0.12106234, 0.054287493, -0.21364424, -0.09698419) * go_5(-1.0, 1.0);
result += mat4(-0.08437344, 0.07146613, 0.03008299, -0.050195847, 0.08297239, 0.010328966, 0.2501361, -0.051406503, 0.09035167, 0.10230502, -0.087015145, -0.090351515, -0.059905346, 0.010634574, 0.101668574, 0.12283612) * go_5(0.0, -1.0);
result += mat4(-0.12624927, -0.043445382, 0.04399112, 0.2396272, -0.12518035, -0.107726894, -0.02661663, -0.186101, 0.03170526, -0.013086996, -0.16010353, 0.08162145, -0.24017718, 0.08761893, -0.2546848, -0.03131363) * go_5(0.0, 0.0);
result += mat4(0.09616909, -0.030323014, -0.14481992, -0.036541697, -0.19536978, 0.1064523, 0.079171434, -0.038171098, -0.043278754, -0.059359286, -0.0025608074, -0.07138205, -0.10972322, -0.18075511, -0.08821048, -0.035308387) * go_5(0.0, 1.0);
result += mat4(-0.00918984, -0.031009672, 0.066319056, -0.085171655, -0.024080584, 0.06236177, -0.0115594845, -0.119407974, 0.070196055, -0.1145586, -0.021149555, -0.13792083, 0.030996334, 0.1484254, -0.010054155, 0.1086116) * go_5(1.0, -1.0);
result += mat4(-0.014743395, 0.22290353, -0.07011576, 0.1069503, -0.0026242791, -0.13469394, 0.038082447, -0.07685243, -0.2634126, 0.13381208, 0.10993633, 0.03586481, -0.054848466, 0.006930213, -0.12056366, 0.014139514) * go_5(1.0, 0.0);
result += mat4(0.030834544, -0.0070147654, 0.14920786, -0.065181114, 0.02508345, -0.1483285, 0.0047159214, -0.044124506, 0.039289955, 0.06650584, 0.081950754, -0.08433925, 0.015854202, -0.040369797, -0.046914417, -0.009928778) * go_5(1.0, 1.0);
result += mat4(0.15443583, 0.04376301, 0.13718478, -0.03824221, -0.055449802, -0.14842397, 0.06060697, 0.01631613, 0.11067964, -0.14271964, -0.22600028, -0.034234643, 0.06918402, -0.04600415, -0.06900304, 0.06417275) * go_6(-1.0, -1.0);
result += mat4(-0.042201858, -0.011375089, -0.015411258, -0.12674233, 0.026103523, 0.10343946, -0.0077547887, -0.033607867, 0.124470666, 0.06796264, -0.13659167, 0.040740173, 0.0604928, -0.092276655, 0.11865089, -0.08302834) * go_6(-1.0, 0.0);
result += mat4(-0.01112464, -0.021381281, -0.034482505, -0.053960275, 0.058478907, -0.0097189145, 0.1940526, -0.13732584, -0.093956545, 0.0057153534, -0.08862296, -0.06671325, -0.005182285, -0.05719968, 0.025967684, 0.032040965) * go_6(-1.0, 1.0);
result += mat4(0.06687304, -0.0026133375, 0.15141574, -0.05272407, -0.023663558, 0.06502362, 0.08093761, 0.109535225, -0.05700876, -0.029776534, -0.05858992, -0.013166662, 0.019790562, -0.12917398, -0.06497215, 0.057915356) * go_6(0.0, -1.0);
result += mat4(0.06072319, -0.11173385, -0.06554967, 0.13359413, -0.06625554, -0.017581498, -0.058076315, -0.003931657, -0.023673324, 0.07044443, 0.003583932, 0.14873055, -0.061578825, 0.03817671, 0.14216065, -0.025126763) * go_6(0.0, 0.0);
result += mat4(-0.06629599, -0.017247697, 0.10675047, -0.0044184877, -0.058319747, -0.03925674, 0.02459416, 0.00095720706, -0.08090092, 0.12986918, -0.25750917, -0.03840858, 0.12543473, -0.09118815, 0.13346738, 0.0872867) * go_6(0.0, 1.0);
result += mat4(0.04924794, 0.08806323, -0.06525138, -0.08052156, -0.023931473, -0.0734658, -0.010882386, -0.030258544, -0.18479422, 0.18968348, -0.050708067, 0.038592026, 0.042794973, -0.10810727, -0.02882389, -0.085186586) * go_6(1.0, -1.0);
result += mat4(-0.18184122, 0.009152045, -0.0013307668, 0.0528998, -0.09193569, 0.10202717, 0.030233888, -0.116206944, 0.13555616, -0.011747243, -0.22625974, -0.008968841, -0.02577717, 0.050121024, 0.0039666356, 0.0140310675) * go_6(1.0, 0.0);
result += mat4(-0.07334463, -0.040781733, 0.04237529, -0.017089957, 0.042566124, 0.028134586, -0.009052325, 0.07598215, -0.13904396, 0.026619319, -0.08988712, -0.005250927, 0.08855536, -0.1234204, 0.06786622, 0.039750088) * go_6(1.0, 1.0);
result += mat4(-0.0058151903, 0.03422835, -0.0007863771, -0.077100396, 0.063499264, -0.041216582, 0.04828395, -0.053149093, -0.18125884, 0.1692733, 0.33500117, 0.067575455, 0.04588855, 0.13782747, 0.1351673, -0.004836687) * go_7(-1.0, -1.0);
result += mat4(0.13591178, -0.08803395, -0.0082301255, 0.018532211, -0.14070654, -0.153454, 0.12548654, 0.0942813, -0.035065573, 0.17697263, 0.048331108, -0.028308947, 0.038468204, 0.07220786, 0.2944224, -0.025645984) * go_7(-1.0, 0.0);
result += mat4(0.13994263, -0.019219065, -0.14284274, -0.1471152, -0.15571125, -0.02123468, 0.14339264, -0.04104626, -0.20012046, 0.06999495, 0.13211347, -0.015829416, 0.15163279, 0.03081914, -0.015203248, -0.07161789) * go_7(-1.0, 1.0);
result += mat4(0.11625371, -0.020931741, -0.0875021, -0.01576175, 0.061449245, -0.046299458, 0.07421833, -0.06874183, 0.30783412, 0.15397696, 0.045492157, 0.08606051, -0.035266094, 0.11132788, 0.15416808, -0.01438527) * go_7(0.0, -1.0);
result += mat4(0.012413651, -0.033095382, -0.1972357, 0.18014714, 0.2332191, -0.25324136, -0.028787011, -0.17730585, 0.33105198, -0.14836398, 0.1377452, 0.044808302, -0.09968492, 0.17502867, 0.06019141, -1.0588551e-05) * go_7(0.0, 0.0);
result += mat4(0.07118095, -0.059810337, -0.14726935, -0.17732129, 0.06272923, -0.13827543, -0.018983403, -0.10391589, -0.07683961, -0.009228622, 0.016202949, 0.30789152, -0.007190668, -0.22396167, 0.03562099, 0.011657737) * go_7(0.0, 1.0);
result += mat4(-0.013723268, -0.0018854191, 0.012472027, -0.048562117, 0.017156087, 0.006624358, -0.1335618, 0.06898693, 0.24195383, 0.12748662, 0.2687545, 0.11675469, 0.051591244, 0.060604665, 0.15726678, -0.12029377) * go_7(1.0, -1.0);
result += mat4(0.018423952, 0.03342564, -0.02585596, -0.093597226, -0.041045543, -0.2526591, -0.10587788, -0.17330013, 0.26386222, -0.24480952, -0.007416698, 0.14573297, -0.0046972204, 0.19525634, -0.0049372353, -0.08545003) * go_7(1.0, 0.0);
result += mat4(0.0025138035, 0.052410353, 0.06759947, -0.06182174, 0.054527503, -0.16857441, 0.1532493, -0.13587067, 0.076711185, 0.3173634, -0.08822435, -0.22298068, -0.014268186, 0.03482756, 0.103789225, 0.059798267) * go_7(1.0, 1.0);
result += vec4(0.018433796, 0.0035757907, 0.00091714435, -0.003333423);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x88
//!HOOK MAIN
//!BIND conv2d_15_tf
//!BIND conv2d_15_tf1
//!BIND conv2d_15_tf2
//!BIND conv2d_15_tf3
//!BIND conv2d_17_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!SAVE conv2d_18_tf
//!WIDTH conv2d_15_tf.w
//!HEIGHT conv2d_15_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
#define g_1 (max((conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
#define g_2 (max((conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
#define g_3 (max((conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
#define g_8 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.06333993, 0.09488723, -0.08568035, 0.05200572, -0.1472294, -0.044452854, 0.14845347, 0.21513753, -0.15652965, 0.10840373, -0.056219988, -0.030637205, 0.04253709, 0.055037092, 0.0414908, -0.1892757) * g_0;
result += mat4(0.0787534, -0.04241309, -0.28714868, -0.046900865, 0.21437375, -0.24278513, -0.20257188, 0.022188142, -0.019003864, 0.15094592, -0.01814459, -0.1872464, 0.059750058, 0.07614743, -0.0521617, 0.17934658) * g_1;
result += mat4(-0.00019216978, -0.15454617, -0.12794366, 0.044536293, 0.21249126, 0.32045737, -0.147422, -0.09734236, -0.12062187, -0.16607423, 0.09816451, -0.06590071, -0.19728394, -0.14778756, 0.017338278, -0.23659901) * g_2;
result += mat4(0.074417666, -0.08059618, 0.07767349, -0.03693259, -0.15096827, -0.17373516, -0.20327133, 0.049108338, 0.054858647, 0.015723148, -0.2328269, -0.16492803, 0.12288839, -0.037010916, -0.16224542, -0.19452086) * g_3;
result += mat4(-0.1915939, -0.15707129, -0.1509893, 0.28097305, 0.03221469, -0.18564048, -0.27148914, -0.084917046, 0.0059148185, 0.06549851, 0.19273312, -0.20762756, 0.011551308, 0.18630835, 0.07567006, 0.046911348) * g_4;
result += mat4(0.01897941, 0.026447995, 0.30203855, -0.10592397, 0.05870943, 0.1054224, 0.14929043, 0.050682828, 0.0028596125, -0.15138957, -0.03117043, -0.06962448, 0.10460237, 0.30631867, 0.15475252, -0.082159385) * g_5;
result += mat4(0.056030374, 0.16605477, -0.2011969, 0.0581226, -0.16144355, -0.02808077, 0.010258871, 0.17102659, -0.054532573, 0.3242664, 0.010550339, -0.05370968, -0.014814065, -0.13152799, 0.30049798, 0.122068055) * g_6;
result += mat4(0.17697391, 0.074868776, -0.16765091, -0.14493272, 0.21677482, 0.07529925, 0.3344087, -0.35831642, -0.12440452, 0.15675198, -0.01240608, 0.21036354, -0.21215741, 0.18817489, 0.072722636, -0.07215567) * g_7;
result += mat4(-0.29419374, 0.043863285, -0.083936326, 0.3729109, 0.18776, -0.16754451, -0.35357738, 0.045188952, -0.23892207, 0.060875878, 0.046727493, 0.39672953, -0.009434926, 0.0181569, -0.12958461, 0.09870838) * g_8;
result += mat4(-0.12987071, -0.09597688, 0.2408095, -0.26320508, -0.09014934, -0.1188552, 0.16146885, 0.07402836, 0.35367203, 0.1402623, 0.18618205, -0.25213316, -0.10277592, -0.24674612, -0.32700107, 0.14396617) * g_9;
result += mat4(-0.3089205, 0.16185652, 0.27521953, 0.041868176, -0.0022332487, 0.12922727, 0.18001151, 0.027498085, -0.110244, -0.044742703, -0.18411714, -0.06564328, 0.07164282, 0.08585003, 0.106629394, -0.054929875) * g_10;
result += mat4(0.16139935, 0.03240059, 0.082769506, -0.18399146, 0.050481632, 0.018776342, -0.111956954, -0.040583946, 0.08147097, -0.04110496, -0.15557489, 0.05611198, -0.25277153, -0.048391934, -0.10089335, 0.12622349) * g_11;
result += mat4(-0.2730474, 0.11085952, -0.075156026, -0.14303921, 0.0447421, -0.121895775, -0.35013795, 0.14995758, -0.016281242, 0.033779178, -0.15126662, -0.015176784, 0.040082585, 0.006450913, -0.030723661, -0.058004852) * g_12;
result += mat4(0.0403051, 0.20903297, 0.067333676, -0.14318345, 0.16834565, 0.0948365, -0.17433995, 0.07182994, 0.06342598, -0.32021528, 0.048930682, -0.051184237, -0.057208735, -0.16286889, -0.12637149, 0.10992653) * g_13;
result += mat4(-0.14312495, -0.049565334, 0.013813875, 0.070963, 0.26302704, -0.0026512244, 0.33206236, -0.16186446, 0.030595824, 0.119594894, 0.3493397, 0.12651123, 0.04868717, 0.15870047, -0.17626017, 0.053944312) * g_14;
result += mat4(0.017788881, -0.08985951, 0.0063696383, 0.19405968, 0.06445815, -0.024619186, -0.18900226, -0.030232785, -0.08246631, 0.041897133, 0.089627616, -0.23452254, 0.08906869, 0.09038576, -0.12202178, 0.032400858) * g_15;
result += mat4(0.23806943, -0.20720927, -0.19059941, -0.08068674, -0.035527237, -0.15776922, -0.024618277, -0.2444429, 0.05044065, 0.024451984, -0.14015712, 0.16094929, 0.03076579, -0.020462647, -0.20250656, 0.1029075) * g_16;
result += mat4(0.047954805, 0.04713052, -0.014320014, 0.11667167, 0.45120004, -0.12177823, -0.11391618, 0.18149075, 0.08473487, 0.14073594, -0.07025125, 0.19289283, 0.083399035, 0.15313184, -0.2289391, -0.27340987) * g_17;
result += mat4(-0.031021187, -0.056889966, -0.089950375, 0.08566341, -0.093087964, -0.114104606, 0.20981134, 0.20004368, 0.36221287, 0.09415981, 0.1761312, -0.07357187, 0.15133485, 0.18167816, 0.13953826, -0.108503394) * g_18;
result += mat4(-0.04393188, 0.25963497, -0.0330857, 0.050094042, 0.0015226522, 0.09266069, -0.15832978, -0.22114822, 0.063840784, -0.33367425, -0.103081174, 0.01706331, 0.007467705, -0.3628944, -0.10182942, 0.1942455) * g_19;
result += mat4(0.23547105, 0.03324374, 0.13732544, -0.18675572, 0.2536437, -0.024418214, 0.1405745, -0.08798336, -0.09310729, -0.088432625, -0.16199891, -0.07790996, -0.16207652, -0.057468604, -0.6186605, 0.84914094) * g_20;
result += mat4(-0.10194844, 0.25304326, -0.13665953, -0.042847656, -0.030379621, 0.104918376, 0.07079868, 0.044213004, 0.032054633, 0.11013307, -0.10676529, -0.06577438, -0.0136965765, 0.076344326, 0.2286907, 0.17813052) * g_21;
result += vec4(-0.077900425, -0.00413413, 0.020021616, 0.012168936);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x88
//!HOOK MAIN
//!BIND conv2d_15_tf
//!BIND conv2d_15_tf1
//!BIND conv2d_15_tf2
//!BIND conv2d_15_tf3
//!BIND conv2d_17_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!SAVE conv2d_18_tf1
//!WIDTH conv2d_15_tf.w
//!HEIGHT conv2d_15_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
#define g_1 (max((conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
#define g_2 (max((conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
#define g_3 (max((conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
#define g_8 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.19856872, 0.11904717, -0.064469926, -0.060562156, 0.088999204, 0.34987435, 0.19510469, 0.31565446, -0.22311617, 0.05800273, -0.070240505, 0.07316653, -0.104855716, 0.06083218, -0.19869952, 0.16014937) * g_0;
result += mat4(0.25990537, -0.0699571, -0.20297414, -0.14829135, 0.12648308, -0.10045799, 0.16074577, 0.018881219, -0.13109452, -0.07432639, -0.07032176, -0.016821157, -0.27503675, 0.019903673, -0.14726853, -0.031217257) * g_1;
result += mat4(-0.06882065, -0.00869124, -0.08228761, -0.09555077, 0.10960049, 0.1492122, -0.030764349, -0.013157832, -0.0692061, 0.045005288, 0.22895455, 0.031483006, -0.012937336, 0.23743461, -0.03126466, -0.035970267) * g_2;
result += mat4(0.22776505, -0.15405187, -0.27868515, 0.06471627, 0.31427258, 0.1402745, 0.06863169, -0.051754337, 0.10026417, -0.2574256, -0.08802628, 0.068399504, 0.071888685, 0.022936821, -0.12540928, -0.015080033) * g_3;
result += mat4(-0.039721105, -0.14838658, 0.24391836, -0.069194034, -0.16316739, 0.13536945, -0.13266453, -0.004489543, 0.18704645, -0.04657965, 0.025766708, -0.1476673, 0.27578717, -0.009918311, -0.27262732, 0.16296776) * g_4;
result += mat4(-0.05249631, -0.2803283, 0.13727781, -0.09695497, -0.24535981, 0.10808846, 0.0022599236, 0.12974386, -0.07886284, 0.015886888, 0.037709296, -0.034715742, 0.048587516, -0.026816653, -0.04620663, 0.009604917) * g_5;
result += mat4(0.20355739, 0.26263452, -0.016582636, -0.088004105, 0.0283301, -0.1646068, -0.14768231, 0.06584749, 0.09362991, 0.073038615, 0.03585095, 0.14700644, 0.30650404, 0.115159705, 0.094853185, 0.1412418) * g_6;
result += mat4(0.19348627, 0.02455195, 0.04202425, -0.10602589, -0.087195724, 0.16053778, -0.15648113, -0.21084791, 0.119239464, 0.29533407, -0.23261383, -0.27815127, -0.030562209, -0.016111122, 0.029648153, 0.15206608) * g_7;
result += mat4(0.03864564, -0.013641563, 0.008269305, 0.08444338, -0.37716612, -0.119036004, -0.37552136, 0.22999282, -0.03647035, 0.11136046, -0.11673442, -0.22254193, -0.31966165, 0.30993468, 0.26735285, -0.11855201) * g_8;
result += mat4(-0.14826044, 0.08726846, -0.02775652, 0.095674574, 0.0414766, -0.11637243, 0.22545882, 0.024133151, -0.22550999, 0.17247951, 0.008702564, 0.015936209, 0.08907862, -0.1164228, -0.18179186, -0.088854164) * g_9;
result += mat4(0.043506436, -0.22450508, 0.3010276, 0.109547526, 0.18712491, 0.086767204, -0.058926016, -0.0066756974, -0.035483465, 0.00068262784, 0.053788308, 0.11970851, -0.02235205, -0.254944, -0.12766762, -0.03977307) * g_10;
result += mat4(0.18281984, 0.05554126, -0.009539485, 0.043676183, -0.007973203, -0.033897012, -0.10886124, -0.045664012, 0.18444513, 0.10041875, -0.13144056, -0.30685145, -0.23832887, 0.15063612, 0.03259291, 0.13059925) * g_11;
result += mat4(-0.18238647, -0.24912533, 0.0064255036, 0.20445079, 0.071332455, -0.24193963, 0.058854166, 0.15322176, 0.08335828, 0.08328783, -0.120153025, -0.05942993, -0.10702824, 0.17542586, 0.27479908, 0.2176634) * g_12;
result += mat4(0.08722579, 0.22445773, -0.22038916, -0.1705768, -0.33885807, 0.2610493, -0.14401726, 0.036701087, 0.05118682, 0.016674992, 0.017907443, 0.33134872, 0.24759968, -0.2189978, 0.17513935, -0.31552628) * g_13;
result += mat4(0.09722241, 0.09016698, 0.0020826897, 0.014243476, -0.09178259, 0.26038414, -0.119483896, 0.06568409, 0.112089686, -0.1854509, -0.0032295822, 0.082286656, -0.20125629, 0.36961597, -0.15095985, 0.090025686) * g_14;
result += mat4(-0.03207223, -0.016992198, -0.019505465, -0.3158222, -0.15192394, 0.18241268, -0.3502777, 0.05187207, 0.16714574, -0.067549706, -0.08512221, 0.03171733, -0.21070172, -0.14597628, 0.16120993, -0.002882248) * g_15;
result += mat4(0.06358728, 0.06935574, -0.065100305, 0.02331908, 0.20260555, 0.14417367, 0.11311691, 0.041373946, -0.17366521, -0.24190584, 0.14318806, -0.12791471, -0.005797247, -0.01352598, 0.09355765, 0.08071775) * g_16;
result += mat4(-0.21877107, -0.06376343, 0.015047983, -0.05071754, 0.24015504, -0.096376784, -0.050906435, -0.108564705, 0.0022815794, 0.10404753, -0.017777193, -0.18843737, 0.33381376, -0.009765667, 0.10630329, 0.04319869) * g_17;
result += mat4(0.03913534, -0.18320137, -0.1895394, -0.35816035, 0.06605666, 0.14718485, 0.0705968, 0.03142451, -0.018191794, -0.03973546, 0.09669648, -0.06763489, 0.077504024, 0.22267477, -0.3280302, 0.051078096) * g_18;
result += mat4(0.17017639, 0.048948385, 0.17666607, 0.28847146, -0.27951127, -0.2408892, -0.3000307, 0.1043314, 0.0788232, -0.13186172, -0.20950924, -0.11522397, -0.24694261, 0.1315647, -0.11994133, 0.09964028) * g_19;
result += mat4(-0.03482202, -0.21670073, -0.24369243, 0.048367083, -0.3383805, -0.28556088, -0.05187166, -0.04785393, -0.056278072, -0.0046066013, -0.10573621, -0.12896368, 0.02629063, -0.07221729, 0.349292, -0.06192709) * g_20;
result += mat4(-0.14670531, 0.02437431, 0.18400094, -0.18659692, 0.2216187, 0.034236856, -0.12323594, 0.1603975, 0.22086559, -0.0026523015, -0.13258888, 0.12981693, -0.033014633, 0.105112545, 0.03881624, -0.08425293) * g_21;
result += vec4(0.0119343875, -0.042267065, 0.010792121, 0.007296717);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x88
//!HOOK MAIN
//!BIND conv2d_15_tf
//!BIND conv2d_15_tf1
//!BIND conv2d_15_tf2
//!BIND conv2d_15_tf3
//!BIND conv2d_17_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!SAVE conv2d_18_tf2
//!WIDTH conv2d_15_tf.w
//!HEIGHT conv2d_15_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
#define g_1 (max((conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
#define g_2 (max((conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
#define g_3 (max((conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
#define g_8 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.12408465, -0.16741575, 0.06765819, -0.15944858, -0.19950457, -0.1716973, 0.048808597, 0.043000113, 0.007647513, 0.13003102, 0.06868207, -0.0016408832, -0.24698295, 0.033724148, 0.26656294, -0.04168408) * g_0;
result += mat4(0.025299544, -0.2481157, -0.07735063, 0.07958534, 0.04743938, 0.123626634, 0.14503284, -0.200222, 0.20223439, 0.08858626, -0.37553144, 0.02513245, 0.09171499, 0.08145674, -0.028931713, 0.04081231) * g_1;
result += mat4(-0.04600147, 0.14647272, 0.18308495, 0.06990148, -0.06455617, 0.09861496, -0.13262698, 0.16287735, 0.06737012, 0.03652816, -0.22811131, -0.064241834, -0.035340827, 0.29290062, -0.022302201, -0.19858247) * g_2;
result += mat4(-0.11037198, 0.12009516, -0.14232409, 0.2716094, -0.04082168, -0.10308978, -0.18808627, -0.017621756, -0.031254657, -0.26940623, 0.24271232, -0.1467802, 0.10700058, -0.18850107, -0.08067445, -0.017454604) * g_3;
result += mat4(-0.090594314, -0.019169644, -0.029233063, 0.34922495, -0.22969832, 0.04161748, 0.0016718027, -0.13671273, 0.20134616, -0.01069757, -0.41116753, 0.011301641, -0.093161866, -0.0598387, -0.20625715, -0.04319863) * g_4;
result += mat4(0.1400459, -0.08488729, -0.14534405, 0.13608801, 0.054499432, 0.013480982, -0.115060575, -0.051957313, -0.11556034, -0.06907556, 0.2383428, -0.0032338845, -0.015882459, 0.24332793, -0.29487756, -0.31111467) * g_5;
result += mat4(0.0035557884, -0.10662409, -0.167661, -0.038467426, 0.0067648925, -0.14742504, -0.15988947, -0.18424144, -0.015692392, 0.024426097, 0.18659574, -0.06826323, -0.098989435, -0.120715715, -0.012542293, -0.012921739) * g_6;
result += mat4(-0.22045317, -0.039446186, 0.02062722, 0.04877487, 0.057328302, 0.107455134, -0.24580365, 0.084131025, 0.028729152, 0.4286281, -0.05177413, 0.23257121, 0.08110685, -0.22814348, -0.041566104, 0.2465172) * g_7;
result += mat4(0.37156427, 0.26804617, 0.20049824, -0.021026293, 0.13211878, 0.040705554, 0.002239553, 0.20452338, -0.030344317, 0.099040724, 0.3838666, 0.055573136, 0.27482164, 0.23077035, -0.017845538, -0.26252562) * g_8;
result += mat4(-0.25934902, 0.04962634, -0.11156898, -0.07086993, 0.12231552, -0.040678304, 0.16707222, -0.068827145, -0.20247164, 0.16845146, 0.21900423, -0.40101337, -0.20267262, 0.012057886, -0.16219872, 0.042600926) * g_9;
result += mat4(0.076830566, 0.07031241, 0.23169716, -0.028218819, 0.12506121, -0.19878168, 0.14684094, 0.0931965, 0.20331647, -0.12333559, 0.22961548, -0.15381584, 0.08874619, 0.14223523, 0.16359226, -0.28227505) * g_10;
result += mat4(-0.052383065, -0.078102276, 0.065739855, 0.0415868, -0.07094788, 0.16164882, 0.043656457, -0.0960344, -0.22771464, 0.13144033, -0.1159355, 0.046441697, -0.24606496, -0.25741673, 0.004535607, -0.0065205614) * g_11;
result += mat4(0.23244801, -0.31457657, -0.10946917, -0.3663475, 0.17705315, 0.05067217, -0.1933483, 0.027725892, 0.03238109, 0.16744693, -0.057594296, -0.07276957, 0.03234641, -0.1372411, -0.08171865, -0.12950452) * g_12;
result += mat4(-0.15673116, 0.19919762, -0.10481654, 0.10979371, 0.04279017, 0.022970842, 0.041732438, 0.043996546, 0.010470399, 0.040505856, -0.03274834, 0.0009573305, 0.08111623, 0.047052007, -0.15586549, 0.04683318) * g_13;
result += mat4(-0.24751675, -0.08296508, 0.11407727, -0.2166629, 0.26892385, 0.24061169, 0.13039055, -0.025301076, 0.112557106, 0.33924893, -0.26320595, -0.3333313, -0.18867135, -0.15030354, -0.41406167, 0.049163118) * g_14;
result += mat4(0.1665652, -0.21874574, 0.028786177, 0.2146646, -0.015547626, -0.012667473, 0.10428667, 0.14486806, -0.03420849, -0.012048649, 0.2303649, 0.17137095, -0.16784278, 0.08330269, 0.15572217, -0.08734928) * g_15;
result += mat4(-0.191288, -0.2011081, -0.16282842, -0.16686897, 0.11942609, -0.14166519, 0.01405599, 0.18117349, -0.096682444, 0.010184171, -0.023849446, 0.17224887, 0.30125615, -0.06356407, 0.103124686, 0.014888768) * g_16;
result += mat4(0.25378457, 0.075565144, -0.19106098, -0.14747557, -0.15002617, 0.028056031, -0.0025413758, 0.07962606, -0.015789257, -0.17432348, 0.12131772, -0.055529855, -0.041077815, -0.19829613, 0.13878337, -0.24223712) * g_17;
result += mat4(-0.29446965, 0.15235735, 0.06717627, -0.015626365, 0.014169811, 0.07045108, 0.10471683, -0.05982132, -0.13769852, 0.12853971, 0.1119684, -0.14485933, -0.075092256, 0.24838834, 0.0017574847, -0.0804142) * g_18;
result += mat4(0.24836873, 0.00066609884, -0.13763703, 0.14340822, -0.14462134, -0.038759258, -0.09077153, -0.0441944, 0.10637402, -0.18241063, 0.0067824926, 0.13309585, 0.07101235, -0.051455706, 0.06795849, 0.31597748) * g_19;
result += mat4(0.25393802, 0.19519086, -0.18530098, 0.049162578, -0.008795799, 0.36194384, -0.00040475396, -0.27478936, 0.22377892, -0.18955742, 0.30927923, -0.21051413, 0.36050028, 0.028015982, 0.050072942, 0.5546838) * g_20;
result += mat4(0.075164825, -0.044605773, -0.14191186, 0.21589251, -0.18884787, 0.011185897, 0.17542075, 0.1676064, -0.2930037, 0.21933044, -0.035698287, 0.070793465, -0.16923343, -0.09259949, -0.11534973, 0.060004164) * g_21;
result += vec4(-0.0090077715, -0.014536999, 0.043094933, -0.0062093455);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x88
//!HOOK MAIN
//!BIND conv2d_15_tf
//!BIND conv2d_15_tf1
//!BIND conv2d_15_tf2
//!BIND conv2d_15_tf3
//!BIND conv2d_17_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!SAVE conv2d_18_tf3
//!WIDTH conv2d_15_tf.w
//!HEIGHT conv2d_15_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
#define g_1 (max((conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
#define g_2 (max((conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
#define g_3 (max((conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_15_tf_tex(conv2d_15_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_15_tf3_tex(conv2d_15_tf3_pos)), 0.0))
#define g_8 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.0752077, -0.0029171302, -0.27563673, -0.014811605, 0.02846672, 0.032712437, 0.23822306, -0.05769253, -0.15474099, 0.093151525, 0.06375694, -0.13745429, -0.04572417, 0.3199813, -0.022760388, 0.16357492) * g_0;
result += mat4(0.02650099, 0.0128598865, -0.13053481, 0.037058145, -0.055677533, -0.079210766, -0.03356954, 0.1069868, -0.07710097, 0.12506554, -0.13472609, -0.026160635, 0.1821316, 0.052085042, -0.19033344, -0.090145096) * g_1;
result += mat4(-0.03734377, 0.07147657, 0.10820697, -0.024222745, 0.1403612, -0.1505265, -0.17980108, 0.26694953, 0.0217602, 0.037542872, -0.08249127, 0.042201407, 0.2006786, -0.059707034, 0.03880093, -0.1826765) * g_2;
result += mat4(-0.11878983, -0.28029415, -0.04900442, -0.13629057, -0.05066402, -0.05337549, 0.07343749, -0.1209636, 0.16849558, -0.106414795, 0.05464871, 0.17617467, -0.2489627, 0.29946232, -0.123174965, 0.056576844) * g_3;
result += mat4(-0.17408213, 0.09776442, 0.057589754, 0.18333124, -0.09720728, 0.16222644, -0.005483807, 0.15910664, 0.30478597, 0.014245162, -0.31090343, 0.06744939, 0.019972727, -0.113528624, 0.10990966, -0.10937443) * g_4;
result += mat4(0.12755792, 0.16373649, 0.019118445, 0.21310984, -0.10995382, -0.08398977, 0.0009497389, -0.12245982, -0.25080305, 0.26576582, 0.073143534, 0.09062886, 0.3211899, -0.012361862, -0.094413824, 0.016505178) * g_5;
result += mat4(0.04496885, 0.057987563, -0.06828201, -0.25538024, -0.25729346, 0.1581948, -0.08318907, -0.26187086, -0.06994225, -0.0108814975, 0.27547085, 0.19735947, -0.25765172, 0.23375468, -0.02491318, 0.19695699) * g_6;
result += mat4(-0.18447195, 0.3949247, 0.23520981, 0.16501734, 0.014326944, -0.21483032, -0.09887618, -0.1530724, 0.087982565, -0.30155778, -0.09407708, -0.07609285, 0.12439066, -0.046371937, -0.10052105, 0.042462338) * g_7;
result += mat4(0.45384184, 0.23962094, -0.09288032, 0.43883595, 0.017768994, -0.28214878, -0.30303338, 0.06788283, 0.23333043, 0.012060692, 0.08277374, 0.18042035, 0.18759233, -0.009545223, -0.027723255, 0.016402755) * g_8;
result += mat4(-0.3158644, -0.1611719, -0.044279657, -0.03122654, 0.20287034, 0.19071461, -0.032826696, -0.25104183, 0.03608647, -0.027464861, 0.118140586, -0.016250696, -0.2791853, -0.15649952, -0.17356332, -0.0036406678) * g_9;
result += mat4(0.037999913, 0.0075079957, -0.03212704, 0.06418637, -0.069481015, 0.012727689, 0.1326516, 0.21288529, -0.24180269, -0.05297486, -0.06864697, -0.1550755, -0.11256537, 0.34002435, -0.08510081, 0.18888487) * g_10;
result += mat4(-0.16029695, -0.04566749, -0.14091927, 0.13358699, -0.10535976, 0.0039140307, -0.023005482, -0.011232076, 0.3731448, -0.08050772, 0.24036883, 0.003388208, 0.2694246, -0.10064168, -0.09378355, 0.08715414) * g_11;
result += mat4(-0.009987239, -0.16815887, 0.079718135, 0.3046235, 0.08460679, 0.010675847, 0.026123201, 0.042994894, 0.14086412, 0.16343307, 0.030049993, -0.13560392, -0.028959347, -0.051606726, 0.20051792, 0.2660683) * g_12;
result += mat4(-0.041822806, -0.059724808, 0.03475158, -0.21370164, 0.2706948, 0.029740596, -0.045692813, -0.18892711, -0.072185665, -0.033861183, -0.1753473, -0.15868294, -0.04698167, -0.15849903, -0.10530276, 0.09699679) * g_13;
result += mat4(-0.14366704, 0.0054797325, 0.019186102, 0.2016934, -0.12337197, 0.03666924, -0.08487317, -0.02910447, 0.19810423, 0.19303478, -0.12032341, 0.012882501, 0.07518216, -0.16929416, 0.11856349, 0.19008183) * g_14;
result += mat4(0.29109573, -0.2495297, -0.23351379, 0.06592844, 0.22335382, -0.12432068, 0.23873796, 0.03394475, -0.111712426, -0.031314444, 0.042552706, 0.26120943, -0.100280665, 0.33024225, 0.00090209645, 0.08790097) * g_15;
result += mat4(0.19417305, 0.019389676, -0.0022192579, -0.10152884, -0.07527296, 0.09672377, 0.1896058, -0.08312996, -0.098250404, -0.005925583, -0.080828406, -0.04157932, -0.2395506, -0.2046314, -0.18201615, -0.23270196) * g_16;
result += mat4(-0.14487964, -0.06290274, 0.041151002, 0.069312826, -0.036889106, -0.026325129, -0.06404841, -0.070130795, 0.19873784, 0.008724542, 0.33345434, -0.12738648, 0.010419843, 0.0016074138, 0.028482364, -0.05086976) * g_17;
result += mat4(-0.2099938, 0.22374807, 0.0014840614, -0.09744533, -0.36373836, 0.070096895, 0.18809755, 0.055123232, -0.12190152, -0.089326, 0.037977137, -0.2779433, -0.0022680282, 0.1324952, 0.19014698, 0.11292094) * g_18;
result += mat4(0.0045333416, -0.27289414, -0.10013291, 0.03997672, 0.18506177, 0.15360181, 0.0620571, 0.18008661, 0.03184327, -0.047722574, 0.21967985, 0.12443793, 0.11032391, 0.016790923, -0.32427138, 0.11624099) * g_19;
result += mat4(0.098094285, -0.017424708, -0.13152607, -0.14184679, -0.2696629, 0.026611622, 0.4969703, -0.23566079, 0.18346384, 0.17655236, 0.046510983, 0.20738232, -0.08645157, 0.25616655, 0.1875624, 0.22396664) * g_20;
result += mat4(-0.049922127, -0.026013017, 0.17512889, 0.18352829, 0.22210887, 0.008942828, 0.004796096, -0.08654042, 0.0025269054, -0.1767342, -0.05939487, -0.27815545, -0.058232002, -0.033121955, 0.14671248, 0.24188647) * g_21;
result += vec4(0.0011495166, -0.055540904, 0.0047202418, 0.03799147);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_18_tf
//!BIND conv2d_18_tf1
//!BIND conv2d_18_tf2
//!BIND conv2d_18_tf3
//!SAVE conv2d_20_tf
//!WIDTH conv2d_18_tf.w
//!HEIGHT conv2d_18_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_18_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_18_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_18_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_18_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_18_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_18_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_18_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_18_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.044937417, 0.048447855, 0.083308615, 0.092284754, -0.0181884, -0.074617974, -0.09839621, -0.016019326, 0.18228799, -0.0033461945, 0.0031036607, 0.067903504, 0.02840241, 0.004259963, -0.07799968, -0.15254761) * go_0(-1.0, -1.0);
result += mat4(-0.074605174, -0.021673577, -0.024128562, 0.2274735, -0.04754136, -0.0072301123, 0.044593625, 0.06290077, -0.07341891, -0.11062263, 0.015977673, 0.13271153, 0.0125340205, -0.30848256, -0.0294588, -0.058981024) * go_0(-1.0, 0.0);
result += mat4(-0.06880596, 0.07861734, 0.06230101, -0.21278046, -0.015175281, 0.051755223, -0.05062869, 0.07665549, -9.789482e-05, 0.017449457, -0.03148236, 0.032569613, -0.16927092, 0.04140039, 0.13179661, -0.11682168) * go_0(-1.0, 1.0);
result += mat4(-0.11754224, 0.095256306, -0.0267522, 0.117244296, -0.06679038, -0.14423116, 0.008753021, -0.13522816, 0.32430363, -0.07516473, 0.0884106, 0.109716386, 0.01316052, 0.1265721, -0.08230337, -0.16951492) * go_0(0.0, -1.0);
result += mat4(0.052862044, -0.1066403, -0.15742472, -0.021761592, 0.04103098, 0.0069331047, -0.10831112, 0.16824234, -0.039246615, -0.104807, -0.1276423, 0.18865128, -0.006320688, -0.048721224, 0.039028827, 0.034621365) * go_0(0.0, 0.0);
result += mat4(-0.13396205, -0.037514646, 0.03854674, -0.11708971, -0.04473296, -0.0427142, -0.03922634, -0.012055486, -0.0713734, -0.052256644, 0.09374825, 0.10671724, -0.11720148, 0.015559748, -0.068319045, 0.03940586) * go_0(0.0, 1.0);
result += mat4(0.07766306, 0.10215098, 0.06919037, -0.17507964, -0.0224577, -0.09488675, 0.037218474, 0.12245416, 0.002906219, -0.14230973, -0.15529205, -0.012410999, 0.050543465, 0.25078198, -0.076290086, -0.09539849) * go_0(1.0, -1.0);
result += mat4(-0.24771377, 0.29934087, 0.36741728, -0.081612505, -0.09421008, -0.03338117, 0.00770625, -0.0807573, 0.05629427, -0.13825126, -0.093152806, -0.14876693, 0.124724984, 0.11831619, 0.0093180025, 0.008178739) * go_0(1.0, 0.0);
result += mat4(-0.19953942, 0.13807932, 0.063479654, 0.055287417, 0.062464323, 0.08311073, -0.1212773, -0.058174774, -0.054694623, 0.00278662, 0.04164216, 0.024520626, -0.0028598052, 0.13241982, -0.08831944, -0.103147596) * go_0(1.0, 1.0);
result += mat4(-0.0967617, 0.016865727, 0.033930458, -0.067517124, -0.08143233, 0.11248768, 0.16044517, -0.0918291, 0.11352542, 0.13249189, 0.079262465, -0.14966244, 0.16825606, 0.13976356, -0.018672522, 0.06830547) * go_1(-1.0, -1.0);
result += mat4(0.020573644, -0.07627649, 0.13454644, -0.10299404, 0.03338702, 0.19456132, 0.21792425, -0.043921873, -0.11219595, 0.10156094, 0.34819186, -0.17428596, 0.010211143, 0.012615089, 0.14706622, 0.13036577) * go_1(-1.0, 0.0);
result += mat4(-0.09807624, 0.053031713, 0.010114223, 0.11387094, -0.12416189, -0.05332428, 0.11184832, -0.063775964, -0.060522594, -0.10235956, 0.19231878, 0.037564367, -0.045896467, -0.25912943, -0.0051183715, 0.029018847) * go_1(-1.0, 1.0);
result += mat4(-0.04231676, -0.028609525, 0.057871167, -0.1361291, 0.073622614, 0.15908286, -0.02605266, -0.14374852, -0.17682624, 0.06470609, -0.062141493, 0.13539086, 0.039907347, 0.17547756, -0.10069048, 0.14575362) * go_1(0.0, -1.0);
result += mat4(0.14781195, -0.1207278, 0.10171179, -0.012158863, -0.0648726, -0.05067717, -0.108461335, 0.09611601, -0.22471888, -0.041238673, 0.42109078, -0.023078883, 0.005550056, 0.14077905, -0.07702439, -0.17981862) * go_1(0.0, 0.0);
result += mat4(-0.08222549, -0.25220507, 0.07068236, -0.09501228, -0.058567703, 0.18078758, 0.08493963, -0.04706646, -0.07752385, 0.22867827, 0.43284795, -0.119005986, 0.11396432, 0.03755704, -0.13391183, -0.045842096) * go_1(0.0, 1.0);
result += mat4(-0.029319478, -0.031345777, -0.04146813, -0.18742836, 0.05656507, -0.04932647, -0.04031392, 0.04714981, 0.09905856, -0.1557463, 0.22732857, 0.124624394, -0.027559387, -0.0631443, -0.11783128, -0.068318576) * go_1(1.0, -1.0);
result += mat4(0.036678102, -0.04496146, 0.053592633, -0.017061822, -0.16011058, -0.018597312, -0.04795915, -0.19371147, 0.013877209, -0.16219841, 0.3344047, 0.22396322, 0.1655194, 0.018836739, 0.0066360724, -0.041264933) * go_1(1.0, 0.0);
result += mat4(0.17590195, -0.21852443, -0.063316286, -0.14840998, 0.08429532, 0.099983774, -0.09637425, -0.12383555, -0.46428207, 0.28052437, 0.23529863, 0.31109875, -0.021004857, 0.03629119, 0.02174644, -0.06345743) * go_1(1.0, 1.0);
result += mat4(0.0033629127, 0.25259435, -0.06322473, -0.06795082, -0.060908336, -0.021225693, -0.0011893079, -0.00523214, 0.07534854, -0.12201404, 0.00017070201, 0.17880718, 0.14248244, 0.09638889, 0.013353205, -0.06181964) * go_2(-1.0, -1.0);
result += mat4(0.01065417, 0.12393771, -0.034842763, -0.07509877, -0.15372895, 0.016765343, 0.09254217, 0.12257388, 0.022180652, -0.030108888, 0.07577313, 0.35234603, 0.10218102, 0.03712338, -0.02331717, 0.026395774) * go_2(-1.0, 0.0);
result += mat4(0.034914777, -0.024654558, -0.07092997, -0.10597986, 0.021626685, 0.0778654, 0.03075065, 0.12987527, -0.10354716, 0.24356553, 0.0047885147, 0.15563188, -0.08935487, -0.0036677858, -0.081980035, 0.065517485) * go_2(-1.0, 1.0);
result += mat4(-0.0030894869, -0.07042775, 0.07033567, 0.0007813812, -0.0045792167, 0.0067564882, 0.08738557, 0.013517325, 0.027216235, -0.30188036, 0.16504927, 0.108619414, 0.12235739, -0.019714208, -1.917685e-05, -0.009782368) * go_2(0.0, -1.0);
result += mat4(0.18741177, -0.009456037, 0.11263775, 0.068504825, 0.17653711, -0.13130501, 0.07111923, 0.14623673, -0.0784866, 0.018973308, -0.18667376, -0.0030729955, -0.21694791, -0.09208482, -0.09062837, -0.03970734) * go_2(0.0, 0.0);
result += mat4(0.027665026, 0.12481046, -0.0032814168, -0.084358685, -0.037114885, -0.04781222, -0.035071872, -0.007481581, 0.08721501, 0.030526934, -0.1601082, 0.12486214, -0.106055416, 0.0029791344, 0.17318581, 0.12410092) * go_2(0.0, 1.0);
result += mat4(0.118337214, 0.03615044, 0.04502058, 0.08257654, 0.025757724, 0.03670688, 0.034917187, -0.10173083, -0.006062918, -0.2945267, 0.06369701, 0.0137756625, -0.016772032, 0.15557672, 0.0049166935, 0.0656083) * go_2(1.0, -1.0);
result += mat4(0.022286592, 0.14136387, -0.02238988, -0.061914526, -0.13922122, -0.10147098, -0.16373332, -0.040234692, 0.07255956, -0.23892853, 0.027203718, -0.053363908, 0.07188231, 0.07167074, -0.089111716, -0.092501454) * go_2(1.0, 0.0);
result += mat4(0.11419243, 0.10572503, 0.012458144, 0.14847183, -0.07630887, -0.1240132, -0.11097759, 0.006272337, -0.20672877, -0.002584412, -0.2864884, 0.07989555, 0.17726102, 0.12609701, -0.1207267, -0.08164101) * go_2(1.0, 1.0);
result += mat4(0.0568376, 0.038211502, 0.12871593, 0.038896654, 0.14495145, -0.02272981, 0.16328958, -0.12590832, -0.11422924, 0.027326366, -0.10373723, 0.042205583, -0.11788447, 0.09674761, -0.009186724, 0.12916812) * go_3(-1.0, -1.0);
result += mat4(0.25162545, -3.3890476e-05, 0.08703825, -0.11607008, 0.043662522, 0.07685117, -0.078283735, 0.08058169, 0.14562704, 0.1263126, 0.025494901, 0.1434209, 0.0058127, 0.22206631, 0.056236282, 0.03112681) * go_3(-1.0, 0.0);
result += mat4(0.1508685, 0.14413457, -0.12965852, -0.0767775, 0.02239246, 0.0486881, 0.02708027, 0.13305739, -0.073364966, -0.23306695, -0.015565839, 0.20494083, 0.045842633, 0.05245319, -0.089223884, -0.19746971) * go_3(-1.0, 1.0);
result += mat4(0.03407531, -0.0199329, 0.027199576, 0.053895712, 0.10523401, -0.00079743547, -0.01529229, -0.15297304, -0.13332592, -0.060349334, 0.0061332216, 0.18814796, 0.012662228, 0.0073347082, -0.003916167, -0.049153768) * go_3(0.0, -1.0);
result += mat4(0.21898924, -0.14015318, -0.01880963, 0.024525873, -0.018284999, -0.03600013, 0.1471339, -0.11856043, -0.082241, -0.05110251, 0.0058987355, 0.16994491, -0.084030256, -0.014700169, -0.019073943, -0.0005540768) * go_3(0.0, 0.0);
result += mat4(0.07361808, 0.11753613, -0.17573234, 0.10069508, -0.07894968, 0.09821436, -0.04819396, 0.1710404, -0.06865986, -0.21991591, -0.08604316, 0.11743923, 0.16363063, -0.0044579147, 0.073955975, 0.13638073) * go_3(0.0, 1.0);
result += mat4(0.17112228, 0.114324905, -0.036968656, -0.0061882585, -0.006032986, 0.05828771, 0.085324764, -0.062027562, 0.037088934, 0.032255128, -0.03592664, -0.19114986, -0.0286621, -0.010474721, -0.08184074, -0.0767977) * go_3(1.0, -1.0);
result += mat4(0.22109716, 0.042693872, 0.012977061, 0.12626338, -0.07328396, -0.1132474, -0.05768092, 0.091643445, 0.070683114, -0.28736666, -0.102677405, 0.22341383, -0.036884498, 0.048239507, -0.15111351, 0.022938028) * go_3(1.0, 0.0);
result += mat4(0.17241299, -0.14343849, 0.1457155, 0.23233247, -0.009644811, -0.07371276, -0.10846692, 0.119923145, -0.11526157, 0.009521168, -0.08990165, 0.042389054, 0.12759185, -0.04057633, 0.13556476, -0.0750476) * go_3(1.0, 1.0);
result += mat4(-0.07057242, -0.046533734, -0.09127049, -0.12572412, 0.28842014, 0.085501306, -0.01678872, -0.02594478, -0.23138525, -0.008161634, 0.0021849584, 0.24040027, -0.07196583, -0.04965109, 0.061478186, 0.041812465) * go_4(-1.0, -1.0);
result += mat4(0.19036561, -0.11583304, -0.22355288, -0.14028679, -0.19531016, -0.02589591, -0.21036756, 0.0035499155, -0.004294659, 0.04542862, 0.1055855, 0.024736254, 0.13763857, 0.05766982, 0.056523565, 0.028325588) * go_4(-1.0, 0.0);
result += mat4(0.11237154, 0.043256927, 0.017431485, -0.0063742045, -0.028992388, 0.23557092, 0.048805054, -0.057487488, 0.054092478, 0.04279068, 0.09719473, 0.074141964, -0.05562619, 0.06459983, 0.028208548, -0.08197527) * go_4(-1.0, 1.0);
result += mat4(0.09675773, 0.06187072, -0.120159745, 0.0363127, 0.068880804, 0.11438982, -0.21400967, -0.034944117, -0.2789711, -0.025760768, 0.12704164, 0.14817503, -0.113694414, -0.023896972, 0.056133054, 0.12856814) * go_4(0.0, -1.0);
result += mat4(-0.039551336, 0.02414355, 0.046248544, 0.08297268, 0.2777636, 0.0395731, -0.29962054, -0.062017623, -0.056899525, 0.11770196, 0.073587514, 0.03227282, 0.06346027, 0.14693345, 0.040321756, 0.17926331) * go_4(0.0, 0.0);
result += mat4(-0.03262714, 0.04432936, -0.010022308, 0.06866386, -0.023532862, 0.1279886, -0.13090476, 0.088888384, -0.10617142, 0.018608363, 0.024575554, 0.07597439, -0.13128175, 0.0627398, -0.03188158, -0.12345985) * go_4(0.0, 1.0);
result += mat4(0.22050938, 0.09904495, -0.064640984, 0.176781, 0.13351202, -0.17335273, 0.022876775, 0.1470234, -0.0487661, -0.01561562, -0.052204117, -0.032184783, 0.15990984, -0.026727494, 0.21689259, -0.08648963) * go_4(1.0, -1.0);
result += mat4(0.1310737, -0.09932602, -0.06940647, 0.099468544, -0.16164872, 0.15766169, -0.1477972, 0.09341531, -0.026328826, 0.04440307, 0.02531873, -0.07123685, -0.17359257, 0.012940533, 0.15596846, 0.10485768) * go_4(1.0, 0.0);
result += mat4(-0.022599395, -0.020247133, 0.009991452, -0.05430967, 0.1280059, -0.12089965, -0.2174703, -0.07056124, -0.14782687, -0.0008365381, 0.123130105, 0.025005372, 0.0036068684, -0.10402044, -0.0009908049, -0.054808475) * go_4(1.0, 1.0);
result += mat4(0.030255707, 0.09742665, -0.14504671, 0.04289667, -0.09251999, -0.01946357, -0.012327684, 0.036804516, 0.03163578, -0.10249547, -0.014813775, -0.00026111543, -0.17179371, 0.13949569, -0.002388145, 0.16666071) * go_5(-1.0, -1.0);
result += mat4(0.24199614, 0.047389742, 0.07160782, -0.069903806, 0.091209106, 0.0046723653, -0.20447905, -0.27765435, -0.030525608, 0.014136673, -0.17410484, 0.0042117727, -0.09667215, 0.07767184, -0.16025436, -0.01711868) * go_5(-1.0, 0.0);
result += mat4(0.032093786, 0.008447192, -0.2242103, 0.15991135, 0.03642655, -0.19743109, 0.096700616, 0.09572071, 0.07189276, 0.04323664, -0.13420205, -0.036304954, 0.18866757, 0.05249209, 0.02258907, 0.043603756) * go_5(-1.0, 1.0);
result += mat4(0.21241972, -0.020528294, 0.013225208, 0.0032435162, -0.13307743, 0.073513694, -0.05515645, 0.06746327, 0.012730669, -0.069440864, 0.061683428, -0.020925932, -0.1625713, -0.27553958, 0.048129015, 0.024371317) * go_5(0.0, -1.0);
result += mat4(0.042910665, -0.006088536, -0.0977882, 0.25844765, 0.056927476, -0.102052286, 0.0383438, -0.14567667, -0.10850187, 0.09887437, -0.074544564, -0.036828544, 0.09705893, 0.005408503, 0.08691096, -0.009896828) * go_5(0.0, 0.0);
result += mat4(0.08804541, 0.2759786, -0.3219349, 0.006462185, -0.02274468, -0.25201473, 0.06960456, 0.09282902, -0.058285296, 0.043784343, -0.06650367, 0.08615283, -0.09442146, 0.21977374, 0.07510316, 0.046129383) * go_5(0.0, 1.0);
result += mat4(-0.09854926, -0.0040589753, -0.0046874275, -0.05606601, -0.09644158, -0.025443854, 0.06679157, 0.105184354, 0.12847804, 0.034818232, -0.11927682, 0.062153667, -0.084697284, -0.16093484, 0.055803664, -0.038259108) * go_5(1.0, -1.0);
result += mat4(0.012121266, -0.044610072, -0.15920639, -0.21455094, -0.17556362, 0.11795087, 0.2782554, -0.0560055, -0.016328325, 0.017426671, -0.016999241, -0.0111242365, -0.11401752, -0.03055185, -0.1208023, -0.03324553) * go_5(1.0, 0.0);
result += mat4(-0.019453831, 0.3024969, -0.12421807, -0.07486924, -0.023773434, -0.018630482, 0.08937093, -0.16911122, 0.03174539, -0.034223765, -0.059252728, 0.048566185, -0.0227469, 0.250467, 0.0063438215, 0.12399077) * go_5(1.0, 1.0);
result += mat4(-0.14244945, -0.18781039, -0.09052935, 0.040344022, -0.09200208, -0.0020364511, -0.082314745, 0.1985458, 0.057018146, -0.19020353, 0.10604089, 0.041587926, 0.019805325, 0.11863782, 0.10040279, -0.07886153) * go_6(-1.0, -1.0);
result += mat4(-0.08785371, 0.0012416831, -0.14245462, 0.014491134, -0.092272095, -0.016375266, 0.07059052, 0.19758694, -0.051378895, -0.03128126, -0.01885893, 0.0007555793, 0.07984798, 0.002815637, -0.06356219, -0.08836911) * go_6(-1.0, 0.0);
result += mat4(0.10801107, 0.105199136, -0.015165762, -0.07823724, 0.01590213, 0.1501628, 0.035745613, -0.11738953, -0.03570796, -0.08615849, -0.058338642, 0.036825087, -0.08304603, 0.113460265, 0.061258268, 0.037475646) * go_6(-1.0, 1.0);
result += mat4(0.06608076, -0.10083555, 0.008354693, -0.13444132, 0.04017474, 0.0844823, 0.041038416, -0.027660541, -0.027312018, -0.13453196, 0.06543276, -0.07885408, 0.24397506, -0.029557763, 0.2645681, -0.05556161) * go_6(0.0, -1.0);
result += mat4(-0.012051555, -0.10064483, 0.10473231, -0.04926908, -0.0077788145, 0.113208905, -0.049261194, 0.18457137, 0.022148488, -0.08757704, 0.058209743, -0.029347239, 0.10784222, 0.06428691, 0.14934374, 0.12799424) * go_6(0.0, 0.0);
result += mat4(0.056571472, -0.053636614, -0.12792027, -0.041265823, -0.010318963, 0.057668775, 0.13060106, -0.0029116163, 0.080650404, -0.14664799, 0.029553872, 0.0031002741, -0.08129353, -0.039393093, 0.0011153305, 0.05358428) * go_6(0.0, 1.0);
result += mat4(-0.053597085, -0.074977115, 0.04966753, -0.082430005, -0.026584042, -0.036182676, 0.09082117, 0.1751359, 0.0567656, -0.25464153, 0.1587968, -0.07369893, 0.031964645, -0.015776938, -0.014184054, -0.037588824) * go_6(1.0, -1.0);
result += mat4(0.056245625, -0.19343334, -0.034719788, -0.036740743, 0.003161948, -0.05958242, 0.0011679974, 0.15001102, -0.050314993, -0.23588288, -0.18080509, -0.03913791, 0.02685433, -0.1591906, -0.0032332533, -0.067167796) * go_6(1.0, 0.0);
result += mat4(0.08710681, -0.009717672, -0.03706354, 0.058895897, -0.075231604, 0.13861851, 0.07861898, 0.07930051, -0.013427818, 0.02843637, -0.034422692, -0.048254225, -0.027066654, 0.017333468, -0.038676698, -0.010453218) * go_6(1.0, 1.0);
result += mat4(-0.0015142561, 0.15862244, -0.16688871, -0.0010665185, 0.02495258, 0.05192008, 0.018865002, -0.14237949, -0.00019605631, -0.023254955, -0.0027112218, 0.0700563, -0.21240579, -0.23829062, 0.09673947, -0.008365261) * go_7(-1.0, -1.0);
result += mat4(0.08631513, -0.10774427, -0.14574322, 0.01587099, -0.14665635, -0.06268823, -0.018062646, -0.09757734, -0.045135736, 0.022142613, -0.013806511, -0.12009454, -0.11501202, -0.18475524, 1.9658119e-05, -0.15122423) * go_7(-1.0, 0.0);
result += mat4(0.007342729, -0.13320936, -0.09675275, -0.059153594, -0.113123454, 0.015255657, 0.0479397, -0.025484433, -0.07649502, 0.020143446, -0.07246275, 0.23003843, -0.255473, 0.0018669645, 0.3184298, -0.08728176) * go_7(-1.0, 1.0);
result += mat4(0.0464958, -0.023199182, -0.049521483, 0.071012646, -0.17917378, -0.058197394, -0.17358148, -0.06618344, -0.014546293, 0.0595088, -0.03759275, -0.0059011593, -0.1661695, -0.03880235, 0.22888699, -0.084078975) * go_7(0.0, -1.0);
result += mat4(0.024697566, -0.23595122, 0.0761981, -0.13240968, -0.042000405, 0.029656362, 0.01941485, -0.10726825, 0.20714274, 0.01949488, -0.05405962, -0.004462848, 0.11120371, -0.09175814, 0.0110456, -0.0697384) * go_7(0.0, 0.0);
result += mat4(0.13779809, -0.09310028, -0.21324204, -0.16296703, -0.18191867, -0.00566912, -0.15037797, -0.13455078, 0.05498934, -0.087142125, -0.16798702, -0.112984024, -0.1773057, 0.00052684447, -0.027763423, -0.17234807) * go_7(0.0, 1.0);
result += mat4(0.12628955, -0.012055679, -0.117235065, 0.09219045, -0.071764685, -0.041950557, 0.08549711, -0.021074101, -0.10370811, 0.14320174, 0.037518226, -0.06568723, 0.12787178, 0.04144778, 0.067845285, -0.01826197) * go_7(1.0, -1.0);
result += mat4(0.10220034, -0.033858925, -0.092584774, 0.018473145, -0.10610732, -0.04457908, 0.05236731, 0.020222165, -0.047959488, 0.19325002, 0.041600883, 0.0060441773, -0.14774403, 0.04512932, 0.21706855, 0.045700278) * go_7(1.0, 0.0);
result += mat4(0.055435047, 0.111331224, -0.015313769, 0.013749339, 0.0928567, -0.08772887, -0.19616237, -0.26087436, -0.037580732, -0.09828942, 0.07386148, -0.14166622, -0.15666561, -0.33597684, -0.026530989, -0.054972704) * go_7(1.0, 1.0);
result += vec4(0.029201906, -0.0028833123, 0.015078028, -0.038192146);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_18_tf
//!BIND conv2d_18_tf1
//!BIND conv2d_18_tf2
//!BIND conv2d_18_tf3
//!SAVE conv2d_19_tf
//!WIDTH conv2d_18_tf.w
//!HEIGHT conv2d_18_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_18_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_18_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_18_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_18_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_18_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_18_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_18_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_18_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.021075599, -0.054250535, -0.15225379, -0.001421514, 0.05973969, -0.06851113, -0.021398136, 0.10361172, 0.014275951, -0.020496063, -0.07627704, 0.044158135, 0.1317084, -0.07949216, -0.024556203, 0.014688066) * go_0(-1.0, -1.0);
result += mat4(0.05021399, -0.043859698, 0.00085036585, -0.02000847, -0.10377328, -0.009204682, 0.15159367, -0.02152439, 0.0034898773, 0.10064295, 0.07660975, 0.08588586, 0.037336897, 0.1105897, -0.04757494, -0.05683813) * go_0(-1.0, 0.0);
result += mat4(0.038676567, -0.12891343, 0.13536555, -0.0697307, 0.07811669, -0.06324786, 0.06184392, 0.05041328, 0.0017139331, 0.083998576, 0.03101862, 0.058330044, 0.23353091, -0.10955777, 0.14883886, 0.16588917) * go_0(-1.0, 1.0);
result += mat4(-0.13064261, -0.10170279, 0.18957764, -0.011944436, -0.008516419, 0.06942766, 0.1333651, 0.030210488, 0.115560375, -0.19197729, 0.15315987, -0.0901618, -0.03568982, -0.025404692, -0.06520259, 0.055768777) * go_0(0.0, -1.0);
result += mat4(0.24911402, -0.055803575, 0.10609874, -0.05102895, -0.13672082, -0.049017977, -0.13644761, 0.022896811, -0.15682773, 0.05550682, 0.04735177, -0.14619595, -0.15788527, 0.124040954, -0.23663288, -0.18731435) * go_0(0.0, 0.0);
result += mat4(0.02943471, 0.06645124, -0.045207016, -0.08423218, 0.030922938, 0.0054495563, -0.1006787, 0.08239545, 0.029175663, -0.003539447, -0.036679298, 0.101064004, 0.11338603, 0.07038739, -0.16399391, -0.1493847) * go_0(0.0, 1.0);
result += mat4(0.04185234, -0.090882316, -0.05367747, 0.15270816, -0.056156795, 0.05310704, -0.047086164, -0.07563822, 0.03482228, -0.02955918, 0.07530092, -0.144532, 0.1075584, -0.054631174, 0.06471947, 0.120282896) * go_0(1.0, -1.0);
result += mat4(-0.007238141, 0.13488698, 0.015599895, 0.15120889, -0.040581208, -0.026664637, -0.011708266, 0.0610109, 0.035894353, -0.13144852, -0.02863478, -0.066748194, -0.04323779, -0.049163997, 0.041382704, 0.109267786) * go_0(1.0, 0.0);
result += mat4(-0.037647225, -0.13647673, 0.112618335, 0.11354436, 0.08061848, -0.010845823, -0.09419335, 0.033806674, 0.019806013, -0.089596435, 0.009464308, 0.0035862618, -0.0074079554, -0.009485658, 0.0763955, 0.08367428) * go_0(1.0, 1.0);
result += mat4(0.06907952, -0.052536193, 0.1763529, 0.15309668, -0.09956347, -0.07277225, -0.038373947, -0.037908833, 0.16181119, -0.025520757, -0.10903227, 0.10974898, 0.072151996, 0.012922294, -0.079603985, -0.15773883) * go_1(-1.0, -1.0);
result += mat4(-0.027342288, -0.07680874, 0.04974237, -0.08567885, -0.09929943, -0.035455007, 0.13131198, 0.16515696, -0.009102528, 0.05145574, 0.022984773, -0.029341707, 0.07288582, 0.00091653416, -0.13331193, -0.1204592) * go_1(-1.0, 0.0);
result += mat4(0.014472295, -0.10104673, 0.06167356, -0.0066606803, -0.07392597, 0.033783045, -0.122717455, 0.06814838, -0.11108132, -0.06297289, 0.121086955, 0.306241, 0.15277696, 0.0656951, -0.068692215, -0.004531433) * go_1(-1.0, 1.0);
result += mat4(-0.14150366, 0.11568731, 0.046074055, -0.026354427, -0.00021540816, -0.050237536, -0.002589603, -0.05037271, 0.15283322, 0.077606365, -0.026000943, 0.04725276, 0.060801037, -0.025782531, 0.14417455, 0.0014831548) * go_1(0.0, -1.0);
result += mat4(-0.16106884, 0.041359264, 0.04185298, 0.10449216, -0.07376945, -0.018479906, -0.07261673, -0.18092063, 0.15722854, -0.17281027, 0.34076685, 0.18638323, -0.021814108, -0.010158078, 0.009539704, 0.024126658) * go_1(0.0, 0.0);
result += mat4(-0.020093616, -0.0102490885, -0.15690912, 0.055884898, -0.016846402, 0.13414374, -0.1472554, 0.11840663, -0.08311564, -0.022485578, 0.32412425, 0.08863683, -0.029603742, -0.050152212, 0.057478085, 0.09996878) * go_1(0.0, 1.0);
result += mat4(-0.17542239, 0.09485826, 0.09920081, 0.015351153, 0.08114881, -0.12983656, 0.034618706, 0.030003658, -0.15099475, 0.2052961, 0.20252162, 0.1205947, 0.078157455, -0.016900357, 0.022622213, -0.06748161) * go_1(1.0, -1.0);
result += mat4(-0.087971665, 0.062397882, -0.07142019, 0.11933068, -0.00847593, -0.21142542, 0.05075018, -0.18219566, -0.16770703, 0.26589707, 0.12976934, -0.05131386, -0.06600382, 0.0024302478, -0.06897084, -0.22476815) * go_1(1.0, 0.0);
result += mat4(-0.07442399, 0.0017183317, 0.010965699, 0.13705957, 0.0005494493, 0.06494519, -0.047589395, 0.022372872, -0.09498922, -0.044349454, -0.18942389, -0.09328113, 0.053193945, 0.069452636, 0.024270676, 0.085541405) * go_1(1.0, 1.0);
result += mat4(-0.039297063, -0.0026948878, -0.08571043, 0.0647004, 0.004500067, -0.109853946, 0.095561184, 0.07627317, 0.022782452, -0.009354357, 0.18699041, 0.03624169, 0.06590244, 0.08779489, 0.09670581, 0.013879678) * go_2(-1.0, -1.0);
result += mat4(-0.043542888, 0.10199333, 0.033191778, -0.10077772, 0.10395939, -0.06852092, -0.07237032, -0.18194893, 0.026225125, -0.056160323, 0.08446246, 0.013397116, 0.07657753, 0.18428123, 0.056003574, -0.050301608) * go_2(-1.0, 0.0);
result += mat4(0.046665788, 0.08755995, 0.04464974, -0.0766558, 0.06281385, 0.09026257, -0.005853063, -0.18015854, 0.08414949, -0.056032974, 0.11389157, -0.15169302, -0.003766101, 0.011633537, 0.15049145, -0.09533107) * go_2(-1.0, 1.0);
result += mat4(-0.0595272, 0.05165694, 0.17036733, -0.019590864, -0.017012816, 0.20802979, -0.036727592, 0.0039354274, 0.013841891, 0.09793644, 0.053500295, -0.08375709, 0.07436116, -0.123924114, 0.13592327, -0.17214386) * go_2(0.0, -1.0);
result += mat4(-0.055947073, 0.07011482, 0.013577148, -0.1658796, -0.04328695, -0.17159998, 0.028221646, -0.032955963, 0.17267641, -0.029342541, -0.010461821, 0.15006398, -0.09205043, 0.20772073, -0.16671306, -0.12559414) * go_2(0.0, 0.0);
result += mat4(0.09860994, 0.21397981, 0.11715738, -0.047943972, 0.1284329, 0.08067804, -0.26018474, -0.16460776, 0.078657456, -0.06347525, -0.084702656, -0.08876526, 0.057452347, 0.12350108, -0.25147486, 0.067464665) * go_2(0.0, 1.0);
result += mat4(-0.02414774, -0.006014789, -0.16124673, -0.054590844, -0.030734671, 0.05109599, 0.11864468, -0.08336728, -0.011760623, 0.13827185, 0.07961881, -0.072460175, 0.01413179, 0.06742306, -0.16664205, -0.0798058) * go_2(1.0, -1.0);
result += mat4(0.07386209, 0.14170863, -0.06210615, 0.015531488, 0.00057893473, -0.0005763593, -0.073126875, -0.011790491, 0.013979303, 0.06740013, -0.023359954, -0.029758057, 0.066769704, 0.014488505, 0.0041438905, 0.061225288) * go_2(1.0, 0.0);
result += mat4(0.0069554485, 0.09764331, -0.0054218043, -0.2010452, 0.008887486, -0.017118184, -0.1340303, -0.027957728, 0.11632277, -0.03217801, -0.23497035, -0.036167137, -0.025200771, 0.005581373, -0.06958951, -0.07536721) * go_2(1.0, 1.0);
result += mat4(0.09321626, 0.12615682, 0.055691253, -0.090341516, 0.07008738, 0.00052956014, 0.08390906, -0.0031441932, -0.08124622, 0.008632992, -0.014327739, 0.06672952, 0.0031601167, 0.066681944, 0.22517303, -0.099632345) * go_3(-1.0, -1.0);
result += mat4(-0.09289536, -0.043043956, -0.05214391, -0.11719125, 0.00853943, 0.11287393, 0.09500855, -0.12966141, 0.18431212, 0.0748805, -0.046230618, -0.027745726, -0.18148296, -0.106141314, -0.0027885837, -0.02043344) * go_3(-1.0, 0.0);
result += mat4(-0.03763392, 0.11262269, -0.09432367, 0.087762475, 0.057269823, 0.005517798, 0.22757046, -0.04987115, 0.19129716, -0.03763542, -0.01590417, -0.039666392, -0.24493358, 0.04882048, -0.09947371, 0.10563259) * go_3(-1.0, 1.0);
result += mat4(0.093612835, 0.10622373, -0.010965033, -0.18060082, 0.050502308, 0.035397053, -0.074155636, 0.05722512, -0.08370328, 0.17707741, 0.11072773, -0.15585034, -0.05549326, 0.1031897, -0.10707569, -0.09843548) * go_3(0.0, -1.0);
result += mat4(0.19249113, 0.004272997, -0.11301988, -0.059472203, 0.16710956, 0.1320019, -0.010074136, 0.049597714, 0.11807218, -0.21680427, 0.18643682, -0.25256965, 0.054952204, -0.10841805, 0.008303385, 0.16246659) * go_3(0.0, 0.0);
result += mat4(0.12461618, 0.018174525, 0.11908521, -0.10700156, 0.006157429, -0.091230884, 0.08522994, -0.016037822, 0.09602615, 0.10351626, -0.12967208, 0.026805326, -0.07154254, -0.029481664, 0.21389903, 0.08344766) * go_3(0.0, 1.0);
result += mat4(-0.09969622, 0.07962598, -0.028466886, 0.050267693, -0.08045734, 0.03412841, 0.09335067, -0.013479, 0.043035932, 0.09757995, -0.28259873, 0.0020081983, 0.07462653, -0.15747115, 0.124251395, 0.076333925) * go_3(1.0, -1.0);
result += mat4(-0.035977505, 0.06003558, -0.09650363, -0.09525774, -0.16066033, 0.09775839, 0.0667778, -0.034762666, -0.0057217414, 0.065839626, 0.21028286, -0.2774071, -0.017984433, 0.03783334, -0.09587559, -0.026591627) * go_3(1.0, 0.0);
result += mat4(-0.023890898, 0.11809203, -0.1188636, -0.0012940518, 0.118897684, -9.827985e-05, -0.05622794, -0.062140178, -0.12795903, 0.05519595, -0.058305323, 0.016674206, 0.013698942, -0.08497383, 0.027362531, 0.10627308) * go_3(1.0, 1.0);
result += mat4(-0.06454933, 0.02689722, 0.010371413, 0.0634908, -0.041561414, 0.09611493, -0.06061118, 0.02602967, -0.0373284, -0.015805054, 0.05950886, -0.13804919, -0.014812459, -0.08159597, -0.09908161, -0.020315096) * go_4(-1.0, -1.0);
result += mat4(-0.06265245, -0.04897011, 0.073684655, 0.1615347, 0.0996554, -0.029503722, -0.038289137, 0.06443223, -0.015126988, -0.20464674, 0.08261881, -0.11410073, 0.06794012, -0.1282338, -0.0808648, -0.024340188) * go_4(-1.0, 0.0);
result += mat4(-0.20563951, 0.00822819, -0.0028446496, -0.037908215, -0.15417986, -0.053624943, 0.15252545, -0.066859886, -0.033749085, -0.0022916791, 0.012464019, -0.18756475, 0.028652523, -0.029153747, -0.0774323, -0.078330934) * go_4(-1.0, 1.0);
result += mat4(-0.11408609, 0.10095266, -0.09413288, 0.048672248, 0.14938189, 0.02606957, 0.10862651, 0.01836941, -0.09218335, 0.2407901, -0.038805883, -0.15219745, 0.061210256, -0.021015555, -0.018389063, -0.005998484) * go_4(0.0, -1.0);
result += mat4(-0.10569989, -0.06539472, -0.17240082, 0.01820424, 0.008560733, 0.1539287, 0.06709748, -0.045853294, 0.108150296, 0.05734132, -0.046088815, 0.248995, 0.008274402, -0.30565688, 0.12489905, 0.059402116) * go_4(0.0, 0.0);
result += mat4(-0.087341666, 0.03546864, 0.19149105, -0.03806943, 0.07624287, 0.050273992, 0.10086885, 0.12906818, 0.01114818, -0.07052573, 0.04540055, 0.029273782, 0.10898686, -0.1770709, -0.017369272, -0.016848907) * go_4(0.0, 1.0);
result += mat4(-0.058181286, -0.009246252, 0.07048362, -0.0006535902, -0.35701382, 0.231112, -0.10935989, -0.08851913, 0.027286934, 0.12029156, 0.06239391, -0.040678307, -0.092798725, -0.26335207, -0.042724196, 0.051664326) * go_4(1.0, -1.0);
result += mat4(-0.10164229, -0.0014839054, -0.021398826, -0.10823746, -0.16494614, -0.0067644184, 0.118856244, 0.12065754, 0.003400296, -0.10101892, 0.03650762, -0.009031349, 0.13758844, -0.18478121, 0.07968888, -0.09104288) * go_4(1.0, 0.0);
result += mat4(-0.008495138, 0.066670984, 0.05767939, -0.07052782, -0.014718764, 0.08614164, 0.030008111, -0.06520335, 0.02900097, -0.030700756, 0.025042165, -0.06397807, 0.006406731, -0.116308615, -0.0360389, 0.0027516233) * go_4(1.0, 1.0);
result += mat4(-0.057278417, 0.1727815, -0.07807456, -0.04727814, -0.10097372, -0.03546198, -0.032869432, 0.08689116, -0.04738872, -0.047112323, 0.02086091, -0.04105858, -0.03165431, -0.10082921, 0.15055077, -0.003025087) * go_5(-1.0, -1.0);
result += mat4(0.047094163, 0.117854774, -0.13751692, 0.25386533, -0.09068952, 0.2095612, -0.00044834684, 0.1282835, 0.1279751, -0.025870766, -0.009751841, 0.076681845, -0.079167604, 0.05592644, -0.04595776, 0.17977998) * go_5(-1.0, 0.0);
result += mat4(-0.0027239807, 0.06603127, -0.23799416, 0.0123985335, 0.025360249, -0.08612398, -0.1051835, -0.044109415, -0.09622201, 0.026738588, 0.022221094, 0.062126018, -0.10752726, -0.004420602, -0.05017027, -0.08776257) * go_5(-1.0, 1.0);
result += mat4(0.03275633, 0.14127396, -0.09341105, 0.23926768, -0.08104667, 0.025844736, -0.10298216, 0.060764167, -0.10122608, 0.08945685, 0.07788971, -0.07410643, -0.08033897, -0.23677154, -0.04966397, -0.045639224) * go_5(0.0, -1.0);
result += mat4(0.07048915, -0.106820844, 0.047254067, 0.11627385, -0.11047958, -0.027926508, 0.04498255, 0.20816003, 0.11909031, -0.0009775321, -0.18387055, -0.0018686258, -0.016878089, 0.22323456, -0.14612047, 0.022845699) * go_5(0.0, 0.0);
result += mat4(0.035804678, 0.119743, 0.1571684, -0.023207432, 0.07617338, -0.08736871, 0.05989575, -0.058365826, 0.019954713, 0.10140689, -0.09124958, -0.13218899, -0.03780429, 0.09544198, -0.039520875, -0.14930539) * go_5(0.0, 1.0);
result += mat4(0.14514346, 0.0360269, -0.054082893, -0.15789753, -0.040042885, -0.028893448, -0.09869845, 0.09966758, 0.039295428, 0.03457506, 0.024780974, 0.095122814, 0.0031860285, -0.10821901, -0.11781598, 0.01704089) * go_5(1.0, -1.0);
result += mat4(0.21498747, 0.0133230025, 0.042253625, -0.21782391, -0.1492179, 0.30398136, 0.018255081, 0.11203656, -0.03885946, 0.106861874, 0.026350034, 0.11618644, 0.084832504, -0.16322637, 0.023462294, 0.10065608) * go_5(1.0, 0.0);
result += mat4(-0.15551749, 0.14941038, 0.056670457, -0.0431253, 0.08302943, 0.01580936, -0.051593207, 0.03560764, -0.030447204, 0.075539954, -0.011442096, 0.02693397, 0.0905564, -0.014087418, -0.007015716, -0.09875941) * go_5(1.0, 1.0);
result += mat4(0.07433055, -0.030779218, 0.03334971, -0.122070454, -0.05208821, -0.056771465, -0.011534166, -0.13619904, -0.015953373, -0.013060965, -0.08053602, -0.005346061, -0.02533623, -0.046483822, -0.15184224, 0.06881467) * go_6(-1.0, -1.0);
result += mat4(-0.06786954, -0.1101747, 0.07293632, -0.072237246, -0.03891572, -0.033120476, -0.21675974, -0.01265742, -0.07152627, 0.035822228, -0.11969304, -0.008666347, -0.045399748, -0.149612, -0.08198164, 0.01729796) * go_6(-1.0, 0.0);
result += mat4(0.021353757, -0.025995912, 0.066578284, 0.04336928, 0.039536253, -0.016585456, -0.13368231, 0.12299198, -0.0013373335, -0.034165546, -0.07936003, 0.004652013, -0.042511817, 0.0019751487, 0.0011525169, -0.10085849) * go_6(-1.0, 1.0);
result += mat4(0.085357845, 0.21802829, 0.13633603, -0.09305326, -0.14289644, -0.015774531, -0.12939785, 0.021014005, 0.07054864, -0.009131392, -0.010884865, 0.08177134, 0.06213185, -0.1490639, 0.021829644, 0.025526933) * go_6(0.0, -1.0);
result += mat4(-0.02074944, 0.11732001, 0.043791592, 0.06742606, -0.112140454, 0.1183469, 0.06687539, 0.12730923, 0.0061068935, -0.07169838, -0.12619536, 0.0005274442, 0.012716505, -0.11192881, 0.068851836, 0.008492987) * go_6(0.0, 0.0);
result += mat4(0.08216468, -0.028620748, -0.055371143, 0.020594567, -0.05292034, -0.10408585, -0.04820471, 0.051627148, 0.036886677, -0.107644394, -0.020397794, 0.047485292, 0.079070546, -0.10276452, 0.19232683, -0.15654457) * go_6(0.0, 1.0);
result += mat4(0.12678936, 0.16351469, -0.0037196553, -0.08318541, -0.034772478, -0.051339243, -0.045463465, 0.12652434, 0.22918625, -0.043803692, 0.14724569, 0.047499433, 0.016458863, 0.11427085, 0.077913724, -0.062115736) * go_6(1.0, -1.0);
result += mat4(0.07971772, -0.021838864, -0.033015456, -0.07201285, -0.09160904, 0.16611984, -0.079225585, -0.063700624, 0.13366704, -0.17928718, -0.17573813, -0.0084753595, 0.14407809, 0.06637059, 0.06761111, -0.040778674) * go_6(1.0, 0.0);
result += mat4(-0.051311243, -0.00047012506, 0.11295401, 0.041759036, -0.028863018, 0.0324509, -0.077564776, 0.15006386, -0.053502884, -0.034109667, 0.0017859068, 0.16114277, -0.039465405, -0.09419871, 0.06864232, -0.018261535) * go_6(1.0, 1.0);
result += mat4(-0.04087073, 0.070795655, 0.01541917, 0.11113746, 0.025174553, 0.026181301, 0.02840083, 0.004309008, 0.09485457, -0.04233083, -0.051573273, -0.07650051, -0.17544228, -0.11439118, -0.08093743, 0.18067038) * go_7(-1.0, -1.0);
result += mat4(0.0062529687, 0.15919134, -0.053404056, 0.039204787, 0.023409445, 0.012681388, 0.09090681, 0.20121421, 0.022972144, -0.0895693, 0.04895256, 0.06891674, -0.0035229125, -0.25411057, 0.037077982, -0.13036521) * go_7(-1.0, 0.0);
result += mat4(0.11477689, 0.0028072398, -0.06338895, 0.02027455, -0.08101111, 0.034853484, 0.10567918, 0.041619904, 0.11095729, -0.008229767, 0.13372917, 0.008856674, -0.08141064, -0.0959705, 0.091087684, -0.07539786) * go_7(-1.0, 1.0);
result += mat4(-0.04363737, -0.03348933, -0.05418331, 0.029407552, 0.1489491, -0.03999793, 0.08842189, 0.14542465, 0.04715493, -0.06445284, 0.05556509, 0.09696593, -0.042307585, 0.08516361, -0.2331977, -0.03857982) * go_7(0.0, -1.0);
result += mat4(0.0038425433, -0.019158881, -0.010624798, -0.044134602, -0.1695856, 0.15631394, -0.088841416, -0.1685344, 0.023059638, 0.03796117, 0.022053894, -0.027527904, -0.044638235, -0.25911215, 0.03230966, -0.05346732) * go_7(0.0, 0.0);
result += mat4(-0.09276762, 0.24963817, 0.010785759, -0.019909501, -0.097505584, 0.032170214, -0.0023418854, 0.08733382, -0.03379668, 0.100584164, -0.109995596, -0.07523249, -0.0120575465, -0.053097837, -0.13998339, -0.10185383) * go_7(0.0, 1.0);
result += mat4(-0.0127198845, -0.042109866, -0.11629171, 0.053611718, -0.002032197, -0.012943935, -0.04415516, -0.07642406, -0.08589718, -0.017162828, -0.040193867, -0.10849531, -0.013999757, 0.0002801831, -0.035648525, 0.079189576) * go_7(1.0, -1.0);
result += mat4(-0.07409691, 0.26385418, -0.012612426, 0.090933286, 0.06744317, -0.060681526, 0.10342389, 0.0905919, 0.021600742, -0.07504329, 0.07502121, -0.05556069, -5.7453726e-05, -0.005260563, 0.1823992, -0.18512331) * go_7(1.0, 0.0);
result += mat4(-0.06008137, 0.15206294, -0.044260148, 0.053141426, 0.06447088, 0.053879313, -0.019256372, -0.009678615, 0.040676076, 0.009712142, 0.1283051, -0.046193764, 0.06051764, -0.15391533, 0.007005147, -0.21769708) * go_7(1.0, 1.0);
result += vec4(0.034930106, -0.040175084, 0.0094707515, 0.026570352);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x96
//!HOOK MAIN
//!BIND conv2d_18_tf
//!BIND conv2d_18_tf1
//!BIND conv2d_18_tf2
//!BIND conv2d_18_tf3
//!BIND conv2d_20_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!SAVE conv2d_21_tf
//!WIDTH conv2d_18_tf.w
//!HEIGHT conv2d_18_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
#define g_1 (max((conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
#define g_2 (max((conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
#define g_3 (max((conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
#define g_8 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.08710418, 0.07755426, -0.19372784, -0.12006015, -0.08683475, -0.051511686, -0.113844275, -0.01831389, 0.13441756, -0.18682177, -0.11446414, -0.053224254, 0.066490404, 0.15588047, 0.075582, -0.033167917) * g_0;
result += mat4(-0.20958789, 0.15148236, -0.04583152, 0.12812352, -0.00044433025, -0.13340057, -0.09522131, -0.25912568, -0.005632191, 0.2783046, 0.13194086, -0.13088284, 0.2362872, 0.0900396, 0.28009146, 0.004059817) * g_1;
result += mat4(0.10685089, -0.034242, 0.13198791, -0.1327393, 0.17671722, -0.21151659, -0.14577065, -0.20913975, 0.085521296, 0.035992414, 0.017195407, -0.10016802, 0.12933257, 0.046163887, -0.011927488, -0.23875898) * g_2;
result += mat4(-0.08416457, 0.17505676, 0.24870509, 0.06930309, -0.191712, -0.0808669, -0.015740015, 0.0652813, -0.059006322, -0.018401904, -0.036595564, -0.1605108, 0.12305627, 0.060691502, 0.1619963, 0.08043304) * g_3;
result += mat4(-0.1162042, 0.07235142, 0.074100144, 0.0062329075, 0.15629326, -0.004988086, -0.12807561, 0.2089372, -0.11417878, -0.0070988503, -0.08123769, 0.15964252, 0.1242517, 0.15018217, -0.16828871, -0.10980319) * g_4;
result += mat4(0.097435325, -0.10224905, 0.061068628, 0.22532623, -0.046067998, 0.19951521, -0.11546273, 0.10270359, 0.027507411, -0.1484107, -0.0939577, 0.08855171, -0.25780675, -0.20141928, -0.051490895, 0.06990546) * g_5;
result += mat4(-0.0502339, -0.0052296333, -0.07589294, -0.105127886, 0.006349035, 0.34075886, 0.050190937, -0.094317205, 0.097337745, -0.07065814, -0.16456902, 0.21397485, 0.022255344, -0.14672112, -0.19206822, 0.1821241) * g_6;
result += mat4(0.07189387, 0.15896799, -0.055312637, -0.012296496, 0.18629979, 0.21605793, 0.3112103, -0.053981252, 0.164744, -0.13682634, 0.28319356, 0.0054148296, 0.12050483, 0.021165732, -0.090522125, 0.019760927) * g_7;
result += mat4(-0.017540403, 0.0062772045, 0.18213348, -0.06998202, 0.042053856, -0.12266181, -0.03696476, 0.1198641, -0.4831862, -0.08289988, -0.09672259, 0.11441492, -0.19695596, -0.20243177, 0.120301224, -0.03885659) * g_8;
result += mat4(-0.012043374, -0.12636301, 0.07465572, -0.026296021, 0.21566753, 0.18964884, -0.21407917, 0.06082264, 0.16858701, 0.22547795, 0.060304616, 0.21083428, 0.2195806, 0.06386552, -0.13011286, 0.07762842) * g_9;
result += mat4(-0.048389256, 0.043716315, 0.07394857, 0.23185648, -0.22878529, 0.1262599, 0.04561782, -0.21576522, -0.11676992, 0.25556034, 0.08847371, 0.08644613, 0.026928827, 0.20417346, 0.058586314, 0.0476593) * g_10;
result += mat4(-0.001416993, -0.26372138, -0.17127669, -0.21048187, 0.14255156, -0.22319807, -0.08061204, 0.03961634, 0.023157349, 0.05760616, -0.27544355, -0.1383328, 0.15652739, 0.011641045, 0.03508059, 0.23525323) * g_11;
result += mat4(-0.23829429, 0.14674664, 0.08100075, 0.2795668, 0.18427856, 0.05980292, -0.24882336, -0.036076378, 0.08043839, -0.18109713, 0.10270382, -0.16545536, 0.086006865, 0.07463311, -0.2029149, 0.010671285) * g_12;
result += mat4(0.14745244, -0.09021049, 0.03856137, -0.24550879, 0.31875673, 0.19743665, -0.18928793, -0.022744423, 0.09933925, 0.06840095, 0.07151117, 0.16670194, -0.17345333, -0.17679518, 0.0803156, 0.1323218) * g_13;
result += mat4(-0.22606997, 0.23559661, -0.1356115, -0.16298714, -0.08236835, -0.11082772, -0.17032886, -0.36395928, 0.0076418323, 0.09497255, -0.009910129, -0.06704425, 0.118186295, -0.07905629, 0.16229996, 0.13862097) * g_14;
result += mat4(-0.05605825, 0.03226995, -0.09783728, 0.1276114, -0.03132329, 0.17624037, 0.1554618, 0.13293655, -0.14832236, 0.0038608431, -0.1074844, 0.15878479, -0.2007515, -0.15159251, -0.08711506, 0.0011561218) * g_15;
result += mat4(0.17221819, -0.13795783, 0.004547347, 0.07184666, 0.013688652, -0.05573553, -0.039471798, 0.23344308, 0.097293355, -0.042974688, 0.12051542, 0.015702134, 0.17581677, -0.052126184, -0.09377827, -0.072589) * g_16;
result += mat4(0.1141422, -0.13473512, 0.1427384, -0.0516325, -0.25478005, -0.20733416, -0.065446824, 0.017821401, -0.06606627, 0.09842118, 0.10977934, -0.08284073, -0.23268555, 0.17497909, 0.15409274, 0.1766027) * g_17;
result += mat4(0.16349804, -0.031991642, -0.03544694, 0.19030678, -0.10905752, -0.21243256, -0.1682402, -0.20092581, 0.049650017, -0.10322993, -0.056542892, -0.055122282, -0.04017231, -0.05765047, -0.11291076, -0.1375772) * g_18;
result += mat4(-0.12520963, 0.03948451, -0.1080389, -0.2411598, -0.2384441, 0.04583776, 0.05708465, -0.13598098, -0.0027632138, 0.059042323, 0.1888617, 0.049241446, 0.20129628, 0.08619466, 0.19998649, 0.3488563) * g_19;
result += mat4(0.04955111, 0.082809135, 0.0030273702, 0.027085733, -0.24155019, 0.18543921, -0.14815515, -0.07323729, -0.083096445, -0.018511815, -0.24441625, -0.042126883, 0.16707252, 0.15324517, -0.22174944, 0.20144019) * g_20;
result += mat4(-0.06967862, -0.13329996, -0.17944409, 0.01734243, 0.075320974, -0.22839668, 0.24706283, -0.08456183, 0.101465605, 0.011808895, 0.014018943, -0.020431247, 0.08659333, -0.08047589, 0.015925674, 0.00016753716) * g_21;
result += mat4(0.3392523, 0.10867626, 0.13746454, -0.035315026, 0.25138593, -0.21969056, 0.0074967514, -0.076253906, 0.040552594, -0.05231798, 0.05877078, -0.028507937, -0.31218964, 0.10618994, -0.35251832, 0.33440894) * g_22;
result += mat4(-0.18962376, 0.01081502, -0.079535306, -0.47144732, 0.277589, -0.081428155, -0.4717694, 0.02221676, -0.058384646, -0.45954156, 0.031163838, -0.16281652, 0.20378628, 0.22339214, 0.06407888, -0.03579875) * g_23;
result += vec4(-0.009340076, 0.0065150703, 0.010082239, 0.012676137);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x96
//!HOOK MAIN
//!BIND conv2d_18_tf
//!BIND conv2d_18_tf1
//!BIND conv2d_18_tf2
//!BIND conv2d_18_tf3
//!BIND conv2d_20_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!SAVE conv2d_21_tf1
//!WIDTH conv2d_18_tf.w
//!HEIGHT conv2d_18_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
#define g_1 (max((conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
#define g_2 (max((conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
#define g_3 (max((conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
#define g_8 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.0200372, 0.025164925, -0.051542915, 0.17349012, 0.22963412, -0.08854868, -0.18460453, -0.009592984, 0.3433165, 0.24978307, -0.30430827, -0.53036386, -0.08970036, 0.003792772, -0.17533037, 0.05531384) * g_0;
result += mat4(-0.120206885, -0.088055685, -0.028581804, -0.029799921, 0.1553587, 0.048395723, -0.019582719, 0.25623065, -0.16238682, 0.21795171, -0.041007563, 0.2657337, -0.2737889, 0.1436563, 0.08519452, 0.051322795) * g_1;
result += mat4(-0.008416596, -0.037384458, -0.01667205, -0.113932766, -0.220761, 0.20724533, -0.039649304, -0.0017309792, 0.041707594, 0.12224719, -0.059473436, 0.09303625, 0.048647325, 0.08052407, -0.23728494, -0.36954325) * g_2;
result += mat4(-0.24027216, 0.2160822, 0.16243383, 0.14543773, -0.0690304, -0.10372756, -0.108916, 0.119548805, -0.19430643, 0.17126071, -0.07952119, -0.13491428, 0.16480479, 0.024287088, -0.12048609, 0.032947384) * g_3;
result += mat4(-0.22957891, -0.10071905, 0.13317196, 0.20797506, 0.05998575, -0.029331183, 0.18397254, -0.10808303, -0.042644747, 0.17222235, 0.29700902, -0.04193782, 0.14778145, 0.13812043, 0.118143596, -0.057448573) * g_4;
result += mat4(-0.14184432, -0.0236615, -0.17279948, 0.18716908, 0.11995038, -0.1185408, 0.1980219, 0.18067634, -0.038657866, -0.030831996, 0.33048138, -0.12548326, 0.12749283, -0.06766755, -0.17756845, -0.11182692) * g_5;
result += mat4(0.040251233, 0.010135124, 0.024763199, 0.0457518, -0.2875318, 0.084092565, 0.028671606, 0.026579974, 0.017806578, 0.048673276, -0.114675, 0.05184245, 0.03820837, -0.01438677, 0.071568385, 0.07407311) * g_6;
result += mat4(0.32025474, -0.19955283, -0.1420089, 0.05544955, 0.19069096, 0.2885597, -0.119959064, -0.056846753, -0.0062394375, 0.104673326, -0.162723, -0.017674185, -0.10826556, 0.042586546, 0.06138012, -0.03990229) * g_7;
result += mat4(-0.0050156214, -0.15407455, -0.07907167, -0.13220526, -0.017592989, 0.2021805, -0.016687173, -0.056055553, -0.101649925, 0.1281, 0.05800204, 0.43441603, -0.024814442, 0.22591786, -0.2340531, 0.10235692) * g_8;
result += mat4(0.24094208, 0.20049766, -0.03091491, 0.024811655, -0.022125067, -0.078261666, -0.08867578, -0.038298346, 0.12770705, -0.3216306, 0.18978754, -0.01107385, -0.038726375, -0.34504443, 0.49312648, 0.13409658) * g_9;
result += mat4(0.0630035, 0.12272932, 0.032202568, -0.18289864, -0.0741027, 0.050733794, 0.07594249, 0.05300468, 0.042907406, 0.24372669, -0.028120704, 0.093619086, 0.11598335, 0.101204365, -0.17834216, -0.17095858) * g_10;
result += mat4(-0.08183699, -0.07916702, -0.062332753, 0.1686114, -0.016465722, -0.0046439907, -0.025219526, 0.09196341, -0.28213915, -0.4013967, 0.2070858, 0.23499006, 0.31538546, -0.063582435, 0.17215486, -0.05670036) * g_11;
result += mat4(-0.01627626, -0.085867815, -0.044567704, -0.068304785, 0.24002759, -0.18444167, 0.051936157, -0.084095374, -0.027830267, 0.0020481357, 0.05791986, 0.15611658, 0.28899965, -0.20653085, -0.075661235, -0.14174046) * g_12;
result += mat4(-0.08468525, 0.058726486, -0.06389248, -0.01455625, 0.27516794, -0.09621903, -0.1269632, 0.021708349, 0.06876667, 0.09899092, -0.060870275, -0.036878586, 0.016620016, -0.032395374, 0.21142422, 0.114436075) * g_13;
result += mat4(0.106104285, -0.37164697, -0.16798657, -0.1352658, -0.07100603, -0.10133517, 0.026537118, -0.015494572, 0.05662935, -0.018886555, -0.007515541, 0.12669149, 0.1449747, -0.23413232, 0.22381899, -0.15549453) * g_14;
result += mat4(0.25238156, -0.019380376, -0.05552284, 0.033374626, -0.005643143, -0.020936595, -0.20558305, -0.15705742, -0.006181828, -0.1994116, -0.046375062, 0.13563119, -0.28634745, 0.0880065, -0.042301185, -0.29208398) * g_15;
result += mat4(-0.17484008, -0.021532, 0.21034543, -0.0034605127, 0.014549843, 0.1751193, -0.12673648, 0.0064667664, -0.19978295, 0.1404624, 0.06869049, -0.020720724, 0.12267954, 0.25009266, -0.20387867, -0.15889901) * g_16;
result += mat4(0.25143266, 0.17484929, 0.24925528, -0.03215604, -0.0974627, 0.15165818, 0.08267684, -0.202364, 0.24375704, -0.26883098, -0.15251026, 0.051847905, 0.10552426, 0.048911758, -0.113630824, -0.25745502) * g_17;
result += mat4(0.047861718, 0.010482632, -0.28139532, -0.18458135, -0.08900709, 0.14439812, 0.017580662, -0.086692065, 0.14848581, 0.012461116, 0.13328992, 0.1823087, 0.1341251, 0.099720836, -0.123326704, -0.1529806) * g_18;
result += mat4(-0.13218595, -0.020096691, 0.089338526, -0.050373968, -0.12718384, -0.34216353, -0.05081511, -0.100018986, -0.12318239, 0.043791108, -0.3888225, 0.11529475, 0.17406003, -0.2179613, -0.18560894, -0.16957083) * g_19;
result += mat4(0.21191274, -0.16949633, -0.04258746, -0.15323012, 0.36763668, 0.18696135, -0.035708304, 0.08924961, -0.10829788, -0.086305946, 0.18746884, 0.19478951, 0.2759173, 0.059790425, 0.029030167, 0.22933595) * g_20;
result += mat4(0.117172234, 0.2812114, -0.034787145, 0.067007184, -0.18443052, -0.01740869, 0.012421643, -0.23641962, 0.09629342, -0.122772515, -0.1556607, -0.13235089, 0.13715908, 0.11799065, -0.025866343, 0.03717886) * g_21;
result += mat4(-0.06885674, 0.20376506, 0.032389764, -0.1343853, -0.24107948, -0.2061297, -0.15523757, 0.045462113, 0.15680042, 0.24913467, -0.1266525, 0.15182254, -0.19809371, -0.11994996, 0.024678899, 0.34593883) * g_22;
result += mat4(0.08096669, 0.03794547, -0.08631197, -0.074983165, -0.19917545, 0.08625112, -0.2224293, -0.13218154, -0.16452844, 0.21913971, 0.15406418, -0.14238952, -0.23737735, -0.13383593, 0.04449909, -0.14110228) * g_23;
result += vec4(-0.047341306, -0.010470165, -0.060366448, -0.0063673723);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x96
//!HOOK MAIN
//!BIND conv2d_18_tf
//!BIND conv2d_18_tf1
//!BIND conv2d_18_tf2
//!BIND conv2d_18_tf3
//!BIND conv2d_20_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!SAVE conv2d_21_tf2
//!WIDTH conv2d_18_tf.w
//!HEIGHT conv2d_18_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
#define g_1 (max((conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
#define g_2 (max((conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
#define g_3 (max((conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
#define g_8 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.16376013, -0.21462978, -0.14271215, -0.19764555, 0.004959633, 0.03559098, -0.039930187, 0.12408578, 0.073444515, -0.18976516, -0.020428572, 0.08624831, -0.13308355, 0.056589432, 0.06721722, 0.16169119) * g_0;
result += mat4(0.032759428, 0.03249251, -0.20465967, 0.07133733, 0.05343703, 0.12841259, -0.20835468, 0.09137038, 0.1938841, 0.25623104, 0.097277, 0.058534052, -0.22656159, 0.18883473, 0.011212467, -0.0037018447) * g_1;
result += mat4(-0.23469727, 0.15565057, 0.19072291, -0.1836996, 0.16059339, -0.22498783, 0.061382726, -0.20989716, 0.1775421, -0.047837425, -0.09572263, 0.103703596, -0.13672648, -0.15082708, 0.11233271, 0.22601321) * g_2;
result += mat4(0.01870386, 0.089724526, 0.09773838, 0.034003545, -0.0031496854, 0.033871237, -0.24420398, 0.007905355, -0.02449313, 0.14813906, 0.09018556, 0.12513392, 0.16733788, 0.23793064, -0.1912762, -0.13565488) * g_3;
result += mat4(0.06970355, 0.10157562, 0.14928305, 0.24936941, 0.059907116, -0.30688918, 0.081315145, -0.10862118, 0.13362534, -0.00026153796, 0.24190883, -0.06487983, 0.09340848, 0.08127848, 0.001434232, 0.067308724) * g_4;
result += mat4(-0.05588173, -0.08792639, 0.08981383, -0.13087386, -0.1401108, 0.053842388, -0.014714017, -0.16106959, -0.09377347, 0.020844752, 0.08686229, -0.046952497, 0.31264535, 0.03484944, -0.08730081, -0.006767603) * g_5;
result += mat4(0.25659466, 0.07397599, -0.059985436, 0.071429655, 0.03428176, -0.033710003, -0.16406639, -0.05580733, -0.21191816, -0.15564337, -0.07574189, -0.17225428, -0.019659676, -0.13260631, 0.05916013, -0.12107973) * g_6;
result += mat4(-0.072627656, -0.080296986, 0.034525134, -0.23515461, -0.1304861, -0.039075147, 0.3999017, -0.22840585, 0.07141298, 0.18324336, 0.054969292, -0.01635769, 0.2520213, -0.07695982, -0.023417236, 0.102722354) * g_7;
result += mat4(-0.17125753, 0.17100827, -0.31199583, -0.037970837, -0.107630424, -0.07300846, 0.07948616, -0.39042896, 0.17479163, 0.13205178, 0.11497303, -0.11652115, 0.03062989, 0.33838132, 0.14790033, 0.09507217) * g_8;
result += mat4(0.04507488, 0.35392353, 0.38684472, 0.13546394, 0.11795181, -0.19300266, -0.22795731, 0.463773, -0.12761338, -0.18098523, -0.1456463, -0.09372001, 0.28942215, 0.14363319, -0.03819802, -0.15229422) * g_9;
result += mat4(-0.12988025, 0.21170932, 0.03447564, -0.13754961, 0.087904826, 0.07837626, 0.09328843, 0.010177785, -0.3745973, 0.12749651, 0.17956547, -0.12897313, 0.19329022, -0.16939743, -0.104944855, -0.09487357) * g_10;
result += mat4(0.15901774, 0.04067448, -0.21514527, -0.077920794, -0.28198823, 0.028896367, -0.23865238, -0.0071926992, 0.28216872, -0.13635647, -0.18908545, 0.02977451, -0.25345692, 0.20820476, 0.009601449, 0.27883843) * g_11;
result += mat4(-0.037589654, -0.36836734, -0.17160638, -0.21136808, -0.18195882, -0.18352132, -0.13808772, 0.08068677, -0.015797919, -0.19405758, 0.16463257, -0.10353348, -0.0113609, -0.14714903, -0.15443285, 0.04489155) * g_12;
result += mat4(-0.21718445, 0.0059077847, 0.19859529, 0.13535082, -0.16072561, 0.19556482, 0.1523886, 0.1251762, -0.0034070462, -0.035521794, 0.034417186, -0.306561, -0.10835829, -0.07181185, 0.036284324, -0.0031866753) * g_13;
result += mat4(-0.10943835, 0.10428341, -0.06992764, -0.120998256, -0.008993865, 0.05821091, 0.06261459, -0.06388792, -0.028256107, 0.003925002, 0.25350967, -0.13623622, 0.084879614, 0.19291006, 0.06272194, -0.22010769) * g_14;
result += mat4(-0.0457065, -0.059411805, -0.17807458, 0.09876963, 0.024583695, -0.116159014, -0.105639346, 0.028582737, 0.08507421, -0.121634774, 0.15567276, -0.08701447, 0.035207976, -0.037749242, -0.11775162, 0.25025365) * g_15;
result += mat4(0.18185188, -0.07264863, 0.077263445, 0.21976566, 0.14656045, 0.047771394, 0.06685994, -0.08333337, 0.0017449517, -0.16983587, 0.14909369, -0.13025558, -0.06653938, -0.01429911, 0.032135215, 0.25310838) * g_16;
result += mat4(0.042382054, 0.2682427, 0.01764835, -0.14447007, -0.2280379, 0.045982208, 0.075665936, -0.010963417, 0.07917052, 0.20231707, -0.022708723, -0.04420749, -0.017431455, -0.4536474, 0.050049998, -0.10083379) * g_17;
result += mat4(0.042559944, 0.08244448, 0.20654662, -0.18008594, -0.1978152, 0.089204244, 0.09919466, 0.081702396, -0.030112466, -0.28072456, 0.20105025, -0.081957966, 0.048123248, -0.024997404, 0.07762149, 0.067282006) * g_18;
result += mat4(0.077762015, -0.0710356, 0.06286203, 0.090047225, 0.1062697, -0.033291563, -0.032123826, 0.031537674, 0.15810831, 0.0884716, -0.12753096, 0.017839061, 0.42752337, -0.09349916, -0.06481517, -0.07046963) * g_19;
result += mat4(-0.15118897, -0.25734478, 0.31358278, 0.1805141, 0.17088307, 0.18794382, 0.28021103, -0.34057355, -0.030835107, -0.0079853125, -0.26573807, -0.28082734, 0.0044963094, -0.020050643, 0.11479064, -0.11732869) * g_20;
result += mat4(0.30385575, 0.25909582, -0.052579727, 0.1515613, -0.082644455, -0.09668368, -0.077442855, 0.095288195, 0.004760802, 0.07587048, 0.05381485, 0.10933668, -0.25176695, 0.14999786, -0.02548245, 0.12480703) * g_21;
result += mat4(-0.12200806, -0.03346429, 0.040096015, -0.0104450155, -0.04190287, 0.15631595, 0.24532063, 0.067783296, -0.044785816, -0.17835703, 0.07349294, -0.23587738, 0.28926384, 0.020304382, -0.19058007, -0.24528348) * g_22;
result += mat4(0.14653356, -0.09399811, 0.17405438, 0.11741997, 0.1707656, 0.17793506, 0.419244, 0.36248252, 0.19333729, -0.09478834, -0.031501323, 0.3489942, 0.17111845, -0.05753778, -0.033362497, -0.20234007) * g_23;
result += vec4(-0.098978624, -0.013715648, -0.067908, -0.00071062305);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x96
//!HOOK MAIN
//!BIND conv2d_18_tf
//!BIND conv2d_18_tf1
//!BIND conv2d_18_tf2
//!BIND conv2d_18_tf3
//!BIND conv2d_20_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!SAVE conv2d_21_tf3
//!WIDTH conv2d_18_tf.w
//!HEIGHT conv2d_18_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
#define g_1 (max((conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
#define g_2 (max((conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
#define g_3 (max((conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_18_tf_tex(conv2d_18_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_18_tf3_tex(conv2d_18_tf3_pos)), 0.0))
#define g_8 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.099412, 0.018248364, -0.13228352, 0.4672803, 0.034476146, -0.1978014, -0.11049704, -0.27439678, -0.060605004, 0.110746264, -0.051524, -0.1361938, 0.009921265, 0.23397371, -0.07823562, 0.012807971) * g_0;
result += mat4(-0.057887197, -0.16899316, -0.097910166, 0.27173346, 0.048372928, -0.09819956, 0.2760085, 0.09113153, -0.25055817, 0.10803364, -0.32569218, 0.018657776, 0.10861732, 0.25150824, -0.12217984, 0.14836118) * g_1;
result += mat4(-0.23982282, 0.16482148, 0.042845722, 0.26944172, 0.03479865, 0.26460785, 0.29936558, 0.26309288, -0.03825185, 0.16846797, 0.11344883, 0.097732104, 0.011267582, 0.06025005, -0.017220326, -0.14788473) * g_2;
result += mat4(-0.07698723, 0.31528163, 0.018389257, 0.32013643, -0.17028578, 0.10416205, 0.14160097, 0.07994368, -0.21445467, 0.065764554, -0.010799837, 0.12783599, 0.16091037, -0.041146606, 0.06914886, 0.23852104) * g_3;
result += mat4(-0.21730243, 0.0005364685, -0.06843196, -0.18304375, -0.0838743, 0.06591937, -0.119132325, -0.12775517, -0.14532626, 0.035126243, -0.014109256, 0.11822324, 0.08915501, -0.048738454, 0.017610341, -0.17118132) * g_4;
result += mat4(0.066193976, -0.08082204, -0.119381346, -0.38606662, -0.018930387, 0.08734439, -0.080338374, -0.10179199, 0.28592992, -0.038777832, -0.02912025, -0.13968153, 0.1751963, -0.10257253, -0.02308871, 0.103588775) * g_5;
result += mat4(-0.015369136, 0.043419622, -0.09212257, -0.09099887, 0.17050241, 0.017557086, -0.09919063, 0.2121736, 0.13851827, -0.09521062, 0.31105414, -0.21121062, -0.16483651, -0.05569374, 0.15418938, -0.046936) * g_6;
result += mat4(0.1726453, 0.32175332, -0.2238786, -0.038357526, -0.057416882, 0.1856948, -0.15019979, -0.07717308, -0.05847253, -0.05986613, -0.09415613, 0.06858027, -0.4783783, -0.024743836, -0.039746255, 0.030463157) * g_7;
result += mat4(-0.13700408, -0.021685323, -0.1302628, -0.08178966, 0.050457038, 0.052361347, -0.3721997, 0.1799716, -0.33779272, -0.2478128, -0.11195146, 0.03438403, -0.0769632, -0.01370984, 0.358675, -0.016251782) * g_8;
result += mat4(0.18463574, -0.32811102, 0.09035979, -0.15944754, -0.01858092, -0.12055925, 0.11789398, -0.24762204, 0.19556394, 0.3658605, 0.0063217054, 0.13560002, -0.0031609968, -0.092887774, -0.11317696, 0.1688745) * g_9;
result += mat4(-0.18825243, -0.057770394, 0.13403799, 0.15150245, -0.0184938, -0.16399476, -0.20233853, -0.15256546, -0.012932695, -0.006998052, -0.27886555, -0.1801957, 0.005736763, -0.16826138, -0.11622382, 0.009515264) * g_10;
result += mat4(0.21212149, 0.025956135, -0.076748274, 0.081390835, 0.10770965, 0.14706889, -0.03222262, 0.02229013, 0.111733, 0.27851826, -0.06712574, 0.14247932, -0.21986732, -0.04752835, 0.18228333, -0.13603105) * g_11;
result += mat4(-0.09660765, 0.1315258, 0.17911027, 0.11740451, -0.097255416, 0.060639273, -0.093187824, 0.02105227, -0.07707017, 0.089799285, -0.015904067, 0.1251983, 0.0164978, 0.12589863, 0.10049757, -0.2215788) * g_12;
result += mat4(-0.019633045, 0.08128165, -0.21685003, 0.12429716, 0.21384989, 0.28713462, 0.36082667, 0.066602774, -0.20333257, -0.22721171, -0.272673, -0.0440037, -0.22458526, -0.100124046, 0.042302642, -0.10875494) * g_13;
result += mat4(0.12793371, -0.019439168, 0.16232544, -0.27688906, 0.072149724, -0.2702213, 0.10965313, -0.23709685, -0.024219394, -0.17060119, -0.09893195, -0.06776005, 0.2715758, -0.03232274, -0.04255475, -0.37065327) * g_14;
result += mat4(-0.32041374, -0.074793965, -0.036865823, -0.02918251, -0.017197197, 0.16684239, 0.025243908, -0.07547195, 0.13938503, 0.055163417, -0.011429674, -0.13055529, -0.20067081, -0.18778045, -0.11177742, 0.092909254) * g_15;
result += mat4(0.14335759, -0.074887894, -0.097555235, 0.20072718, 0.026916051, 0.074796274, -0.040159326, 0.13532946, -0.074374124, -0.1852574, -0.26057327, -0.13128847, -0.08296219, -0.14694557, 0.110786796, 0.013070258) * g_16;
result += mat4(-0.32044858, -0.063347876, -0.23396221, -0.21997774, 0.26588383, 0.028225997, 0.01708149, -0.24854802, -0.05019675, 0.18214068, 0.13636373, 0.25459006, 0.03579004, -0.13517296, 0.018898118, -0.16877192) * g_17;
result += mat4(-0.07525496, 0.14939371, 0.17912684, -0.08323159, 0.10446684, -0.04631436, -0.02372887, -0.033120833, -0.04439999, 0.26327297, -0.0050649103, 0.0598028, 0.24129944, 0.042389676, 0.014767951, 0.005455403) * g_18;
result += mat4(0.20534733, -0.04825815, -0.16734582, 0.12407057, 0.12095892, 0.113786094, -0.031531718, 0.09064296, 0.23715405, 0.12641983, 0.25125253, 0.13647586, 0.05642747, 0.21420534, -0.021030078, 0.0067664357) * g_19;
result += mat4(-0.19284865, 0.016823744, 0.035537027, 0.08619851, -0.4948977, 0.34391722, -0.22931114, 0.14890936, 0.052512612, 0.037328973, -0.09397819, 0.04763624, -0.14281563, -0.07775558, 0.041917272, -0.24072154) * g_20;
result += mat4(-0.016150191, -0.27570885, -0.043972906, -0.15360864, 0.12333279, -0.16048594, 0.19867133, -0.11443874, 0.0046046698, -0.08360428, -0.14277548, 0.09461427, 0.20481633, -0.07163476, -0.110096864, -0.2062863) * g_21;
result += mat4(0.013339331, 0.039179143, -0.18245237, -0.29612786, -0.25390434, 0.06809853, 0.003070957, -0.11978623, -0.26271898, -0.18589073, 0.14316171, 0.1990445, 0.17755853, 0.056225445, -0.06782714, 0.29821777) * g_22;
result += mat4(0.020388031, -0.09590241, 0.006317689, -0.17690729, 0.30927724, -0.3388045, -0.31306866, 0.027354693, 0.4423801, -0.16751811, -0.008609924, -0.08048698, 0.20227478, 0.0663151, 0.07970592, 0.055658944) * g_23;
result += vec4(0.008592977, -0.044200934, -0.05895498, -0.02388236);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_21_tf
//!BIND conv2d_21_tf1
//!BIND conv2d_21_tf2
//!BIND conv2d_21_tf3
//!SAVE conv2d_23_tf
//!WIDTH conv2d_21_tf.w
//!HEIGHT conv2d_21_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_21_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_21_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_21_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_21_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_21_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_21_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_21_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_21_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.09131138, 0.033908423, 0.06402078, 0.11773138, 0.1943823, -0.15592197, -0.13471745, -0.08529886, 0.06670752, -0.098241374, 0.12521602, -0.08512277, 0.1683658, 0.03740529, 0.037400503, -0.05727949) * go_0(-1.0, -1.0);
result += mat4(-0.03644541, -0.040736966, -0.11249786, 0.11850314, 0.32783642, 0.00519888, -0.042442005, 0.06894669, -0.047855087, 0.14549308, -0.025135789, 0.116999514, 0.13979697, -0.14902762, 0.06489305, -0.03388391) * go_0(-1.0, 0.0);
result += mat4(-0.023465028, 0.025934102, 0.09511252, -0.084230386, -0.1606496, -0.02123527, -0.20048198, 0.12044697, -0.2775636, -0.058961913, -0.14377111, -0.057033725, 0.082422875, -0.118948884, 0.008090666, -0.124874555) * go_0(-1.0, 1.0);
result += mat4(0.11534857, 0.012932089, 0.07273674, -0.09807298, 0.06973694, -0.07309513, -0.06061797, -0.014805921, -0.17324777, 0.1589084, -0.300336, 0.011933996, 0.20000152, 0.054015145, 0.02382139, -0.012143371) * go_0(0.0, -1.0);
result += mat4(0.05282883, -0.063555785, 0.2140791, 0.045857526, -0.09551571, -0.021092935, -0.030398421, 0.079699315, 0.27740473, 0.12863821, 0.11814711, -0.24691874, 0.0820826, -0.0122578805, 0.07135231, -0.14403847) * go_0(0.0, 0.0);
result += mat4(-0.13553837, 0.030967671, 0.058927957, -0.05810357, 0.08453746, 0.1595707, 0.096559994, -0.06876099, 0.28936404, -0.20720041, 0.0921518, -0.06055625, 0.19537878, -0.027162874, 0.17818171, -0.16391847) * go_0(0.0, 1.0);
result += mat4(-0.04569781, -0.009677751, 0.09629714, 0.16671604, 0.16229568, -0.09440705, 0.0773015, -0.094926424, 0.029782036, 0.07475886, -0.11624012, 0.102057815, -0.1621821, 0.0556299, -0.0009157474, 0.07957986) * go_0(1.0, -1.0);
result += mat4(-0.086193435, 0.0050304797, 0.237151, 0.085645474, -0.09659096, -0.06742485, 0.045208316, -0.09497162, -0.1326794, 0.08950495, 0.101273924, 0.23780954, 0.10114795, 0.16358292, -0.04790394, -0.020107236) * go_0(1.0, 0.0);
result += mat4(-0.04450685, -0.032620404, 0.041148815, 0.025766535, 0.04599292, -0.08062297, -0.07056962, 0.15501104, 0.018098447, -0.056441948, -0.0082316445, 0.009804846, -0.036104303, -0.22376746, 0.050941933, 0.019282423) * go_0(1.0, 1.0);
result += mat4(0.017053317, -0.17366727, 0.0041483818, -0.030205533, 0.09859452, 0.0518556, 0.0133445915, -0.08444114, -0.28370312, -0.13151783, 0.31044328, 0.111910336, -0.032361325, -0.01770337, -0.010704456, 0.0144173745) * go_1(-1.0, -1.0);
result += mat4(-0.12795548, -0.19439028, 0.11518335, 0.03526096, 0.047590613, -0.09982341, 0.17033744, -0.10617614, 0.09882225, -0.18019329, 0.16787401, -0.126714, 0.18646127, 0.029379264, -0.09348745, 0.1027056) * go_1(-1.0, 0.0);
result += mat4(-0.009432709, 0.014073133, 0.07751331, 0.0007941653, 0.01451177, -0.016895872, 0.18490177, -0.17758124, -0.03889537, -0.2542268, -0.10398249, 0.026144411, 0.040533677, 0.16211097, -0.03735617, 0.14508058) * go_1(-1.0, 1.0);
result += mat4(-0.073385045, -0.08633009, -0.012349179, 0.135039, -0.12819883, 0.108412564, 0.031421386, -0.15841225, 0.37309644, -0.3381479, 0.298765, 0.024899099, 0.18251772, 0.2509419, -0.22062813, -0.024837602) * go_1(0.0, -1.0);
result += mat4(-0.06883072, -0.1503742, 0.052868135, -0.043145224, -0.113911405, 0.06986772, -0.20423973, -0.13115147, 0.03548683, 0.15488684, 0.048954308, 0.31241676, 0.1041569, -0.0075826123, -0.096361734, 0.19196175) * go_1(0.0, 0.0);
result += mat4(0.047116484, -0.13105369, 0.055510826, -0.041513115, -0.06750568, -0.14283523, -0.16356061, -0.08123268, -0.006748819, -0.017072774, -0.017939035, 0.1346046, -0.13200043, 0.19815323, 0.029375095, 0.058383178) * go_1(0.0, 1.0);
result += mat4(-0.075882465, -0.07738514, 0.017256761, 0.027561456, -0.0030985356, 0.11494044, -0.23481496, -0.0407894, 0.089194834, -0.3295602, 0.1349374, 0.024026528, -0.040600736, -0.019277403, -0.23993303, 0.070719585) * go_1(1.0, -1.0);
result += mat4(0.15384857, -0.1404684, -0.08192259, 0.22059244, -0.056343608, -0.07680841, -0.028091991, 0.018050734, -0.06448074, -0.15879273, 0.05624588, 0.17439762, -0.15651157, 0.060068816, -0.022861151, -0.12604229) * go_1(1.0, 0.0);
result += mat4(0.036010202, 0.006490351, 0.11859712, -0.059950985, -0.032708675, -0.21403344, -0.041310433, -0.09917238, -0.15357764, 0.061698433, 0.048517, 0.1609773, 0.06535186, -0.17659064, -0.16361596, 0.03786077) * go_1(1.0, 1.0);
result += mat4(0.1510972, -0.03487374, 0.053542916, -0.07919296, 0.11544643, 0.01139448, 0.17608707, -0.2567972, -0.03395201, 0.1396058, 0.11766402, -0.02940849, 0.2797734, 0.040067323, -0.07184705, -0.08410531) * go_2(-1.0, -1.0);
result += mat4(0.3535709, -0.3131969, 0.20586847, 0.0059938114, 0.018430991, 0.17028253, -0.15251099, 0.0781781, -0.24678783, 0.0091668675, 0.17472872, 0.09348784, 0.15651587, 0.082479276, 0.09133184, -0.010763655) * go_2(-1.0, 0.0);
result += mat4(0.102569126, -0.39770702, 0.009020254, 0.015216178, 0.027688032, 0.14120215, 0.097465165, -0.023531476, 0.021813387, 0.037395973, 0.07099101, -0.018405994, 0.19843963, 0.1314482, -0.07058213, -0.16315302) * go_2(-1.0, 1.0);
result += mat4(-0.0022617867, -0.011069732, -0.020649603, 0.013124551, 0.19050135, -0.020224325, -0.16795257, -0.039424885, 0.15197875, -0.15806125, 0.09604692, 0.05569294, -0.03755315, 0.02522338, -0.06173222, 0.12598173) * go_2(0.0, -1.0);
result += mat4(-0.07598657, 0.19927181, -0.08278574, -0.26276442, 0.15123075, 0.13646364, 0.20835224, -0.20013718, 0.099280365, 0.03925767, 0.030458648, 0.085807234, -0.02627184, -0.005727388, 0.14358924, 0.17159012) * go_2(0.0, 0.0);
result += mat4(0.07014556, -0.12877329, 0.14059919, -0.1535854, 0.03571712, 0.16899629, -0.017528472, 0.27891418, -0.02036702, -0.0625575, -0.06368575, 0.057756003, -0.13453323, 0.27671248, 0.004629296, -0.26900387) * go_2(0.0, 1.0);
result += mat4(-0.06847566, -0.21366367, -0.039819483, -0.027131073, 0.30385053, 0.027070398, 0.050060987, 0.22837809, 0.035667785, -0.038031258, 0.002818757, 0.077267155, 0.003597696, 0.1531482, -0.058937583, 0.009182411) * go_2(1.0, -1.0);
result += mat4(-0.16412063, 0.0954355, -0.13111196, -0.0010777399, 0.124151364, 0.13577148, 0.117423296, 0.07165251, 0.045134697, 0.006139977, 0.10442549, 0.18485071, 0.23051512, 0.03836801, 0.13989983, 0.15473667) * go_2(1.0, 0.0);
result += mat4(-0.17817432, 0.06480376, -0.052858084, -0.0685316, 0.050766367, 0.18178764, 0.054162186, -0.23053114, -0.07155077, 0.08317291, 0.08087355, 0.11692418, 0.17209543, 0.07348017, -0.019608062, 0.047815118) * go_2(1.0, 1.0);
result += mat4(0.05242205, -0.05213162, 0.17836288, -0.027634641, 0.11689667, 0.16717364, 0.10070081, -0.020730542, -0.03840858, 0.22093919, 0.086223215, -0.12441894, -0.04431571, -0.16067247, -0.00534175, -0.17543635) * go_3(-1.0, -1.0);
result += mat4(0.0037269965, 0.038231213, -0.06994185, -0.16372295, 0.03060376, -0.15052626, 0.19193533, 0.20571958, 0.14663228, 0.046056807, -0.013436354, 0.30891243, -0.05121337, -0.14922823, -0.038022388, -0.38717356) * go_3(-1.0, 0.0);
result += mat4(-0.24040397, 0.06540199, -0.08115575, -0.1086239, 0.16053584, -0.07767291, 0.09287401, 0.03635286, -0.068610564, -0.08793643, -0.022505488, 0.0021461847, 0.14514421, -0.05938948, -0.070294835, -0.15001974) * go_3(-1.0, 1.0);
result += mat4(-0.14725754, 0.1766625, -0.049569584, -0.03776424, -0.070841715, -0.1235983, 0.28747836, -0.071502686, 0.08114895, -0.018539542, 0.14620744, 0.012727906, 0.05387464, -0.03048568, -0.020431526, -0.19388756) * go_3(0.0, -1.0);
result += mat4(-0.026303306, -0.025468629, -0.15062398, 0.114179656, 0.019424522, 0.11645826, -0.054830663, 0.078278676, 0.17537925, -0.27309817, 0.085727856, 0.17053008, -0.009340296, -0.32924372, -0.13124111, -0.025490649) * go_3(0.0, 0.0);
result += mat4(-0.042400144, -0.049280033, -0.12039706, -0.17957337, -0.14830892, 0.1251945, 0.23149583, 0.28181273, -0.14767516, -0.14848503, 0.14360987, 0.16052951, -0.074891195, 0.06248858, 0.055073753, 0.04758557) * go_3(0.0, 1.0);
result += mat4(-0.09363487, -0.1045394, 0.0017166267, -0.12985104, 0.015910368, 0.102758124, 0.14058472, -0.2664263, -0.037670832, -0.38395768, 0.21591122, 0.020808058, -0.21803327, -0.1312806, -0.017887505, 0.020433053) * go_3(1.0, -1.0);
result += mat4(-0.05004401, -0.09497019, -0.027566075, 0.113181084, 0.07103934, 0.2734206, -0.03059386, -0.0332269, 0.102268346, 0.008209988, 0.35907993, -0.06962411, -0.018797243, -0.10854897, -0.047280792, -0.17607129) * go_3(1.0, 0.0);
result += mat4(0.057423804, -0.09471347, -0.014889988, -0.16183464, -0.120575145, 0.087070495, 0.06833499, -0.09479741, 0.03847108, 0.10778999, 0.056107424, -0.23145913, 0.024419997, 0.103265956, -0.08921305, -0.09757912) * go_3(1.0, 1.0);
result += mat4(0.13384978, -0.079113975, 0.2673455, -0.001388325, 0.09020357, -0.031004086, -0.06706532, -0.09712962, 0.006595455, -0.07330424, 0.027356524, 0.05175056, -0.0071680583, -0.17523831, -0.2500806, 0.068184644) * go_4(-1.0, -1.0);
result += mat4(-0.010806503, -0.087054394, 0.01247482, -0.049433894, 0.24250141, -0.012302364, -0.09836663, -0.010441689, -0.01736698, 0.06227692, -0.08207885, -0.08397307, 0.10839543, 0.0582591, 0.10652411, -0.1263973) * go_4(-1.0, 0.0);
result += mat4(0.051801708, 0.10008741, 0.085652865, 0.03317883, -0.011784595, -0.09476136, -0.060254402, -0.03993118, 0.15938812, -0.036154263, -0.023724914, 0.023072388, -0.1830834, -0.16257459, 0.011939983, -0.019817753) * go_4(-1.0, 1.0);
result += mat4(0.009384002, 0.22132717, -0.10790506, -0.13403648, -0.12867084, 0.0170318, -0.26573703, 0.15219554, 0.05208657, 0.028437164, -0.0075094504, 0.16358465, -0.25728798, -0.14209302, -0.090628594, -0.020266641) * go_4(0.0, -1.0);
result += mat4(-0.105271295, -0.08334642, 0.066386715, -0.08532908, 0.034230784, 0.003183763, -0.061057337, -0.08763742, -0.017104378, 0.06903514, 0.00011934939, 0.18061033, -0.11321395, -0.13238335, 0.02217801, 0.16734014) * go_4(0.0, 0.0);
result += mat4(-0.054016914, -0.3251611, 0.10844312, 0.06809114, -0.026177978, 0.03295877, -0.25813127, -0.13190097, 0.1646799, 0.10207205, -0.070685804, 0.060001995, 0.11520876, 0.017403806, -0.13937482, -0.0474489) * go_4(0.0, 1.0);
result += mat4(0.2081571, 0.05452599, 0.08682483, -0.0080074575, -0.20034009, 0.041490223, -0.13525641, -0.08825766, 0.11166498, 0.05461938, 0.062119294, 0.07054797, 0.28615478, -0.10186286, 0.039416775, -0.09058381) * go_4(1.0, -1.0);
result += mat4(-0.002028956, 0.13792294, 0.052321367, -0.10081957, -0.10832031, 0.14681582, 0.034581225, 0.28766856, -0.12628017, 0.22492304, 0.12147461, -0.117368974, -0.09258678, -0.107831135, -0.091728576, 0.056776278) * go_4(1.0, 0.0);
result += mat4(0.09331942, 0.10814952, 0.17062774, -0.07358676, -0.1413653, 0.043760024, -0.022969319, 0.09290279, 0.022235138, -0.105375476, 0.03461203, -0.018847216, 0.016480181, -0.022482162, -0.13637148, 0.19234383) * go_4(1.0, 1.0);
result += mat4(0.02810646, -0.031316705, -0.0178568, -0.14513317, 0.15981704, -0.039926987, 0.17865102, 0.11936641, 0.08213655, -0.0325407, -0.1515291, -0.12928765, 0.011806648, -0.16914015, -0.004875871, 0.106102616) * go_5(-1.0, -1.0);
result += mat4(-0.13184357, 0.061656546, 0.060945187, -0.105421364, -0.037199628, 0.11896752, -0.060773082, 0.045614343, -0.08332208, -0.049595445, 0.09597651, -0.30532154, 0.15812595, -0.042516127, 0.18399784, 0.16094239) * go_5(-1.0, 0.0);
result += mat4(-0.33316278, -0.011284583, -0.16349995, -0.027859828, -0.0265469, 0.11809671, 0.010981738, 0.14738315, 0.06092039, -0.14193222, 0.1506528, -0.07094368, -0.024454627, -0.015645336, 0.034780208, 0.049217694) * go_5(-1.0, 1.0);
result += mat4(0.107179366, 0.07066249, 0.029978203, 0.04064619, 0.14367694, -0.0707521, -0.043202203, -0.07755337, -0.1414949, -0.075680286, 0.07212854, -0.10426819, -0.053450912, -0.036483523, -0.088566504, 0.023040567) * go_5(0.0, -1.0);
result += mat4(-0.07250885, -0.024153208, -0.15135773, -0.12738611, -0.13865541, 0.2558854, -0.062863655, 0.026076516, -0.11330215, -0.1421894, 0.078908496, 0.09536156, 0.09768448, -0.040809087, -0.01081564, 0.12752384) * go_5(0.0, 0.0);
result += mat4(-0.007411453, -0.26306254, -0.09460912, -0.1274183, 0.17549448, 0.10265319, 0.1523632, 0.00567592, -0.010893677, -0.015474816, 0.00347949, 0.06572276, 0.103830785, -0.11260262, -0.1559419, 0.01961365) * go_5(0.0, 1.0);
result += mat4(-0.27802208, 0.06816621, -0.03126256, 0.09541582, -0.027612302, -0.13786513, -0.01970176, 0.14447582, -0.027928956, 0.035179827, 0.08529638, 0.0041394024, -0.115290634, 0.009893316, -0.06947281, -0.12085376) * go_5(1.0, -1.0);
result += mat4(-0.15621363, 0.027770502, 0.22415419, -0.008533331, -0.07490461, 0.063894406, 0.07851438, -0.10022149, 0.037019495, -0.18932734, -0.054964032, -0.019382603, -0.061845765, -0.0727259, -0.07052952, -0.017668312) * go_5(1.0, 0.0);
result += mat4(0.062352043, -0.16134496, -0.11203861, 0.028929278, 0.03922491, -0.03502952, -0.23796257, -0.15868919, -0.009224885, 0.08150161, 0.16375063, 0.05467114, 0.0034257919, 0.020632897, 0.029710175, -0.051271148) * go_5(1.0, 1.0);
result += mat4(-0.10077094, -0.13743052, -0.13426858, 0.02795044, -0.03258582, 0.0035150647, -0.23349123, 0.08158031, -0.14671959, -0.106468596, -0.052647196, 0.15170865, -0.077066086, -0.13687505, -0.100158766, 0.072148666) * go_6(-1.0, -1.0);
result += mat4(-0.18043056, 0.01471657, -0.14077441, -0.07036914, 0.0041728304, 0.0025488208, -0.09778906, 0.022951962, 0.03756181, -0.09718527, 0.05790759, -0.12635967, 0.13590017, -0.009978917, -0.072935194, -0.04623219) * go_6(-1.0, 0.0);
result += mat4(-0.11367442, -0.009137989, -0.2793412, -0.044882946, 0.06419393, -0.043046396, -0.15428057, -0.14217602, 0.025581103, -0.08229003, -0.020829663, 0.06563624, -0.030519947, 0.030248122, 0.03430571, -0.013708682) * go_6(-1.0, 1.0);
result += mat4(-0.2279588, -0.18872449, -0.025711812, -0.0030177163, -0.04904665, -0.012416222, -0.043616265, -0.025587335, -0.13296616, 0.04638035, 0.04678556, 0.03844558, -0.18179114, 0.09372293, -0.010590236, 0.01083938) * go_6(0.0, -1.0);
result += mat4(0.1509907, -0.0481407, 0.0733552, -0.11650966, -0.060449038, 0.045509655, -0.020972773, 0.06986917, -0.14222102, 0.011846137, -0.17001152, -0.057357326, -0.16672502, 0.04941284, -0.047788143, 0.062904075) * go_6(0.0, 0.0);
result += mat4(-0.026204882, 0.1379135, 0.07676878, 0.09819616, 0.0367303, -0.10786471, -0.0075898385, -0.07676497, -0.11037974, -0.26268724, 0.19532666, -0.07363598, -0.07052941, 0.12609297, 0.072664596, -0.05314863) * go_6(0.0, 1.0);
result += mat4(0.08999991, 0.0558405, -0.076048166, 0.02103657, -0.027882319, 0.010349208, -0.10227, -0.057416655, -0.14109646, 0.09137617, 0.014954059, -0.1576444, 0.08265091, 0.17756382, 0.009793101, 0.016993368) * go_6(1.0, -1.0);
result += mat4(0.027727338, 0.035738327, -0.050455257, 0.0270335, -0.025559573, -0.015427726, -0.083071664, 0.061004713, 0.020193916, -0.07887369, -0.02108076, 0.11720328, 0.13798134, 0.13345529, -0.14398462, -0.029060662) * go_6(1.0, 0.0);
result += mat4(-0.07745766, -0.041309092, -0.17316692, 0.033977617, 0.15394445, -0.16951908, -0.0063321716, 0.080495596, -0.0017852545, -0.28805718, 0.0700991, 0.018410137, 0.003488375, 0.19910179, 0.10167056, 0.025110798) * go_6(1.0, 1.0);
result += mat4(-0.15580481, 0.020477565, 0.11532024, 0.03976763, 0.18229389, 0.1271016, 0.08770817, -0.09774775, 0.06600797, 0.01689596, 0.18700399, 0.09403785, -0.009046925, -0.01108422, 0.058958236, -0.047931902) * go_7(-1.0, -1.0);
result += mat4(0.06310476, 0.06905119, 0.018878374, 0.025518246, 0.10841674, 0.09996408, -0.024993157, -0.01841523, -0.05029303, 0.11934722, -0.038388044, 0.06257424, -0.2838227, -0.11319486, -0.06147547, 0.032279905) * go_7(-1.0, 0.0);
result += mat4(0.106864855, -0.14675911, 0.13882893, 0.15282702, 0.10262944, 0.1212188, -0.12513219, 0.09966214, 0.14789942, -0.008914957, 0.042973127, 0.07553493, -0.025540594, -0.05686568, -0.06566971, -0.0020550704) * go_7(-1.0, 1.0);
result += mat4(0.0414937, -0.107962914, 0.0866677, -0.14541091, -0.035804186, -0.03858178, -0.05039649, -0.050335135, 0.1229951, 0.19201261, 0.14003956, -0.08397869, 0.005254548, 0.0066002896, -0.077449955, 0.009956068) * go_7(0.0, -1.0);
result += mat4(-0.0063296407, 0.028561544, 0.08341632, 0.22342314, -0.01691521, 0.031374026, 0.050613165, 0.034745082, 0.032332152, 0.09849194, -0.007582172, 0.15742157, -0.041984398, -0.008867525, 0.03506499, -0.24573727) * go_7(0.0, 0.0);
result += mat4(-0.07056382, 0.0636449, 0.03233018, 0.1501561, 0.06066885, 0.11464044, 0.040849507, -0.13865003, 0.076462656, 0.12667337, 0.029632922, 0.25268108, 0.114084266, -0.17584173, 0.016733518, -0.17203353) * go_7(0.0, 1.0);
result += mat4(-0.01064123, 0.029628627, 0.027050711, -0.18520628, 0.07674622, 0.15729839, -0.030779244, -0.0634873, 0.1574134, 0.07093152, 0.07546052, -0.070630684, -0.022203514, 0.05314295, -0.061366297, -0.0079711685) * go_7(1.0, -1.0);
result += mat4(-0.07035216, 0.17515408, -0.029123412, 0.16910394, 0.08932361, 0.07208431, -0.11704755, 0.11410879, 0.036213387, 0.12823173, -0.07582252, 0.077650435, 0.06261303, -0.04147947, -0.04317352, 0.0021995064) * go_7(1.0, 0.0);
result += mat4(-0.15121935, 0.13061461, 0.0625614, 0.21688727, 0.2871471, 0.16875097, -0.10717908, 0.11702028, 0.034555722, -0.020147238, -0.10780166, -0.10345562, 0.07117743, -0.0009922339, 0.16038051, -0.015311427) * go_7(1.0, 1.0);
result += vec4(0.014096946, 0.0069551114, -0.010140134, -0.058456354);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_21_tf
//!BIND conv2d_21_tf1
//!BIND conv2d_21_tf2
//!BIND conv2d_21_tf3
//!SAVE conv2d_22_tf
//!WIDTH conv2d_21_tf.w
//!HEIGHT conv2d_21_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_21_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_21_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_21_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_21_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_21_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_21_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_21_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_21_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.10223896, -0.003962179, -0.026885005, 0.11193138, -0.13312434, -0.025076041, -0.059773684, 0.017627714, -0.011125944, 0.14110252, -0.01591333, -0.103229046, 0.06469717, 0.080973566, 0.1377451, -0.085188426) * go_0(-1.0, -1.0);
result += mat4(-0.012705599, -0.12700035, 0.1918345, -0.0019184656, -0.0847267, 0.03148527, 0.06449907, -0.076839246, -0.034566037, 0.114147305, -0.024244096, -0.07691169, 0.038501963, -0.1080852, 0.040208496, -0.06312811) * go_0(-1.0, 0.0);
result += mat4(-0.033068754, -0.10348481, -0.058994904, -0.114934064, 0.15838924, -0.010264998, -0.12799472, 0.020845814, -0.018875258, -0.08804753, 0.01602375, 0.12608516, 0.054035492, -0.07701545, 0.04347651, 0.06463367) * go_0(-1.0, 1.0);
result += mat4(0.017377479, -0.03754917, 0.024689697, -0.057927262, 0.0028631683, -0.05547405, 0.012137814, 0.02843827, -0.0352874, -0.19916151, 0.04784842, 0.21002018, 0.081276864, 0.011102207, -0.083124526, -0.031950574) * go_0(0.0, -1.0);
result += mat4(0.01873304, -0.09044405, 0.30275765, 0.08380349, 0.014064781, 0.09168157, -0.1864819, -0.0021196704, -0.07948197, -0.020107562, -0.03004029, -0.1622591, 0.071999714, 0.04594003, 0.008249409, -0.04092763) * go_0(0.0, 0.0);
result += mat4(0.019689152, -0.0032011836, -0.08279852, -0.098952815, 0.063363254, 0.041723877, -0.045762774, -0.07205901, -0.019022591, -0.003969965, 0.0026567664, -0.17724961, 0.013349725, -0.0045725764, 0.008257882, -0.067322485) * go_0(0.0, 1.0);
result += mat4(-0.012290499, 0.09406699, -0.07163798, 0.04803333, 0.06828126, -0.019982453, -0.08896813, -0.0040559024, 0.037249956, 0.01023478, 0.10625678, -0.15654735, 0.087492324, 0.08580872, -0.011420013, -0.021355275) * go_0(1.0, -1.0);
result += mat4(0.07686104, 0.09579432, -0.25340828, -0.07615695, -0.056016568, -0.120171346, -0.15931551, -0.029862411, 0.02335221, 0.011431254, -0.0030845958, -0.07218796, 0.07774282, 0.13269827, 0.04881306, -0.11035891) * go_0(1.0, 0.0);
result += mat4(0.044817206, -0.048356906, -0.16389881, 0.015139408, -0.07451794, 0.04694384, -0.02990636, -0.10855492, -0.21666275, -0.052773386, -0.25028092, -0.11746603, 0.077358045, 0.10103544, 0.08527534, -0.06464521) * go_0(1.0, 1.0);
result += mat4(0.03582138, 0.010487161, 0.0029515699, -0.110723086, 0.049549296, 0.14427675, -0.0609413, 0.06046345, 0.09253051, 0.1868415, -0.015272976, -0.11376719, -0.03537348, -0.09238331, -0.0036336356, 0.09587111) * go_1(-1.0, -1.0);
result += mat4(-0.015760727, 0.100032315, 0.0521871, -0.12693447, 0.032953065, -0.01678644, -0.022978857, 0.08453327, 0.052290775, -0.03598402, -0.03558539, 0.034810137, -0.12757197, 0.06762186, 0.1608983, 0.22212158) * go_1(-1.0, 0.0);
result += mat4(-0.025843577, -0.018167645, -0.048210423, -0.09630522, 0.037900604, 0.0091229845, -0.07650797, 0.27066034, 0.18431275, 0.09829389, -0.10438764, -0.048666675, -0.015207321, -0.13972227, -0.18127172, -0.007995113) * go_1(-1.0, 1.0);
result += mat4(-0.03881291, 0.07503142, -0.033570364, -0.045351487, -0.0022145896, 0.010733563, -0.020720467, 0.00081354816, 0.21934588, 0.09224533, -0.08031286, -0.038364504, -0.029873388, -0.25665647, 0.15941957, 0.025528809) * go_1(0.0, -1.0);
result += mat4(-0.09370064, 0.029663661, 0.012679274, -0.043068074, -0.028991526, 0.0574283, 0.056197148, -0.21286213, -0.26483896, -0.23181885, -0.2694775, 0.1776773, 0.26530752, 0.037465684, 0.131577, 0.18775755) * go_1(0.0, 0.0);
result += mat4(0.11927666, -0.017253317, -0.037208788, 0.12963869, 0.1836903, -0.05355178, -0.10927929, 0.088714115, 0.092516005, -0.055786908, -0.3765548, 0.22553508, -0.17434292, 0.07682209, -0.17492367, 0.07921552) * go_1(0.0, 1.0);
result += mat4(0.03987739, 0.21923572, -0.052704852, -0.03514489, -0.0008559233, 0.08740523, -0.038235787, 0.004649678, 0.023195285, 0.07912857, -0.3316638, -0.0018697636, -0.16311869, -0.08239248, -0.08974983, -0.061523616) * go_1(1.0, -1.0);
result += mat4(0.17971839, -0.10032153, 0.09912109, 0.11419959, -0.07862786, 0.18860018, -0.0054023685, -0.0063197673, -0.075057484, 0.11919032, 0.10870008, -0.0010593111, -0.028237697, -0.1403867, -0.15338054, -0.031212265) * go_1(1.0, 0.0);
result += mat4(-0.011073167, -0.021512758, -0.035089463, -0.02270197, 0.1203147, -0.0060833353, -0.06553638, -0.0131418705, 0.037314773, -0.11951629, -0.07282935, 0.18580095, 0.15012014, 0.04814535, -0.09726508, -0.06860187) * go_1(1.0, 1.0);
result += mat4(0.21669087, 0.013801443, 0.02671932, -0.044553265, 0.15349442, -0.0046121236, 0.032123394, -0.12168837, 0.0038842869, -0.023972327, -0.109120324, 0.050505854, -0.023916, 0.013567219, 0.1173681, -0.04551501) * go_2(-1.0, -1.0);
result += mat4(0.057128176, 0.14977872, 0.06343218, 0.06697086, 0.022058524, 0.07482639, -0.041569967, 0.14565067, -0.020313857, -0.07762924, 0.10456895, 0.27812317, 0.0072891894, -0.02010702, 0.025450159, -0.3102941) * go_2(-1.0, 0.0);
result += mat4(-0.055387553, -0.0821909, 0.020622486, -0.046749815, 0.14326937, 0.06796682, -0.12731776, -0.009783433, 0.068818465, -0.15524474, -0.06790948, -0.12209928, -0.0697275, -0.033641398, -0.037991934, 0.109325044) * go_2(-1.0, 1.0);
result += mat4(0.103576414, 0.1382662, 0.0076591466, 0.039789278, -0.00029025285, -0.04420823, -0.016814036, 0.23830856, 0.052784596, -0.042569418, 0.08211856, 0.0014383788, -0.09317573, 0.07717305, 0.034522586, 0.10883371) * go_2(0.0, -1.0);
result += mat4(0.20095795, -0.0762468, -0.122009076, -0.0019315446, 0.0342841, -0.002261875, 0.01336527, 0.037054777, 0.010654201, 0.0647512, 0.24071957, 0.03390332, 0.1840019, 0.026103802, -0.00016578182, -0.15023609) * go_2(0.0, 0.0);
result += mat4(-0.06991413, -0.20303409, 0.13652301, -0.075541444, 0.21606784, 0.06376107, -0.019836407, 0.30286798, 0.2425298, -0.17736211, 0.07770617, -0.19528265, -0.053150296, -0.059372786, -0.08591091, -0.22004424) * go_2(0.0, 1.0);
result += mat4(0.19765162, -0.0076910453, -0.04445224, 0.1611108, -0.050294112, 0.05884916, -0.0031236073, 0.06223903, 0.062324606, 0.035158884, -0.059429616, 0.09551932, 0.023106437, -0.015674893, 0.037365414, 0.13782242) * go_2(1.0, -1.0);
result += mat4(0.03288134, 0.24910542, -0.21833506, 0.034457803, 0.13643186, 0.13222183, 0.1179716, 0.21309394, 0.011414155, -0.063580126, 0.028173532, 0.015402401, 0.09219631, 0.15509954, 0.09644083, -0.004912005) * go_2(1.0, 0.0);
result += mat4(-0.122666344, -0.022612955, -0.18204625, -0.13870001, 0.13226813, -0.020959264, -0.15983039, 0.24193098, 0.009062403, 0.02852321, -0.07637169, -0.07182108, -0.063936904, -0.110338956, 0.08894499, 0.010865757) * go_2(1.0, 1.0);
result += mat4(-0.06311616, 0.032602638, 0.07815579, -0.085873865, -0.028512893, -0.10872674, 0.11407672, -0.1198108, 0.14156549, -0.26490405, -0.013681608, 0.17903471, 0.019571627, 0.08797144, 0.14598761, 0.1752151) * go_3(-1.0, -1.0);
result += mat4(0.060934067, -0.043878168, -0.03281894, 0.1515089, -0.031678505, 0.08898307, -0.09095997, -0.077509135, -0.028398534, -0.032485247, -0.07366146, -0.04646123, 0.03640116, 0.059365295, 0.0358693, 0.114865065) * go_3(-1.0, 0.0);
result += mat4(-0.00442871, 0.072429955, -0.18537655, -0.06719485, -0.09143303, -0.13743407, -0.0929156, -0.07207548, 0.03515558, -0.2056265, 0.043447953, -0.1127557, 0.14011581, -0.015595671, -0.044881705, 0.011502557) * go_3(-1.0, 1.0);
result += mat4(-0.11697889, -0.099679604, 0.031066136, 0.082590826, 0.10863569, -0.067363665, -0.20282263, -0.15688327, -0.042486712, -0.013625548, 0.048191063, -0.041503422, -0.04337012, 0.02459068, -0.119529836, -0.07766196) * go_3(0.0, -1.0);
result += mat4(-0.07818919, -0.21690421, 0.03777118, 0.020176264, -0.11963998, -0.20380595, -0.11266237, 0.10204603, -0.055295635, 0.042670958, 0.032413233, -0.29787624, -0.09695584, -0.06951056, -0.111144245, 0.27353725) * go_3(0.0, 0.0);
result += mat4(-0.074568786, -0.033846285, -0.11303718, 0.01347156, 0.13417509, -0.035141, 0.0549755, -0.055368077, 0.08586122, -0.06080446, -0.0649666, 0.034248006, 0.055422872, 0.0002444246, -0.05463847, -0.004172834) * go_3(0.0, 1.0);
result += mat4(0.043535687, 0.049146313, -0.08071237, 0.05743858, -0.009361048, -0.104187995, -0.05914457, 0.015472587, 0.051585488, 0.13609129, 0.039380804, -0.09487062, -0.029992107, 0.20127308, -0.016586518, -0.0118653355) * go_3(1.0, -1.0);
result += mat4(-0.11341038, -0.06534287, -0.00969141, 0.09842377, -0.15015216, -0.13036063, 0.16397302, -0.035185672, 0.014939415, 0.09231899, 0.0960422, 0.098402545, 0.05026251, -0.052272506, -0.07076674, 0.1017807) * go_3(1.0, 0.0);
result += mat4(0.09410467, 0.06965212, -0.050828446, -0.014842064, -0.05672778, 0.0034312159, -0.12667121, 0.08755347, -0.19107659, -0.14826727, -0.148465, 0.044678684, 0.12208376, 0.05630527, -0.09849773, 0.059570145) * go_3(1.0, 1.0);
result += mat4(-0.0056368727, -0.060553093, 0.06869724, -0.2671654, 0.074483775, -0.22439592, 0.03412359, -0.042746507, -0.00033218932, 0.029451698, -0.11889161, 0.02450455, -0.050221678, -0.036697924, 0.10979591, 0.006301693) * go_4(-1.0, -1.0);
result += mat4(0.14260219, -0.059394777, 0.008651593, -0.030021094, -0.10832626, -0.10480623, -0.051381744, 0.14397325, 0.10055106, -0.124934874, 0.071788386, -0.026599124, 0.21032484, -0.033513267, 0.15657996, -0.14035532) * go_4(-1.0, 0.0);
result += mat4(-0.13892077, -0.10481157, 0.035189748, -0.047936644, -0.039695438, 0.10282643, -0.04772888, -0.05615731, -0.0629154, 0.029910412, 0.016778577, 0.15581344, 0.07343337, 0.09643205, -0.007878382, 0.03907105) * go_4(-1.0, 1.0);
result += mat4(-0.013479193, -0.11390557, -0.054494295, -0.018774029, -0.07810012, -0.017801207, -0.09907588, -0.068129614, -0.0441842, 0.17567265, 0.015810724, 0.12202828, -0.09561252, 0.18990034, 0.046686, 0.07932812) * go_4(0.0, -1.0);
result += mat4(0.12950182, -0.0764622, -0.16708113, -0.041282784, -0.034567624, -0.046898007, -0.047732405, -0.16523215, -0.098671466, 0.11115384, 0.018733667, -0.030257061, 0.024691723, 0.14673457, -0.0042721583, -0.073733196) * go_4(0.0, 0.0);
result += mat4(-0.1880415, 0.058407295, -0.024268452, -0.08863777, -0.00033153518, -0.067544006, -0.14007194, 0.09763543, -0.13311495, -0.013045288, 0.080994524, -0.0021852767, 0.2526301, -0.15590498, 0.06513285, 0.008684614) * go_4(0.0, 1.0);
result += mat4(-0.16307826, -0.061499167, 0.10007602, -0.13215826, -0.007965347, 0.15285823, -0.1121792, -0.07439956, -0.07243183, 0.012338051, 0.020877926, 0.15401553, 0.079975344, -0.08843829, -0.016215425, -0.05091215) * go_4(1.0, -1.0);
result += mat4(-0.13515377, -0.22893935, -0.023000397, -0.103096426, 0.025951281, 0.13526388, -0.0009632785, -0.17457137, 0.015916126, -0.0067753294, -0.15909977, 0.03092967, -0.04734426, -0.0912585, 0.05898728, 0.26564533) * go_4(1.0, 0.0);
result += mat4(0.0035275293, 0.012649278, 0.1948556, -0.07416863, 0.02219981, 0.016499944, -0.12379185, -0.00033774113, -0.07067968, 0.07390183, -0.013505385, 0.02139018, 0.09119292, 0.10301386, 0.020239206, 0.020797301) * go_4(1.0, 1.0);
result += mat4(0.03793496, 0.047918268, -0.042518344, -0.003040927, -0.004914266, -0.06466914, 0.1054016, -0.030953595, 0.05262255, 0.059544593, 0.0012515553, 0.023376456, -0.11946804, 0.022816675, 0.12599446, -0.039031338) * go_5(-1.0, -1.0);
result += mat4(0.011011564, -0.06995047, 0.09471372, 0.073482506, -0.1361997, -0.103040315, -0.06262413, 0.11690031, 0.07043588, 0.047068246, -0.054675575, 0.038323287, 0.016909422, -0.26532903, 0.124031335, -0.15765414) * go_5(-1.0, 0.0);
result += mat4(0.1326377, -0.05869703, 0.055429142, -0.012859626, -0.15007673, 0.14602819, -0.08654888, 0.11824468, -0.059663087, -0.10994563, 0.043549772, -0.10930523, -0.019649897, -0.0034801385, 0.045497436, 0.114508495) * go_5(-1.0, 1.0);
result += mat4(-0.113787495, 0.037103496, -0.110569924, -0.059518036, 0.058745943, 0.08719483, 0.02520162, 0.025358152, -0.045150854, 0.1504978, -0.14076203, 0.0943479, 0.047369894, 0.011271822, 0.09715413, 0.028001258) * go_5(0.0, -1.0);
result += mat4(0.13310856, 0.10608291, 0.08023608, -0.18634102, 0.2721929, -0.10385782, 0.08757403, 0.20912756, 0.008799337, 0.054682046, 0.08106119, 0.051967915, -0.0420578, -0.08070327, 0.14520262, -0.11477875) * go_5(0.0, 0.0);
result += mat4(-0.046184566, 0.025668617, 0.10700355, -0.039824486, -0.2480234, 0.027258608, 0.0951336, 0.12978607, -0.05499455, -0.13601139, 0.12724544, -0.15641823, -0.0873552, -0.02188817, 0.10117889, 0.07147513) * go_5(0.0, 1.0);
result += mat4(-0.070887625, -0.042188253, -0.05307244, 0.08367565, -0.05394035, 0.032729495, 0.033332206, -0.018877268, -0.091275655, -0.0510818, 0.08523829, 0.11053021, -0.054227974, -0.03259413, 0.05457483, -0.1096016) * go_5(1.0, -1.0);
result += mat4(-0.14503245, -0.091081366, -0.13127449, -0.0807559, 0.108912565, -0.021791635, -0.11024329, -0.0138166705, 0.024161678, 0.033913497, 0.09756464, -0.053126756, -0.08025202, 0.04498814, -0.031021861, -0.02993253) * go_5(1.0, 0.0);
result += mat4(-0.25045946, -0.054898996, -0.0071393256, 0.041971236, -0.019135686, 0.08095327, 0.04526907, -0.09426112, 0.06313221, -0.044544, 0.07875577, -0.067794, 0.10187279, -0.035654344, 0.12284866, 0.03620429) * go_5(1.0, 1.0);
result += mat4(0.0943095, -0.06398471, 0.021779256, -0.010619206, -0.1617448, -0.0017947294, 0.023434827, 0.04754851, -0.046987966, 0.017030017, 0.019708563, 0.09053293, -0.067873746, -0.06164325, 0.0011462327, -0.017837046) * go_6(-1.0, -1.0);
result += mat4(0.12039112, -0.17216775, -0.07337242, 0.13252397, 0.08201477, -0.029474648, -0.0034474097, -0.13619982, -0.17575242, 0.020274922, 0.018647762, -0.28044346, -0.07714025, 0.0890905, -0.019951884, 0.05899824) * go_6(-1.0, 0.0);
result += mat4(0.0033426161, -0.01923198, 0.06659414, -0.0122886365, 0.04478331, -0.03897386, 0.12604317, 0.008812119, -0.09419456, -0.023979114, 0.21770099, -0.054838024, -0.053163752, 0.010338786, 0.04925877, 0.037819408) * go_6(-1.0, 1.0);
result += mat4(0.14372422, 2.9918947e-05, 0.01845988, 0.09333284, 0.054844312, 0.059736133, 0.021345338, -0.09120293, -0.17127307, -0.075915925, -0.119462065, -0.1835271, 0.12677628, -0.041337408, 0.03678916, 0.14712988) * go_6(0.0, -1.0);
result += mat4(0.055389576, 0.13690695, 0.02925458, -0.028905952, 0.17396308, -0.14087082, -0.026549693, 0.013602965, 0.16962606, 0.016811062, 0.062239293, -0.066154756, -0.07894684, 0.07768367, -0.10873246, -0.059606884) * go_6(0.0, 0.0);
result += mat4(0.04707709, 0.040111955, 0.15547106, 0.0143624535, -0.04931132, -0.1799645, -0.014157518, -0.11942247, -0.3786742, -0.0926198, 0.048465937, -0.16508308, -0.18456425, -0.005596354, 0.010553759, -0.14650412) * go_6(0.0, 1.0);
result += mat4(-0.12822108, -0.079825334, 0.037238546, -0.05552771, 0.0143161025, -0.0038768095, -0.11916319, 0.03297939, 0.012635646, -0.103318, 0.035178438, -0.05269534, 0.010272984, -0.076760076, -0.0404603, -0.094428495) * go_6(1.0, -1.0);
result += mat4(-0.008478651, -0.14902028, 0.1311909, -0.01592968, 0.040431064, 0.08323771, -0.20654729, 0.11949456, -0.14009294, 0.02057732, 0.06463541, -0.14152607, 0.13293357, 0.04113506, 0.1639069, -0.025289651) * go_6(1.0, 0.0);
result += mat4(-0.007400942, -0.1505565, -0.013284112, -0.015629197, 0.100692146, 0.19005777, -0.0576178, -0.027158504, 0.08660662, -0.06668144, 0.11079919, -0.074782886, -0.118196, -0.12197285, -0.008273694, 0.024818229) * go_6(1.0, 1.0);
result += mat4(0.011819537, 0.11353393, -0.086237915, -0.022234803, 0.055968612, 0.0615991, 0.025318988, 0.008080514, -0.0074833143, 0.03213514, 0.017596677, -0.04917979, -0.01020977, 0.029775353, 0.004897033, -0.10395338) * go_7(-1.0, -1.0);
result += mat4(-0.0688038, 0.058822602, -0.10180778, 0.13479604, -0.16078031, 0.13976133, -0.0018446567, 0.053424157, 0.028315792, 0.08567457, -0.043963797, -0.075502805, 0.23958415, 0.028348215, 0.028450236, -0.09978715) * go_7(-1.0, 0.0);
result += mat4(0.055084568, 0.0633926, 0.07513028, 0.067018405, 0.07824109, 0.037960775, 0.0943014, 0.04693916, -0.036844347, 0.019190654, -0.09051303, 0.08540987, -0.10541823, 0.059776157, -0.050921787, 0.044931833) * go_7(-1.0, 1.0);
result += mat4(0.09222645, -0.0042043333, -0.03341929, 0.056271244, 0.07315851, 0.12040825, 0.04529911, -0.069902666, 0.03675086, -0.15167333, -0.0731015, 0.037529152, 0.07895808, 0.19516838, 0.12074145, 0.04428294) * go_7(0.0, -1.0);
result += mat4(-0.22974864, -0.083703846, 0.007981983, 0.113407955, -0.005681401, -0.0725044, 0.08403406, -0.08046055, -0.06072271, -0.0036524318, 0.017676545, -0.019439736, -0.16989848, 0.05007473, 0.12076659, 0.03561606) * go_7(0.0, 0.0);
result += mat4(0.25000554, 0.08706544, -0.06796797, -0.029297633, 0.030483002, -0.029405795, 0.03225599, 0.1273929, 0.057500437, 0.14282806, 0.1312532, 0.06736387, -0.051108856, -0.047272597, -0.083601035, 0.08707381) * go_7(0.0, 1.0);
result += mat4(0.00104698, 0.052348208, -0.0038028702, -0.031462383, 0.16882937, 0.03287029, -0.052102886, 0.0616993, -0.13379374, -0.16625734, 0.030139674, -0.11211979, -0.06178343, 0.084902056, 0.027871864, -0.028810805) * go_7(1.0, -1.0);
result += mat4(0.13843846, 0.16980068, -0.05281067, 0.107935965, 0.05919283, -0.0379272, 0.080057494, 0.12334194, 0.016972173, -0.067814775, 0.18925636, -0.007931023, 0.21753874, 0.016326033, 0.09708944, -0.027348526) * go_7(1.0, 0.0);
result += mat4(-0.0652925, 0.080116995, -0.02714036, 0.023029007, 0.03694966, 0.014283271, 0.2425468, 0.0090831, -0.04629186, -0.09224253, 0.0074571487, 0.03976705, -0.12308334, -0.02258988, 0.02122909, -0.003723904) * go_7(1.0, 1.0);
result += vec4(0.022695603, -0.0023082788, 0.028530424, -0.014318725);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x104
//!HOOK MAIN
//!BIND conv2d_21_tf
//!BIND conv2d_21_tf1
//!BIND conv2d_21_tf2
//!BIND conv2d_21_tf3
//!BIND conv2d_23_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!SAVE conv2d_24_tf
//!WIDTH conv2d_21_tf.w
//!HEIGHT conv2d_21_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_1 (max((conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_2 (max((conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_3 (max((conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
#define g_8 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.058696087, -0.016692411, 0.25976986, 0.099469885, -0.09152728, -0.2148431, -0.08802325, -0.016499085, 0.13282052, 0.0980272, -0.1158862, 0.19684108, -0.11994136, -0.059662573, -0.016995221, -0.1027122) * g_0;
result += mat4(-0.010595027, 0.06406856, 0.23653634, 0.16295283, 0.09336285, -0.027337749, 0.015952548, 0.0376953, 0.095897034, 0.30973884, -0.08175905, -0.22890201, 0.04396234, -0.13037258, -0.025949383, -0.06218012) * g_1;
result += mat4(-0.07620231, -0.30194682, -0.076309256, 0.14013915, 0.07061645, 0.09126501, 0.1150165, -0.25510675, -0.029847346, 0.11263369, -0.02107326, -0.076345, -0.0836896, -0.10574222, 0.049557228, 0.18204224) * g_2;
result += mat4(0.31275895, 0.2131336, -0.17616041, -0.1532927, -0.0800748, 0.14726815, 0.011492155, 0.102820344, 0.10141421, -0.014893769, -0.25251386, 0.041055515, -0.10404861, -0.00033553177, -0.19449559, 0.060588796) * g_3;
result += mat4(0.16963251, -0.013009328, 0.09477736, -0.1371889, -0.057696134, -0.11377323, -0.009975633, 0.10865341, 0.018116307, -0.12912029, 0.00446529, -0.07526829, 0.21180825, 0.023429712, -0.15647651, 0.11771583) * g_4;
result += mat4(-0.10107582, -0.06897041, 0.07265895, -0.13229463, -0.032618273, -0.1995065, -0.04359697, 0.010246897, 0.08059705, -0.056275643, -0.18562363, 0.076477356, -0.032394793, -0.022298874, 0.04084915, -0.08365395) * g_5;
result += mat4(0.17930493, 0.05326699, -0.13416114, -0.20071405, 0.04909069, -0.11235366, -0.11290477, 0.054805405, -0.18932551, -0.23691942, 0.00930692, 0.055858135, -0.18744826, 0.124326915, -0.12145515, -0.05469838) * g_6;
result += mat4(-0.083303414, 0.14274205, -0.17837334, -0.22321583, 0.024028191, -0.22178806, 0.003354423, -0.13398252, 0.11718759, -0.026552575, 0.104777284, -0.16523509, 0.26287836, 0.029216014, -0.04382982, -0.1816694) * g_7;
result += mat4(0.36169127, 0.036328353, 0.38394243, -0.044287164, 0.026606947, -0.015364243, 0.040234428, -0.14585258, 0.023770748, 0.014420717, -0.18471159, 0.12606202, 0.071438275, 0.015476816, 0.11971924, -0.012690996) * g_8;
result += mat4(-0.23509689, 0.0076271794, -0.5163756, 0.08395759, -0.18723673, 0.018408693, 0.08788511, 0.15232271, -0.36024943, -0.09240755, -0.30047625, -0.17155606, -0.06985937, 0.20842774, -0.22400227, -0.21664825) * g_9;
result += mat4(-0.05239372, 0.11904273, -0.08821749, -0.04636995, -0.16663203, -0.11476132, 0.08088593, -0.03589705, -0.01017948, -0.048168585, 0.010544936, 0.13717537, 0.16119, -0.037817374, -0.0762783, 0.03526467) * g_10;
result += mat4(-0.040259548, -0.14698508, 0.10502734, -0.105779156, 0.17744789, 0.05297252, 0.021307468, -0.21976848, -0.030510878, 0.09223678, -0.09474818, 0.2469629, 0.0013956686, 0.18587582, -0.04157682, 0.1704521) * g_11;
result += mat4(0.07285109, -0.010645814, -0.07633459, 0.0998653, -0.034591697, -0.20350501, 0.10648686, 0.13691725, 0.042239573, -0.12919825, 0.08137461, -0.027513884, -0.0028005934, 0.03199354, -0.016124157, -0.058441218) * g_12;
result += mat4(0.05280611, 0.11754696, -0.10911552, 0.316396, 0.15148664, -0.061536465, -0.102609016, 0.037154227, 0.15367137, -0.042577345, 0.06558037, 0.17360497, 0.20247519, -0.032606795, -0.10807613, 0.051761452) * g_13;
result += mat4(0.0022353246, 0.11659671, -0.14492981, -0.20829871, 0.13133155, 0.12089799, 0.019354021, -0.2658604, 0.04921859, 0.22848538, 0.21938437, 0.16021933, -0.06768084, 0.134724, 0.047685273, 0.077655315) * g_14;
result += mat4(0.019583335, -0.11596351, 0.20498835, 0.13917811, -0.028330192, -0.07062669, -0.19952956, 0.08023568, 0.0053012795, -0.10001755, 0.24791576, 0.014599471, 0.18118413, 0.027773563, -0.017590087, 0.037026614) * g_15;
result += mat4(0.097719975, -0.035079796, 0.11477913, -0.13726783, 0.20932943, -0.10429427, 0.13141108, -0.19026637, -0.06115164, -0.23775233, 0.090050876, 0.031347554, 0.0350951, 0.052728195, -0.07699315, 0.24431244) * g_16;
result += mat4(0.16608196, 0.20575161, -0.40825596, 0.24043176, 0.31130707, -0.046513405, 0.14605568, -0.1021257, 0.1593242, 0.32908028, -0.13133794, -0.08078372, -0.21714397, 0.054140713, 0.15257664, -0.09940761) * g_17;
result += mat4(-0.1323459, -0.28875232, -0.01497331, 0.030733688, 0.12423061, 0.073697634, -0.2566797, 0.04460948, 0.2865253, -0.13094993, 0.06848032, -0.080888934, 0.09375976, -0.039186817, -0.26337674, -0.098654084) * g_18;
result += mat4(-0.22869076, -0.06542219, 0.15441294, 0.053751558, -0.10786946, 0.21515097, -0.12272559, 0.113470495, -0.039961167, -0.05458959, 0.056336533, -0.16626738, -0.11003154, 0.16398644, 0.21803926, 0.14490128) * g_19;
result += mat4(0.005704737, 0.050607253, -0.060669646, 0.02315674, 0.27544695, -0.05550004, -0.32093555, -0.027370991, -0.0070907134, 0.114890516, -0.037459094, 0.26141244, 0.3948764, 0.055632085, 0.12894577, 0.2616119) * g_20;
result += mat4(-0.16639514, -0.17228165, 0.2578368, 0.18405698, -0.16141811, -0.19922118, 0.0774084, 0.22068399, -0.12284921, 0.10599979, 0.039710265, -0.027798124, -0.103033185, -0.04742161, -0.30192822, -0.08567758) * g_21;
result += mat4(-0.0868937, -0.10361983, 0.023334388, 0.008042379, 0.26398548, 0.15074515, -0.052286822, -0.10586637, 0.07187348, 0.099190384, -0.1389896, -0.0019672879, -0.14919114, 0.016451705, -0.038644433, 0.04510475) * g_22;
result += mat4(0.0478762, -0.0032748727, -0.15553872, 0.17001377, 0.010854262, -0.106533505, 0.4341412, 0.24823058, -0.19182336, 0.08669677, 0.030827353, 0.05449623, 0.020789523, 0.13378422, 0.04309073, 0.30953705) * g_23;
result += mat4(-0.33780453, -0.15031691, -0.18126999, 0.023555402, 0.30662948, -0.013749685, 0.28102842, 0.008741284, -0.14455633, -0.18823312, 0.016984712, -0.261531, 0.33998242, 0.055556037, 0.07087725, -0.10207668) * g_24;
result += mat4(0.25463784, 0.04663675, 0.24814023, -0.14536841, 0.1517421, 0.13530119, -0.12027553, -0.030012354, 0.15529017, 0.06190467, -0.042643487, -0.14222258, -0.036342848, -0.029681267, -0.0059485766, -0.006802466) * g_25;
result += vec4(-0.07437017, -0.009831191, 0.0028422514, 0.015599199);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x104
//!HOOK MAIN
//!BIND conv2d_21_tf
//!BIND conv2d_21_tf1
//!BIND conv2d_21_tf2
//!BIND conv2d_21_tf3
//!BIND conv2d_23_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!SAVE conv2d_24_tf1
//!WIDTH conv2d_21_tf.w
//!HEIGHT conv2d_21_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_1 (max((conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_2 (max((conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_3 (max((conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
#define g_8 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.08979697, -0.10504161, 0.16022556, 0.11341658, 0.061358813, -0.11527514, 0.104621656, 0.17846957, -0.21971604, -0.08296368, 0.059561037, -0.030467503, -0.18203235, -0.00489335, -0.13960212, -0.1846774) * g_0;
result += mat4(-0.021587428, 0.13345426, 0.002885677, -0.10446278, 0.17950022, 0.029065073, -0.32806116, 0.11106503, 0.041467514, -0.28959805, -0.033284128, 0.031551834, 0.006884119, 0.09131054, 0.02568901, -0.11571497) * g_1;
result += mat4(-0.061347164, -0.019125437, -0.14035773, 0.17835122, -0.18599916, 0.006040366, -0.10548407, 0.16857028, -0.12821414, -0.257687, 0.083109885, 0.033304747, -0.03638158, 0.089094125, -0.2121359, -0.16846325) * g_2;
result += mat4(-0.19272862, -0.040250458, -0.025220647, -0.0130254505, 0.16971767, -0.1262595, -0.17335917, -0.06738606, 0.25743198, -0.07245476, 0.034572147, 0.36634898, 0.06062579, -0.08718957, -0.03222726, -0.2564149) * g_3;
result += mat4(-0.19240691, 0.12406588, 0.3184258, -0.34774688, 0.14093249, 0.03706444, -0.111542135, 0.26256654, -0.1875004, 0.049010817, -0.28910252, -0.07044059, -0.061912216, 0.0849468, 0.044482302, -0.09588286) * g_4;
result += mat4(0.15970096, -0.0030905118, 0.28313154, 0.027417777, -0.1538593, 0.21207502, 0.13121693, -0.30331814, 0.121317744, 0.042900104, -0.022242952, 0.10603051, -0.029436313, -0.06481103, 0.1403121, -0.052515112) * g_5;
result += mat4(0.08658267, 0.1741316, -0.18155402, -0.10258272, 0.032190584, 0.066993676, 0.1354344, 0.027893255, -0.017966608, 0.23040892, 0.030393174, -0.07598643, 0.13171883, 0.18465646, 0.067950405, -0.089663) * g_6;
result += mat4(0.122048914, 0.11810184, -0.11860061, -0.26858392, -0.209042, -0.16273905, -0.055165585, -0.005811152, -0.18738034, 0.058543697, -0.039830476, -0.16113137, -0.091200404, 0.2339841, -0.021218592, 0.26669285) * g_7;
result += mat4(-0.014585638, -0.0032463232, 0.17495912, -0.08503565, -0.19564098, 0.22158442, -0.1867278, 0.0042652315, 0.03968311, 0.28752264, -0.28998294, -0.0029852116, -0.23554218, 0.16868985, 0.08550133, -0.1574371) * g_8;
result += mat4(0.49997026, -0.016691396, -0.18841855, 0.30310807, 0.100790545, 0.038233314, 0.1611522, 0.13933793, -0.22570881, 0.12208755, 0.23460633, 0.15977637, -0.03795079, -0.30355585, 0.0011402427, -0.07599262) * g_9;
result += mat4(0.1040602, 0.087594695, -0.27393925, 0.0418618, 0.06769233, 0.10341748, 0.03344078, 0.14392397, 0.19013835, -0.003081719, -0.2819769, 0.025617521, 0.09402475, -0.015399136, 0.04733618, -0.044959366) * g_10;
result += mat4(-0.060594074, 0.015600568, 0.16962534, -0.00081952167, 0.2690884, 0.04898387, 0.23332061, 0.094616964, -0.08526234, -0.07512189, 0.04900841, -0.18874052, 0.09941649, -0.040419415, -0.13692108, 0.16164334) * g_11;
result += mat4(-0.053954955, 0.28258643, -0.07396885, -0.29855832, -0.05407898, 0.014401148, -0.054173157, -0.15637222, 0.272353, -0.02170652, -0.015834406, 0.08651297, -0.11185562, -0.19492313, -0.024557848, 0.10485409) * g_12;
result += mat4(-0.08333046, -0.06798886, -0.11723233, 0.2928367, -0.029574843, 0.2017853, -0.26673993, 0.1334675, 0.017647222, 0.011599432, 0.2609211, 0.16404016, 0.16160911, -0.13806355, -0.0770869, -0.12961225) * g_13;
result += mat4(-0.19316232, 0.15813714, -0.077418946, -0.20926195, -0.16160491, -0.11846783, -0.026574116, 0.061050467, -0.18681675, -0.062164336, -0.18367381, 0.00018551799, 0.031343188, 0.2299072, -0.118061095, 0.2129531) * g_14;
result += mat4(-0.002469605, -0.042093765, -0.10694342, 0.42083347, 0.0670906, 0.30298585, 0.09004686, -0.23083562, 0.14870504, 0.17281657, -0.20583957, 0.010098754, -0.033128325, -0.111837484, 0.14905591, -0.15318894) * g_15;
result += mat4(0.036136966, 0.018714666, 0.04639626, -0.19534552, -0.10005012, -0.0117230825, -0.21940173, 0.04220659, -0.0032740128, 0.059329886, 0.14921357, -0.056334518, -0.15263896, -0.16852587, -0.044578124, 0.2628712) * g_16;
result += mat4(0.100949906, 0.004228454, 0.06405682, -0.06885952, 0.24312544, -0.33124098, -0.24260363, 0.0024199567, 0.1508378, 0.086369656, -0.08181863, -0.4503699, 0.17878622, 0.11472353, 0.16728742, -0.13093603) * g_17;
result += mat4(-0.06985756, -0.0019436302, 0.015692828, -0.013669101, -0.20771547, 0.067934655, 0.06843243, -0.09379625, -0.043609153, -0.0037825725, -0.10029127, -0.1315925, -0.079464234, -0.08471481, 0.07953321, -0.07559369) * g_18;
result += mat4(0.09396738, -0.08508011, -0.15136994, -0.05033154, -0.13346456, 0.07239574, -0.14461002, 0.03597791, -0.064514555, 0.06253932, -0.17408507, 0.037559777, -0.15963385, 0.08210336, -0.24775903, -0.01580598) * g_19;
result += mat4(0.084354095, 0.18890528, 0.07061357, 0.23486592, -0.15324847, 0.18526913, -0.34279072, -0.37405473, -0.09294527, 0.010385339, 0.19220817, -0.04336903, -0.38940063, 0.076640904, 0.17280221, -0.09818483) * g_20;
result += mat4(0.038739417, -0.07602283, 0.003676506, -0.22913142, -0.08044049, -0.19263157, -0.18030334, 0.09494168, 0.156977, -0.27044684, -0.031590268, 0.20470932, 0.28102174, 0.16872606, -0.11217233, 0.24780095) * g_21;
result += mat4(0.06689687, 0.08853936, 0.09184726, 0.22699554, -0.14092675, -0.02688781, 0.2646647, 0.026377598, 0.12483503, -0.06999643, 0.04486326, -0.0897168, -0.022117272, 0.14900659, -0.26331872, 0.104682565) * g_22;
result += mat4(0.065322906, -0.11183809, -0.17946585, -0.20076565, 0.009464183, -0.123363525, -0.07686269, 0.083753645, -0.062136367, 0.17842509, 0.17349558, -0.10999101, -0.036272816, -0.016200582, 0.10451098, 0.19585742) * g_23;
result += mat4(-0.19023383, 0.26640254, 0.26287216, 0.055038862, -0.3129526, -0.022839354, 0.009630041, 0.08733156, -0.2612418, -0.19251396, 0.058636077, -0.3330285, -0.078063555, -0.27609676, -0.020230204, -0.18260407) * g_24;
result += mat4(0.14539486, -0.21613313, -0.3492072, -0.20886984, 0.25280094, 0.01690657, 0.117284745, -0.14519997, -0.5187426, -0.14994088, 0.18306793, -0.0025114815, 0.022995003, 0.11710601, -0.05377852, 0.11480645) * g_25;
result += vec4(-0.0247107, 0.005474094, -0.09375405, -0.020514423);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x104
//!HOOK MAIN
//!BIND conv2d_21_tf
//!BIND conv2d_21_tf1
//!BIND conv2d_21_tf2
//!BIND conv2d_21_tf3
//!BIND conv2d_23_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!SAVE conv2d_24_tf2
//!WIDTH conv2d_21_tf.w
//!HEIGHT conv2d_21_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_1 (max((conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_2 (max((conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_3 (max((conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
#define g_8 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.14804654, -0.14173095, 0.16659345, -0.009385182, -0.020287529, -0.09633324, -0.30860174, 0.063476086, 0.01976211, -0.23352058, 0.09209867, 0.16206749, 0.08077074, -0.10959624, -0.12718476, 0.17011921) * g_0;
result += mat4(-0.3140556, 0.12636565, 0.012903826, -0.08176523, 0.14805675, 0.23573041, 0.22436617, -0.04828265, 0.13404454, -0.016488977, 0.30504864, -0.0019838111, 0.14962101, -0.00575774, 0.19882312, 0.22259174) * g_1;
result += mat4(0.16593869, 0.05078502, -0.12377358, 0.28647205, -0.10124151, 0.15258715, 0.027155356, -0.015847337, -0.054100014, 0.13954991, -0.095538475, -0.024002708, -0.12028006, 0.058690242, -0.32992294, -0.11747722) * g_2;
result += mat4(0.18058912, 0.013726746, 0.14127955, 0.14231133, -0.08689764, -0.092697755, 0.17092462, -0.039948042, 0.1217311, -0.12693831, -0.19433555, -0.10920207, -0.07334007, 0.025639182, 0.032232128, 0.10318817) * g_3;
result += mat4(-0.012409655, 0.055781372, -0.19240658, -0.23877834, -0.0960606, 0.17469998, -0.022961274, 0.063891776, 0.027615886, 0.067367285, -0.25862217, -0.29574084, -0.028999899, 0.17343716, -0.24148487, 0.1229659) * g_4;
result += mat4(0.12804163, -0.23425618, -0.33593133, -0.040897377, 0.11306302, 0.065293916, -0.05870299, -0.15702757, -0.20557828, 0.037325155, -0.21109815, 0.05123402, -0.23969208, 0.053520784, -0.27755785, -0.11555018) * g_5;
result += mat4(-0.13524376, -0.31770554, 0.0842197, 0.08805993, -0.07403083, -0.087194294, 0.012449786, 0.14015238, -0.09606474, -0.04868743, -0.011370155, 0.005927663, 0.028680688, -0.1429374, 0.27102706, 0.11689099) * g_6;
result += mat4(0.15883644, 0.09540351, 0.10983531, -0.047686223, -0.026774509, 0.08621119, -0.06392311, -0.02266724, 0.20034596, -0.013704803, 0.28371832, 0.19092667, 0.10529074, -0.12145345, -0.10676546, -0.02673637) * g_7;
result += mat4(0.0096095605, 0.03329556, 0.09830959, 0.1595078, -0.18308333, 0.14192823, -0.048857637, -0.06888825, 0.18871805, -0.061875697, -0.13133556, -0.17831984, -0.028223597, -0.16346388, 0.16018315, -0.006383535) * g_8;
result += mat4(0.26071513, 0.09806688, -0.34068507, -0.3768804, 0.011374573, -0.2450996, 0.104056686, -0.20815447, -0.3442328, 0.35717773, -0.18200488, 0.21185465, 0.30605116, 0.17752215, 0.26911554, 0.101427086) * g_9;
result += mat4(-0.041318867, 0.1009111, 0.2157564, -0.088500485, 0.07373474, -0.25785303, -0.004410731, -0.14463747, -0.1358761, 0.023295294, 0.113840915, 0.4273329, 0.05128152, 0.14215858, 0.19876923, -0.019440446) * g_10;
result += mat4(-0.23231222, -0.14272551, 0.09846874, -0.06775076, 0.0059967814, 0.062043674, -0.2065345, -0.12056687, -0.024301382, -0.34733498, -0.2054398, -0.08064672, 0.118986174, -0.05259333, 0.09134329, 0.0941969) * g_11;
result += mat4(-0.15081125, -0.03763831, -0.077403225, -0.014139531, 0.1599335, 0.043187547, -0.20010144, -0.12097138, 0.09763305, 0.103107266, 0.01814798, -0.11254244, -0.17597707, -0.05016406, -0.27989724, -0.031772614) * g_12;
result += mat4(0.054545857, 0.03135118, 0.08629934, -0.12681678, -0.049472764, 0.13161416, 0.06408171, 0.09543149, 0.14036587, 0.10973382, 0.095143825, -0.18786812, -0.04433381, 0.04301664, 0.3060177, 0.18051994) * g_13;
result += mat4(0.017087614, -0.09423588, 0.046461068, 0.0127245085, 0.16147164, 0.24400745, 0.08311569, 0.137946, -0.020603297, 0.26379335, -0.09492048, 0.16765113, 0.15279007, -0.111419536, -0.06080683, -0.10723545) * g_14;
result += mat4(0.19078189, 0.050451245, 0.075727284, -0.007865759, -0.10067247, -0.32282433, -0.08889799, 0.025485834, -0.19373515, -0.22204797, -0.08299226, -0.28381655, -0.14620808, 0.08457609, -0.15491463, -0.07288427) * g_15;
result += mat4(0.11656609, -0.14487429, -0.4425259, 0.021374635, 0.06596484, -0.12771748, -0.22535199, 0.028234273, 0.11496608, 0.019801984, -0.04632526, 0.20007893, 0.040895678, 0.083485365, 0.14834464, 0.08356117) * g_16;
result += mat4(0.02211244, 0.08450315, 0.024438182, -0.0043306663, -0.1586669, 0.024556836, -0.0056188432, 0.19931546, -0.15735053, -0.16440377, -0.10889861, 0.06196059, 0.022048898, -0.037491623, -0.34702402, 0.20129041) * g_17;
result += mat4(-0.33401018, -0.014858959, -0.08085903, -0.0008211832, 0.14658095, 0.028263792, 0.27077958, 0.0016592528, -0.025635215, 0.055104904, 0.22146593, 0.18182918, -0.06691726, -0.039572526, 0.14165977, -0.23499596) * g_18;
result += mat4(-0.013547897, -0.025930658, 0.027264774, -0.1256101, -0.051624347, 0.33928105, -0.04096477, -0.04092852, 0.061986156, 0.07382448, -0.41080087, -0.093699835, -0.217555, -0.5191564, -0.30832314, 0.05686793) * g_19;
result += mat4(-0.12603499, 0.011196643, -0.10582392, 0.120446354, 0.044026893, 0.26011583, -0.018695889, -0.12168744, -0.032591492, 0.0948056, -0.0015739531, 0.2480614, 0.16675782, 0.26526824, 0.34634092, 0.12777542) * g_20;
result += mat4(0.09301084, -0.10419714, 0.06912984, -0.17989379, -0.15554993, 0.12535709, -0.017463861, -0.17737497, -0.008574159, 0.05409429, 0.14558169, -0.22812454, 0.03895372, 0.1275974, 0.22765099, 0.057943035) * g_21;
result += mat4(-0.24794875, 0.10049649, 0.028166026, -0.23643738, -0.14107783, -0.010134537, -0.0795233, 0.04698603, 0.11822467, 0.21065955, 0.2251092, -0.19143367, -0.035236355, -0.13354316, 0.07519012, -0.003378642) * g_22;
result += mat4(-0.08100237, -0.016064119, -0.17029656, 0.13301337, -0.44654125, 0.20930994, 0.053686365, 0.20886885, 0.008915734, 0.08018005, -0.14843301, -0.1306173, -0.28592983, 0.051150486, -0.098725766, -0.068406634) * g_23;
result += mat4(-0.16141048, -0.18943654, -0.04775461, 0.08474171, -0.11267106, 0.035240255, -0.12966546, -0.0010696419, -0.0058098137, 0.13086191, -0.2514126, -0.1916487, 0.19768499, 0.046074815, 0.3501277, 0.07461552) * g_24;
result += mat4(-0.03546506, -0.00097176316, -0.174551, -0.11048581, 0.17106281, 0.01978063, 0.19416088, 0.1295629, 0.28066772, 0.09117813, 0.3837941, 0.1571746, -0.21350138, -0.16293706, 0.01890914, -0.120004654) * g_25;
result += vec4(0.0056376588, -0.032156657, 0.017695736, 0.04698144);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x104
//!HOOK MAIN
//!BIND conv2d_21_tf
//!BIND conv2d_21_tf1
//!BIND conv2d_21_tf2
//!BIND conv2d_21_tf3
//!BIND conv2d_23_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!SAVE conv2d_24_tf3
//!WIDTH conv2d_21_tf.w
//!HEIGHT conv2d_21_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_1 (max((conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_2 (max((conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_3 (max((conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_21_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_21_tf3_tex(conv2d_21_tf3_pos)), 0.0))
#define g_8 (max((conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_23_tf_tex(conv2d_23_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.30036786, -0.071122974, -0.207808, -0.104709424, -0.30407256, -0.095840186, -0.1369558, 0.37065065, 0.21078417, -0.13468549, -0.10461771, -0.06559755, -0.17034003, 0.05641996, -0.27700323, -0.1126542) * g_0;
result += mat4(0.07799722, -0.0022081465, 0.14035574, 0.11457114, -0.09680132, 0.023358248, 0.14260097, 0.06518944, -0.050158285, 0.039226543, -0.22615871, 0.022831999, -0.08471979, 0.30239135, -0.09285331, -0.18434998) * g_1;
result += mat4(-0.014649615, 0.070524774, -0.17721784, -0.14220548, 0.08645409, -0.09074901, 0.04698468, 0.053715184, 0.06270154, -0.075639635, 0.099860035, -0.090023175, 0.36329654, -0.22055952, 0.010457819, 0.07253135) * g_2;
result += mat4(-0.027649708, 0.38244903, -0.10621971, 0.2275538, -0.05934175, -0.0010945094, -0.041326273, 0.035898875, 0.03707596, 0.056224752, 0.056418143, 0.07318794, -0.11713561, 0.27461806, -0.14259866, 0.21453623) * g_3;
result += mat4(0.08535502, 0.29779312, 0.009322038, 0.033960924, 0.23723385, 0.10624898, 0.18388863, -0.1633756, -0.0005816555, 0.11368908, 0.16717602, 0.11334834, -0.05806499, -0.065826096, 0.19527037, 0.31419072) * g_4;
result += mat4(-0.1170813, 0.055507258, 0.036362253, 0.13286461, 0.026856778, 0.063697964, -0.024295578, -0.054315507, -0.19848196, 0.01567515, 0.14405379, 0.13924678, -0.047252674, -0.16682114, -0.04054276, -0.013275098) * g_5;
result += mat4(0.036398828, -0.10294437, 0.031097291, -0.23271134, 0.14264303, -0.08633302, 0.12239915, 0.018420607, -0.09747599, -0.071311615, -0.046238452, -0.17322837, 0.040957235, -0.26349834, -0.21181144, -0.05238187) * g_6;
result += mat4(-0.27340204, -0.080384396, -0.07198998, -0.05323366, 0.14557876, 0.019228118, -0.22286792, 0.20184729, -0.06020158, -0.07255352, -0.11773837, 0.15114646, 0.1300954, -0.12685491, 0.017485369, -0.14980994) * g_7;
result += mat4(-0.0071375193, -0.24509165, 0.047664706, -0.06106591, -0.1671985, 0.19413634, -0.042350926, 0.03802284, 0.07089803, -0.23365532, 0.18229541, 0.042384386, -0.055314403, 0.25988257, -0.12660997, -0.0090976395) * g_8;
result += mat4(0.3142646, 0.3923734, 0.17459705, 0.29964787, 0.043381196, -0.21502787, -0.077350974, 0.064285494, 0.2858196, 0.03305409, 0.042962402, 0.19540143, 0.13053122, -0.08383207, -0.12208418, 0.1985712) * g_9;
result += mat4(0.039936565, -0.0480129, 0.045163006, -0.0016258726, -0.06560048, -0.1440137, 0.073342375, -0.16961938, 0.05413496, -0.1767555, 0.32295126, 0.1549113, -0.03689245, -0.060345363, 0.10861416, 0.051116258) * g_10;
result += mat4(0.04611299, -0.07580715, 0.2404435, -0.02150482, -0.07586656, -0.10504455, 0.0837787, 0.14586666, -0.08992915, -0.011791581, -0.18516701, 0.18664369, -0.08699046, 0.23641954, 0.1359928, -0.008187404) * g_11;
result += mat4(-0.09519243, -0.1259728, -0.1609327, 0.0042067054, -0.022335263, -0.089343786, 0.02145024, -0.22889718, -0.082472935, 0.06351865, 0.19912359, -0.041878484, 0.03906691, -0.009029629, -0.095140696, -0.0047787162) * g_12;
result += mat4(0.2018249, 0.060700044, 0.17174731, -0.020011077, 0.08717426, 0.19148429, 0.06265732, -0.070558965, 0.15527514, 0.1371965, 0.04782656, -0.057176862, 0.005966481, -0.078806885, -0.09565087, -0.08971814) * g_13;
result += mat4(0.060476594, 0.1829843, -0.14988089, 0.097976886, 0.13092533, 0.16842246, 0.148756, 0.041732185, -0.09868615, -0.05051786, -0.17886515, -0.47046304, -0.0027662877, -0.24125081, -0.20464475, 0.18860999) * g_14;
result += mat4(-0.12249708, -0.23579642, 0.10373326, -0.11471274, -0.113536574, 0.21705507, -0.020286752, 0.14155044, 0.11744049, -0.10634323, -0.0992358, 0.29779306, 0.009242147, 0.082793355, -0.29470173, 0.09098504) * g_15;
result += mat4(-0.37456152, 0.27716953, 0.066162, -0.08820556, 0.01543293, 0.1646333, -0.029137572, -0.025982376, 0.0329685, -0.12119456, -0.06776284, 0.05002431, 0.18109421, 0.19071397, 0.031709924, 0.115208045) * g_16;
result += mat4(0.1638029, 0.07643556, 0.09049366, -0.10921795, 0.03733727, -0.15501708, 0.28316185, -0.098067865, -0.11070625, -0.009504683, 0.2291032, -0.13025075, -0.027869487, 0.011681814, -0.13047922, -0.015909566) * g_17;
result += mat4(0.1461215, 0.0023516659, 0.15640813, -0.015727978, -0.018806554, 0.017339358, -0.035492163, 0.08160196, 0.10238898, 0.16611558, 0.09202315, -0.10608295, 0.18774536, -0.0316489, 0.27076882, 0.20529412) * g_18;
result += mat4(0.17409241, -0.1274282, 0.16840927, -0.11176582, 0.09690932, -0.060094807, -0.13033284, -0.024426423, -0.029923867, 0.34295294, -0.10374731, 0.036210388, -0.21488675, -0.048156295, -0.009829659, -0.32526785) * g_19;
result += mat4(0.04754761, 0.0104225315, -0.14926155, -0.12426483, -0.18664256, 0.089919254, -0.07276312, -0.34654847, 0.08682614, 0.054667328, -0.096311085, 0.28998274, 0.2721617, -0.08974601, -0.078995354, 0.01578445) * g_20;
result += mat4(-0.16916896, 0.38615093, 0.006609843, -0.13223584, -0.091017894, -0.18239939, 0.010400899, 0.13135849, -0.056513984, -0.1355764, 0.050879743, -0.04195772, -0.041539118, -0.09790294, -0.23622996, -0.1903508) * g_21;
result += mat4(0.09427743, 0.3532207, -0.07493266, -0.018535644, 0.08661698, 0.36009344, -0.05961479, -0.13691968, 0.0118486015, -0.116584554, -0.08686342, 0.27281806, -0.041298125, -0.07257819, -0.11279752, 0.0034089864) * g_22;
result += mat4(-0.07194181, -0.087237455, 0.13797516, -0.14510183, -0.043742094, -0.060987025, 0.07932815, -0.03253621, 0.13781914, 0.056654815, -0.077196084, 0.24276413, 0.04511319, -0.051754497, 0.2584921, -0.18890971) * g_23;
result += mat4(-0.14871578, -0.1849769, -0.08268788, 0.26459882, -0.26126868, -0.23579857, 0.083229534, 0.028019072, -0.25955105, 0.20885234, -0.00086575525, -0.1324121, -0.2294164, 0.17757727, 0.021580774, -0.112975426) * g_24;
result += mat4(0.16707626, -0.19732544, 0.12970364, -0.09347803, -0.002893719, 0.1150841, 0.055206075, -0.039382495, -0.32302466, 0.14221917, -0.32339764, 0.128217, 0.05848064, -0.08679818, 0.24213648, -0.32777923) * g_25;
result += vec4(0.08522166, -0.04316711, -0.03290581, 0.024280401);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_24_tf
//!BIND conv2d_24_tf1
//!BIND conv2d_24_tf2
//!BIND conv2d_24_tf3
//!SAVE conv2d_26_tf
//!WIDTH conv2d_24_tf.w
//!HEIGHT conv2d_24_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_24_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_24_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_24_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_24_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_24_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_24_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_24_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_24_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.049996123, 0.0037753412, 0.11171327, -0.0016941491, -0.1351308, -0.016908316, -0.12008028, 0.017934604, -0.23576798, -0.11245693, 0.034623243, -0.0077824593, -0.022798758, -0.0918046, 0.056376494, -0.0852944) * go_0(-1.0, -1.0);
result += mat4(-0.042078406, 0.0462532, 0.08618077, -0.062988676, -0.10412657, -0.16068575, 0.13098615, 0.10488363, 0.08369774, -0.24014251, -0.14288054, 0.0051115025, -0.05098201, 0.017541911, -0.091969706, 0.16348839) * go_0(-1.0, 0.0);
result += mat4(-0.09863232, 0.029172298, 0.026279978, -0.022673227, -0.16237566, 0.047186557, -0.060442433, -0.06543596, 0.010651123, 0.12078345, 0.03988309, -0.033051215, -0.017623032, -0.06467215, -0.077499196, -0.03731227) * go_0(-1.0, 1.0);
result += mat4(-0.09789975, -0.047156874, 0.072275974, 0.047810175, 0.073351204, 0.06080882, -0.0504122, 0.13416192, -0.18719782, -0.017421518, -0.11500351, 0.01438864, -0.23725358, 0.030091772, -0.011555881, -0.0154520385) * go_0(0.0, -1.0);
result += mat4(0.04009626, 0.048118807, 0.21038243, 0.113579415, 0.033564728, 0.05715816, 0.047044903, 0.03826532, 0.34928158, -0.16727263, 0.044896193, -0.024076954, -0.06169953, 0.08324518, -0.020400964, 0.25609145) * go_0(0.0, 0.0);
result += mat4(0.049426913, -0.001589606, 0.110197626, -0.06417527, 0.09816545, 0.069022655, 0.16802368, -0.26492468, -0.2997054, 0.1730611, 0.08062505, -0.29634264, 0.028226377, -0.043611016, -0.021552337, 0.015026776) * go_0(0.0, 1.0);
result += mat4(0.009664828, 0.08417966, 0.004710294, 0.04512053, -0.13796063, -0.060436867, 0.09477305, 0.010681176, 0.16369082, 0.037771117, -0.058654513, -0.05779409, 0.062837936, 0.13762808, -0.04270398, -0.039693095) * go_0(1.0, -1.0);
result += mat4(-0.04035726, -0.010018175, -0.09761488, 0.027615858, -0.2932504, 0.09595783, -0.010247939, 0.12914088, 0.074954934, -0.011250316, 0.032818932, -0.00031655945, 0.081004985, -0.25975922, 0.056567695, 0.029617848) * go_0(1.0, 0.0);
result += mat4(-0.030925142, 0.031268507, 0.05157384, -0.0683142, 0.012790967, -0.11101493, -0.096448496, -0.12191588, -0.05342701, -0.02193862, -0.10491984, -0.17005852, -0.019083334, -0.029902916, -0.029932162, -0.010883176) * go_0(1.0, 1.0);
result += mat4(-0.26272961, 0.01767313, 0.06840876, 0.06170754, 0.1533715, -0.020870112, 0.0013619983, 0.0063628047, 0.09512795, 0.025705237, 0.02292517, -0.09680705, 0.104165204, -0.005150637, 0.0022620503, 0.09077463) * go_1(-1.0, -1.0);
result += mat4(-0.025987439, -0.19362138, -0.11827701, -0.018033052, -0.26102337, 0.039745867, 0.08610472, 0.04178091, -0.10764665, 0.15902124, 0.09529151, -0.072073966, 0.0018068781, -0.026315978, -0.059285972, 0.061353054) * go_1(-1.0, 0.0);
result += mat4(-0.0072087953, -0.0067746546, -0.0055090594, -0.116089255, -0.0873754, -0.08443256, 0.09423432, 0.19206242, -0.19481196, -0.15465075, -0.056957036, -0.17236751, -0.064828545, -0.03765398, -0.16945066, -0.113355085) * go_1(-1.0, 1.0);
result += mat4(-0.020777022, -0.072951205, -0.080634475, -0.1378647, 0.10280296, 0.053700496, 0.066589236, 0.1102195, -0.20923318, 0.026585942, -0.013111635, -0.1566555, -0.024707625, -0.09647037, -0.005488745, 0.16878474) * go_1(0.0, -1.0);
result += mat4(-0.062108953, 0.021457171, -0.045547433, 0.27534878, -0.06961026, -0.1425844, 0.14612147, -0.1702906, 0.09655159, -0.06720136, 0.07645141, -0.32483426, 0.09822643, 0.053977653, -0.099859774, -0.018033037) * go_1(0.0, 0.0);
result += mat4(-0.007518181, 0.13359818, 0.019200008, -0.16734038, -0.033155162, -0.05867036, -0.027736064, 0.197113, 0.0062093004, -0.17742164, -0.0635093, 0.09135054, -0.1209542, -0.17591074, -0.07173482, 0.09463842) * go_1(0.0, 1.0);
result += mat4(-0.04660764, 0.14158598, 0.14268021, -0.17546305, 0.01901027, -0.08463638, -0.063629396, 0.030421035, -0.04432895, -0.20540111, 0.06508335, 0.051438946, 0.022434311, -0.01823333, -0.08936261, 0.06426393) * go_1(1.0, -1.0);
result += mat4(0.0051359776, 0.018973099, 0.2238723, -0.18587618, -0.00510518, 0.06860208, 0.07696437, 0.028153861, 0.021377275, -0.13327916, -0.12229337, -0.01568766, 0.08603219, -0.047903024, 0.11680101, 0.172795) * go_1(1.0, 0.0);
result += mat4(0.06491684, -0.060000338, 0.09330306, 0.19461864, 0.10152871, -0.068190135, -0.030164903, 0.10963834, -0.01928389, 0.048917733, -0.0380595, -0.11373895, 0.002784637, 0.058341455, -0.0026584743, -0.0762352) * go_1(1.0, 1.0);
result += mat4(-0.09245614, 0.0641394, -0.18305469, -0.0730851, -0.071057, 0.0020725452, 0.018236259, -0.06736057, -0.01118046, 0.13788253, 0.0896462, -0.06998457, -0.14505054, 0.010082331, 0.117200814, 0.023379482) * go_2(-1.0, -1.0);
result += mat4(0.089422286, 0.15383133, 0.05149837, -0.10887509, -0.14912845, 0.08700931, -0.054692674, 0.23796107, 0.13581987, 0.19063862, 0.06559309, -0.15962636, -0.09233621, 0.11181162, -0.0015238862, 0.037107922) * go_2(-1.0, 0.0);
result += mat4(-0.021216678, -0.094254285, 0.29714686, 0.05219242, -0.027367583, -0.15251665, -0.04881514, 0.10566541, -0.003742375, 0.1147835, -0.059377294, 0.024101444, 0.024573704, -0.01376458, 0.0639237, 0.023464274) * go_2(-1.0, 1.0);
result += mat4(-0.049974762, -0.049812213, -0.035952687, -0.07975192, -0.08733934, 0.012935061, 0.012323808, 0.029132953, -0.14012371, 0.014503546, 0.052271955, -0.08048593, -0.09670192, -0.18596803, 0.0049014534, -0.09166179) * go_2(0.0, -1.0);
result += mat4(-0.27029538, 0.042448614, -0.053546436, 0.33587694, -0.20740207, 0.08650326, -0.038407993, 0.055218965, -0.19328457, 0.26444808, 0.22763552, 0.14387757, -0.0064182575, 0.004315346, -0.05027504, 0.047247253) * go_2(0.0, 0.0);
result += mat4(-0.09378854, 0.096082434, -0.32475194, -0.14516386, -0.15642658, 0.087580256, -0.11695209, 0.14140406, -0.0042407443, 0.15604375, -0.06349372, 0.0332518, -0.09077285, 0.046341777, 0.17729867, 0.005213613) * go_2(0.0, 1.0);
result += mat4(-0.012175335, -0.080210514, 0.07186392, -0.1292191, -0.045594472, 0.033180896, -0.07882467, -0.016369384, -0.036098067, 0.056173183, 0.014134484, -0.09635483, -0.035036422, 0.012295909, -0.050570995, -0.05071762) * go_2(1.0, -1.0);
result += mat4(-0.07852296, -0.14363602, -0.2696814, -0.23140208, 0.042432543, 0.054118577, 0.13079426, 0.03238616, -0.0062199365, 0.10364143, 0.04025807, -0.18294595, -0.048541483, 0.034473073, -0.05157432, -0.03064744) * go_2(1.0, 0.0);
result += mat4(-0.15802932, -0.088301614, -0.06327623, -0.022001514, 0.12399852, -0.07752806, 0.18474507, 0.08271792, 0.042802274, 0.121084385, 0.04016158, 0.05801103, 0.15243745, -0.073706076, 0.03247726, -0.034610372) * go_2(1.0, 1.0);
result += mat4(-0.05754932, -0.0020197632, 0.034547523, -0.025767442, -0.111764796, 0.038152024, 0.12944956, 0.11468247, 0.11521247, -0.003172288, -0.23100266, 0.02682523, -0.18987718, -0.0988275, -0.094731934, -0.06886259) * go_3(-1.0, -1.0);
result += mat4(0.046419594, -0.03488053, -0.13166444, 0.13768785, -0.055520106, 0.06297019, 0.03289763, -0.1422938, 0.013001728, -0.055476565, -0.07185674, 0.03252722, -0.110465586, -0.10045119, -0.1742974, -0.15100808) * go_3(-1.0, 0.0);
result += mat4(-0.06659215, -0.075389504, 0.09807181, 0.022330878, -0.0036238579, 0.019668387, -0.019465934, 0.13867833, 0.08627316, -0.06437524, -0.009247871, -0.032775283, 0.031162275, -0.026913468, -0.07854525, -0.064275324) * go_3(-1.0, 1.0);
result += mat4(0.12929969, -0.045845002, 0.122178055, -0.13765322, -0.19315575, 0.10609295, -0.012858124, -0.15138301, 0.00092421344, -0.041272737, -0.04020661, -0.014201774, 0.023153054, -0.06892587, 0.043151032, -0.082591) * go_3(0.0, -1.0);
result += mat4(-0.1226463, 0.211287, 0.03002057, -0.12333966, -0.037128195, -0.0011678269, -0.0112583, -0.07352756, 0.08004182, 0.057965674, 0.042791445, 0.10084061, 0.04225309, -0.09865515, -0.17249815, -0.07437297) * go_3(0.0, 0.0);
result += mat4(0.076025665, 0.0884713, -0.012066989, -0.04832003, -0.04311184, 0.1053544, -0.20367248, 0.08647993, -0.06955368, 0.019550918, 0.041123573, -0.06755614, -0.04080657, -0.14335045, -0.11712864, 0.04404486) * go_3(0.0, 1.0);
result += mat4(0.04159164, -0.013054755, -0.0261333, -0.043317586, -0.16425997, 0.05767708, 0.093282826, 0.0033548665, 0.034810144, -0.16199782, -0.025566405, 0.0516256, 0.020652568, -0.032220475, 0.0878692, -0.0143376775) * go_3(1.0, -1.0);
result += mat4(0.10917642, 0.0011713499, 0.13042162, -0.020391129, -0.11013089, 0.112322845, 0.022569528, 0.028208349, 0.015053207, 0.1384224, 0.008139977, -0.080396585, 0.054056194, -0.028001389, 0.16363065, -0.102354065) * go_3(1.0, 0.0);
result += mat4(-0.027124068, 0.04431464, 0.06277966, -0.08408734, 0.1083615, -0.019139031, 0.13385373, 0.025223026, 0.069449954, -0.05996897, -0.08913539, 0.1719072, -0.18314564, -0.048200965, -0.05904288, 0.11065826) * go_3(1.0, 1.0);
result += mat4(0.1397537, 0.03482875, 0.061085895, -0.08213235, -0.038013548, 0.061775763, -0.07958989, -0.039170112, -0.007997508, 0.06363233, -0.026046399, 0.02864031, 0.049783155, 0.035203036, -0.066736884, -0.017477863) * go_4(-1.0, -1.0);
result += mat4(-0.13101329, -0.014451878, 0.18087699, 0.026420632, 0.02715405, 0.06287757, 0.09282424, 0.013717241, 0.15051068, 0.025210602, -0.1362185, 0.072512046, -0.026805447, -0.096076004, 0.075359784, -0.045371193) * go_4(-1.0, 0.0);
result += mat4(0.1997753, -0.025229402, -0.039842017, 0.049906187, 0.10946157, 0.034437146, 0.035051424, -0.116872676, -0.06527813, -0.022518009, -0.14611305, -0.2363843, 0.11086234, 0.11092388, 0.0953025, 0.047432534) * go_4(-1.0, 1.0);
result += mat4(-0.01308655, 0.002540069, 0.23979092, -0.086312465, -0.14689597, -0.10581318, 0.11525941, 0.1074078, 0.058305763, -0.0064075887, -0.04057873, -0.023644514, -0.008381011, 0.0006571176, -0.019561158, -0.15267508) * go_4(0.0, -1.0);
result += mat4(0.2349703, -0.050462563, -0.27430457, -0.14544865, 0.08886931, 0.016504053, -0.08630487, -0.020683536, 0.053667102, 0.09910953, -0.1255947, 0.05151626, -0.16611509, 0.037771612, 0.07399012, -0.056021243) * go_4(0.0, 0.0);
result += mat4(0.06864889, -0.11083473, 0.24705935, 0.10628464, -0.010429532, 0.14889455, -0.0096547585, 0.14353086, -0.09100641, 0.06815184, -0.028219754, -0.06055696, -0.030299123, 0.0070648026, -0.055636737, -0.083413064) * go_4(0.0, 1.0);
result += mat4(0.13953334, -0.10674898, -0.005621589, -0.118598536, 0.06328699, 0.08004188, -0.06477687, -0.094944336, -0.14355539, 0.029985419, 0.019933203, -0.10488397, 0.005380108, -0.08740668, -0.029060403, -0.11787811) * go_4(1.0, -1.0);
result += mat4(0.0698077, -0.043017045, 0.42739016, 0.1282123, -0.038907416, -0.024586748, -0.053633843, 0.010010444, 0.0746271, -0.12704432, 0.105304755, -0.007692808, -0.15972002, -0.0058001876, -0.12617123, 0.1319462) * go_4(1.0, 0.0);
result += mat4(0.24729866, 0.020104403, -0.0070631383, 0.002193169, 0.017208308, -0.03927706, -0.059690464, 0.09341524, 0.053952884, -0.04012784, 0.0013764695, -0.09322258, -0.104351625, 0.079050556, -0.23187168, -0.041067176) * go_4(1.0, 1.0);
result += mat4(0.07559282, -0.007121507, 0.064281724, -0.04208171, 0.07181849, -0.057766475, 0.03663539, -0.12584496, 0.13129482, -0.040536802, 0.06388505, 0.0648352, -0.104354285, -0.029057123, 0.025301704, 0.06797534) * go_5(-1.0, -1.0);
result += mat4(-0.012295075, -0.11266379, 0.13890606, -0.1009057, 0.049523003, -0.13013756, -0.011073384, -0.17642806, 0.033849478, -0.067286395, -0.09607259, -0.11941073, -0.07852535, 0.070990965, 0.07958681, 0.09751703) * go_5(-1.0, 0.0);
result += mat4(0.048889246, 0.02065645, -0.15117195, 0.08008445, -0.097651385, -0.09841935, -0.07810215, -0.1435448, -0.024525672, 0.17019714, -0.014132003, -0.15879974, -0.021937879, -0.047171783, -0.04241194, 0.062323704) * go_5(-1.0, 1.0);
result += mat4(0.009566434, 0.044832528, -0.10947012, 0.056282133, 0.03313318, 0.18960455, -0.0022577227, -0.059867494, 0.1788795, 0.0064581875, 0.0025646216, 0.1836115, -0.014600685, 0.048506796, -0.026321875, -0.12639087) * go_5(0.0, -1.0);
result += mat4(-0.13504559, 0.02070149, 0.0027556552, -0.14156146, -0.02051973, 0.14983834, 0.135184, 0.029648803, 0.085447244, -0.007131224, -0.02740404, -0.03306182, -0.30325142, -0.010920736, -0.1428618, 0.01473421) * go_5(0.0, 0.0);
result += mat4(0.082796454, -0.2882475, 0.033648852, 0.06780083, 0.0025427756, 0.20921779, 0.32601947, 0.037308134, -0.04941969, 0.11506637, 0.1052201, -0.16263688, 0.035793655, 0.013166956, 0.046875075, 0.15668811) * go_5(0.0, 1.0);
result += mat4(-0.12273471, 0.059235908, 0.094090715, 0.066483214, 0.055713095, -0.095081694, 0.12749717, 0.037079435, -0.04954315, -0.0015122527, 0.052462928, 0.04192708, -0.087000705, -0.103452265, -0.101238675, -0.12716208) * go_5(1.0, -1.0);
result += mat4(0.031231718, 0.04960523, 0.03801031, -0.014148782, -0.1700549, -0.027634576, -0.050683066, -0.044469405, -0.1249908, 0.051996186, -0.13499479, 0.04852528, -0.06269932, -0.14156306, -0.21684834, 0.07631763) * go_5(1.0, 0.0);
result += mat4(0.03503267, -0.1085209, 0.0032687746, 0.08419354, -0.09975144, -0.057331342, -0.06187919, 0.018815396, -0.0660197, 0.032785807, -0.044796202, -0.08464789, 0.13019373, -0.0052725035, -0.10842854, -0.1265097) * go_5(1.0, 1.0);
result += mat4(0.10843437, -0.042249955, 0.09213392, 0.058550596, 0.34286043, -0.03680263, -0.080520734, 0.081237115, -0.11101282, 0.020561857, -0.07829329, -0.07861156, -0.042642172, 0.047789782, -0.011453674, 0.08152565) * go_6(-1.0, -1.0);
result += mat4(-0.033355746, 0.15449263, -0.02909576, -0.2126907, 0.0014351727, 0.056038197, 0.051439453, -0.080944866, -0.12848341, -0.092318594, 0.008391837, 0.14316896, -0.12626244, -0.059822824, -0.028360115, 0.124106206) * go_6(-1.0, 0.0);
result += mat4(0.076065995, -0.007442306, 0.018361796, 0.047781143, 0.14859623, -0.20209388, -0.059319742, 0.18503356, 0.005876046, -0.022679027, 0.046754144, -0.081030354, -0.04880875, -0.10010487, -0.019134238, -0.068298206) * go_6(-1.0, 1.0);
result += mat4(-0.065141104, -0.014636965, 0.09252715, -0.10530383, 0.032840684, 0.0241667, 0.06169493, 0.013166986, -0.09829394, 0.102890424, 0.16348878, 0.0035222566, -0.0051632463, -0.15937272, -0.054516237, 0.060371466) * go_6(0.0, -1.0);
result += mat4(0.12154273, 0.006940688, 0.0632419, 0.050377276, 0.096380666, -0.13581754, 0.019218676, -0.118092984, -0.08397616, 0.010211745, -0.16092652, -0.018237336, -0.05521688, 0.07793925, -0.015056251, -0.010640031) * go_6(0.0, 0.0);
result += mat4(0.117333665, -0.045693874, 0.08677505, 0.18481869, 0.021715302, -0.17659235, -0.12190321, 0.069215, -0.09852735, 0.0051317047, 0.011414723, -0.010025633, -0.022104986, -0.008267602, -0.06970688, -0.01715165) * go_6(0.0, 1.0);
result += mat4(-0.04642769, -0.0048307595, 0.026597666, -0.06865938, 0.07526568, 0.010903595, -0.06291743, 0.14711984, -0.16923498, 0.05477543, -0.007967766, -0.04240283, 0.10985941, 0.034625076, -0.061943896, 0.09802212) * go_6(1.0, -1.0);
result += mat4(-0.15498288, -0.10491709, 0.04875818, 0.092458375, 0.08318519, -0.17395361, -0.11307961, -0.11352265, -0.06517359, 0.033491883, 0.1500928, 0.09595689, 0.2221886, 0.1971029, 0.03340507, 0.09907139) * go_6(1.0, 0.0);
result += mat4(0.018105853, 0.13096991, -0.08594942, -0.0069381646, -0.09303678, 0.11968446, 0.013137556, -0.18475753, -0.17404708, 0.018362308, 0.050778937, -0.14831465, -0.16454415, 0.016504198, 0.068201326, 0.019034768) * go_6(1.0, 1.0);
result += mat4(-0.059188414, 0.058179308, -0.08013644, 0.014560273, -0.0397555, -0.09598701, 0.021475889, -0.09001553, 0.06737068, -0.035820715, -0.049452264, -0.0010155657, 0.014491759, 0.002673296, -0.055191662, 0.05930104) * go_7(-1.0, -1.0);
result += mat4(-0.022511646, 0.023634708, -0.18631141, 0.023679258, -0.05573237, 0.09657504, -0.0936412, 0.047838435, -0.014578712, -0.20757015, 0.054425128, -0.06030886, 0.13558897, -0.041487727, 0.033786304, 0.07894061) * go_7(-1.0, 0.0);
result += mat4(-0.13075544, 0.15523684, -0.17299353, 0.03286955, 0.0749896, -0.06681099, -0.055989783, 0.026047809, 0.066080905, -0.15055823, 0.01607878, -0.07582076, -0.031457435, 0.0007434168, -0.05784407, -0.1401879) * go_7(-1.0, 1.0);
result += mat4(-0.052085534, -0.03877744, -0.0069224983, 0.16789192, 0.09517772, -0.08007505, 0.02462484, -0.088129416, 0.0013408829, -0.0623811, 0.0074883886, -0.06386363, -0.03685527, -0.030492947, -0.08852659, -0.050996445) * go_7(0.0, -1.0);
result += mat4(-0.11065168, -0.112389065, -0.078902274, -0.07768, 0.076662615, 0.070917815, 0.020645864, -0.0633654, -0.14201139, -0.10073064, -0.12981233, -0.14300786, -0.03800091, 0.030122137, -0.044012945, 0.040963754) * go_7(0.0, 0.0);
result += mat4(-0.06765774, -0.10985129, -0.09417687, -0.045574006, -0.0015684896, -0.08624407, -0.07156704, 0.11013036, 0.10451182, 0.05722487, -0.08562462, 0.15677613, 0.10791058, 0.030469015, -0.01489781, -0.061118122) * go_7(0.0, 1.0);
result += mat4(-0.076483645, -0.051188245, -0.026427023, -0.07758995, 0.070514984, 0.066108, -0.028824564, 0.15448493, 0.18118386, 0.025077257, -0.13165683, 0.05608995, 0.008781471, 0.052336816, -0.010705784, -0.19363798) * go_7(1.0, -1.0);
result += mat4(-0.08199591, -0.13568819, -0.039902184, 0.07975507, 0.12640685, -0.002146138, 0.014260887, -0.17183918, -0.009152956, 0.038202666, -0.2094691, -0.058618493, 0.15224771, 0.06021081, 0.11798141, -0.03590271) * go_7(1.0, 0.0);
result += mat4(-0.039392676, -0.098705426, -0.00030400066, 0.13875104, 0.033425663, 0.045219854, -0.04672713, -0.08291983, 0.0065967776, 0.09905884, -0.07684505, -0.011784174, 0.113817036, -0.049223375, 0.054426376, -0.039116792) * go_7(1.0, 1.0);
result += vec4(0.019128362, 0.03289745, -0.020459, -0.028252047);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_24_tf
//!BIND conv2d_24_tf1
//!BIND conv2d_24_tf2
//!BIND conv2d_24_tf3
//!SAVE conv2d_25_tf
//!WIDTH conv2d_24_tf.w
//!HEIGHT conv2d_24_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_24_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_24_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_24_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_24_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_24_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_24_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_24_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_24_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.017471954, 0.033765998, 0.10728799, 0.05748774, 0.02781238, 0.0065988842, 0.048899, -0.111819625, -0.15673992, -0.14049643, -0.19609143, 0.06799994, 0.056545053, 0.05854318, 0.07989028, 0.06865026) * go_0(-1.0, -1.0);
result += mat4(-0.027804995, 0.28089818, 0.00939153, -0.10538561, -0.06944387, 0.040870868, -0.056329433, 0.053074345, 0.030704536, 0.0017814944, 0.11775399, -0.24013947, 0.047405023, -0.01956273, -0.025394185, -0.08049281) * go_0(-1.0, 0.0);
result += mat4(-0.052235425, -0.059296433, 0.11562215, -0.025237624, -0.0875074, 0.15221938, 0.14525545, 0.14261505, -0.03608716, -0.16691273, -0.103693224, 0.19114594, -0.08115013, -0.09270833, 0.035125177, 0.15294996) * go_0(-1.0, 1.0);
result += mat4(-0.12381403, 0.11570407, 0.038750608, -0.023706824, -0.059968557, -0.11266674, 0.0029604204, 0.13800496, -0.17783286, 0.021752914, -0.034509424, -0.028650694, -0.14898375, 0.06902978, -0.15860847, 0.009637565) * go_0(0.0, -1.0);
result += mat4(-0.025171917, 0.12672316, 0.14192998, -0.14433089, 0.064913236, -0.0022447554, -0.21268947, -0.038177896, 0.036399573, -0.21507782, 0.07123678, -0.13206129, -0.07121265, 0.0096024005, 0.22898148, 0.05494094) * go_0(0.0, 0.0);
result += mat4(0.1506902, 0.06988544, 0.13345703, 0.057807617, -0.11837313, -0.09402816, 0.013641186, -0.17395163, 0.0016941638, 0.24603452, -0.2586276, -0.17429659, -0.072540164, -0.03448174, -0.11606636, -0.08689208) * go_0(0.0, 1.0);
result += mat4(0.04652269, -0.10444236, 0.086832695, -0.10591385, -0.017574495, 0.0015303675, -0.086677074, 0.13133185, 0.10970881, -0.11243208, 0.07597016, -0.08536491, -0.15017018, 0.107406065, -0.032401532, 0.11085293) * go_0(1.0, -1.0);
result += mat4(-0.029553665, 0.038572565, 0.06975905, 0.020539641, -0.22124092, 0.18579805, -0.20957313, -0.02503689, 0.013945879, 0.20544745, 0.06853718, -0.23524883, -0.11711525, 0.05449384, -0.06129214, 0.061477955) * go_0(1.0, 0.0);
result += mat4(-0.09428423, 0.05353704, -0.08986825, -0.12206943, 0.015571677, -0.06035716, 0.03597724, 0.06506318, 0.24872549, -0.07388469, 0.10377363, -0.0035277915, 0.15126887, 0.030227851, 0.09139127, 0.1724195) * go_0(1.0, 1.0);
result += mat4(-0.08194724, -0.14544182, -0.06835661, 0.12667398, -0.003119579, -0.058695093, -0.03867005, -0.018764118, -0.021299256, 0.1767535, -0.047742914, 0.16228043, 0.0039194035, 0.108454764, -0.09458136, -0.08617982) * go_1(-1.0, -1.0);
result += mat4(-0.10684914, -0.32592118, -0.08571172, -0.0101189185, -0.003587966, 0.058117017, 0.03881399, 0.08900041, 0.13914779, 0.29735216, 0.092806034, 0.04355884, -0.2201469, -0.03196189, -0.0591701, 0.0492791) * go_1(-1.0, 0.0);
result += mat4(0.10436922, -0.21961232, -0.23891205, -0.06916029, -0.047455642, 0.053441495, 0.039798163, 0.029930444, 0.028346276, 0.11400354, 0.1262288, -0.039326813, -0.27376792, 0.046276275, -0.0708307, -0.013476013) * go_1(-1.0, 1.0);
result += mat4(0.03159886, 0.21562842, -0.014585027, -0.08378165, -0.075764485, 0.037414357, 0.05071985, 0.011949454, 0.21450044, 0.15943736, 0.046434704, 0.02799841, 0.06830587, 0.21022047, -0.021822905, -0.048930455) * go_1(0.0, -1.0);
result += mat4(0.007448671, 0.31557044, -0.14174029, -0.095406465, -0.058464147, 0.007829958, 0.054605816, 0.033241432, 0.05140908, -0.24677344, -0.11616229, 0.014348134, 0.010551736, 0.0059860707, 0.13453126, 0.009637068) * go_1(0.0, 0.0);
result += mat4(-0.19331768, 0.06736968, -0.028931534, -0.038676705, 0.12592682, -0.093849026, 0.02008791, 0.014735365, 0.37446207, -0.16751154, 0.036961526, -0.1590846, 0.021004658, -0.008121, -0.029536324, -0.004248831) * go_1(0.0, 1.0);
result += mat4(0.15364482, -0.14937145, 0.01816333, -0.018371658, -0.01705263, 0.056991376, 0.11055977, -0.14455408, 0.33668515, 0.025234248, 0.1158367, 0.038978804, -0.082735226, 0.036333524, 0.14080678, 0.07116793) * go_1(1.0, -1.0);
result += mat4(-0.03225392, 0.05972964, 0.08061265, 0.010593995, -0.03653595, -0.081596345, -0.07971582, -0.101583384, 0.30200258, 0.020900398, -0.076761626, 0.2588924, -0.19713697, -0.0039160987, 0.12071749, 0.07637735) * go_1(1.0, 0.0);
result += mat4(-0.009703355, -0.112931654, 0.10053343, -0.021120002, -0.0056891046, -0.08936862, 0.019142495, 0.086807735, -0.036430825, -0.13736516, 0.078291796, 0.13332526, 0.036317714, -0.02775869, 0.21644063, -0.021389648) * go_1(1.0, 1.0);
result += mat4(0.07151064, 0.13414513, 0.16725646, 0.05681151, 0.03014826, -0.013707471, 0.03738184, -0.076183036, 0.0013138218, -0.0045046997, -0.034409188, -0.11118198, 0.020379785, -0.018046485, -0.025136197, 0.07276152) * go_2(-1.0, -1.0);
result += mat4(-0.31872088, -0.019305777, -0.1202114, 0.28454658, 0.0105313035, -0.10189794, -0.07196168, -0.036715895, 0.13881202, 0.06850477, -0.021623109, 0.079496734, -0.06979547, -0.11332472, 0.024788616, 0.032634366) * go_2(-1.0, 0.0);
result += mat4(-0.11924803, 0.025480963, -0.076824784, 0.13637042, -0.013938593, -0.25385013, 0.05410712, 0.062499918, 0.081072375, -0.057731725, 0.049677495, -0.06418712, 0.060383555, -0.0074860845, -0.1453992, -0.032517288) * go_2(-1.0, 1.0);
result += mat4(-0.036895122, 0.036074597, 0.037811972, 0.099549554, 0.07307597, -0.018347137, -0.12284651, -0.10390334, 0.053444356, -0.124446824, -0.017259916, -0.123878516, 0.015864458, -0.037590273, 0.015383898, -0.13280766) * go_2(0.0, -1.0);
result += mat4(-0.17129786, 0.30193725, -0.63509864, 0.044185117, 0.17067964, 0.13152778, 0.013793428, -0.22130486, -0.1177694, -0.090981916, -0.1120058, -0.03206043, -0.03634814, -0.025005434, -0.041229405, 0.003946445) * go_2(0.0, 0.0);
result += mat4(-0.19944333, 0.37651125, -0.2258299, 0.15009473, -0.18867065, 0.16184928, -0.15228443, -0.11970196, 0.023598861, -0.05103017, -0.0396361, -0.014802233, 0.18477547, 0.117229566, -0.0659542, -0.04572343) * go_2(0.0, 1.0);
result += mat4(-0.031589817, -0.15478852, -0.0138067985, 0.22124025, 0.01842947, 0.019181002, -0.00199036, 0.1694457, -0.040336214, 0.03585539, -0.15060787, -0.0629436, -0.01583668, 0.08921745, -0.16015616, -0.041883018) * go_2(1.0, -1.0);
result += mat4(0.34572613, 0.08028766, 0.05118005, 0.060876332, -0.04589517, -0.07928535, 0.19742113, -0.08568548, 0.035782974, 0.032317884, -0.04522276, 0.0027367994, 0.120695986, 0.12010325, 0.08282749, -0.0039305175) * go_2(1.0, 0.0);
result += mat4(0.11901709, 0.036992844, -0.02980137, -0.12586515, 0.05982998, -0.02190856, 0.05343958, 0.029002843, -0.050481327, 0.02545951, -0.039066423, 0.0004951633, 0.08666116, -0.03562756, 0.014761862, -0.103269614) * go_2(1.0, 1.0);
result += mat4(-0.18563634, 0.043092452, -0.058314674, 0.015170002, -0.007694099, 0.1127861, 0.02553127, -0.012972445, -0.0046755355, -0.01073453, 0.021448553, 0.040810876, 0.030288234, -0.06359927, -0.06596764, 0.061660938) * go_3(-1.0, -1.0);
result += mat4(-0.012341555, -0.042663574, -0.0037670187, -0.018076867, -0.041096028, 0.054967128, -0.063933946, 0.08594425, 0.041885212, 0.096373014, 0.057978775, 0.016001241, -0.03465387, -0.063257515, -0.024798894, -0.10663954) * go_3(-1.0, 0.0);
result += mat4(0.013904101, 0.032032844, -0.11790652, -0.14560696, 0.0051183654, -0.093018, -0.038192853, -0.02419622, -0.12162447, 0.108436026, 0.031953014, 0.005816637, -0.039445993, -0.027502064, -0.074986555, -0.08383356) * go_3(-1.0, 1.0);
result += mat4(0.027069142, 0.020535026, 0.05137401, -0.022017054, -0.009511554, 0.002717326, 0.07104652, 0.14271072, -0.0809091, -0.12810269, 0.14585342, -0.030829936, -0.049544737, 0.121479005, -0.020640593, 0.07074442) * go_3(0.0, -1.0);
result += mat4(-0.020390948, -0.032292105, -0.044466075, -0.040939715, -0.09642971, 0.00013572059, 0.04400759, 0.089212894, 0.11231742, 0.00036003115, 0.2045489, 0.053579632, 0.0019167879, 0.05940128, 0.12449242, 0.07200519) * go_3(0.0, 0.0);
result += mat4(0.17566979, -0.05323988, 0.025047952, 0.026185818, 0.054906968, 0.12425456, 0.15909024, -0.045865864, -0.01796168, 0.025883837, 0.029770195, 0.071876444, 0.17989114, 0.061715063, 0.097672, -0.035693962) * go_3(0.0, 1.0);
result += mat4(-0.09611145, 0.044253152, 0.18311392, 0.012182593, 0.027319858, -0.000298763, -0.025718696, -0.0056334995, 0.02268943, -0.008492036, 0.16236448, -0.10463633, -0.004877864, -0.037485115, 0.17201148, -0.07504223) * go_3(1.0, -1.0);
result += mat4(0.038427748, -0.018089676, 0.059632216, 0.060849853, 0.042234454, -0.028407281, 0.12165844, 0.033764914, 0.02828128, 0.018331876, -0.035620198, -0.030596597, -0.05245467, -0.15661895, 0.15989384, 0.05777106) * go_3(1.0, 0.0);
result += mat4(0.0080382265, -0.05058627, 0.15177754, 0.02457983, -0.02158919, -0.02603419, 0.0043647015, -0.05269519, -0.00064104307, -0.028884081, 0.09408389, -0.008114448, 0.14760026, -0.076470025, 0.04603376, 0.018461453) * go_3(1.0, 1.0);
result += mat4(0.11306435, -0.18730852, 0.0075167455, -0.09560337, 0.0077709462, -0.07057433, 0.0035797127, -0.022853112, 0.021342495, -0.03696785, 0.01289179, 0.06829949, -0.013827679, -0.03999237, -0.04753059, 0.0466047) * go_4(-1.0, -1.0);
result += mat4(0.017390149, 0.002040908, -0.12693553, -0.32789224, 0.027319256, 0.03846405, -0.00015923935, -0.07049247, 0.16783871, -0.10079691, -0.11123616, 0.05324317, 0.13512036, -0.028285459, 0.12069438, 0.06956111) * go_4(-1.0, 0.0);
result += mat4(0.054364968, -0.16399679, 0.20564489, -0.043816883, 0.057793453, -0.10362303, -0.067307614, 0.04665986, -0.14624558, -0.12807955, -0.056192804, 0.121388845, -0.019129038, -0.012357931, 0.0026693486, 0.10578014) * go_4(-1.0, 1.0);
result += mat4(0.00028465505, -0.18237738, -0.27618593, -0.10873971, -0.09118435, -0.051416524, -0.12859847, -0.0023402795, 0.06602108, -0.041825376, -0.1211535, -0.013451067, 0.06285976, 0.026286084, -0.08663906, 0.059711363) * go_4(0.0, -1.0);
result += mat4(0.09418096, -0.16677582, 0.31493846, 0.19121769, 0.013836401, -0.14683236, 0.089372076, 0.031131288, 0.07269414, 0.029907493, 0.015037321, 0.048650477, 0.09947451, 0.1382513, 0.008702595, 0.030025264) * go_4(0.0, 0.0);
result += mat4(-0.36631888, 0.031981204, -0.1694263, -0.31440136, 0.063722916, -0.04748052, -0.25194407, -0.15265068, -0.040349986, 0.09606634, -0.062473077, -0.107912265, -0.041041367, -0.019101804, -0.0007443431, 0.20662434) * go_4(0.0, 1.0);
result += mat4(0.039134044, -0.06769877, -0.04496397, 0.058510136, 0.0539612, 0.049229577, -0.04531815, -0.09764556, -0.0072655273, 0.066220924, 0.052972153, 0.062115185, 0.07058065, 0.03482429, 0.11264238, -0.012771517) * go_4(1.0, -1.0);
result += mat4(-0.14832714, -0.26061863, -0.117175885, -0.07227297, -0.095274866, 0.06427019, -0.1720085, -0.12606795, 0.0055882256, -0.068954766, 0.040132865, -0.057916597, 0.116415136, -0.0038085836, -0.11257074, 0.16791174) * go_4(1.0, 0.0);
result += mat4(0.15208925, -0.035363015, 0.016423287, -0.011545738, 0.010486088, 0.15796964, -0.018267475, 0.04819378, 0.07893306, -0.049445417, 0.10922541, 0.056629743, -0.20051284, 0.0646689, -0.022053083, 0.006558849) * go_4(1.0, 1.0);
result += mat4(0.034261696, -0.048524413, 0.08553469, 0.18164964, 0.049066372, 0.057888642, 0.13727365, -0.04544014, 0.08169355, -0.008774393, -0.038793385, 0.012722537, -0.10232049, 0.060814742, 0.08948346, -0.045197718) * go_5(-1.0, -1.0);
result += mat4(0.10102485, 0.009672051, -0.014999783, 0.16597384, 0.14226477, 0.124397196, 0.13134599, 0.0075497227, 0.019706044, 0.02880536, 0.029863069, -0.106501095, -0.0014861296, -0.06983038, 0.100633115, 0.053191233) * go_5(-1.0, 0.0);
result += mat4(-0.024684586, 0.058772594, 0.09473553, 0.006539196, 0.16713893, 0.044055037, -0.059446193, -0.085051544, -0.13981988, -0.01050415, 0.0004877739, 0.2358795, -0.043013573, -0.02102554, 0.043523125, 0.0362912) * go_5(-1.0, 1.0);
result += mat4(-0.08964394, -0.08315431, -0.016985089, 0.069526255, 0.016692394, -0.17341077, 0.02946918, 0.0697097, 0.08705007, -0.011073351, 0.038017947, 0.024542587, 0.006911302, -0.01183356, 0.042103864, 0.10522466) * go_5(0.0, -1.0);
result += mat4(-0.08360448, 0.12198474, -0.059289638, 0.06424023, -0.07853796, -0.13322891, 0.031532466, 0.04782606, 0.014080435, 0.0020295705, -0.07157181, -0.011628711, -0.06752404, 0.103147015, -0.026804183, 0.119201295) * go_5(0.0, 0.0);
result += mat4(0.121583, -0.18472487, 0.051415585, 0.09387002, -0.12578335, -0.13457519, -0.011141069, 0.007924912, -0.15972508, 0.082277834, 0.006660031, 0.018529864, -0.048006892, -0.16195123, 0.11889123, 0.09391133) * go_5(0.0, 1.0);
result += mat4(0.0011877354, -0.03821508, 0.079352275, 0.09431855, 0.120227985, 0.12770982, -0.013714698, 0.038997453, -0.0004619692, 0.036872115, -0.13374491, 0.037702244, 0.008888777, -0.04283213, -0.11525023, 0.073225714) * go_5(1.0, -1.0);
result += mat4(0.11580729, -0.013175554, -0.1253745, 0.039527655, 0.2501712, 0.21559192, -0.17641467, -0.121261366, -0.124944955, -0.076779194, 0.020058166, 0.16612346, -0.0025809745, 0.0701927, -0.04693916, 0.056292046) * go_5(1.0, 0.0);
result += mat4(0.018906271, -0.050643444, 0.02444996, -0.024262303, -0.09815448, 0.053140316, -0.05007922, -0.12625203, 0.0458619, 0.022072764, -0.11102561, 0.038217522, -0.074741885, 0.098456666, -0.06336978, 0.03393061) * go_5(1.0, 1.0);
result += mat4(0.092316404, 0.05333801, -0.030575402, -0.081248224, 0.0079937065, 0.09291787, -0.060621336, 0.04314502, -0.0013314068, -0.12648228, -0.03434061, -0.001897616, -0.0036773146, 0.14251038, -0.056213245, -0.012823907) * go_6(-1.0, -1.0);
result += mat4(0.075125776, 0.069178015, -0.06843881, -0.023425177, -0.14221351, -0.19814956, -0.08641597, -0.040399566, -0.02199065, -0.12643565, -0.11299937, -0.09457813, -0.1383775, -0.14663833, -0.10941722, 0.07635694) * go_6(-1.0, 0.0);
result += mat4(0.0725733, 0.09736323, 0.04138415, -0.07827824, -0.07074357, -0.18943074, 0.045716334, 0.0020727555, 0.02317897, 0.06851788, -0.16416553, -0.021083718, -0.049671404, -0.084899835, -0.12828274, -0.10106359) * go_6(-1.0, 1.0);
result += mat4(0.03463169, -0.18304746, 0.0113404775, 0.08603118, -0.023727167, -0.010212168, 0.07873619, 0.094507635, -0.015712371, 0.10867139, -0.021452317, -0.0109243365, -0.008315214, 0.070175745, -0.114166215, -0.033175204) * go_6(0.0, -1.0);
result += mat4(0.12465464, 0.078011826, 0.15954973, 0.106771946, -0.18527602, 0.17714898, -0.10814003, 0.08439565, 0.05126767, 0.07982679, 0.051989906, -0.07862624, 0.0116982795, -0.10962926, 0.09563839, 0.18439959) * go_6(0.0, 0.0);
result += mat4(0.15925483, -0.17562218, 0.16054402, -0.102731735, 0.0002583934, 0.036983114, 0.011999053, 0.27471888, -0.004332959, -0.12928788, -0.08790416, -0.010699724, -0.02548459, -0.08457954, 0.05052734, 0.24577044) * go_6(0.0, 1.0);
result += mat4(0.06567454, -0.025370235, -0.05715709, -0.082185306, -0.09599352, 0.086617105, 0.0822692, 0.029309079, 0.09133301, -0.024522156, -0.03486816, 0.038204033, -0.05361194, 0.10158628, 0.063485794, 0.03969183) * go_6(1.0, -1.0);
result += mat4(-0.0048210667, 0.0764913, 0.023380734, 0.024152404, -0.06351439, -0.030418124, 0.02406592, -0.036408596, 0.061542217, -0.043871675, 0.025962725, -0.10431354, -0.052235737, -0.1482723, 0.08303624, -0.009218905) * go_6(1.0, 0.0);
result += mat4(-0.084167026, -0.096596025, -0.12425624, 0.08682868, 0.00022705906, 0.085114844, 0.16839416, -0.025412558, 0.033778172, 0.017215842, -0.065793276, -0.070195585, -0.08553574, 0.06256185, -0.06854525, 0.037209094) * go_6(1.0, 1.0);
result += mat4(0.12050404, -0.20928818, -0.11949551, 0.1291365, 0.084040865, 0.05223939, 0.043977372, -0.016835403, 0.0042935545, 0.059002463, -0.07211131, -0.118245535, -0.19188774, -0.1535305, 0.0272311, 0.105984956) * go_7(-1.0, -1.0);
result += mat4(-0.006181896, -0.28432485, -0.12084334, 0.074295126, 0.081649065, 0.055474468, 0.043172136, 0.04395295, -0.21917932, -0.10722758, -0.09593755, 0.013767353, 0.047732692, -0.045233723, 0.1499118, 0.10079427) * go_7(-1.0, 0.0);
result += mat4(0.1524887, -0.03541432, -0.036423605, 0.0036694347, 0.09287245, 0.11441246, 0.1423142, 0.0036378538, 0.096392065, -0.056260396, 0.034749147, -0.04590672, -0.04538836, -0.023286846, 0.006294474, -0.12256234) * go_7(-1.0, 1.0);
result += mat4(-0.028657515, -0.005657442, -0.009628549, 0.075619094, 0.051912576, -0.08320796, 0.062917456, 0.040294655, -0.015313034, -0.07584268, -0.025918879, 0.05634464, 0.12799169, 0.017167855, 0.022167781, -0.0989495) * go_7(0.0, -1.0);
result += mat4(0.043959383, -0.094892405, 0.09580696, 0.015563032, 0.0015867131, -0.16679575, -0.019396141, -0.24469055, 0.105518065, 0.0013712198, 0.08570463, 0.18447937, 0.0561871, 0.016862078, -0.1697556, -0.10703698) * go_7(0.0, 0.0);
result += mat4(0.046563495, -0.028334722, 0.095430285, -0.11062519, 0.1632057, -0.113526955, 0.0078005767, -0.057255816, 0.013870708, -0.1396983, 0.001675939, -0.036503952, 0.10268302, -0.08352583, 0.073321745, -0.08963458) * go_7(0.0, 1.0);
result += mat4(-0.0071791788, -0.018167714, -0.10474007, 0.13919841, 0.071997575, 0.036511123, 0.031821, 0.011350003, -0.03294527, 0.07128632, 0.0011163193, -0.046720807, -0.0044006784, -0.0154943485, -0.0124589205, -0.011068004) * go_7(1.0, -1.0);
result += mat4(0.0065815425, 0.1016602, -0.049425308, 0.05000585, -0.015566087, -0.13111699, 0.0053829947, -0.063102424, 0.04960389, -6.787479e-05, -0.08155758, -0.015248496, -0.03355637, 0.08096152, -0.044310823, 0.05465892) * go_7(1.0, 0.0);
result += mat4(-0.038555566, -0.18589461, -0.04570239, 0.06552533, 0.03866913, 0.08443401, 0.028861761, -0.032269157, -0.061593454, 0.035525497, -0.050243054, -0.06402548, -0.10291229, -0.086267136, 0.04558792, -0.002906924) * go_7(1.0, 1.0);
result += vec4(0.041304566, -0.03238812, 0.014535408, -0.017808888);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x112
//!HOOK MAIN
//!BIND conv2d_24_tf
//!BIND conv2d_24_tf1
//!BIND conv2d_24_tf2
//!BIND conv2d_24_tf3
//!BIND conv2d_26_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!BIND conv2d_25_tf
//!SAVE conv2d_27_tf
//!WIDTH conv2d_24_tf.w
//!HEIGHT conv2d_24_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
#define g_1 (max((conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
#define g_2 (max((conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
#define g_3 (max((conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
#define g_8 (max((conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_26 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_27 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.11443151, -0.108713426, 0.276695, 0.07989307, 0.04647579, 0.009262729, 0.1685192, 0.06342496, 3.7802124e-06, 0.11471419, 0.21862917, -0.14714405, 0.07615697, 0.008696574, 0.12699789, -0.19018881) * g_0;
result += mat4(0.12515754, 0.31493005, -0.09689205, 0.03547315, 0.014907384, -0.16497225, -0.13919856, -0.11483534, 0.12144794, -0.16309711, -0.32288572, -0.12443185, 0.069901936, 0.087048694, -0.10706947, -0.17567441) * g_1;
result += mat4(0.39898342, -0.22792721, 0.14832391, 0.2717282, -0.020610651, 0.23566288, 0.010850474, -0.17099889, -0.016039778, -0.0020831313, -0.12241154, 0.12688214, 0.0036613182, 0.036608845, 0.014307337, -0.11151725) * g_2;
result += mat4(-0.10309775, 0.13672508, -0.14171574, 0.0008346642, 0.009146607, 0.08628462, -0.08052912, -0.017026344, 0.15191628, -0.057887327, -0.19557409, 0.051096447, -0.08008495, -0.107524894, 0.2823684, -0.08889756) * g_3;
result += mat4(-0.016564824, -0.24989256, -0.2249194, -0.0651977, -0.06807716, -0.025363477, -0.027399465, -0.07455227, 0.06599263, 0.26438046, -0.051439926, 0.06316548, 0.022916218, -0.046988536, 0.029912783, 0.022940762) * g_4;
result += mat4(-0.12251786, -0.06948682, 0.22916022, -0.024786122, -0.00439896, 0.083174594, 0.036550373, -0.006298349, -0.11279929, -0.093094416, -0.034991793, 0.046064105, 0.11115092, -0.082963385, 0.05877601, -0.06852534) * g_5;
result += mat4(0.07373158, 0.09035215, 0.07685686, -0.00512534, 0.16249287, -0.30190566, -0.17152359, -0.021798678, -0.036162075, -0.14855996, 0.06671937, 0.040752716, 0.038710788, -0.05742677, -0.15890189, -0.065827206) * g_6;
result += mat4(0.08283188, -0.07847956, -0.1273862, 0.06317435, -0.045053452, -0.07436303, -0.21195294, 0.03413814, 0.0180427, -0.08224744, 0.19969232, -0.10173545, -0.0985865, 0.13246737, -0.22761853, -0.052478615) * g_7;
result += mat4(0.058520608, -0.08817867, 0.23608765, -0.073843844, 0.052322935, 0.02629083, 0.13331904, 0.06627578, 0.041870154, 0.0606517, -0.26620305, 0.09230404, 0.027014492, 0.14735153, -0.16004741, 0.09812545) * g_8;
result += mat4(0.047826007, 0.1634714, 0.11705604, 0.0708394, -0.009366613, -0.03155836, 0.077331886, -0.0031559314, 0.097498395, 0.04192316, 0.17008877, -0.2166131, 0.20248255, 0.010872594, 0.06436194, -0.13117972) * g_9;
result += mat4(0.02341538, -0.083836935, -0.3000272, -0.13124003, -0.019327922, 0.04084534, 0.1415715, -0.032898612, 0.12683785, 0.2175736, -0.18110937, 0.16924378, 0.15692717, 0.2107051, -0.11289415, 0.024807237) * g_10;
result += mat4(-0.0038417198, -0.023462469, 0.29741266, 0.41617903, -0.07855188, -0.10439054, 0.029460225, 0.19564202, -0.039808284, 0.1763466, -0.090184964, -0.34782696, -0.02403701, 0.074582, -0.12709166, 0.08750199) * g_11;
result += mat4(-0.005616591, 0.06304182, -0.040408023, -0.09645956, 0.06324051, 0.20628944, -0.3098933, 0.02254578, 0.029077038, 0.053340837, 0.063302726, 0.16661525, 0.03846741, -0.009219741, 0.116365075, -0.10009024) * g_12;
result += mat4(-0.05268469, -0.00017071658, -0.07163157, -0.21923296, -0.16725844, -0.03701403, -0.14504927, 0.014916945, 0.0009528244, -0.15782906, 0.12831807, 0.29388857, -0.016132563, 0.017562412, -0.25679052, -0.034620695) * g_13;
result += mat4(0.22927792, -0.06749382, -0.009661854, 0.17025727, 0.0079777455, -0.041601792, -0.11932827, 0.03387773, -0.09392308, 0.3402342, 0.14215328, -0.39847612, -0.1305392, -0.15584923, 0.045079015, 0.01645792) * g_14;
result += mat4(-0.04562495, 0.16534929, -0.046228826, -0.16118683, -0.14846939, 0.18226776, 0.0052598384, -0.23458757, 0.094621554, -0.10582074, 0.10714222, 0.05594153, -0.09598537, 0.113479495, -0.12497368, 0.023943413) * g_15;
result += mat4(-0.02769864, -0.26299968, 0.14559303, 0.0944326, 0.17896965, 0.10208632, -0.013210181, -0.044628892, -0.05891498, -0.026696851, -0.22334224, 0.06637618, -0.18068133, -0.25608513, -0.17188187, 0.011999808) * g_16;
result += mat4(-0.058387913, 0.0218284, -0.23960036, 0.022659982, -0.14655428, -0.2565323, 0.108330764, 0.13125636, 0.124482006, 0.16533256, -0.022780979, -0.09548541, 0.08578177, -0.006597655, -0.14589092, -0.12073695) * g_17;
result += mat4(0.056324802, 0.0128009105, -0.025639247, 0.01001398, -0.17908664, -0.06784469, -0.2604881, -0.18153118, -0.063292824, -0.051646266, -0.06044485, 0.07686661, -0.082505025, 0.22550054, -0.037884668, -0.053193748) * g_18;
result += mat4(-0.069400966, 0.0617642, 0.010582028, 0.09696695, 0.0014224951, -0.04151362, -0.12185871, 0.0012915661, 0.14637092, -0.006555717, -0.05938257, 0.13994268, -0.0066529186, -0.19960605, 0.15346165, -0.0865367) * g_19;
result += mat4(-0.2611735, -0.022063201, -0.038368087, 0.09316622, -0.038465716, -0.18126398, -0.08461157, 0.067109436, 0.057539497, -0.20445953, 0.0928182, 0.04585181, -0.24495333, 0.0065940707, -0.37708935, 0.2060806) * g_20;
result += mat4(-0.0027922213, 0.22430198, -0.14358118, 0.12783276, -0.11639961, -0.037831385, 0.13331455, 0.19188458, 0.053073954, -0.07114653, -0.058150347, 0.1569289, 0.124720514, -0.12141831, 0.1242011, 0.114829615) * g_21;
result += mat4(-0.30982205, -0.037789118, -0.023584012, -0.108513854, -0.29589918, 0.23338793, -0.053462632, 0.14759938, 0.10133443, 0.11237711, 0.055803254, -0.12062855, 0.19252913, -0.08096047, 0.07718558, 0.008393711) * g_22;
result += mat4(-0.050342154, 0.0074422276, 0.06969367, 0.08940038, -0.017735183, -0.18851873, 0.16643041, -0.3227906, -0.022566125, -0.14224024, -0.34606192, 0.046124987, -0.04396818, 0.0072183185, -0.15278862, -0.06988554) * g_23;
result += mat4(0.034391437, -0.074430875, 0.20160396, -0.072047606, 0.2027079, -0.28531456, 0.10542997, -0.03773651, -0.055301867, -0.0936597, -0.21673253, 0.07367847, -0.02038547, -0.14456849, 0.22297329, 0.35531262) * g_24;
result += mat4(-0.18277335, -0.08059337, -0.09400133, 0.15901576, 0.16223545, 0.2021658, 0.047907606, 0.056792736, 0.06719305, 0.0033384864, -0.06851851, 0.051555436, -0.040477566, 0.2388465, -0.020530254, -0.24586761) * g_25;
result += mat4(0.11648392, -0.20024611, -0.07978261, -0.24872676, 0.24125583, 0.03680705, 0.044125002, -0.14167546, 0.18336643, 0.090984896, 0.07496362, -0.17672206, 0.16514459, -0.102161184, -0.030927394, 0.08411755) * g_26;
result += mat4(-0.14201398, -0.31110483, -0.42112264, -0.11100327, -0.20474254, 0.027765524, 0.0070005557, -0.08926027, 0.044591606, -0.20539887, 0.08815937, 0.15499651, -0.15112466, 0.017493293, -0.12526624, 0.14187813) * g_27;
result += vec4(-0.04274619, -0.027823832, -0.0074941483, 0.045495618);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x112
//!HOOK MAIN
//!BIND conv2d_24_tf
//!BIND conv2d_24_tf1
//!BIND conv2d_24_tf2
//!BIND conv2d_24_tf3
//!BIND conv2d_26_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!BIND conv2d_25_tf
//!SAVE conv2d_27_tf1
//!WIDTH conv2d_24_tf.w
//!HEIGHT conv2d_24_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
#define g_1 (max((conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
#define g_2 (max((conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
#define g_3 (max((conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
#define g_8 (max((conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_26 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_27 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.12234858, -0.021024397, -0.008911491, 0.008654683, -0.261921, -0.08852813, -0.014769153, 0.07656934, -0.1312976, -0.0395526, -0.1335422, 0.16576755, -0.024820516, -0.050337326, -0.10896443, 0.033768054) * g_0;
result += mat4(-0.018000448, 0.013071354, 0.049299564, -0.07042542, 0.3076099, -0.02068737, -0.18147635, 0.10448964, 0.07281318, 0.010307286, -0.18882285, -0.014645502, 0.0791774, -0.21212971, 0.026508024, -0.058461342) * g_1;
result += mat4(-0.23666126, -0.018033542, 0.0024688705, 0.23144715, 0.0010496895, -0.021392277, 0.08807161, 0.026790189, 0.023468774, 0.011498715, 0.14476688, 0.18361224, 0.04218432, -0.22661938, 0.34774292, 0.113836944) * g_2;
result += mat4(-0.029370226, -0.22133234, -0.066944055, -0.24185248, -0.09880753, -0.023189416, 0.006161905, -0.07948689, 0.012845118, -0.19781755, -0.1683098, -0.10058418, -0.018076612, -0.07924661, 0.08356604, -0.23357888) * g_3;
result += mat4(0.022303218, 0.12761936, 0.022652805, -0.20914936, 0.17180137, 0.12143295, 0.09799191, -0.12665649, 0.034417123, -0.09280215, -0.0984246, -0.07475625, -0.0069865007, 0.17393745, -0.047097508, 0.086801045) * g_4;
result += mat4(-0.009374213, 0.13395758, -0.037030727, 0.069092, -0.12193983, -0.06298433, 0.22348295, 0.051750474, -0.0943686, -0.045059983, 0.23618917, -0.15909736, 0.11566603, 0.07151492, 0.013066669, -0.04950254) * g_5;
result += mat4(0.05421195, 0.1602265, 0.12650324, -0.017457927, -0.008281588, -0.09576464, -0.038360406, 0.023573698, -0.071081236, 0.18549033, -0.17457892, -0.06348481, 0.0057788654, -0.17015602, -0.2143573, -0.12245353) * g_6;
result += mat4(-0.012059985, 0.034365635, 0.038933452, 0.15287007, 0.08915255, -0.09115187, 0.020236796, -0.030026728, 0.034153678, 0.14779243, -0.2252762, 0.18940309, -0.17914702, 0.04489441, -0.016465506, 0.19653367) * g_7;
result += mat4(-0.24926579, 0.21237439, -0.07930057, 0.11889715, -0.02740544, -0.09377776, 0.039144963, 0.24697267, -0.0735153, 0.26344168, -0.15305813, -0.03005728, -0.36296624, -0.11677285, 0.08789561, 0.15614145) * g_8;
result += mat4(0.21561594, 0.027871598, 0.11443511, -0.08989617, -0.15216057, 0.31315288, 0.07875693, 0.31678453, -0.05351552, 0.0603098, 0.098363675, -0.024522562, 0.32440776, 0.04057012, 0.020779671, -0.09102291) * g_9;
result += mat4(0.030619625, 0.23956256, 0.12258182, -0.056125734, 0.047818817, 0.007024855, 0.005731205, -0.044608884, 0.14420183, -0.34504604, 0.37266588, 0.21600994, 0.14392853, 0.18355964, -0.16690119, -0.055878773) * g_10;
result += mat4(0.08539339, -0.030770814, -0.20747332, -0.14294678, 0.06483853, 0.28473207, 0.17663138, -0.14832555, -0.09196593, 0.38663465, -0.4864812, 0.024431465, -0.024223857, -0.13960868, -0.19981948, -0.0046645487) * g_11;
result += mat4(0.052366443, -0.11314741, 0.25294435, 0.12731439, 0.12228493, 0.31405678, 0.13434315, -0.124796845, -0.07093641, 0.24931367, 0.008088064, 0.057337996, 0.14562343, -0.1662442, -0.16025625, -0.008378218) * g_12;
result += mat4(-0.107468806, 0.012494604, 0.13145463, 0.0044467025, -0.20689802, -0.008778631, 0.22577581, -0.083029106, 0.024620963, -0.025284542, 0.055661917, 0.1272626, -0.03796311, 0.1556227, 0.042157676, -0.08214739) * g_13;
result += mat4(-0.04830007, 0.044968493, -0.0075896606, 0.10583585, -0.002229782, -0.061159782, -0.019315276, -0.08692975, -0.02174253, 0.10504436, -0.095099375, 0.10481533, -0.10043261, -0.103314795, 0.099944495, -0.005334155) * g_14;
result += mat4(0.12740242, 0.17563054, 0.08312964, -0.067844905, -0.04208514, 0.1110867, -0.21594112, -0.23460679, -0.13176624, 0.1059882, 0.12894152, -0.11152399, 0.09752229, 0.014816284, -0.22325674, 0.09841326) * g_15;
result += mat4(0.0653981, -0.022964995, -0.2938982, -0.0061169066, 0.03942006, 0.019700393, 0.08734106, -0.065434955, -0.067304276, 0.112637825, -0.05742705, 0.023384662, -0.2054386, 0.29436016, 0.0037892356, -0.22304635) * g_16;
result += mat4(0.088354826, 0.23902883, 0.08372811, 0.0065366016, -0.07964651, 0.24419506, -0.3911946, -0.029087873, 0.090739176, -0.049014863, 0.06988132, 0.02258769, 0.10247047, 0.12518027, 0.0008728705, -0.056853645) * g_17;
result += mat4(0.19367176, -0.041542146, -0.16576086, 0.07154839, 0.044061545, 0.16537209, 0.1270174, 0.041331172, -0.20587024, -0.065511934, -0.13275598, -0.07027002, 0.18806867, -0.03407952, 0.04837352, 0.045474067) * g_18;
result += mat4(-0.2582355, 0.17942189, 0.12967736, 0.12031099, -0.14537609, -0.041969452, -0.043003123, 0.013001321, 0.12566818, 0.0038525918, -0.08360705, 0.02547348, -0.09314052, 0.052094415, -0.08657066, 0.014753045) * g_19;
result += mat4(-0.044867773, -0.12017535, 0.06931032, 0.21013774, -0.17006443, -0.11134061, 0.052347653, 0.22170502, 0.0809573, -0.04026027, 0.058802795, 0.033606496, -0.69711787, -0.21366166, 0.32256404, 0.001037066) * g_20;
result += mat4(-0.109290324, 0.12479354, -0.0016870967, -0.2105443, -0.12823416, 0.19568188, -0.01180512, -0.0901166, -0.113193884, 0.20936523, -0.26581213, 0.14669225, -0.03157429, 0.078640506, 0.1446152, -0.10513303) * g_21;
result += mat4(-0.12432017, 0.09697878, -0.09566158, -0.1560019, -0.04478926, 0.08118913, -0.023159185, -0.08924593, 0.07948424, 0.13116947, 0.08267777, 0.041434366, 0.12660475, 0.21119997, 0.040758017, 0.010252911) * g_22;
result += mat4(-0.07343955, -0.11137574, -0.20888542, -0.010525646, 0.08654566, -0.25162008, 0.0015843184, 0.2251664, -0.16099241, -0.05303513, -0.010290805, -0.19370262, -0.09699956, -0.021551458, -0.28225294, -0.012553028) * g_23;
result += mat4(0.13522272, -0.037814137, -0.17619848, 0.059898973, -0.19553477, 0.17938456, -0.27291644, -0.0061011547, -0.010751843, -0.035017565, 0.03794967, 0.31951827, -0.18536541, 0.13390224, 0.0263642, 0.0029341222) * g_24;
result += mat4(-0.12729633, -0.14954208, -0.12916204, 0.22230428, 0.11732888, 0.008057732, 0.07490304, 0.13995908, 0.061645962, -0.16856796, -0.03455527, -0.37620506, 0.22656745, -0.15411325, 0.131253, -0.03256949) * g_25;
result += mat4(0.102106966, 0.16285823, 0.07355709, -0.06602972, 0.15325125, -0.16784416, 0.1471553, -0.14970179, 0.1314055, -0.036945526, -0.014696616, 0.06697295, 0.07670483, -0.013443979, 0.10073605, 0.114370696) * g_26;
result += mat4(0.14675961, -0.21042137, -0.10476935, -0.003657964, 0.013142314, 0.025201753, -0.0875375, 0.17088741, -0.32458684, 0.23715518, 0.07397589, -0.028977808, 0.049964994, 0.03821004, -0.01645503, -0.16695203) * g_27;
result += vec4(0.013880447, -0.06316735, -0.020679189, 0.0052526686);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x112
//!HOOK MAIN
//!BIND conv2d_24_tf
//!BIND conv2d_24_tf1
//!BIND conv2d_24_tf2
//!BIND conv2d_24_tf3
//!BIND conv2d_26_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!BIND conv2d_25_tf
//!SAVE conv2d_27_tf2
//!WIDTH conv2d_24_tf.w
//!HEIGHT conv2d_24_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
#define g_1 (max((conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
#define g_2 (max((conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
#define g_3 (max((conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
#define g_8 (max((conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_26 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_27 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.019710967, 0.08727079, 0.13289316, 0.03551607, 0.0777452, -0.112196796, -0.16325843, 0.1558316, -0.022001125, -0.2075691, 0.11862199, 0.02857829, 0.020248298, -0.0094446875, -0.07760552, -0.117990285) * g_0;
result += mat4(-0.29817292, 0.10518408, 0.21746357, 0.05733823, 0.03669798, -0.08149275, -0.10093382, 0.008025974, 0.041065153, 0.13907155, 0.03632113, -0.13297954, 0.060014922, 0.17260654, -0.19085334, -0.08275422) * g_1;
result += mat4(0.12151083, -0.14669828, -0.1620568, -0.16574967, 0.074872755, 0.19607818, -0.3769676, -0.058607124, 0.033677254, -0.056256827, -0.16380833, 0.20182659, 0.04105756, -0.014290442, -0.113356315, 0.09061605) * g_2;
result += mat4(-0.24904074, 0.01590407, -0.003319224, 0.022379734, -0.06170071, -0.10397567, 0.15287766, 0.088777915, 0.020472175, -0.06658154, -0.11527278, 0.018785367, 0.1344412, 0.17483887, 0.09392446, 0.14208129) * g_3;
result += mat4(-0.12065394, -0.07425183, 0.19492783, -0.0121520795, -0.21886127, -0.22013198, 0.21618968, 0.1857871, 0.012718742, 0.27063718, 0.2922766, 0.14129776, 0.15681101, -0.11397562, 0.2161061, 0.28459883) * g_4;
result += mat4(0.18279836, 0.059465416, -0.2686552, 0.08636607, -0.2511355, 0.105158694, 0.16153961, 0.0084084505, -0.2347149, -0.24694109, -0.06095133, -0.13584507, 0.1535036, -0.070038, 0.14755426, 0.15813471) * g_5;
result += mat4(0.05638502, 0.12059284, 0.119747244, -0.025995718, 0.018165832, -0.16386032, -0.0039485083, -0.12419894, -0.18031433, 0.0659284, -0.048997298, 0.05746441, 0.0037581213, 0.0475356, 0.026042571, 0.0461644) * g_6;
result += mat4(0.29047623, -0.03317755, 0.012561449, 0.0762115, -0.22357285, 0.09418904, -0.1308704, 0.03420321, 0.3186606, -0.08401149, -0.06973756, -0.1454678, 0.1048745, 0.12291292, -0.014862143, -0.1947549) * g_7;
result += mat4(0.24438359, -0.33590525, 0.08984905, 0.3105651, -0.116628, -0.25711998, 0.114802435, -0.062869534, 0.26591647, 0.016051942, 0.14616686, -0.012595678, 0.31504416, -0.2826693, 0.25454178, 0.13212447) * g_8;
result += mat4(-0.012505105, 0.25267395, -0.34087932, -0.11540549, 0.23704751, 0.20673543, -0.15236458, 0.08962316, 0.19622429, 0.12039237, -0.1578033, -0.0637722, -0.21207733, -0.03394972, 0.22895417, 0.15027094) * g_9;
result += mat4(-0.14031585, -0.035249453, 0.079809986, -0.16434458, 0.10221193, 0.035313964, 0.018961012, -0.16648005, 0.30393958, -0.1710883, -0.19866116, 0.44803715, 0.0661874, 0.08189988, 0.08553425, 0.28069958) * g_10;
result += mat4(-0.19560876, 0.13451014, 0.13100468, 0.35829562, -0.15475325, 0.02990502, -0.0061779036, -0.22534068, -0.33936733, 0.27095476, 0.14239429, -0.5767695, 0.087701306, -0.1332555, 0.05407353, -0.21649647) * g_11;
result += mat4(0.08749871, -0.2221962, 0.14391874, -0.073948324, -0.025453761, 0.12343736, 0.17743391, -0.07681618, -0.40484402, 0.19426289, -0.09875697, 0.01706343, 0.03982282, -0.17358004, 0.26000148, -0.115895495) * g_12;
result += mat4(-0.13025936, 0.2896371, 0.05801185, 0.08293986, -0.0893019, 0.039711192, -0.16405399, 0.12870799, 0.003430463, 0.09525632, -0.16785814, -0.11364755, -0.18278702, -0.016319456, -0.047153126, -0.020832052) * g_13;
result += mat4(0.082251646, 0.029341506, 0.17133091, -0.18122095, 0.14725228, 0.11916899, -0.28950807, 0.03370702, 0.0347592, 0.032789018, -0.045912996, -0.19743393, -0.19047977, -0.00169078, 0.10430928, 0.09070872) * g_14;
result += mat4(-0.092634596, -0.010618818, -0.03247302, 0.036561195, 0.11044694, 0.12613513, -0.028009905, -0.29851934, 0.087764055, 0.03672974, -0.018752236, 0.13566239, 0.12001229, 0.11018802, -0.11403856, 0.12471705) * g_15;
result += mat4(-0.0038836685, -0.2424455, -0.15008962, 0.082429685, -0.027996138, -0.03844133, -0.15668187, -0.04586779, -0.0009184358, -0.04966999, -0.143867, -0.11818294, 0.014227782, 0.17745559, 0.1543326, 0.12324403) * g_16;
result += mat4(-0.19125207, -0.072080135, 0.22001915, -0.15000911, 0.006092946, 0.0276868, 0.049183417, -0.023606265, -0.055075668, 0.0023213453, -0.006831625, 0.054617073, 0.028141601, -0.28144443, -0.15619376, 0.012505551) * g_17;
result += mat4(-0.002071177, -0.25345835, 0.28130552, 0.02935035, 0.021427564, 0.076878846, 0.10711918, 0.17818032, -0.16705897, 0.0842015, 0.025515607, -0.04167417, -0.06023519, 0.03835697, 0.02799301, -0.15039864) * g_18;
result += mat4(0.065405816, 0.13527295, 0.0067324284, -0.12423678, 0.021669216, -0.082277656, 0.14112775, -0.18604228, 0.13923156, -0.09100899, 0.048483785, 0.022520756, 0.14296904, -0.109883346, 0.006980882, -0.07817121) * g_19;
result += mat4(-0.037226293, -0.110121734, 0.07505908, 0.11474654, 0.209037, -0.026594287, -0.04906321, 0.25379568, 0.18203714, -0.0306505, -0.30535626, -0.015043494, -0.12235582, 0.25040084, -0.6705801, 0.1575759) * g_20;
result += mat4(0.18554471, 0.22335277, 0.22220112, 0.16374512, -0.14779869, -0.013078052, 0.14746222, -0.06868247, -0.17210856, 0.13750106, 0.13263366, 0.056304373, -0.20586984, 0.009876655, 0.23746644, -0.11166203) * g_21;
result += mat4(-0.26620933, -0.0082564615, -0.078228526, 0.2707986, -0.20045628, -0.08139448, 0.0045745936, 0.09325633, -0.05672884, -0.0876488, 0.074889794, 0.13535088, 0.009728256, -0.009059547, -0.20067231, -0.17888282) * g_22;
result += mat4(0.18152374, 0.012155946, -0.17208481, 0.017410867, -0.13088197, 0.008807619, 0.075113654, 0.101879686, -0.071657784, 0.19019592, 0.15560628, -0.07696461, -0.14242226, -0.12567873, 0.048841417, 0.09410027) * g_23;
result += mat4(0.097054265, 0.17632675, 0.070473716, 0.007048641, -0.042248275, -0.15942219, -0.20265426, -0.11571704, 0.06452315, -0.07014653, 0.15223622, -0.046541333, -0.024594152, 0.19610131, -0.020526761, -0.11271823) * g_24;
result += mat4(-0.033343684, 0.08648372, 0.10469339, 0.015983986, -0.0068075475, 0.11311371, 0.179533, -0.11297559, 0.33167574, 0.086799785, 0.042009678, -0.27057844, 0.077861145, 0.09749471, 0.06263665, 0.09029921) * g_25;
result += mat4(-0.17208366, 0.1823461, 0.05647835, 0.10694644, -0.3164003, -0.0020529446, -0.01364865, -0.03349827, 0.12650657, -0.13572167, -0.07308267, -0.06336381, -0.05660443, -0.043583434, -0.28769398, -0.27051786) * g_26;
result += mat4(-0.03592598, -0.4689105, 0.24144898, -0.030977558, 0.002880143, -0.3730606, 0.14906044, -0.07306277, 0.021631535, 0.29016364, -0.10610739, -0.04341038, 0.08593863, 0.07535527, 0.137121, 0.040470026) * g_27;
result += vec4(-0.0023638057, -0.06318492, 0.031060705, 0.012420308);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x112
//!HOOK MAIN
//!BIND conv2d_24_tf
//!BIND conv2d_24_tf1
//!BIND conv2d_24_tf2
//!BIND conv2d_24_tf3
//!BIND conv2d_26_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!BIND conv2d_25_tf
//!SAVE conv2d_27_tf3
//!WIDTH conv2d_24_tf.w
//!HEIGHT conv2d_24_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
#define g_1 (max((conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
#define g_2 (max((conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
#define g_3 (max((conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_24_tf_tex(conv2d_24_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_24_tf1_tex(conv2d_24_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_24_tf2_tex(conv2d_24_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_24_tf3_tex(conv2d_24_tf3_pos)), 0.0))
#define g_8 (max((conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_26 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_27 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.104180515, 0.21909867, -0.0016195358, -0.00827801, -0.17956465, 0.008882964, 0.095886044, -0.12801364, 0.24021642, 0.23698345, -0.17307688, 0.024737755, 0.24745077, -0.121220514, 0.00431543, 0.11270653) * g_0;
result += mat4(0.15997665, 0.017852405, 0.05119178, -0.15482607, 0.0473513, 0.102561824, 0.10925874, -0.088492356, -0.07925148, -0.0009926077, -0.1836283, -0.027848043, 0.078280285, 0.007133711, 0.010975833, 0.06212348) * g_1;
result += mat4(-0.05369238, -0.3801088, 0.6358423, 0.13610448, -0.17373526, -0.06838332, -0.026865637, -0.22185935, 0.031365998, -0.24836074, 0.07786585, 0.12845472, -0.10230717, -0.090312645, -0.12451369, 0.012365612) * g_2;
result += mat4(-0.11176632, 0.1129991, 0.19114831, -0.02778793, 0.17413953, -0.07105402, 0.062856786, 0.03620729, -0.08253814, 0.18052185, -0.23623717, 0.00784666, 0.2294231, -0.0063698697, -0.007017217, 0.19971047) * g_3;
result += mat4(0.053607754, 0.128326, -0.08556963, -0.3267408, 0.2113072, 0.04600726, -0.087273054, 0.043838777, -0.013094107, -0.07035021, 0.06061421, -0.042725533, -0.2515608, 0.05992034, -0.00080709986, 0.053383853) * g_4;
result += mat4(-0.1296537, -0.028914798, 0.12485024, 0.32676205, -0.15098321, -0.050126188, -0.10485253, -0.22199424, 0.004325448, 0.11900305, 0.03579892, -0.06502462, 0.09748344, -0.23620753, -0.08606443, -0.12277768) * g_5;
result += mat4(0.06351925, -0.09474517, -0.030183055, 0.26909778, 0.012661174, -0.12511827, 0.07635961, -0.16331388, -0.07982632, -0.012759043, 0.03974436, -0.07089404, 0.114191614, -0.1768194, 0.20276785, -0.20046876) * g_6;
result += mat4(0.118645184, -0.015464144, -0.13408852, -0.031532094, -0.036670644, 0.25638598, -0.08346215, -0.16632739, 0.10724415, 0.031202447, 0.06494471, 0.080996215, -0.1531831, -0.049804404, 0.06983809, -0.18219711) * g_7;
result += mat4(0.057444304, 0.06428333, -0.2427994, 0.06495019, -0.2475473, 0.051088843, 0.14431933, 0.04322744, -0.0065100784, -0.07879368, 0.27862424, -0.015107099, 0.48285982, 0.07512295, -0.13956147, -0.5293498) * g_8;
result += mat4(-0.04977926, 0.057724383, 0.005400039, -0.07485926, 0.099736564, -0.19428918, 0.3085949, -0.09256943, -0.007471054, 0.15845904, 0.024014933, -0.22958547, 0.05363298, -0.2262346, -0.08504123, 0.010983667) * g_9;
result += mat4(-0.0011897761, 0.01905553, -0.07040949, 0.13073099, 0.07718515, -0.00919502, 0.16790766, 0.15093194, 0.07811035, 0.59745634, -0.038061313, 0.33472347, -0.046432715, -0.042526003, -0.042819142, 0.015483182) * g_10;
result += mat4(0.16497271, -0.1832641, -0.06919869, -0.0699354, 0.1622412, -0.009429784, -0.042264223, -0.5095821, -0.22293803, -0.22964719, -0.24294993, -0.2749919, -0.24561481, 0.03678232, -0.040695712, 0.04990986) * g_11;
result += mat4(0.17668974, -0.14166051, 0.048939627, 0.054249138, -0.07022914, -0.008821423, -0.056008007, -0.21688782, -0.14373022, -0.10112909, -0.26707867, -0.27844477, -0.13381785, 0.024470683, -0.18647262, 0.07304338) * g_12;
result += mat4(0.1254997, 0.3412491, -0.11075748, -0.044977497, -0.2579634, 0.19033371, -0.12924103, -0.10767467, -0.18661416, -0.006703569, 0.11859471, 0.011905839, -0.15832269, -0.09578297, -0.050546784, 0.05611259) * g_13;
result += mat4(-0.031839076, 0.24811439, -0.048889633, -0.10886483, -0.021840971, 0.07242472, 0.07856694, 0.21579736, 0.24734874, 0.002823113, 0.20664278, 0.07515607, -0.035989497, 0.025168674, 0.012789844, 0.04219985) * g_14;
result += mat4(-0.029561277, -0.027150908, -0.2285595, 0.0623451, -0.21524262, -0.0495648, -0.26751977, -0.099391095, -0.11575608, 0.18860719, -0.26475087, 0.10348319, 0.1349935, -0.22972155, 0.07882446, -0.018600948) * g_15;
result += mat4(0.11091095, -0.19174413, 0.0066961353, -0.028952863, -0.07400654, -0.1074968, -0.09721747, 0.02431324, 0.028736848, 0.050277565, -0.0013741596, -0.031192824, -0.03777562, 0.05401314, -0.06783531, 0.19289261) * g_16;
result += mat4(-0.23818627, 0.22782011, -0.168649, 0.0773027, -0.29677773, 0.028283251, -0.032741956, 0.22565849, -0.059789155, -0.08474369, 0.25028643, 0.051620036, 0.06692328, -0.14508602, -0.0667097, -0.14061047) * g_17;
result += mat4(0.13310762, -0.12951846, 0.06509994, 0.040003385, 0.049557522, 0.18617095, -0.09436182, 0.059164654, 0.11599615, -0.004864734, -0.07653804, 0.00014459781, 0.13770443, -0.14924237, 0.07231551, -0.016222041) * g_18;
result += mat4(0.10529918, 0.08091443, -0.11911098, 0.12648894, -0.12755243, -0.051939204, -0.14069635, 0.032026708, 0.00019522365, -0.0022558924, 0.21253237, -0.13399132, 0.1323077, 0.17119333, -0.12659132, 0.09258308) * g_19;
result += mat4(-0.18063812, 0.06042027, 0.13172136, 0.17522804, 0.1790162, -0.32260424, 0.012049487, -0.29769227, 0.027918922, 0.07017221, -0.0750346, 0.014930939, -0.1885921, 0.26602972, 0.026115637, 0.3200164) * g_20;
result += mat4(0.38229984, -0.054856207, -0.30004284, -0.096048094, -0.045444023, 0.12204156, 0.01020938, 0.05631701, 0.18008712, 0.08312059, 0.14788924, 0.04911914, -0.089370966, 0.072039425, -0.045207575, -0.06889737) * g_21;
result += mat4(0.32740393, 0.1746514, -0.10657198, -0.021967173, -0.002292727, 0.15766911, -0.2148169, -0.024471002, 0.24356085, 0.039451532, 0.008314017, -0.09937661, 0.1613525, -0.2391406, -0.029003207, -0.0159854) * g_22;
result += mat4(-0.16562004, 0.041117836, 0.19213973, -0.14429536, 0.30970034, -0.07554239, 0.029687773, -0.024070954, -0.08167974, -0.004404698, -0.03143552, 0.042981133, 0.06546435, 0.16990507, -0.21680567, 0.06390797) * g_23;
result += mat4(-0.03591141, 0.020884542, 0.023933852, 0.022759074, -0.029971978, 0.11930571, -0.086772785, 0.19787759, 0.030405317, -0.13947894, 0.07441769, 0.00034632036, -0.07164358, 0.057664413, 0.37139198, 0.06278644) * g_24;
result += mat4(-0.051113605, 0.05665, -0.020249806, 0.16835532, 0.05984608, -0.08224659, 0.12696908, 0.13570228, -0.068349294, -0.099196844, 0.120686345, 0.055186067, 0.07618209, -0.026192036, -0.14863594, 0.06333659) * g_25;
result += mat4(0.058455057, -0.088729665, 0.15909332, -0.012666964, 0.10028206, 0.03833605, 0.13993295, 0.031959523, 0.096895166, -0.03811847, 0.13775149, 0.02438105, -0.2683284, 0.111006245, 0.10954929, 0.025493354) * g_26;
result += mat4(-0.13692367, 0.14800175, 0.012824838, -0.071239576, 0.0888179, 0.22001815, -0.11865171, 0.069108665, -0.25402087, 0.10172734, 0.30485952, -0.067486994, 0.0008256393, 0.0869447, 0.22277334, 0.21455327) * g_27;
result += vec4(0.028628629, 0.06234057, -0.040859535, 0.012304189);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv2d_27_tf
//!BIND conv2d_27_tf1
//!BIND conv2d_27_tf2
//!BIND conv2d_27_tf3
//!SAVE conv2d_28_tf
//!WIDTH conv2d_27_tf.w
//!HEIGHT conv2d_27_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv2d_27_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv2d_27_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv2d_27_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max((conv2d_27_tf3_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_27_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_27_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_6(x_off, y_off) (max(-(conv2d_27_tf2_texOff(vec2(x_off, y_off))), 0.0))
#define go_7(x_off, y_off) (max(-(conv2d_27_tf3_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.15947562, -0.08088179, -0.018287092, 0.07388169, 0.055656206, 0.012508511, -0.014822504, -0.026112063, -0.0355522, 0.21059254, -0.010861626, -0.12473264, -0.064066336, 0.05059408, 0.17477006, -0.013565353) * go_0(-1.0, -1.0);
result += mat4(-0.21434227, 0.31677282, -0.03516674, 0.04986214, 0.05526597, 0.09660516, -0.14319508, 0.018978575, 0.22303632, -0.016273327, -0.007631538, 0.06443882, 0.05512332, -0.041881822, -0.08996631, -0.098337024) * go_0(-1.0, 0.0);
result += mat4(0.00890349, -0.08083122, -0.18154235, 0.16016848, 0.036409512, -0.03464171, -0.066068955, -0.040363487, 0.011614476, -0.010766412, 0.115901425, -0.20064755, -0.046192054, 0.11930149, 0.14467944, -0.059644654) * go_0(-1.0, 1.0);
result += mat4(0.11164375, 0.16459064, -0.09998619, -0.009961483, -0.04288467, 0.10108012, -0.10405018, -0.19669667, 0.052263748, 0.26811314, 0.1365987, -0.10233866, 0.16488834, 0.19555828, 0.071872376, 0.082796656) * go_0(0.0, -1.0);
result += mat4(0.18249479, 0.11808829, -0.0022341073, -0.032062545, -0.11052209, -0.0013532481, 0.016538607, 0.08067115, 0.16962177, 0.07064662, -0.07810613, 0.010294429, 0.08434929, 0.10127592, -0.029486863, -0.3255432) * go_0(0.0, 0.0);
result += mat4(-0.057793867, -0.0521884, 0.19243455, 0.02239359, -0.034333054, -0.07780034, -0.0073473672, -0.021267103, 0.06721728, -0.010699848, -0.046675183, -0.10781791, 0.0678299, -0.029241193, -0.110838145, -0.06508165) * go_0(0.0, 1.0);
result += mat4(-0.081627466, -0.056206644, 0.057609815, 0.16809253, 0.09702448, -0.0006972214, -0.05335845, -0.12129932, -0.0002927597, -0.21934614, -0.037754383, -0.1519519, -0.2376217, 0.10211905, 0.13700108, -0.09431093) * go_0(1.0, -1.0);
result += mat4(0.12006511, 0.0850924, 0.13144164, 0.16237107, 0.10096861, 0.0041175876, -0.106181756, 0.012646824, -0.049423195, 0.02854461, 0.0714631, -0.17928813, 0.12281949, -0.1653483, -0.12631613, -0.012995532) * go_0(1.0, 0.0);
result += mat4(0.06719825, 0.04025362, 0.12805803, -0.051237866, -0.10915182, -0.012685345, -0.03332722, 0.043810077, 0.009768857, 0.030928867, -0.11797699, 0.06935517, 0.03960586, -0.054912154, 0.045409244, 0.024356317) * go_0(1.0, 1.0);
result += mat4(-0.08003945, 0.02939059, 0.015871571, -0.08151104, 0.06888097, 0.028342148, 0.10520131, -0.061023485, 0.09831178, 0.16380575, 0.0023105524, -0.12040436, -0.031042974, -0.053848248, 0.009438444, 0.0266714) * go_1(-1.0, -1.0);
result += mat4(-0.07136757, 0.100973204, -0.031054407, -0.073980935, -0.041895464, -0.021902626, 0.031108955, -0.052984156, -0.016130926, -0.050138965, 0.03813808, -0.05297753, -0.028289583, 0.031014593, 0.1843739, -0.035281647) * go_1(-1.0, 0.0);
result += mat4(0.035933316, -0.00038015004, -0.027873661, -0.0069536613, 0.027045539, 0.037116226, 0.04525177, 0.006566634, -0.16384627, 0.07768526, -0.12624563, 0.024078595, 0.10769284, -0.11258107, -0.04982451, -0.065048374) * go_1(-1.0, 1.0);
result += mat4(0.10052499, -0.13002421, -0.06633072, -0.042626563, -0.028949782, -0.14514183, 0.028552216, -0.0613498, 0.09384566, 0.09405732, -0.19158928, 0.03907308, -0.055615067, 0.23429433, 0.12803762, 0.04434819) * go_1(0.0, -1.0);
result += mat4(0.00958813, -0.24705333, -0.16486292, 0.024874136, -0.12138014, 0.18079525, -0.10713273, -0.13516752, 0.055434603, -0.015806839, -0.09717939, -0.074068494, -0.08866701, 0.020300955, -0.0055264304, 0.04080965) * go_1(0.0, 0.0);
result += mat4(-0.11120258, -0.07199271, -0.041486032, -0.14906478, -0.009233198, -0.09902689, -0.040275663, 0.017067345, -0.05086586, -0.17413498, -0.008183662, 0.009612443, -0.13408433, -0.1332188, 0.07127962, -0.10865638) * go_1(0.0, 1.0);
result += mat4(-0.124843836, 0.0056214286, 0.13267992, -0.13429327, -0.016505916, 0.036799435, -0.038973354, 0.05537806, -0.0632161, -0.012454545, 0.038332634, -0.037685867, 0.04319443, 0.03322325, 0.042085703, 0.045762986) * go_1(1.0, -1.0);
result += mat4(0.052202236, 0.05771732, 0.112385854, -0.01082042, -0.0767456, -0.08780617, 0.014997822, -0.08833972, -0.10664788, -0.061612513, -0.182838, 0.0851486, 0.16953877, -0.06382708, -0.022215927, -0.0051205694) * go_1(1.0, 0.0);
result += mat4(0.13441062, 0.10117365, -0.016199887, 0.029254923, -0.02033548, -0.027186427, -0.045370664, -0.03122226, -0.001153141, -0.053417522, -0.08496941, 0.091859564, -0.1636657, 0.0686879, -0.0061219577, -0.0037164304) * go_1(1.0, 1.0);
result += mat4(-0.08923701, -0.06655362, -0.010985764, 0.014604874, -0.011382496, 0.029907953, -0.056434274, 0.038744327, -0.028414777, 0.010007162, 0.0017349193, -0.10343906, 0.09191801, -0.09312238, -0.1496644, -0.07673135) * go_2(-1.0, -1.0);
result += mat4(0.009483084, 0.01533923, -0.22572407, 0.025132898, -0.01963628, 0.17454073, -0.07573513, 0.039613944, 0.063608795, -0.13739005, -0.033944577, 0.16951281, 0.30629894, -0.079744816, -0.01866261, 0.039395563) * go_2(-1.0, 0.0);
result += mat4(-0.08941336, 0.064974226, -0.028835427, 0.034915254, -0.086929224, 0.07687716, -0.0016284286, 0.0048973947, -0.002299835, -0.10146576, 0.15499033, -0.025811836, -0.11017588, -0.06646864, 0.2724957, -0.09787315) * go_2(-1.0, 1.0);
result += mat4(0.013580617, 0.23512718, -0.13755204, -0.037683118, -0.10511493, -0.16309044, 0.028176483, 0.08306621, -0.10533476, 0.0006221558, 0.045089602, -0.15210447, 0.0020994823, -0.024207998, 0.0993523, 0.043464) * go_2(0.0, -1.0);
result += mat4(0.030274704, 0.16225174, -0.04986216, -0.15224266, 0.0780463, -0.1532285, 0.10314128, -0.15185037, 0.10115252, -0.10087905, -0.09021414, -0.022275878, 0.20465703, 0.15299171, -0.029545499, 0.027562108) * go_2(0.0, 0.0);
result += mat4(0.03635188, 0.14174621, 0.07811163, -0.007859945, 0.015667818, 0.04175609, 0.037054025, -0.21607552, 0.042083874, 0.012400608, -0.0031731343, 0.015451013, 0.14899978, -0.07175217, 0.10838928, -0.12669186) * go_2(0.0, 1.0);
result += mat4(0.138536, 0.13425349, -0.034622706, -0.18623102, -0.053591244, 0.05831567, -0.16689397, 0.09646786, 0.014092155, 0.04367327, -0.09343583, -0.14990391, 0.07822869, -0.22536267, 0.099219, 0.23060338) * go_2(1.0, -1.0);
result += mat4(-0.06164505, -0.092979245, -0.14336626, -0.07140663, 0.22376375, -0.047783352, -0.033338327, 0.1258366, -0.17924803, 0.041608956, 0.16306303, -0.10679489, -0.3030042, 0.0008420525, 0.12561269, -0.028834283) * go_2(1.0, 0.0);
result += mat4(-0.054412913, 0.0090209665, 0.11719211, -0.05716453, 0.05383089, 0.02623724, -0.07349644, -0.01056252, 0.10699554, -0.09000459, 0.017828118, -0.07156624, -0.009086138, -0.17281768, 0.07362622, 0.059403386) * go_2(1.0, 1.0);
result += mat4(-0.1389711, 0.10161683, 0.10497333, -0.1611381, -0.22583091, -0.01804936, 0.012043274, -0.07505929, 0.12483098, 0.120331906, 0.06568858, 0.048519757, 0.04878232, 0.1416424, 0.0067936247, -0.016330056) * go_3(-1.0, -1.0);
result += mat4(-0.17665231, -0.027524196, 0.054338425, -0.019410258, -0.02451535, -0.101202436, 0.019439757, 0.054194063, 0.1374067, 0.18281725, 0.07622217, 0.02345311, 0.09478843, -0.2668885, -0.20737533, -0.038789343) * go_3(-1.0, 0.0);
result += mat4(0.17850038, 0.015391434, 0.21261981, -0.07131195, -0.00017390228, -0.027140131, -0.03531777, 0.090994254, 0.018094057, 0.034828965, -0.03494625, 0.02909268, -0.1641662, 0.0061473413, 0.07393836, 0.012682216) * go_3(-1.0, 1.0);
result += mat4(-0.042796552, 0.15346116, -0.09064195, -0.08746618, -0.060828637, -0.03820483, 0.011528973, 0.0398974, 0.09371729, -0.08625735, 0.014867914, 0.041555084, -0.08405399, 0.11065002, -0.08176266, -0.0624558) * go_3(0.0, -1.0);
result += mat4(-0.16241768, -0.09944747, -0.20491481, 0.29889265, -0.12245448, -0.07481623, -0.12528926, 0.05751569, 0.0967851, 0.23937911, 0.35344538, -0.08789662, 0.12991858, -0.16209777, -0.28480273, -0.0014969984) * go_3(0.0, 0.0);
result += mat4(-0.038093816, -0.12204375, 0.2872561, -0.01867348, -0.0422504, -0.027746195, 0.04692431, 0.19227293, 0.14287111, -0.14324081, -0.11081065, 0.023367552, -0.12073627, -0.13269602, -0.13918683, 0.08741606) * go_3(0.0, 1.0);
result += mat4(0.0008481731, 0.05254276, -0.012691128, -0.036892317, -0.04046909, -0.17864129, 0.110876225, -0.058506776, 0.08640097, -0.006006924, 0.01067811, 0.111712374, -0.05587949, 0.09859872, 0.12326458, 0.03610263) * go_3(1.0, -1.0);
result += mat4(0.01657765, 0.049353786, 0.023793655, -0.034767125, -0.0027143199, -0.10706169, 0.021599656, 0.028217005, 0.15949789, 0.018731484, -0.015067733, -0.008275501, -0.02608208, 0.09978389, -0.07528502, -0.11285119) * go_3(1.0, 0.0);
result += mat4(0.0023038054, -0.106527835, 0.19298683, -0.007611592, 0.13164747, 0.019736541, 0.0677005, 0.12425515, 0.16268487, -0.096461184, 0.12743223, -0.08677306, -0.029261615, -0.041135672, 0.080600925, -0.0044985185) * go_3(1.0, 1.0);
result += mat4(-0.012212633, -0.008135249, 0.0214631, -0.15218979, 0.036934953, 0.013742649, 0.005994283, -0.0283032, 0.0729484, -0.052409716, -0.06420768, 0.0810027, 0.04289635, -0.05979256, -0.011123965, 0.07240212) * go_4(-1.0, -1.0);
result += mat4(0.078602165, -0.11064885, -0.032745726, -0.041563403, -0.07760515, 0.030799344, -0.009528405, 0.07102139, -0.078211874, -0.006511505, 0.022323601, -0.09159505, -0.09717384, -0.038415562, 0.15776964, -0.122952245) * go_4(-1.0, 0.0);
result += mat4(-0.02998448, 0.06617301, -0.1833567, -0.05996888, 0.025792658, 0.04538328, -0.013383254, -0.058839086, -0.036489535, 0.057810433, 0.03386236, 0.06538946, 0.02562387, -0.08336547, -0.119194515, 0.060269345) * go_4(-1.0, 1.0);
result += mat4(-0.20298807, -0.13135706, -0.025793612, 0.021387653, 0.1594905, -0.3369618, 0.041246038, -0.050120838, 0.026487157, -0.029691057, -0.0034613493, 0.016325768, -0.117200464, -0.016574007, -0.073803775, -0.089975685) * go_4(0.0, -1.0);
result += mat4(-0.026254926, 0.0261122, 0.018618183, 0.0005632939, -0.12340781, -0.05991391, -0.04475039, 0.1659745, -0.24145639, -0.20355274, 0.041455634, -0.116840735, -0.1283876, 0.08542697, 0.013275747, 0.0501509) * go_4(0.0, 0.0);
result += mat4(-0.21312153, -0.04829575, -0.10153613, -0.0059257764, 0.0841976, -0.026371231, -0.20159246, -0.0045467755, -0.02141211, -0.027177462, -0.05251507, 0.032135133, 0.03804446, 0.11620451, -0.14313346, 0.077155955) * go_4(0.0, 1.0);
result += mat4(-0.04649696, -0.098621555, -0.10055518, 0.015795136, -0.066809125, -0.19873013, -0.0143966265, 0.03701971, -0.096805796, 0.028184278, -0.026889013, 0.087746136, 0.093570195, -0.05271505, -0.07302158, 0.06451506) * go_4(1.0, -1.0);
result += mat4(-0.019860215, 0.014821476, 0.020452866, 0.019750455, -0.0030268016, 0.09721972, 0.07985887, -0.22953773, -0.023093862, -0.0340788, -0.020107787, 0.14696716, -0.0014956049, 0.10684638, 0.054514356, -0.026299406) * go_4(1.0, 0.0);
result += mat4(-0.0034259602, 0.11406219, 0.08309113, -0.05666143, 0.03997147, -0.015962245, -0.073703386, -0.081422284, -0.03811221, -0.018108517, -0.019545924, -0.09374689, 0.0068907975, 0.06288586, -0.048148807, -0.04641091) * go_4(1.0, 1.0);
result += mat4(0.12786785, 0.036925547, 0.040049516, -0.014098288, 0.17151223, 0.36029485, -0.13981305, 0.048408832, 0.15681522, -0.1718675, 0.18053555, -0.06154547, 0.20234902, 0.1841377, -0.13541229, -0.12686929) * go_5(-1.0, -1.0);
result += mat4(-0.02641306, -0.17226298, -0.049888287, 0.02733204, -0.06390068, 0.080012724, -0.1844924, -0.03414821, 0.034385405, -0.24899785, 0.059214547, 0.049595583, 0.32104456, 0.03666073, -0.40136093, -0.2774759) * go_5(-1.0, 0.0);
result += mat4(0.06761573, 0.06869232, -0.031510808, -0.02438944, 0.22487356, -0.16531369, 0.06668078, 0.09660918, 0.13721283, 0.07903948, -0.019157205, 0.1531542, 0.013938849, 0.07697017, -0.002420862, -0.08119872) * go_5(-1.0, 1.0);
result += mat4(-0.010843206, 0.25370562, 0.13776681, 0.038852032, 0.23986198, 0.090098, -0.1396168, -0.12940928, 0.09821576, -0.13444738, 0.03958645, 0.11936621, -0.25258994, -0.21582375, -0.025724072, 0.15234376) * go_5(0.0, -1.0);
result += mat4(0.070284896, -0.06296459, 0.020593662, 0.05657614, -0.10773026, 0.05970744, 0.19839187, 0.053335343, -0.10290972, -0.07925142, -0.09702071, 0.06671608, -0.3317127, 0.038721535, 0.03681229, 0.0022030612) * go_5(0.0, 0.0);
result += mat4(-0.28498635, -0.025289027, 0.2521193, -0.008358809, 0.24523476, 0.07953551, 0.018755028, -0.04277334, 0.15404665, 0.29997438, 0.25203288, 0.16347292, -0.16057658, -0.09382131, 0.01644382, 0.09579976) * go_5(0.0, 1.0);
result += mat4(0.071044005, 0.1663978, -0.1300318, 0.016336136, 0.06899086, -0.017043045, 0.059462104, 0.06477385, 0.14695822, -0.108211465, 0.065641776, 0.14722472, 0.06779434, 0.16995609, 0.07928397, -0.033719063) * go_5(1.0, -1.0);
result += mat4(0.14180346, -0.08487177, -0.22468328, -0.28223032, 0.2663465, 0.09390156, 0.06763305, -0.046421945, 0.06267927, 0.0894823, 0.03797196, 0.2289057, 0.3531273, -0.10896449, -0.089124285, -0.3782578) * go_5(1.0, 0.0);
result += mat4(-0.15362668, -0.059429795, 0.10730699, 0.021013413, 0.087347016, -0.016410518, -0.14467601, 0.05059625, 0.12102463, 0.05886046, 0.25740236, -0.03717858, 0.24515876, -0.070637345, -0.38044232, 0.0013522268) * go_5(1.0, 1.0);
result += mat4(0.012790849, -0.166835, -0.006531994, 0.042859472, -0.02351418, 0.11851938, -0.049062908, -0.041576426, 0.107786864, -0.10980972, -0.033116184, 0.10939468, -0.054141134, -0.027854247, 0.04713376, 0.19246055) * go_6(-1.0, -1.0);
result += mat4(0.053805664, 0.061061755, 0.047100965, -0.055740997, 0.040054057, 0.051985312, -0.09923848, -0.0043354537, 0.036915418, 0.106524564, -0.123563565, 0.07750848, -0.07408784, -0.05061668, 0.14600709, -0.0011608404) * go_6(-1.0, 0.0);
result += mat4(0.015910039, -0.10548236, -0.031279977, -0.034638315, 0.04358979, -0.0437478, -0.014834915, 0.024732169, -0.12387502, -0.04822137, -0.0058700144, 0.137929, 0.11366931, 0.08035957, -0.039935917, 0.04603123) * go_6(-1.0, 1.0);
result += mat4(0.067911685, -0.21775192, -0.06257909, 0.17257555, 0.06932743, -0.071969435, -0.20456699, 0.04594583, 0.018453049, -0.030035174, -0.05827126, 0.0392995, 0.12435702, -0.17315, 0.0020754808, -0.097234495) * go_6(0.0, -1.0);
result += mat4(-0.10112962, 0.091169335, 0.14931187, -0.05483266, 0.08175559, -0.21881811, -0.015723187, 0.07526295, -0.057499725, 0.27330843, -0.015584234, -0.23729184, -0.14506966, 0.071909845, -0.043688543, -0.04695626) * go_6(0.0, 0.0);
result += mat4(0.19304496, 0.024671676, 0.038902644, 0.0057927696, 0.13977169, 0.073270485, 0.14490373, -0.013279762, -0.04328375, 0.04363379, -0.18776916, 0.15290104, -0.066608734, 0.19611324, 0.030080872, -0.04369692) * go_6(0.0, 1.0);
result += mat4(0.11470921, 0.01983352, -0.03216828, 0.060058292, -0.08319119, -0.07164264, -0.03740158, -0.07463614, -0.1341556, 0.02926277, 0.042769387, 0.13030067, 0.059393533, -0.023748767, -0.06477902, -0.10475805) * go_6(1.0, -1.0);
result += mat4(0.06713004, 0.039320715, 0.07987435, -0.1279802, 0.04430574, -0.09668574, -0.13146797, 0.1951853, -0.09523301, 0.11162048, -0.13835515, 0.10653133, 0.07065633, 0.0017156269, 0.13809821, -0.11227813) * go_6(1.0, 0.0);
result += mat4(0.03737181, -0.060822956, 0.0764333, -0.04455623, -0.05858187, -0.042540766, 0.2450857, 0.017118182, -0.2140229, 0.06681126, -0.035818823, 0.1897005, -0.050493807, 0.039831277, -0.08647933, -0.05456818) * go_6(1.0, 1.0);
result += mat4(-0.15794586, -0.11317517, -0.1907949, 0.035243902, 0.18495446, -0.17711106, 0.07466123, 0.3298434, -0.0538802, 0.17223665, -0.069161914, -0.04879663, -0.010941854, -0.09529097, -0.11374602, 0.1033947) * go_7(-1.0, -1.0);
result += mat4(0.053542875, -0.21014826, -0.021240313, -0.047701992, 0.035403203, 0.11726055, -0.09277544, 0.16033384, -0.06536819, -0.23121049, 0.0709867, -0.026250783, 0.024801381, 0.00938287, -0.22030483, 0.10098934) * go_7(-1.0, 0.0);
result += mat4(0.040862054, -0.07635868, -0.09437051, -0.073567204, 0.007394331, 0.045258503, -0.025171619, 0.09097832, 0.0784184, -0.11744521, 0.09245911, -0.05398139, -0.046311557, 0.11720031, -0.06057511, 0.07124993) * go_7(-1.0, 1.0);
result += mat4(0.15672357, -0.11742975, 0.019319033, -0.11931374, -0.0730905, 0.113809146, 0.046025384, 0.260786, -0.070096426, -0.041467544, -0.17180398, -0.03536039, -0.0053026676, 0.19283321, -0.01242331, -0.046671648) * go_7(0.0, -1.0);
result += mat4(0.086352795, -0.046984054, 0.041676264, -0.093268044, -0.07467304, 0.10683198, -0.09286945, 0.00065939245, -0.023186311, -0.13480976, -0.18541805, 0.066650435, 0.17785572, 0.28285432, 0.09380002, 0.2742215) * go_7(0.0, 0.0);
result += mat4(-0.03759045, 0.008394068, -0.029834675, -0.054245055, 0.19929428, -0.028139526, 0.0011271539, 0.08023337, 0.10857946, 0.023008484, 0.10093405, -0.0025674875, -0.013412711, 0.124299355, 0.18966118, -0.0086889155) * go_7(0.0, 1.0);
result += mat4(-0.008154784, 0.026771648, -0.029822685, -0.12304668, 0.19175382, 0.038344804, -0.19244587, 0.19586428, 0.051759414, 0.051479038, 0.064044714, 0.024556635, -0.05735499, 0.104564175, -0.17250918, 0.042381) * go_7(1.0, -1.0);
result += mat4(-0.03705795, -0.07241511, -0.034249566, 0.026843162, 0.098695345, -0.06264949, 0.006197871, 0.18656683, 0.17142834, 0.020342348, 0.0030491548, 0.13260534, 0.07432505, -0.019298749, 0.018334575, 0.04731813) * go_7(1.0, 0.0);
result += mat4(-0.054331694, -0.027947709, -0.11864076, 0.00814441, 0.028038671, -0.08349308, -0.07054119, -0.07497779, 0.040611267, 0.13121551, 0.118467994, -0.08134059, 0.015859429, -0.2187738, 0.00034174693, -0.00010865687) * go_7(1.0, 1.0);
result += vec4(0.0029036424, -0.026140884, 0.029428842, 0.022368915);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x120
//!HOOK MAIN
//!BIND conv2d_27_tf
//!BIND conv2d_27_tf1
//!BIND conv2d_27_tf2
//!BIND conv2d_27_tf3
//!BIND conv2d_26_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!BIND conv2d_25_tf
//!BIND conv2d_28_tf
//!SAVE conv0ups
//!WIDTH conv2d_27_tf.w
//!HEIGHT conv2d_27_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_27_tf_tex(conv2d_27_tf_pos)), 0.0))
#define g_1 (max((conv2d_27_tf1_tex(conv2d_27_tf1_pos)), 0.0))
#define g_2 (max((conv2d_27_tf2_tex(conv2d_27_tf2_pos)), 0.0))
#define g_3 (max((conv2d_27_tf3_tex(conv2d_27_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_27_tf_tex(conv2d_27_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_27_tf1_tex(conv2d_27_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_27_tf2_tex(conv2d_27_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_27_tf3_tex(conv2d_27_tf3_pos)), 0.0))
#define g_8 (max((conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_26 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_27 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_28 (max((conv2d_28_tf_tex(conv2d_28_tf_pos)), 0.0))
#define g_29 (max(-(conv2d_28_tf_tex(conv2d_28_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.24869502, -0.09899225, -0.43790483, 0.20478724, -0.1164636, -0.064487524, 0.19679324, -0.1449572, -0.15371573, -0.3400212, -0.21963254, 0.20369855, -0.2367356, 0.2477112, 0.35358265, -0.10717059) * g_0;
result += mat4(0.008394252, -0.07444383, -0.21260554, -0.0109387245, -0.12783004, -0.046684895, -0.09459239, 0.15685712, -0.0650475, -0.17689607, 0.28597033, -0.14768666, -0.24485432, 0.11102652, 0.0016650548, 0.0335556) * g_1;
result += mat4(-0.15471542, -0.055397827, 0.031601153, 0.12807971, 0.098534405, -0.078548655, -0.07627781, -0.045002084, -0.1607132, 0.22467372, 0.05354091, 0.14046556, 0.08950414, -0.11074417, -0.18164189, -0.062829755) * g_2;
result += mat4(0.23552504, 0.106547005, 0.06353197, -0.12771529, 0.063815214, 0.0037739186, 0.13750316, -0.15964629, -0.13540323, 0.03661145, 0.1579406, -0.04318756, -0.23223858, -0.019027008, 0.14158043, -0.0981457) * g_3;
result += mat4(-0.20985286, 0.006259769, 0.22924383, -0.14908646, 0.10981303, 0.09701522, -0.138446, 0.098020315, 0.1012965, 0.17753434, 0.03191124, -0.009315684, 0.15640236, -0.18660188, -0.108241856, 0.28092933) * g_4;
result += mat4(-0.18514358, 0.020193081, 0.074342795, -0.20483983, 0.07773761, -0.0021120405, 0.1360036, -0.03176111, -0.032519307, 0.23044188, -0.0123683, 0.1398906, -0.057560008, 0.054931078, -0.09207622, -0.10482956) * g_5;
result += mat4(0.042022258, 0.08705893, 0.04855544, -0.0702546, 0.09140309, -0.20014158, 0.08858101, 0.10530784, -0.17869075, -0.18289891, -0.06009552, -0.017472578, -0.12561706, 0.1241771, 0.10055958, 0.06711715) * g_6;
result += mat4(0.11081939, 0.14038336, 0.086475745, 0.008545714, -0.09676236, 0.10120412, 0.018717231, 0.083903596, -0.010204144, 0.19445705, 0.08198393, -0.07868833, 0.16800411, 0.24233866, -0.14174843, 0.0127538135) * g_7;
result += mat4(-0.07677055, -0.08069778, -0.19520187, 0.0811833, 0.16050573, 0.04002321, -0.062625214, 0.066150546, -0.0071385102, 0.15346812, 0.22585835, 0.017887173, 0.10958369, -0.27262884, -0.07289562, -0.13642263) * g_8;
result += mat4(-0.20320824, 0.04060682, -0.045050982, -0.08530543, -0.15681775, 0.029664317, 0.040110916, -0.110328145, -0.115784444, -0.0010324386, -0.14814855, -0.05750071, -0.09158797, -0.05191994, -0.010077932, 0.010735767) * g_9;
result += mat4(0.013956532, 0.10945481, 0.17186755, 0.085150324, -0.041226313, 0.12950367, 0.06430863, -0.13105504, 0.10078111, -0.25535673, 0.20490831, -0.18107158, 0.08253922, -0.2122405, 0.03085494, 0.046983067) * g_10;
result += mat4(0.13400763, -0.33241597, -0.14590304, -0.07548988, -0.025087558, -0.09831733, -0.12063487, 0.12294168, -0.04194301, 0.5016058, -0.19878705, 0.2325771, -0.025853388, -0.113362834, 0.03071806, -0.043046314) * g_11;
result += mat4(-0.24234526, 0.099842645, -0.123794004, 0.029319491, -0.06591831, 0.06859657, -0.04656591, 0.035922993, -0.15371624, -0.16684091, -0.13712381, -0.13332178, -0.012874865, -0.07265817, -0.13294667, 0.068372235) * g_12;
result += mat4(0.337884, -0.053065576, 0.039201297, -0.3255975, -0.09653937, -0.08532608, 0.004564532, -0.064255305, -0.09196097, -0.064501986, 0.05946096, -0.065822385, 0.04373292, 0.18320732, 0.17107227, -0.09376649) * g_13;
result += mat4(-0.1266736, -0.110596545, 0.06749142, 0.18791346, 0.3654019, 0.112833284, 0.05675392, -0.19131362, -0.05568984, 0.19247374, 0.102835864, 0.14997408, 0.31664333, -0.10273057, 0.1727324, 0.15486372) * g_14;
result += mat4(0.3434959, 0.023886908, 0.031930014, 0.03582181, 0.005240771, 0.111360535, -0.19078243, 0.0100272475, 0.09107635, -0.008016216, -0.12759027, 0.10675808, -0.08348867, -0.09646617, -0.2607706, 0.018178092) * g_15;
result += mat4(0.079807304, -0.05459316, 0.14646025, 0.044402126, 0.18155368, 0.030484838, -0.23650324, 0.050629415, -0.054936387, 0.24929616, -0.026216682, -0.027678574, 0.14901243, 0.00799581, -0.056854505, -0.2847785) * g_16;
result += mat4(0.07668182, -0.090308845, 0.1426231, -0.076727286, 0.04532857, 0.41972977, 0.045198783, -0.2889559, 0.09463711, -0.115024, 0.12064761, -0.078441106, -0.0979431, 0.16587363, 0.034756947, 0.0819575) * g_17;
result += mat4(0.02658691, 0.018619051, 0.10987584, -0.11632582, -0.097673975, -0.060380448, -0.048393946, -0.12066081, -0.08383298, 0.07522811, 0.00046106262, 0.056841437, 0.18688548, 0.2500605, 0.067883015, -0.0678706) * g_18;
result += mat4(0.1660567, -0.18025756, -0.054567352, 0.06485854, 0.04710402, 0.10155829, -0.02514125, 0.18412691, 0.11272706, -0.078927964, 0.06751576, -0.10286652, -0.13830543, -0.117058784, 0.005188935, -0.06942043) * g_19;
result += mat4(0.23703721, 0.10277758, 0.000754122, -0.029695567, -0.21699485, -0.20323198, 0.052537125, -0.23201968, -0.08901256, 0.14734636, -0.034757435, -0.0005979487, 0.44525814, 0.19301082, 0.6464728, -0.08360051) * g_20;
result += mat4(-0.016849566, -0.17056245, -0.15224437, 0.09874574, 0.2365518, 0.13848515, -0.06262627, 0.030512452, 0.13390404, -0.17578915, 0.052553993, -0.0754797, 0.13499588, -0.091364816, -0.14214903, 0.012343283) * g_21;
result += mat4(0.0444748, -0.120922156, -0.102585696, -0.029410962, 0.16525646, -0.003036487, 0.019754846, 0.10904324, -0.2154087, -0.08718995, 0.018755833, 0.03948844, -0.14803186, -0.2644333, 0.038109586, 0.16415441) * g_22;
result += mat4(-0.11955258, 0.12032012, -0.0071599633, -0.08183172, 0.07993607, 0.15545094, -0.13790582, -0.12963726, 0.03992126, 0.013114452, -0.021836942, 0.06938646, 0.05713335, -0.14334689, 0.065875866, -0.15222839) * g_23;
result += mat4(0.09515674, -0.28844547, 0.053185515, 0.03400144, 0.046243384, 0.06073404, -0.028122557, -0.14269671, 0.076097876, -0.25685546, -0.11053011, 0.0016753314, -0.061829623, 0.17545372, -0.073774636, 0.14134389) * g_24;
result += mat4(0.09274064, 0.008774846, 0.01753719, 0.055378035, 0.070933565, -0.07643164, -0.03130691, 0.010624368, 0.08057614, 0.15103199, 0.16212596, -0.043121286, 0.024918344, 0.022077331, 0.12973905, -0.047122702) * g_25;
result += mat4(-0.039035242, -0.05109422, 0.04064944, 0.046009026, -0.10690486, -0.072981425, -0.06059992, 0.16443883, 0.053239647, -0.049664095, -0.008035011, -0.047280237, -0.09541798, 0.044453926, -0.05769298, -0.054406438) * g_26;
result += mat4(-0.07007281, 0.020636436, 0.21988238, 0.063351706, 0.23330332, 0.06405405, 0.09269646, 0.0076492154, -0.2956097, 0.04427142, 0.13951525, -0.0067400783, 0.094238706, -0.065390944, 0.11663461, 0.16150263) * g_27;
result += mat4(-0.03655699, -0.066461764, 0.34125957, 0.0070882593, -0.051099982, -0.12373787, 0.05673152, 0.23672515, 0.0058079516, -0.0047331564, 0.17873889, 0.16574454, -0.17263038, 0.057122417, 0.21407363, -0.25284353) * g_28;
result += mat4(-0.023008676, 0.11895382, -0.19360733, -0.11461752, -0.20733164, 0.068803884, -0.17845476, -0.10232586, -0.17705148, -0.021452963, -0.11692596, -0.02887165, 0.07515101, -0.049837537, 0.0055611697, -0.04965812) * g_29;
result += vec4(0.046915848, 0.0039697043, 0.017740238, 0.02036365);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x120
//!HOOK MAIN
//!BIND conv2d_27_tf
//!BIND conv2d_27_tf1
//!BIND conv2d_27_tf2
//!BIND conv2d_27_tf3
//!BIND conv2d_26_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!BIND conv2d_25_tf
//!BIND conv2d_28_tf
//!SAVE conv0ups1
//!WIDTH conv2d_27_tf.w
//!HEIGHT conv2d_27_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_27_tf_tex(conv2d_27_tf_pos)), 0.0))
#define g_1 (max((conv2d_27_tf1_tex(conv2d_27_tf1_pos)), 0.0))
#define g_2 (max((conv2d_27_tf2_tex(conv2d_27_tf2_pos)), 0.0))
#define g_3 (max((conv2d_27_tf3_tex(conv2d_27_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_27_tf_tex(conv2d_27_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_27_tf1_tex(conv2d_27_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_27_tf2_tex(conv2d_27_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_27_tf3_tex(conv2d_27_tf3_pos)), 0.0))
#define g_8 (max((conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_26 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_27 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_28 (max((conv2d_28_tf_tex(conv2d_28_tf_pos)), 0.0))
#define g_29 (max(-(conv2d_28_tf_tex(conv2d_28_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.20925894, 0.104857735, -0.40466902, 0.0584133, -0.14659958, -0.036843687, 0.13835002, -0.2415225, -0.17522843, 0.11434039, -0.20046623, 0.16023546, 0.2475015, 0.042058993, 0.002350279, -0.17032729) * g_0;
result += mat4(0.11970422, -0.10322249, -0.070675366, 0.06804973, 0.079779394, -0.016731435, 0.04715111, 0.13588014, 0.14615758, 0.022396626, -0.18744521, 0.03337888, -0.048930615, 0.17753999, 0.08515489, -0.27303153) * g_1;
result += mat4(-0.044238064, -0.044585355, -0.4703711, 0.17369467, -0.22562256, 0.003894716, 0.2256651, -0.103996016, 0.007853871, 0.14751841, -0.05668432, 0.07511469, 0.1619497, -0.020217957, -0.090126194, -0.16162491) * g_2;
result += mat4(-0.12567434, -0.04298686, 0.12304879, -0.16227202, -0.008668434, 0.15376252, -0.1295699, -0.07683395, 0.046303485, -0.012221398, 0.0038834864, -0.09826842, 0.12768197, 0.18517894, -0.18903579, -0.19901276) * g_3;
result += mat4(0.17195696, -0.17648453, 0.19818112, -0.023518814, 0.09163597, -0.0049098246, -0.11661733, 0.016902868, 0.060930923, -0.01878846, 0.11788164, -0.1353775, -0.08755757, 0.014184077, 0.16375954, -0.06450589) * g_4;
result += mat4(-0.0034882906, 0.27027172, -0.08576453, -0.2118125, -0.086501405, 0.010157458, -0.2640269, -0.046359222, 0.028317366, -0.16451906, 0.12050226, -0.053686112, -0.10052837, 0.096894056, 0.16462097, 0.094494134) * g_5;
result += mat4(-0.05727481, -0.013227722, 0.21700768, -0.07177067, 0.033377443, -0.0545755, 0.027782457, 0.2090808, 0.011714184, -0.010148169, -0.18692647, -0.2786883, 0.23827875, 0.0011900894, 0.08619064, 0.14836025) * g_6;
result += mat4(0.16917573, 0.21033037, -0.0050825966, 0.18095241, -0.029595587, -0.32528213, 0.20749976, 0.15824726, 0.01744845, -0.18352279, -0.19498493, 0.024413247, -0.017869025, -0.12914586, 0.021449931, -0.019033303) * g_7;
result += mat4(0.050177246, -0.023704303, 0.0017737169, 0.022661313, 0.007864253, 0.0176497, -0.16047522, 0.10303941, 0.2444177, 0.41632912, 0.00715035, -0.18481494, 0.05252633, 0.006689579, 0.13945661, -0.018428788) * g_8;
result += mat4(-0.0941601, 0.048248548, 0.16638602, 0.041016433, 0.0026687274, 0.019066641, 0.08475801, -0.09578143, -0.10059114, -0.29335198, 0.017439498, 0.11830718, -0.054326836, -0.11888715, -0.04045584, 0.073335744) * g_9;
result += mat4(-0.13832748, 0.21032946, 0.31014842, 0.17925423, -0.063551836, -0.1199703, 0.16982867, 0.016346592, -0.025109967, -0.022150239, -0.37054747, -0.49025953, 0.14235863, 0.06635017, 0.002241298, 0.0040627583) * g_10;
result += mat4(-0.13018467, -0.0144080445, -0.16799062, -0.1249275, -0.12707768, 0.07865254, 0.038435075, 0.1667798, 0.09192991, -0.03252081, 0.7629332, 0.48081362, -0.00011961902, 0.058554083, 0.11982404, 0.1822051) * g_11;
result += mat4(-0.06755234, -0.0075415038, -0.14266185, 0.12655805, -0.0045153988, 0.0048743295, -0.008591593, 0.056268115, 0.024279088, -0.0629758, -0.14188884, -0.025769057, 0.15646881, -0.14415343, -0.22970784, -0.037042253) * g_12;
result += mat4(0.25852588, 0.017387692, 0.13789654, -0.019787727, -0.11308935, 0.16850404, -0.2373339, -0.04899185, 0.17354745, -0.09472497, -0.21602263, -0.21760805, -0.020826988, 0.16989823, 0.0741717, -0.10448863) * g_13;
result += mat4(-0.18604822, 0.009787992, -0.06459633, 0.052285228, -0.14829153, 0.075823255, -0.111874774, -0.09117474, 0.03208986, 0.021619327, 0.30147213, 0.13760304, 0.12453839, -0.016333232, 0.094405904, 0.0878566) * g_14;
result += mat4(0.14507103, 0.07554785, 0.03146559, 0.045327432, -0.051290758, 0.039846797, 0.114740096, 0.26464698, -0.1658753, -0.12688372, -0.179181, -0.0732476, -0.031645183, -0.02680665, -0.17883217, -0.061550755) * g_15;
result += mat4(0.08742578, -0.14921658, -0.008039882, 0.032061443, -0.17833516, -0.23691227, -0.14369945, -0.017769985, 0.065309726, 0.038026232, 0.23837644, 0.005659167, -0.20681982, 0.061288934, 0.080895506, -0.067547865) * g_16;
result += mat4(-0.19850676, -0.015734296, 0.018384686, 0.020779416, 0.1471408, 0.26202065, 0.05143831, -0.18096192, -0.14602786, 0.027607052, -0.22484896, -0.08151626, 0.11529563, 0.1390684, -0.16282271, -0.012490131) * g_17;
result += mat4(-0.048379734, -0.041772716, -0.0041537993, 0.21717072, 0.10138077, -0.12603214, -0.18361042, 0.049941633, 0.1703956, 0.11111548, 0.12635674, 0.06445028, -0.08243661, 0.06709483, 0.046443917, 0.10167419) * g_18;
result += mat4(-0.035105225, 0.06199828, 0.0020574334, -0.011254863, -0.047805354, 0.1722725, 0.08265051, 0.049911566, -0.17403728, 0.02808134, -0.16923027, -0.023735922, -0.008281012, -0.093713865, -0.07359882, 0.048530914) * g_19;
result += mat4(0.020626063, 0.008559935, -0.023751533, 0.103401795, 0.17920512, 0.042976495, -0.12651409, -0.114272855, 0.0033929124, -0.031355213, 0.08776122, -0.22491921, 0.2031401, 0.2379429, 0.28060517, -0.0007719008) * g_20;
result += mat4(0.026417585, 0.17757705, -0.043824922, 0.028119845, -0.04151611, 0.054795753, 0.0028165078, 0.00073246437, 0.1412875, 0.21982361, -0.087146886, 0.10897306, -0.11245943, -0.14196636, -0.052475058, 0.037263144) * g_21;
result += mat4(0.18080506, 0.15489496, 0.022035526, 0.061552692, 0.090489246, 0.0372591, -0.076371096, 0.09855082, 0.12062604, -0.11851761, -0.091217645, -0.0456572, -0.15227035, 0.19842634, -0.25994444, 0.0014280345) * g_22;
result += mat4(-0.004529129, 0.00022631227, 0.13502745, -0.062293727, 0.0070622144, 0.14676675, 0.053662084, 0.072721094, -0.02548614, -0.13910522, -0.042703785, 0.03434115, 0.14548635, 0.009612174, -0.101212025, 0.18954988) * g_23;
result += mat4(0.0022483568, -0.08712446, 0.10486132, 0.26073435, -0.00852917, -0.09080537, 0.10038895, -0.105297185, 0.07585101, -0.17707159, -0.20059243, -0.0673406, 0.08531025, 0.13096005, 0.057341557, -0.13544896) * g_24;
result += mat4(-0.0006035619, 0.09268198, -0.016875379, -0.14467251, 0.009340458, -0.101583, 0.057097267, 0.112552926, -0.07803109, 0.3324704, 0.033041988, 0.077711694, -0.037180506, 0.0757784, 0.081892945, 0.123966664) * g_25;
result += mat4(-0.057247143, -0.03035935, -0.03899445, 0.19533473, 0.009087412, -0.075170524, 0.0023444563, -0.041517466, -0.037251793, 0.012194933, -0.073488355, 0.1223987, -0.18770866, 0.031678624, 0.015153505, -0.13081336) * g_26;
result += mat4(0.052989263, -0.0714155, -0.12801231, -0.05954568, -0.02600527, 0.12803787, -0.019737625, 0.11588791, 0.13464773, -0.07630486, 0.054382257, -0.2291579, 0.042531025, -0.046213683, 0.09142889, -0.020872064) * g_27;
result += mat4(0.14624128, -0.09307583, -0.18519302, -0.010523176, -0.042090297, -0.039113797, -0.17932849, 0.1574002, 0.042603053, 0.18812989, -0.061091296, 0.084948115, -0.11052512, 0.11764443, -0.13139613, 0.15068875) * g_28;
result += mat4(-0.052416, 0.011094299, 0.13501611, -0.052369393, -0.02655924, -0.10207045, 0.02851461, -0.13901424, 0.034044232, -0.22422798, 0.006999936, 0.004138137, 0.15997367, -0.12716383, 0.025097579, -0.23885375) * g_29;
result += vec4(0.02927894, 0.051008213, -0.011481529, -0.038922433);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x120
//!HOOK MAIN
//!BIND conv2d_27_tf
//!BIND conv2d_27_tf1
//!BIND conv2d_27_tf2
//!BIND conv2d_27_tf3
//!BIND conv2d_26_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!BIND conv2d_25_tf
//!BIND conv2d_28_tf
//!SAVE conv0ups2
//!WIDTH conv2d_27_tf.w
//!HEIGHT conv2d_27_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_27_tf_tex(conv2d_27_tf_pos)), 0.0))
#define g_1 (max((conv2d_27_tf1_tex(conv2d_27_tf1_pos)), 0.0))
#define g_2 (max((conv2d_27_tf2_tex(conv2d_27_tf2_pos)), 0.0))
#define g_3 (max((conv2d_27_tf3_tex(conv2d_27_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_27_tf_tex(conv2d_27_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_27_tf1_tex(conv2d_27_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_27_tf2_tex(conv2d_27_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_27_tf3_tex(conv2d_27_tf3_pos)), 0.0))
#define g_8 (max((conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_26 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_27 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_28 (max((conv2d_28_tf_tex(conv2d_28_tf_pos)), 0.0))
#define g_29 (max(-(conv2d_28_tf_tex(conv2d_28_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.023159716, -0.06445511, -0.13444243, -0.3029728, 0.09424871, 0.046222795, 0.1665773, 0.0054540136, 0.108596064, -0.034167033, 0.09486344, -0.06652879, -0.12501813, 0.29003936, -0.001826413, 0.4086747) * g_0;
result += mat4(0.17339195, -0.12188165, -0.11409943, -0.08955709, 0.08390357, 0.15925337, 0.10573395, -0.044203065, -0.1956127, 0.062437166, -0.055394087, 0.21211234, -0.05303983, 0.08320662, 0.03260874, 0.085122004) * g_1;
result += mat4(0.050840195, -0.0882688, -0.37795234, -0.21878824, 0.0823033, 0.001571019, -0.086516365, -0.032059066, 0.031085746, -0.26207578, 0.03567986, -0.15979347, -0.123573, -0.041428905, -0.07892891, 0.111200064) * g_2;
result += mat4(0.118134536, 0.0017017128, 0.06084789, 0.13862696, -0.004776377, -0.022721525, -0.12781031, 0.023450686, -0.20167245, -0.014491597, -0.32268152, 0.041146316, -0.08904564, 0.13891083, 0.026140563, 0.053664643) * g_3;
result += mat4(-0.014918813, -0.11442104, 0.0741294, 0.20350552, -0.024969127, -0.04713554, -0.09463233, -0.06777642, -0.15385136, 0.09367639, -0.18212073, -0.12458825, -0.11280945, -0.12408857, 0.056655087, -0.097056136) * g_4;
result += mat4(-0.09134359, 0.42729822, 0.13041808, 0.22597447, -0.06003689, -0.017370071, -0.12883402, 0.027216416, 0.029739086, -0.0060472586, 0.00443273, -0.07316318, -0.046336673, -0.21877831, 0.020554282, 0.1732762) * g_5;
result += mat4(0.12951167, 0.05868595, 0.23511209, -0.06839014, -0.13673079, -0.11585807, -0.17553164, -0.1661913, 0.03966464, 0.17386018, -0.11228396, -0.050033193, 0.13843036, 0.03351075, 0.14025663, -0.25514498) * g_6;
result += mat4(-0.038775686, -0.04935347, -0.038891345, -0.019735469, 0.07429314, -0.0223186, 0.077693924, 0.15711477, 0.2130033, 0.19355707, 0.16412027, 0.06635085, 0.038207706, 0.06053999, -0.12567896, -0.007636511) * g_7;
result += mat4(0.09569034, -0.010271957, 0.03721736, -0.15505005, -0.0838559, 0.0016339924, -0.05316335, 0.063593015, -0.20762952, -0.17041244, 0.046337787, 0.042274795, 0.10624157, 0.110793, 0.13401565, 0.17065364) * g_8;
result += mat4(-0.11632263, -0.12953088, 0.001185442, 0.10271505, 0.063425556, 0.20457491, 0.035240173, -0.016209599, 0.18448795, 0.28286663, 0.047897473, -0.03594525, 0.12672062, 0.02626917, -0.017910505, -0.023291295) * g_9;
result += mat4(0.15155636, 0.34159487, -0.14385378, 0.1202715, 0.08488496, -0.14626624, -0.15154605, 0.033907797, -0.4028903, 0.009578373, 0.20309076, 0.03162836, 0.0046819323, 0.12714009, -0.013452622, -0.027946994) * g_10;
result += mat4(-0.023553226, 0.012964108, 0.2615834, -0.18088982, 0.16396646, -0.1555898, 0.062380422, -0.13156545, 0.11771863, 0.11465695, 0.15540528, 0.05780806, 0.162502, -0.15075624, -0.081975155, 0.08368184) * g_11;
result += mat4(0.21025248, 0.19884978, -0.12959355, 0.12049732, 0.22328858, 0.13621397, -0.14099576, -0.12470971, -0.09525357, -0.3020424, 0.06765223, 0.11113628, -0.06416074, -0.19985223, -0.16019244, -0.11679983) * g_12;
result += mat4(-0.09884801, -0.19851618, 0.09546932, 0.16984892, -0.23047769, -0.19711624, 0.075863495, 0.0017955381, 0.015505981, -0.18864273, 0.078835726, 0.045279432, -0.008318564, 0.22265139, 0.24933302, 0.012418065) * g_13;
result += mat4(-0.12885031, 0.07197899, 0.034894828, -0.027127236, -0.15808247, -0.090660565, -0.032682374, 0.04424032, -0.02021023, 0.23655033, 0.2861916, 0.1077876, -0.00029343172, 0.14406225, -0.12042908, -0.05617217) * g_14;
result += mat4(0.06726449, -0.13338274, 0.13298374, 0.1509329, 0.0012467351, 0.10550558, -0.11021875, -0.089391366, -0.121223524, -0.18981695, -0.30600676, -0.17530401, 0.035590086, -0.19236173, -0.00065066793, -0.14428075) * g_15;
result += mat4(-0.07112659, -0.020882819, -0.1465499, 0.096829794, 0.20048432, 0.104522765, -0.26555765, -0.097862296, -0.030852538, 0.105224766, 0.08888586, 0.17757314, 0.16541813, -0.23302473, 0.2233853, -0.010632784) * g_16;
result += mat4(0.014658764, -0.0334598, 0.3128382, 0.077815466, -0.22126053, -0.04505339, 0.061955534, 0.021540016, 0.010367894, -0.051611926, 0.07533717, -0.056219503, -0.2093322, 0.03568594, -0.17417803, -0.10428233) * g_17;
result += mat4(0.2191052, 0.11557848, -0.012550732, 0.17574733, -0.029502312, -0.032267477, -0.07563763, -0.07457431, -0.038292985, -0.09042212, 0.08027953, 0.19520667, -0.083191395, 0.12538701, -0.09176717, 0.011189392) * g_18;
result += mat4(-0.16427885, -0.10249853, -0.17418809, -0.17851928, -0.02198882, -0.016383043, -0.056685332, 0.054567203, 0.085425794, 0.07624397, 0.029935993, -0.11497607, 0.09389378, -0.113407105, -0.037462458, 0.05798364) * g_19;
result += mat4(-0.11592955, -0.0355327, 0.02012006, 0.08628437, 0.18852545, 0.04429939, 0.2095552, 0.11321021, -0.10715762, -0.06410171, 0.07349654, -0.10263874, -0.25958562, -0.0065148305, 0.05395847, 0.23721853) * g_20;
result += mat4(0.08934432, -0.018261336, -0.1469809, -0.1230833, -0.03024807, -0.108250126, -0.1356501, -0.19411466, 0.12480876, -0.056631427, -0.14539632, -0.011234567, -0.108617164, -0.0075640143, 0.016628174, -0.031951398) * g_21;
result += mat4(-0.030735651, -0.25655523, 0.07889343, 0.072985075, -0.14274006, -0.0726582, -0.17257299, 0.04806954, 0.20640111, 0.09091482, -0.02442191, -0.056154832, -0.0973647, -0.15620042, 0.062126547, -0.27619773) * g_22;
result += mat4(0.019488974, 0.09159406, 0.050291736, 0.05484099, 0.007813524, 0.031137392, 0.008452417, -0.06525648, -0.024203332, -0.04843337, 0.0056339726, -0.08692725, 0.12216992, -0.1479449, -0.11445307, 0.14418265) * g_23;
result += mat4(-0.092634715, -0.12256442, -0.03266669, -0.13706104, -0.028364131, -0.16320482, 0.025872277, 0.0038799648, -0.038322225, 0.07213509, -0.08575004, 0.00078005146, -0.19118088, 0.13901393, -0.07466347, -0.15850773) * g_24;
result += mat4(-0.10358112, 0.23026147, -0.17026868, 0.22740762, -0.073265195, 0.20872793, -0.1305692, 0.041578945, -0.14450042, 0.074723445, -0.19840808, -0.31698796, -0.13111241, 0.039627273, 0.20071575, 0.18766841) * g_25;
result += mat4(0.083393425, 0.0077654063, -0.024181146, -0.23965842, -0.015347993, 0.06553551, -0.075003184, -0.12717652, 0.24724984, -0.2618065, 0.00016140452, -0.030394942, -0.09804706, -0.05339126, 0.13838013, -0.11934897) * g_26;
result += mat4(-0.15981214, 0.099963255, 0.020670403, 0.055687193, 0.098974116, 0.09318632, -0.0020179797, 0.069629736, -0.18775915, 0.06435833, -0.054918338, 0.073864214, -0.004390631, 0.017190594, -0.099290535, 0.23170115) * g_27;
result += mat4(-0.025526501, 0.06180454, 0.02409264, 0.067765474, -0.25856894, 0.056929503, -0.23243466, -0.29785407, -0.057924725, -0.18965043, -0.19148564, -0.08055246, 0.123928405, -0.12250164, -0.050594267, 0.03553811) * g_28;
result += mat4(-0.0960669, -0.06418567, -0.15908502, 0.032472476, 0.17400779, -0.1997357, 0.23960195, 0.17217276, -0.17098325, 0.07912132, 0.15839973, 0.09257917, -0.11821401, 0.18548669, -0.04553704, 0.14563085) * g_29;
result += vec4(-0.020268483, -0.020570418, 0.013189642, -0.023046626);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x1x1x120
//!HOOK MAIN
//!BIND conv2d_27_tf
//!BIND conv2d_27_tf1
//!BIND conv2d_27_tf2
//!BIND conv2d_27_tf3
//!BIND conv2d_26_tf
//!BIND conv2d_1_tf
//!BIND conv2d_4_tf
//!BIND conv2d_7_tf
//!BIND conv2d_10_tf
//!BIND conv2d_13_tf
//!BIND conv2d_16_tf
//!BIND conv2d_19_tf
//!BIND conv2d_22_tf
//!BIND conv2d_25_tf
//!BIND conv2d_28_tf
//!SAVE conv0ups3
//!WIDTH conv2d_27_tf.w
//!HEIGHT conv2d_27_tf.h
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define g_0 (max((conv2d_27_tf_tex(conv2d_27_tf_pos)), 0.0))
#define g_1 (max((conv2d_27_tf1_tex(conv2d_27_tf1_pos)), 0.0))
#define g_2 (max((conv2d_27_tf2_tex(conv2d_27_tf2_pos)), 0.0))
#define g_3 (max((conv2d_27_tf3_tex(conv2d_27_tf3_pos)), 0.0))
#define g_4 (max(-(conv2d_27_tf_tex(conv2d_27_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_27_tf1_tex(conv2d_27_tf1_pos)), 0.0))
#define g_6 (max(-(conv2d_27_tf2_tex(conv2d_27_tf2_pos)), 0.0))
#define g_7 (max(-(conv2d_27_tf3_tex(conv2d_27_tf3_pos)), 0.0))
#define g_8 (max((conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_26_tf_tex(conv2d_26_tf_pos)), 0.0))
#define g_10 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_14 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_16 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_18 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_20 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_22 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_24 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_25 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_26 (max((conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_27 (max(-(conv2d_25_tf_tex(conv2d_25_tf_pos)), 0.0))
#define g_28 (max((conv2d_28_tf_tex(conv2d_28_tf_pos)), 0.0))
#define g_29 (max(-(conv2d_28_tf_tex(conv2d_28_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.24645565, 0.05784516, 0.10867771, -0.05984515, -0.028971449, 0.11605379, -0.1291642, -0.014052763, 0.11068091, 0.004926675, 0.20459619, -0.044202894, -0.13706492, -0.04746351, 0.046451483, -0.12730147) * g_0;
result += mat4(0.16991296, 0.023684578, 0.021467324, 0.112513155, 0.16544406, -0.07930093, 0.11551819, -0.19346547, -0.12460893, 0.12157849, 0.016360888, -0.013482095, 0.09450167, -0.06769771, 0.077387445, -0.0790254) * g_1;
result += mat4(0.2960009, 0.1488434, 0.006516303, 0.036311023, -0.14754485, 0.055427775, 0.11966719, 0.34234813, 0.061157946, 0.15428309, -0.0006080333, -0.08627383, -0.059905972, -0.22450238, -0.014939416, 0.17368095) * g_2;
result += mat4(0.07378066, 0.056095265, -0.14646475, 0.052108943, -0.056351613, -0.0075914487, -0.22897565, 0.18092358, -0.30173147, 0.4220325, 0.030691927, -0.04179051, 0.18329756, 0.07725657, 0.04097003, 0.12552805) * g_3;
result += mat4(-0.10679568, -0.114355184, -0.077642724, 0.03897825, 0.29233125, 0.10134386, -0.0011805982, -0.07966318, 0.06551558, 0.03483564, -0.18145105, -0.09800179, -0.11958348, 0.1625396, -0.030568633, -0.0012501187) * g_4;
result += mat4(-0.07481191, 0.032259185, 0.28050005, -0.060750138, 0.12653445, 0.058230374, -0.002791269, -0.06543193, -0.0781853, 0.059335645, 0.0038409696, -0.16285823, -0.2594777, -0.16057986, -0.032912817, 0.09385994) * g_5;
result += mat4(-0.0057511446, -0.05183356, 0.0043450245, 0.06839988, 0.08128163, 0.040296473, -0.01891294, -0.0850551, 0.1050001, 0.10195095, 0.13149269, -0.06505747, -0.024678802, 0.13261814, -0.033877272, -0.035169628) * g_6;
result += mat4(-0.14846025, -0.13375129, -0.007583847, 0.012587357, -0.09852703, -0.057210695, 0.041786056, -0.21553703, 0.19320351, -0.26314387, 0.05067924, -0.09403354, 0.023944646, 0.07871713, -0.010490625, -0.13831468) * g_7;
result += mat4(0.11984692, -0.0098591605, 0.12905905, 0.15365292, -0.0012730177, 0.05490899, -0.028208854, -0.1367009, -0.059950594, -0.053963825, 0.2162382, 0.04799995, 0.021240858, -0.07847233, 0.08247004, -0.022988454) * g_8;
result += mat4(-0.12824033, 0.057294488, -0.14316118, -0.0504033, -0.089879006, 0.034919854, -0.0040405784, 0.031905886, 0.08371419, -0.0362044, -0.0045882226, 0.16748743, 0.054630518, -0.05417787, -0.042437587, 0.25395465) * g_9;
result += mat4(-0.13144904, 0.2214945, -0.028178846, -0.23956248, -0.15738271, -0.16158687, -0.10207897, 0.042929817, -0.066305175, -0.096577294, 0.04117173, -0.015665123, -0.11068033, 0.0819128, 0.16483264, 0.09976227) * g_10;
result += mat4(0.19826432, -0.024046648, -0.17804232, 0.16008496, 0.07570708, -0.14472866, 0.04762163, 0.22881216, 0.05690948, 0.22411816, 0.005796563, -0.15312837, -0.123055264, 0.032928593, 0.08476358, 0.08951332) * g_11;
result += mat4(-0.0019496006, -0.16238998, 0.22266757, -0.2576854, 0.035717808, 0.009473379, 0.017560462, -5.106421e-05, 0.01733539, -0.18899617, -0.14462131, 0.011425934, 0.056977432, -0.018645681, -0.01617488, 0.14064595) * g_12;
result += mat4(0.015111429, -0.12743704, -0.16131711, 0.09304627, -0.011910577, -0.05745339, -0.039512582, 0.07567732, 0.026060602, 0.028980162, -0.12465325, -0.18355931, -0.20168343, 0.13719437, -0.08599688, -0.18141237) * g_13;
result += mat4(0.054802295, 0.29837707, 0.03522563, -0.03632989, -0.086978845, 0.00095785136, 0.107393734, 0.044818994, -0.13475525, 0.3006535, 0.07316234, -0.16334157, -0.16008015, 0.020546542, -0.14413168, -0.08525269) * g_14;
result += mat4(-0.259366, -0.07472293, 0.024179474, -0.038631555, 0.05083423, -0.04494027, 0.06810897, -0.10119448, 0.0068198745, -0.20377721, -0.099571116, 0.06853115, 0.1771495, 0.05278769, 0.116875805, 0.10305356) * g_15;
result += mat4(0.04593561, 0.20434843, -0.063411824, -0.041401528, 0.11932308, 0.25054318, -0.10001591, 0.034949005, 0.09727825, -0.06489274, 0.05936674, -0.036842782, 0.1862358, -0.11597859, -0.08135922, 0.029445825) * g_16;
result += mat4(-0.22665091, -0.10780771, -0.04841487, 0.09992152, -0.138711, 0.020387711, 0.015868897, -0.08746323, -0.2086925, -0.015857462, 0.0466177, 0.06748683, -0.01600545, 0.22568497, -0.002262447, 0.016205644) * g_17;
result += mat4(0.13159914, 0.0085239895, 0.05532446, 0.056012895, -0.1934148, -0.09157347, 0.14135554, 0.052508645, 0.09289656, -0.14269857, 0.030171013, 0.037755817, 0.04909593, -0.18655239, -0.0055961176, 0.1187946) * g_18;
result += mat4(-0.17952375, -0.024501823, 0.023383398, -0.107995816, 0.08161396, 0.020528542, 0.15347931, -0.0741402, -0.20154397, -0.0015806113, 0.028733943, 0.028272778, -0.2613763, -0.051558394, -0.14001833, -0.050815742) * g_19;
result += mat4(-0.015107653, -0.0940447, 0.036241457, -0.010593342, -0.045961525, 0.17196755, 0.18697836, 0.031196352, 0.20367323, 0.088155776, 0.045706164, -0.13437189, -0.18159072, 0.36762834, -0.20641692, 0.118886285) * g_20;
result += mat4(-0.060623996, 0.20019537, 0.18168223, 0.08877838, -0.045696676, 0.061234694, -0.07338814, 0.051613998, -0.25389117, -0.052995674, -0.09211558, -0.16466606, -0.145923, 0.026201494, -0.050066713, 0.08831479) * g_21;
result += mat4(-0.16469187, -0.16988957, 0.09734995, 0.061539363, -0.13671373, 0.10063324, -0.011433946, -0.086579375, 0.107261725, -0.10270097, -0.012975658, 0.06668877, 0.15680642, 0.07163846, 0.14033522, -0.01405299) * g_22;
result += mat4(0.132207, 0.03416093, -0.048854396, 0.07515984, 0.078861736, -0.2689559, -0.030746087, -0.11602645, 0.06880567, 0.08204513, 0.06717855, 0.007817995, 0.016181905, 0.040704746, -0.16240671, 0.07026067) * g_23;
result += mat4(-0.15598467, -0.0022878624, 0.026549233, -0.04394233, 0.20921734, 0.043367602, -0.15613823, 0.04929508, 0.0029379008, 0.04842879, 0.18046685, -0.117088884, -0.22295143, 0.15341441, 0.34251833, -0.16558655) * g_24;
result += mat4(-0.25135937, 0.043886732, -0.06370679, -0.14021763, -0.21199869, -0.028682569, 0.120286964, -0.12730849, 0.057145018, 0.089308545, 0.18639867, -0.13679394, 0.012308779, -0.22714002, -0.1320638, -0.040500604) * g_25;
result += mat4(0.049142376, -0.2076546, 0.23179443, 0.14762919, -0.23876101, 0.1215704, 0.16733463, 0.029052794, 0.196647, -0.060006868, -0.05808242, -0.18242458, 0.19578396, -0.05617832, 0.08892038, -0.04199541) * g_26;
result += mat4(-0.22550662, 0.1297213, -0.07912901, -0.035594005, 0.01997545, -0.24715406, 0.014261541, -0.047214407, -0.22399336, 0.040679913, 0.13449016, -0.02821665, -0.22720997, 0.11576339, 0.12183234, -0.059500802) * g_27;
result += mat4(-0.12097631, 0.059060633, 0.007883754, -0.19396073, 0.013222453, 0.19267121, 0.04800107, -0.27254722, -0.2901846, 0.21499753, 0.16564848, 0.2441496, -0.14540148, -0.115534924, 0.072310135, -0.085634045) * g_28;
result += mat4(-0.01119188, 0.09056528, 0.08672538, 0.30530053, 0.040546756, -0.014442347, 0.03800687, 0.08838292, 0.27894083, -0.15870668, -0.088538125, -0.14179976, -0.14808148, 0.29186696, 0.0804609, -0.12542953) * g_29;
result += vec4(-0.024944633, -0.005018115, -0.03752404, -0.02132803);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv0ups
//!BIND conv0ups1
//!BIND conv0ups2
//!BIND conv0ups3
//!SAVE conv1ups
//!WIDTH conv0ups.w 4 *
//!HEIGHT conv0ups.h 4 *
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_4(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_5(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_6(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_7(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.020695187, 0.05179575, -0.00084568735, -0.058708318, -0.046756897, -0.051572543, 0.0075343885, 0.019189375, 0.009596094, 0.07458263, -0.0665028, 0.02477345, 0.0036938943, 0.016147994, 0.17555033, 0.063790314) * go_0(-1.0, -1.0);
result += mat4(0.047372315, -0.09212169, -0.1426403, 0.010264183, 0.110588886, 0.0059688496, 0.09531943, -0.04407747, 0.025626734, 0.042082682, 0.32421026, -0.038435984, 0.010308315, 0.06190991, -0.08102318, -0.045582976) * go_0(-1.0, 0.0);
result += mat4(0.048703067, 0.047595374, -0.05395934, -0.08620705, -0.10573035, 0.023483915, -0.03392267, 0.010127343, -0.0077816406, 0.052177433, -0.056273837, 0.037937485, 0.027907217, -0.09347315, 0.05239236, -0.026808713) * go_0(-1.0, 1.0);
result += mat4(-0.050651994, -0.02732563, -0.061340403, -0.112863585, 0.0064489683, -0.025380466, -0.052053943, -0.06545331, -0.033553123, -0.022598164, 0.04204955, 0.02323651, 0.031271514, 0.16110232, 0.38803446, -0.054479457) * go_0(0.0, -1.0);
result += mat4(0.07135817, -0.09506239, 0.16592708, -0.040242936, -0.03786691, -0.06483209, -0.09554407, 0.07840277, -0.020200757, 0.02384577, -0.013126495, -0.027625585, -0.075230405, -0.21014008, -0.03909564, -0.09478117) * go_0(0.0, 0.0);
result += mat4(0.07711308, 0.10181707, 0.018250873, 0.077304795, 0.01642751, 0.03228944, 0.021899378, 0.010245774, -0.036227338, -0.001539605, -0.07523362, 0.14429028, -0.07359782, 0.13070822, -0.02560883, -0.022874065) * go_0(0.0, 1.0);
result += mat4(-0.04219415, -0.011289797, -0.039906166, -0.089074284, 0.017567573, 0.062162995, 0.096065514, 0.05775087, -0.0102344435, 0.006881742, -0.08669115, -0.032948222, 0.08963109, -0.08284012, 0.066751294, 0.1828466) * go_0(1.0, -1.0);
result += mat4(0.03411321, 0.02054857, -0.021424247, -0.02265521, 0.06751186, 0.046636272, 0.13100775, -0.048767522, 0.05850365, 0.027136968, -0.004158686, 0.111822814, -0.06596076, -0.07753948, 0.041529708, 0.09940788) * go_0(1.0, 0.0);
result += mat4(-0.0028192403, 0.016853701, -0.03016301, -0.020235358, -0.05034052, -0.013616077, -0.021349836, -0.04864314, -0.0414048, -0.14153421, -0.05658087, -0.056029163, 0.13383056, -0.027531937, -0.15566418, -0.2105671) * go_0(1.0, 1.0);
result += mat4(0.04016501, 0.10559333, 0.008267663, 0.06649002, 0.042583052, 0.008021726, -0.051475175, -0.027462183, 0.03987831, 0.030259034, -0.09433753, 0.059861444, -0.069253184, 0.07167569, -0.029389774, 0.042345088) * go_1(-1.0, -1.0);
result += mat4(-0.36324787, -0.03084712, 0.31618732, 0.12707345, -0.04294511, -0.025086822, -0.004116296, -0.07539075, -0.011589254, -0.024815882, -0.0939434, 0.015169785, 0.0101918485, 0.0453247, 0.1548971, -0.06455103) * go_1(-1.0, 0.0);
result += mat4(0.119113825, -0.049629897, -0.12882084, -0.13687927, 0.032445643, 0.03346595, 0.077079095, 0.032214127, 0.008172492, -0.04357317, -0.0043878276, 0.010722748, 0.03210129, 0.035465643, -0.009428875, 0.08321818) * go_1(-1.0, 1.0);
result += mat4(-0.095653616, -0.10428462, -0.007750534, -0.061840005, 0.0069368114, 0.09166805, 0.14013365, 0.09337012, -0.12483825, 0.16957195, -0.20122507, 0.045088075, 0.03606835, -0.022486823, -0.08902174, 0.068695016) * go_1(0.0, -1.0);
result += mat4(-0.010500626, -0.034527376, 0.005386829, 0.22918703, -0.10108878, 0.09873839, 0.15702549, -0.09598402, -0.039832648, -0.09612538, 0.083574384, 0.1690233, 8.269891e-05, -0.068035394, 0.0534864, -0.0566001) * go_1(0.0, 0.0);
result += mat4(0.071872145, -0.02851451, 0.033841643, 0.10728748, 0.035649426, -0.02319551, -0.04673053, -0.028753035, 0.059749573, 0.07446472, -0.1269341, 0.09893258, -0.0225744, 0.016244017, 0.18417723, 0.09029894) * go_1(0.0, 1.0);
result += mat4(0.044112977, -0.049037457, 0.064683616, -0.06556883, -0.031397637, 0.017776502, -0.05355212, -0.030592304, 0.16831197, -0.05688798, -0.12060968, -0.08913267, -0.03228456, 0.0952953, 0.008387226, 0.027184563) * go_1(1.0, -1.0);
result += mat4(0.080981106, -0.028719943, 0.14178857, -0.028141385, 0.04193971, -0.051364426, 0.06132975, 0.076663375, -0.13706256, -0.15490277, -0.13380666, 0.049959663, 0.100946076, 0.10222464, -0.010470593, -0.024446227) * go_1(1.0, 0.0);
result += mat4(0.02006824, 0.035393536, 0.00029921162, -0.07853538, -0.057912953, 0.0043116766, 0.06834718, -0.006364991, 0.1331031, 0.092478134, -0.105553046, -0.07090539, -0.02150639, -0.12197273, -0.03806585, -0.010030255) * go_1(1.0, 1.0);
result += mat4(-0.010309926, 0.013791634, -0.034627564, 0.080061935, 0.019168656, 0.018056372, -0.12263221, 0.011914942, -0.108048424, -0.0077957036, 0.054784223, -0.03022557, 0.090339676, -0.11052819, 0.025375597, -0.008405164) * go_2(-1.0, -1.0);
result += mat4(-0.08640119, 0.0116826715, 0.096712016, -0.009556215, -0.050392166, -0.015750423, 0.024098802, -0.030559674, -0.008687317, 0.086569674, -0.010534909, 0.14062569, -0.04092292, 0.059992965, 0.10706941, -0.071255006) * go_2(-1.0, 0.0);
result += mat4(0.055439454, -0.08304736, -0.05772018, 0.0002228898, 0.049766537, -0.03562336, -0.062019385, -0.008590997, 0.0714339, 0.060822833, 0.05533639, -0.018964287, 0.04474348, 0.030456604, -0.10162788, 0.023526968) * go_2(-1.0, 1.0);
result += mat4(0.036144115, -0.055477962, 0.25543195, 0.018981127, -0.0029639043, 0.006001523, -0.16257423, -0.005548247, 0.27908665, -0.017829081, 0.20361087, 0.069451064, 0.0425165, 0.04671855, 0.21115932, 0.115634814) * go_2(0.0, -1.0);
result += mat4(0.26696295, 0.12878756, -0.10729505, -0.11586441, -0.11449649, 0.036481492, -0.013030123, 0.03475486, -0.112476334, 0.078693345, 0.06723839, -0.101722986, -0.3230926, 0.003929733, 0.0382842, -0.05160655) * go_2(0.0, 0.0);
result += mat4(-0.19706994, -0.06081748, -0.083103545, 0.0641547, -0.020251034, 0.012799021, -0.02441986, 0.021752145, -0.18157272, -0.12557366, 0.12760532, 0.16373396, -0.015558221, -0.16272856, -0.087740906, -0.0012695452) * go_2(0.0, 1.0);
result += mat4(0.015716445, -0.0065595773, -0.12268667, 0.054408874, 0.04874326, 0.028534992, 0.0678798, -0.0694589, -0.053737182, -0.04219611, -0.03308467, 0.024086336, -0.01133326, -0.019263305, -0.10631709, 0.014409722) * go_2(1.0, -1.0);
result += mat4(0.010652, -0.102014825, -0.31128922, -0.1404369, 0.008963117, -0.06387716, 0.09456378, 0.002045589, 0.0120676765, 0.03954822, 0.08071245, 0.009293571, 0.022331964, 0.09042008, -0.0895777, -0.082019664) * go_2(1.0, 0.0);
result += mat4(-0.028971305, 0.0018671599, 0.057754505, 0.17587171, -0.041128, 0.01627396, -0.08374196, 0.0022898368, 0.1260272, -0.06357269, -0.071449675, 0.080769256, 0.14892668, 0.08178534, 0.028882774, -0.08646687) * go_2(1.0, 1.0);
result += mat4(-0.020794544, 0.040059574, 0.017822137, -0.003598029, -0.06560943, -0.044181604, 0.019038988, 0.01135562, -0.04396594, 0.073165074, 0.0733299, 0.0027922648, 0.043707132, 0.005099016, -0.11030712, -0.08067086) * go_3(-1.0, -1.0);
result += mat4(-0.018612824, -0.03987747, -0.10851105, 0.026845753, 0.0143560935, 0.10487563, -0.1329422, 0.062191565, 0.042507634, 0.013565981, 0.05381924, -0.018621631, 0.07241348, 0.07312401, 0.162055, 0.072888635) * go_3(-1.0, 0.0);
result += mat4(-0.042371858, -0.06279698, -0.047954734, -0.04135068, -0.032758582, -0.05770967, 0.095052056, 0.049033426, -0.01945755, -0.008561963, 0.04326833, 0.030072358, -0.057644114, 0.15499905, -0.060267057, 0.062550865) * go_3(-1.0, 1.0);
result += mat4(-0.039586462, 0.020706546, 0.21365152, -0.044521715, -0.020410553, 1.3661776e-05, 0.049052373, 0.11614336, 0.00017193238, -0.07115667, -0.06459373, -0.0073429234, -0.036036134, -0.024385229, -0.075657554, -0.05757767) * go_3(0.0, -1.0);
result += mat4(0.041886285, 0.033068173, 0.06381855, 0.115213275, 0.069466114, -0.04658492, -0.17437598, 0.016479885, 0.041463092, -0.026836906, 0.09679532, -0.11155522, 0.03152283, 0.12496124, -0.1317453, 0.17767543) * go_3(0.0, 0.0);
result += mat4(0.024161939, 0.020480702, 0.10460235, 0.01299023, 0.038210697, -0.023922926, 0.006196876, -0.11040656, -0.048561808, 0.031339034, -0.0034977624, -0.01171306, -0.055257812, -0.11679662, -0.1292118, -0.24881968) * go_3(0.0, 1.0);
result += mat4(-0.034799732, -0.03295996, -0.22622366, -0.059414957, -0.07564334, 0.06638484, 0.08077548, 0.06760112, -0.03851018, 0.06950001, -0.061534263, -0.010881979, -0.15067118, 0.0624694, -0.2033063, -0.058800664) * go_3(1.0, -1.0);
result += mat4(0.065365165, 0.06403614, 0.19352676, 0.13365605, 0.07580563, -0.014021939, -0.05731098, 0.036906917, 0.02100828, 0.017755862, 0.041521445, -0.11368253, 0.06070961, -0.22881168, 0.0035648798, 0.075051494) * go_3(1.0, 0.0);
result += mat4(-0.056965712, -0.02173571, 0.084591195, -0.021413585, -0.068680905, 0.023532664, -0.09906315, 0.0630235, 0.04045921, 0.014031516, 0.02268613, 0.011994433, 0.048502963, 0.037335977, -0.19570793, 0.14572982) * go_3(1.0, 1.0);
result += mat4(0.0261724, 0.030047135, -0.09042618, 0.033079226, 0.07980195, 0.036434878, 0.17216438, 0.058141544, -0.043239925, -0.05976093, -0.04999952, -0.020736014, -0.0106217805, -0.012736464, 0.008851435, -0.056872174) * go_4(-1.0, -1.0);
result += mat4(-0.082696624, 0.054985303, -0.024339378, -0.0543204, -0.17700307, 0.11250488, -0.031559974, 0.022210045, 0.09618239, 0.01580275, -0.03690757, -0.047982343, 0.08703919, 0.021051923, -0.047632344, 0.0045034164) * go_4(-1.0, 0.0);
result += mat4(-0.03290176, -0.0364079, 0.019448102, 0.049773544, 0.07766832, -0.07508403, 0.0134854335, -0.00643178, 0.015591646, -0.0043992195, 0.1354414, 0.038126215, -0.0032720412, 0.018891534, -0.019052628, -0.032509252) * go_4(-1.0, 1.0);
result += mat4(-0.14167961, 0.12479212, -0.12158335, 0.016470937, 0.03488672, 0.045030095, -0.2268721, 0.16147503, 0.09902494, -0.023874994, 0.19846949, 0.017371945, -0.0801073, 0.055975642, 0.068055116, 0.019367244) * go_4(0.0, -1.0);
result += mat4(0.06765082, -0.21494555, 0.099107146, 0.016591892, -0.02380657, -0.002625899, 0.25159433, -0.034043565, -0.052320056, -0.0011840623, 0.08531329, 0.00049678114, 0.04983457, 0.00088371156, -0.13286956, 0.00064268603) * go_4(0.0, 0.0);
result += mat4(-0.05795321, 0.22021243, 0.0076905126, 0.06835479, -0.051106546, 0.024030196, 0.06576595, 0.15353538, 0.009099127, 0.085880324, 0.0011794734, -0.096212335, 0.04021018, -0.113805994, 0.139067, -0.0110617215) * go_4(0.0, 1.0);
result += mat4(0.079940975, 0.01368856, 0.16861776, 0.08192191, -0.122989796, -0.099328294, 0.049420018, -0.09718617, -0.05760635, 0.017678939, -0.087738335, -0.075534955, 0.010387554, -0.028321257, 0.1314425, 0.0006286904) * go_4(1.0, -1.0);
result += mat4(0.01243246, 0.05316387, -0.019017072, 0.039417446, 0.06917462, 0.030646449, 0.037567277, 0.186223, -0.019127764, 0.04848654, 0.17375444, 0.17762296, -0.06592402, -0.04435415, -0.04296899, -0.11317639) * go_4(1.0, 0.0);
result += mat4(-0.03502325, -0.086596005, 0.054397397, 0.020352576, 0.048965316, 0.15153474, 0.1431249, 0.052301593, -0.008229829, -0.046441074, 0.029613024, -0.042361066, -0.022458816, -0.030389478, 0.106790364, 0.16180433) * go_4(1.0, 1.0);
result += mat4(0.045190386, -0.028396606, 0.03988003, 0.018620977, -0.08892243, 0.051916, 0.02764735, -0.031002073, -0.024089592, -0.07468457, 0.070725314, -0.032896645, 0.0072905435, 0.033070587, 0.012611254, 0.0015103485) * go_5(-1.0, -1.0);
result += mat4(-0.11496197, -0.034812376, -0.12765816, -0.073968515, 0.1103958, -0.015156485, -0.043987215, 0.06353695, 0.060253356, -0.09172886, 0.051112115, 0.04185245, -0.010958595, -0.009855241, 0.07016091, 0.08352796) * go_5(-1.0, 0.0);
result += mat4(-0.0018355614, 0.009696581, -0.014894175, 0.10311216, -0.0023905442, -0.031233516, -0.14643733, -0.13987964, -0.03829992, 0.09283117, 0.020682491, -0.0038340855, 0.018485101, -0.08282137, 0.06482714, -0.04316507) * go_5(-1.0, 1.0);
result += mat4(0.110480644, 0.0354597, 0.17428526, 0.13770753, 0.06420499, 0.0076466007, -0.02015196, -0.07055463, 0.03758145, -0.11852888, -0.01557475, -0.050508235, -0.0027972506, -0.016254924, -0.0875164, -0.05621017) * go_5(0.0, -1.0);
result += mat4(0.05704481, 0.07027665, 0.07560543, -0.27404872, -0.1203241, -0.13563003, 0.31092855, 0.23089512, 0.081106246, 0.14123824, 0.09980848, -0.1233403, 0.136044, 0.053615157, 0.124605425, -0.14057036) * go_5(0.0, 0.0);
result += mat4(-0.03378077, -0.07225837, 0.12690358, -0.10464525, -0.0295789, 0.06703109, 0.07382307, -0.026333801, -0.09037467, -0.07251056, -0.05310559, 0.000101977144, -0.10449609, 0.1944587, 0.13968393, 0.026316661) * go_5(0.0, 1.0);
result += mat4(-0.01433047, 0.009148719, -0.111054346, 0.020732088, 0.042477377, -0.043188296, 0.098809525, 0.073676586, -0.0322328, 0.01969649, 0.010843924, 0.12852491, -0.019762363, -0.058187466, -0.09948641, -0.041471776) * go_5(1.0, -1.0);
result += mat4(-0.046551157, 0.007494576, 0.020390457, 0.039238412, 0.034302976, 0.06468725, -0.08491083, -0.022852294, -0.03540986, 0.15482925, -0.05325463, -0.08798036, -0.0019466237, -0.09249625, -0.026100513, 0.10110193) * go_5(1.0, 0.0);
result += mat4(-0.027061401, -0.035921685, 0.03197978, 0.08998862, 0.021752719, -0.07339133, 0.010681594, -0.0795563, -0.031203764, -0.048886176, 0.1505545, 0.05413737, -0.2009508, -0.09878104, 0.12233396, 0.12264711) * go_5(1.0, 1.0);
result += mat4(0.000201578, -0.020336568, 0.00035553024, -0.04552163, 0.045114692, -0.101587355, 0.04016851, 0.019786127, 0.081738554, -0.035416037, 0.015109221, -0.013051524, 0.015240257, -0.014836099, -0.01573197, -0.067426234) * go_6(-1.0, -1.0);
result += mat4(0.06572358, -0.0053061, 0.05557546, -0.0066949055, 0.07563655, 0.062391594, -0.03726393, 0.0052256803, 0.021015963, -0.020943565, 0.17579497, -0.016357217, 0.113310464, 0.08199825, -0.006430871, 0.008816601) * go_6(-1.0, 0.0);
result += mat4(-0.005421809, 0.04227301, -0.16125767, -0.06964377, -0.09038185, 0.024234684, -0.022720145, 0.00079508655, 0.008849058, 0.013611232, 0.043701556, -0.048654094, 0.08114624, 0.0073766154, -0.06040684, -0.020945968) * go_6(-1.0, 1.0);
result += mat4(0.015536741, 0.03772623, 0.14326756, -0.0015041671, -0.04507155, 0.015579776, 0.2857906, -0.11391861, -0.117170595, 0.047959678, -0.06387855, -0.0055391947, 0.060498606, 0.009427265, 0.50844795, -0.11058385) * go_6(0.0, -1.0);
result += mat4(-0.051472906, 0.009261859, -0.15015996, 0.12943685, 0.19357206, -0.116032414, -0.28050247, -0.090211906, 0.0010450644, 0.044784248, -0.00023668195, 0.11839819, -0.22070691, 0.22376983, 0.045054942, 0.047100548) * go_6(0.0, 0.0);
result += mat4(0.04065783, -0.028647335, 0.083073996, 0.06967863, 0.023751903, 0.14010519, -0.15699695, -0.07796914, 0.018112006, -0.048332486, 0.064069994, 0.003143784, 0.0074339295, 0.14113344, 0.059680164, 0.008873948) * go_6(0.0, 1.0);
result += mat4(-0.05741473, -0.027159097, 0.045549147, 0.0708231, -0.15182017, -0.077091426, 0.040370047, 0.058241665, -0.05299617, -0.028760802, -0.0076170033, -0.11069676, 0.08858413, -0.006301153, 0.04273877, -0.05631213) * go_6(1.0, -1.0);
result += mat4(0.025762111, 0.062415194, -0.14223552, 0.003412124, 0.05552051, 0.18844947, -0.22042769, 0.015809692, 0.090370014, -0.006739683, -0.060091887, 0.07976979, -0.0058506215, -0.16953866, 0.024433328, 0.05852742) * go_6(1.0, 0.0);
result += mat4(0.0316892, 0.09573295, 0.08312811, 0.010179943, 0.037315205, -0.065285094, -0.0012986633, -0.05224675, -0.0047330237, 0.08265473, 0.09477729, -0.06736327, -0.06450191, -0.08257717, -0.057862822, 0.08835963) * go_6(1.0, 1.0);
result += mat4(0.0024440633, -0.036616765, -0.033401538, 0.004977876, 0.036649343, 0.08101561, 0.111079, -0.0026892924, 0.018146338, -0.024757951, -0.049987808, 0.088031135, -0.059743408, -0.0063467845, 0.04389662, 0.058518223) * go_7(-1.0, -1.0);
result += mat4(-0.015003317, -0.025828838, 0.04108641, -0.060053583, -0.08861021, 0.015026266, -0.06384911, -0.049570337, -0.11708947, 0.0040502516, -0.29292357, -0.13572334, -0.048173945, -0.035088543, 0.0645735, 0.003977293) * go_7(-1.0, 0.0);
result += mat4(0.023741405, 0.04877632, -0.09316636, -0.023240283, 0.017736096, -0.0037682957, 0.12203123, 0.023406139, 0.0039402544, -0.021817943, 0.10562721, 0.0065815113, 0.0241319, 0.09085425, 0.06748136, 0.035957564) * go_7(-1.0, 1.0);
result += mat4(-0.040901843, 0.14610243, -0.033210922, -0.047225397, 0.014037701, -0.056691576, 0.010777748, -0.07679006, -0.23969224, 0.14371933, 0.010285852, -0.098876506, 0.12892431, 0.078993894, -0.014415507, -0.01773652) * go_7(0.0, -1.0);
result += mat4(0.09569853, 0.08022542, 0.17847797, 0.05742365, -0.028737325, -0.06577205, 0.0099042505, -0.1788678, -0.024437329, -0.00854858, 0.064116485, 0.08779381, 0.038688138, -0.11070709, -0.061672393, -0.07259389) * go_7(0.0, 0.0);
result += mat4(-0.061463468, -0.041322544, -0.049147107, -0.056226347, 0.07580429, -0.09154353, 0.1392037, 0.1725724, 0.0846089, -0.09506338, 0.0014113535, -0.043457717, 0.02086055, 0.016039053, 0.0070436527, 0.010863293) * go_7(0.0, 1.0);
result += mat4(0.040287588, 0.01495664, -0.027837565, -0.049098965, 0.030421665, 0.050820872, -0.034790598, 0.081854686, -0.060803648, -0.10076397, 0.10959196, 0.08770263, 0.02639544, 0.017585248, 0.03741672, 0.098596066) * go_7(1.0, -1.0);
result += mat4(-0.11272804, -0.07179105, 0.29052478, 0.16043298, -0.004745162, -0.02539786, 0.03064631, -0.11615134, 0.1467622, -0.30389008, 0.37392983, 0.081603326, -0.081118405, 0.049201585, 0.09506965, -0.07426272) * go_7(1.0, 0.0);
result += mat4(0.0021397786, -0.043339223, -0.024574393, 0.004753203, 0.008854377, 0.114565484, -0.10472323, -0.054310642, -0.1363216, 0.26929548, -0.034043808, 0.0016566974, -0.024689924, 0.047800675, -0.00087367673, -0.010073392) * go_7(1.0, 1.0);
result += vec4(-0.0092416825, -0.017586693, -0.056248806, 0.024289904);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv0ups
//!BIND conv0ups1
//!BIND conv0ups2
//!BIND conv0ups3
//!SAVE conv1ups1
//!WIDTH conv0ups.w 4 *
//!HEIGHT conv0ups.h 4 *
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_4(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_5(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_6(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_7(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.036600452, -0.10049528, 0.0425083, 0.00748036, -0.07228494, 0.092974216, -0.08875746, 0.0038487716, -0.014452269, 0.022789069, 0.03057275, 0.08749693, -0.034161948, 0.016061379, -0.123270914, -0.14571433) * go_0(-1.0, -1.0);
result += mat4(0.03586051, 0.117893025, 0.019521732, -0.086191945, 0.09005548, 0.08917978, -0.038505673, 0.027726982, 0.047773708, 0.07542637, -0.09766821, -0.05601306, 0.016462456, -0.031262327, 0.29434896, -0.031188589) * go_0(-1.0, 0.0);
result += mat4(-0.0010024331, -0.13936394, 0.09529403, 0.038214546, -0.004169407, -0.030122723, 0.06738456, 0.037226625, 0.016386302, -0.043177616, 0.0067897406, -0.0417514, -0.18339635, -0.0851196, 0.122963585, -0.04226655) * go_0(-1.0, 1.0);
result += mat4(0.120718524, -0.07883002, 0.07970128, 0.026766716, 0.038295228, -0.012892055, -0.0853028, -0.06261667, 0.06648932, 0.077419154, -0.083746694, -0.024860187, -0.041543417, -0.078661576, 0.105570786, 0.17292567) * go_0(0.0, -1.0);
result += mat4(0.06017667, 0.10275487, -0.17618456, -0.090398066, -0.11300483, 0.010944091, 0.059611183, -0.053765967, -0.08456634, -0.26681066, 0.120561525, 0.0389813, -0.3168673, -0.07365836, 0.19187033, 0.3629531) * go_0(0.0, 0.0);
result += mat4(-0.047863573, -0.16097455, 0.058843378, 0.024493651, -0.050211128, 0.020149479, 0.08273668, -0.03951675, -0.051696103, -0.015382585, 0.012727583, 0.062049612, 0.023429222, 0.111244336, -0.24765679, 0.047255322) * go_0(0.0, 1.0);
result += mat4(-0.043454263, -0.056187622, 0.08826043, 0.03379153, 0.0328122, 0.09490295, -0.106024, 0.0513934, 0.010730174, -0.021311862, 0.0009606973, -0.048898865, -0.05885993, 0.13555479, -0.029676508, 0.15599397) * go_0(1.0, -1.0);
result += mat4(0.014284165, 0.0022697337, 0.0423487, -0.043128587, -0.066065155, -0.14259978, 0.036370326, 0.11544268, 0.0011783034, 0.014464844, -0.0077034896, 0.07947936, 0.0847673, -0.027169127, 0.060862433, 0.051962093) * go_0(1.0, 0.0);
result += mat4(-0.06810183, 0.0038956213, 0.02663297, 0.07350188, 0.028407782, -0.08836482, 0.120757915, 0.0033882086, 0.025512185, 0.13103734, -0.09310468, -0.09251054, 0.06252439, 0.101230994, -0.050645854, -0.11273561) * go_0(1.0, 1.0);
result += mat4(0.18605615, -0.018943008, 0.12841246, -0.048895158, -0.087834686, -0.06213869, 0.020271972, 0.01735206, -0.028159512, -0.0012055358, -0.031407196, 0.01459528, 0.055683896, 0.03376991, 0.074921526, 0.08031476) * go_1(-1.0, -1.0);
result += mat4(0.16044307, -0.04908117, 0.16997416, -0.042656355, 0.026869124, -0.015336793, 0.06704625, 0.005058682, 0.02062564, 0.030037567, 0.015916575, -0.013523192, 0.012619856, 0.074030444, 0.02436604, 0.003554498) * go_1(-1.0, 0.0);
result += mat4(-0.05024195, 0.06433591, 0.02808383, 0.06368531, 0.008005133, -0.02590703, -0.022208184, 0.038581703, -0.007899184, -0.076488025, 0.00072744075, 0.061727125, 0.11445254, -0.020653702, -0.010182034, 0.028005669) * go_1(-1.0, 1.0);
result += mat4(-0.08974687, 0.10983013, -0.05198625, 0.025618017, 0.04013525, 0.08194611, 0.07054715, -0.039644957, -0.0019942275, 0.15640324, 0.079898156, -0.050505124, 0.018647147, 0.1864857, -0.10004012, -0.1785983) * go_1(0.0, -1.0);
result += mat4(-0.12734273, -0.1984448, 0.047983695, -0.029723175, -0.019461578, 0.011290827, 0.05483677, -0.08040967, 0.010945984, 0.20160717, 0.06651317, -0.026364818, -0.19147083, 0.022746865, -0.005397772, -0.18815117) * go_1(0.0, 0.0);
result += mat4(0.056349758, -0.027665544, -0.025720505, 0.06478612, 0.028723124, -0.040507562, 0.046986, -0.07457037, -0.011984053, 0.08888314, 0.14762667, 0.10618448, -0.013883168, -0.015380026, 0.022096027, -0.13794257) * go_1(0.0, 1.0);
result += mat4(-0.051857505, 0.0046023214, 0.048188727, 0.018825505, -0.027216887, -0.034863137, -0.05376821, -0.03810819, 0.05989397, 0.03594429, -0.23096226, 0.15341154, 0.08981187, -0.05070559, 0.026243754, -0.04263998) * go_1(1.0, -1.0);
result += mat4(-0.009617233, 0.03463696, -0.02096688, 0.030073844, 0.044995844, 0.07873687, -0.042068962, 0.13536318, -0.030567715, -0.05154325, 0.07210971, -0.17742214, 0.053942777, 0.0127787, 0.068606384, 0.0650419) * go_1(1.0, 0.0);
result += mat4(0.025862409, 0.025395997, 0.05269671, 0.05798525, -0.042442568, 0.0445204, -0.064225905, -0.055657025, 0.11636964, -0.04205307, -0.014663356, 0.010643147, 0.082133, -0.023850026, 0.10308432, 0.107985206) * go_1(1.0, 1.0);
result += mat4(0.11726699, 0.05656771, 0.02469043, -0.13420433, 0.038069904, -0.008463304, 0.035647616, 0.07362852, 0.14594945, 0.09443728, -0.090279855, -0.0491621, 0.025128877, -0.12093358, 0.056935582, 0.020768635) * go_2(-1.0, -1.0);
result += mat4(-0.03540259, -0.037914194, -0.21112189, -0.019102415, -0.009190789, -0.017674621, -0.0076943026, -0.068069465, 0.07027692, -0.023830496, -0.19833852, 0.043303248, -0.09002839, 0.062405612, 0.034014236, 0.015062283) * go_2(-1.0, 0.0);
result += mat4(-0.01055108, -0.078035474, 0.15064569, -0.043817606, 0.03865331, 0.06653527, -0.08737055, 0.07359416, 0.034335107, 0.094619036, 0.15430231, 0.081489205, 0.11551119, -0.13892402, 0.10169955, -0.016521193) * go_2(-1.0, 1.0);
result += mat4(-0.21723948, -0.003718774, 0.0036089579, 0.2417116, 0.05871629, 0.08170726, -0.018392453, -0.09107411, -0.0054566264, -0.11625159, -0.028020184, -0.04901969, -0.06090618, 0.010701764, -0.054772582, 0.015806887) * go_2(0.0, -1.0);
result += mat4(-0.12086319, 0.06057755, 0.4838376, 0.026492605, 0.0011703236, 0.016707094, 0.14285243, -0.019033382, -0.10223409, -0.25914297, 0.07972699, 0.08980557, 0.0018122899, -0.12970547, 0.28545263, 0.15324087) * go_2(0.0, 0.0);
result += mat4(0.095036976, 0.162094, -0.13472636, 0.022491721, 0.0815172, 0.07862179, 0.051775135, -0.102338746, 0.050679415, -0.002904758, -0.06392857, -0.124154866, -0.031455033, 0.044263933, -0.01326217, -0.08059905) * go_2(0.0, 1.0);
result += mat4(-0.017460492, 0.12181631, -0.05040324, 0.08211638, -0.07552046, 0.061242603, -0.06086253, 0.20668316, 0.13807769, 0.056059014, -0.05011972, -0.05253501, -0.012529453, -0.036754012, 0.14976881, 0.014519357) * go_2(1.0, -1.0);
result += mat4(0.08175377, 0.03418494, -0.07925977, 0.01547301, -0.055616055, -0.0768169, 0.1390287, -0.020122616, -0.08055283, -0.08153747, -0.13700585, 0.09619712, 0.05064319, -0.010092189, -0.0375194, 0.08658357) * go_2(1.0, 0.0);
result += mat4(0.073422946, 0.0146288825, -0.018180208, -0.13258615, -0.039849028, -0.043496124, -0.10103034, 0.026819391, 0.10169963, -0.0018588677, 0.038265944, 0.120759994, 0.004948789, 0.05993842, -0.04388326, 0.08129302) * go_2(1.0, 1.0);
result += mat4(0.081689045, 0.014836045, 0.05355978, -0.01353243, 0.107137255, 0.064938255, 0.038997065, 0.07195731, 0.016222289, -0.078091234, 0.07403487, 0.028206307, 0.20964447, 0.1212519, -0.11971038, -0.061158486) * go_3(-1.0, -1.0);
result += mat4(0.078742854, 0.13448513, -0.13717398, -0.034942567, 0.00084557495, -0.12339975, 0.14178696, 0.08150612, -0.03697507, 0.066154145, 0.13886937, -0.010311026, -0.24136373, -0.13241349, 0.24087813, 0.08533747) * go_3(-1.0, 0.0);
result += mat4(0.03430129, 0.0037780532, -0.007673756, 0.020130971, -0.0044403607, -0.07021513, 0.10380787, 0.14933755, 0.041128885, -0.03377426, -0.049867447, 0.009597504, 0.16559608, 0.11873942, -0.13425362, -0.20407131) * go_3(-1.0, 1.0);
result += mat4(-0.036280643, -0.06241548, 0.06455707, 0.049787894, -0.034338452, -0.09344071, 0.03835458, -0.006981486, -0.14018786, -0.011602153, 0.031711817, 0.14739467, -0.086071335, -0.02941477, -0.1331472, -0.1407458) * go_3(0.0, -1.0);
result += mat4(-0.363801, -0.3426056, 0.43446818, 0.14184493, -0.043009415, 0.12158466, -0.00069684035, 0.016873702, 0.1945484, -0.012431146, -0.011880592, 0.05318626, 0.009308447, -0.03746046, 0.008252808, 0.19175647) * go_3(0.0, 0.0);
result += mat4(0.028470002, 0.046196483, -0.019992633, -0.022190072, -0.02065911, 0.0012663519, 0.07120167, -0.044254795, -0.10193641, 0.030516576, 0.02787046, -0.04924085, -0.049268037, -0.07700933, -0.07501593, 0.024738712) * go_3(0.0, 1.0);
result += mat4(0.030772889, 0.085558966, 0.010656247, -0.052993905, 0.092419, 0.011421665, -0.010418454, 0.11450772, 0.05909975, 0.04161958, -0.057470143, -0.030408699, 0.034243915, 0.018652268, 0.037665583, -0.10579696) * go_3(1.0, -1.0);
result += mat4(0.033843916, -0.052055147, -0.0061939596, 0.14933237, -0.021384299, -0.11220086, 0.16817182, 0.07226995, -0.0019460522, 0.037093364, 0.006299001, -0.012791559, 0.07793023, 0.016396904, -0.17646463, 0.03107925) * go_3(1.0, 0.0);
result += mat4(-0.079229996, -0.08031799, 0.074023575, 0.094321184, 0.107194535, 0.002679795, 0.01696248, 0.022019532, -0.060462113, -0.12410458, 0.09164494, 0.04465332, -0.036993235, -0.04089986, 0.07887512, 0.03705818) * go_3(1.0, 1.0);
result += mat4(0.023879867, 0.029037073, 0.031775165, -0.012534231, -0.061297957, -0.12414688, -0.0061589857, 0.09904923, -0.015112107, 0.0025069374, -0.05153491, -0.06716497, -0.049514554, -0.035703696, 0.04182817, 0.06708679) * go_4(-1.0, -1.0);
result += mat4(-0.02001713, -0.14557798, 0.032613203, 0.20243393, -0.013130612, -0.1395011, 0.03946799, -0.07323916, 0.07356177, 0.046725225, 0.05240954, -0.025315452, -0.06705972, 0.010152784, 0.005582486, -0.010632767) * go_4(-1.0, 0.0);
result += mat4(0.01107158, 0.14361717, -0.01027669, -0.06977661, -0.015506498, -0.08009711, -0.049369916, 0.013256896, 0.09607297, 0.047628637, -0.004883173, -0.030504778, -0.021422993, 0.06514191, -0.057140954, -0.019981224) * go_4(-1.0, 1.0);
result += mat4(0.047159072, 0.034381762, 0.14981769, -0.043645702, -0.124827474, 0.012525535, -0.0054960474, 0.1405509, 0.074576266, -0.021097016, 0.018321652, -0.056906573, 0.06499063, -0.0019109225, 0.08374337, -0.010492324) * go_4(0.0, -1.0);
result += mat4(0.08373692, 0.15187778, -0.27014562, -0.17400904, -0.049838763, -0.22245635, 0.00080737704, 0.024572477, -0.36345053, 0.02694741, 0.057404008, 0.18956926, 0.26063764, 0.0007533811, -0.04845999, -0.10193579) * go_4(0.0, 0.0);
result += mat4(-0.15060706, -0.17832954, 0.22891277, 0.082172275, 0.25026387, 0.10119867, -0.023256555, -0.025888028, -0.009437122, -0.063439816, 0.15555051, -0.050157774, 0.094762266, 0.03019711, -0.11379254, 0.018478116) * go_4(0.0, 1.0);
result += mat4(-0.12000546, -0.022537604, 0.07280972, 0.16499762, 0.008056701, 0.066467926, -0.06497226, -0.15862136, 0.058946434, -0.0063008643, 0.041846216, -0.061596587, -0.13342406, -0.112567835, 0.06944396, 0.056088146) * go_4(1.0, -1.0);
result += mat4(-0.030962473, -0.18805887, 0.2126654, -0.0027007672, -0.00648651, 0.079722315, -0.1538599, -0.07296181, -0.036658805, -0.09059722, 0.05471986, 0.08511789, 0.0007401954, 0.16351995, 0.05114691, -0.14328448) * go_4(1.0, 0.0);
result += mat4(0.04927504, 0.041177347, -0.02346726, 0.024012934, -0.317856, -0.2841823, 0.19005524, 0.15457007, 0.087196484, 0.08966383, -0.13495699, -0.022624519, -0.062964186, -0.026302189, -0.030058028, 0.05569484) * go_4(1.0, 1.0);
result += mat4(-0.21256535, -0.1256674, 0.04386876, 0.02686491, 0.07546727, 0.07505862, 0.020523047, -0.0647109, -0.0045183306, -0.06722965, -0.10788707, 0.045738406, -0.07110149, 0.08297262, -0.0027526245, -0.11636714) * go_5(-1.0, -1.0);
result += mat4(-0.104496345, -0.07810094, 0.013820034, 0.047616083, 0.061721217, -0.05070667, -0.0873486, 0.08213846, 0.005749702, 0.019383933, 0.008758534, -0.041487392, -0.04724564, -0.09108384, -0.11880328, 0.009947664) * go_5(-1.0, 0.0);
result += mat4(0.030759938, -0.032979824, -0.047346096, -0.013302729, -0.14408723, 0.042521305, -0.010729574, -0.053680096, 0.068864316, -0.017572708, -0.10045359, 0.0049988613, -0.0895897, 0.091285735, -0.18951705, -0.09892183) * go_5(-1.0, 1.0);
result += mat4(0.038478836, -0.081761025, -0.08195131, 0.12914582, -0.12002848, -0.110520326, -0.09566576, 0.018972868, 0.040712226, -0.05793596, -0.0919947, 0.0019073535, -0.049140133, -0.028056612, -0.08551121, 0.012700745) * go_5(0.0, -1.0);
result += mat4(0.17331201, 0.13677491, -0.04997954, 0.09988764, -0.089485645, -0.04612224, 0.13600495, -0.13690437, -0.102481514, -0.14464565, 0.12109368, 0.23495875, -0.06111496, -0.10306756, 0.034698345, 0.15709037) * go_5(0.0, 0.0);
result += mat4(-0.012643798, 0.063074, -0.058778394, -0.056396093, -0.05438093, -0.015130332, 0.03852182, 0.11763278, 0.035115402, -0.05682689, -0.12658226, -0.04988596, 0.048134044, -0.19865042, 0.109279566, 0.10423599) * go_5(0.0, 1.0);
result += mat4(0.10583719, 0.0113163935, -0.0031981077, -0.028149163, 0.045971226, 0.036225725, -0.06085606, 0.043069858, -0.08121652, -0.23354004, 0.13699675, -0.060893144, 0.05221622, 0.11881476, -0.0659965, -0.14909789) * go_5(1.0, -1.0);
result += mat4(0.040611804, -0.10602289, -0.03361772, -0.04883893, -0.028734764, 0.05173029, 0.036734596, 0.19996317, -0.0009807746, -0.0415771, 0.008758702, 0.034872107, 0.0172699, 0.08084259, -0.06105373, 0.04255928) * go_5(1.0, 0.0);
result += mat4(0.015299113, 0.051659316, -0.046948556, -0.003954264, -0.005800563, 0.021443516, 0.0071085985, 0.0038653556, -0.012855212, 0.13058828, -0.07044971, -0.12981774, -0.065569706, -0.098080546, 0.060221337, -0.02267232) * go_5(1.0, 1.0);
result += mat4(0.021925988, 0.0033903953, -0.038551815, 0.022253161, -0.08025514, 0.010705209, 0.01990159, -0.010836922, -0.100784704, -0.020371707, -0.003533104, -0.014453031, -0.09296767, 0.114152946, -0.09816377, -0.05605566) * go_6(-1.0, -1.0);
result += mat4(0.024052007, 0.0076485197, -0.014629995, 0.06683915, 0.07951316, 0.021709364, -0.037089862, -0.020869136, -0.11817369, 0.03075232, -0.03773024, -0.07258729, 0.10942977, -0.013703647, -0.0042897686, -0.04358183) * go_6(-1.0, 0.0);
result += mat4(-0.0046099517, -0.05240763, -0.015601794, 0.010184972, 0.01799307, -0.039324455, 0.05117223, -0.036190648, -0.09316509, 0.004145605, 0.11233925, -0.023034701, -0.09088562, 0.06628762, -0.01225783, -0.0012409297) * go_6(-1.0, 1.0);
result += mat4(0.032804858, -0.17500286, 0.00961667, -0.017876368, 0.028494174, 0.069435544, -0.015773311, 0.023463074, 0.0015966955, 0.13775815, 0.020481227, -0.025414297, 0.14772649, 0.12043967, -0.0628352, -0.104317315) * go_6(0.0, -1.0);
result += mat4(0.10589171, 0.010616621, -0.0555519, -0.0795588, -0.02541814, -0.061566357, -0.06662627, 0.1196147, 0.15489292, 0.034945585, -0.16369933, 0.021373538, -0.2541264, -0.44340774, 0.47674945, 0.171201) * go_6(0.0, 0.0);
result += mat4(0.028510967, 0.014371279, -0.103142746, -0.010580394, 0.0010098416, 0.0076248804, -0.07597531, -0.022805681, -0.05487249, -0.05104925, 0.05199367, 0.13347325, -0.08393004, -0.0701232, -0.08901793, -0.042123932) * go_6(0.0, 1.0);
result += mat4(-0.026462447, -0.10791574, 0.05057912, 0.036235824, -0.011467163, 0.019233258, -0.025482355, -0.15424, -0.057926964, 0.10093948, -0.01392631, -0.040162254, -0.059321795, -0.05425772, -0.05438917, -0.033259034) * go_6(1.0, -1.0);
result += mat4(0.0011889589, -0.023323996, -0.0613446, -0.115895376, 0.050403714, -0.02889743, -0.059284817, -0.07242897, -0.0028701979, 0.04654718, -0.06953315, -0.03487799, -0.05999425, 0.09813447, -0.10942578, -0.13293572) * go_6(1.0, 0.0);
result += mat4(-0.10951783, -0.082228996, 0.09871249, 0.097529456, 0.08310757, 0.03422834, 0.047492176, -0.06874066, -0.0759589, -0.0033077076, -0.0024196375, 0.023463583, -0.014742949, -0.034303434, 0.04273789, -0.0164727) * go_6(1.0, 1.0);
result += mat4(-0.08497372, 0.019795286, -0.015950322, -0.057297662, -0.0223747, -0.009376575, 0.043156173, -0.01271999, -0.07724598, -0.0540987, 0.1987636, 0.076389305, -0.094129756, -0.042982556, 0.07314102, -0.013628902) * go_7(-1.0, -1.0);
result += mat4(0.03750869, 0.07698087, -0.117014386, -0.05225745, 0.11294297, -0.031999957, 0.03704065, -0.021167262, -0.0862934, -0.06753798, 0.19105913, 0.10699714, 0.04170076, 0.072142765, -0.10197827, -0.1055865) * go_7(-1.0, 0.0);
result += mat4(-0.013107477, 0.09128649, -0.05787237, -0.049287997, -0.07878871, 0.019254869, -0.07480948, 0.07593456, 0.057818025, 0.05763952, -0.031697746, 0.0056809774, -0.01645009, -0.10795878, 0.0865629, -0.030644817) * go_7(-1.0, 1.0);
result += mat4(0.115899526, 0.055816144, -0.016174385, -0.02820764, -0.05774452, 0.01875526, -0.11483548, -0.027121585, -0.0046210997, -0.0051070275, 0.23290497, 0.19008842, 0.010742899, 0.04031036, 0.07566202, 0.11333676) * go_7(0.0, -1.0);
result += mat4(-0.12043958, -0.28603542, 0.06397322, 0.13864613, 0.21166763, 0.14297609, -0.18247512, -0.1454749, -0.11123017, 0.1410923, -0.11315098, -0.17875485, -0.043366186, 0.07890019, 0.03153579, -0.03690313) * go_7(0.0, 0.0);
result += mat4(0.066808365, 0.102260545, -0.1077725, -0.07374767, 0.04282324, -0.02484866, -0.09705394, 0.047179155, 0.03058672, -0.11111413, -0.080625035, 0.024875682, -0.043648057, 0.04860828, 0.05114606, 0.08051415) * go_7(0.0, 1.0);
result += mat4(-0.0186498, -0.050304867, 0.0034133345, -0.10127962, -0.037291683, -0.090286255, 0.081160225, 0.016121808, 0.07449416, 0.09616372, -0.11090895, -0.15756927, 0.05957192, 0.0053342422, -0.05972524, 0.07521942) * go_7(1.0, -1.0);
result += mat4(-0.03800213, 0.05256445, -0.022509284, 0.008419448, -0.08595732, 0.0037854793, -0.050306506, -0.057507675, -0.19598673, -0.063246034, -0.15284, 0.13269582, -0.025323318, 0.016622456, 0.021527806, -0.1195862) * go_7(1.0, 0.0);
result += mat4(0.008493042, 0.056067012, -0.031050796, -0.06514964, -0.06500391, -0.02649145, 0.08311761, 0.0028549077, 0.0029055455, -0.08504145, 0.19540878, 0.14506, 0.100824416, -0.025171654, -0.018510107, -0.06984087) * go_7(1.0, 1.0);
result += vec4(0.02732881, 0.021604052, -0.03920548, 0.013156768);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv0ups
//!BIND conv0ups1
//!BIND conv0ups2
//!BIND conv0ups3
//!SAVE conv1ups2
//!WIDTH conv0ups.w 4 *
//!HEIGHT conv0ups.h 4 *
//!COMPONENTS 4
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_4(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_5(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_6(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
#define go_7(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.5)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.0338484, 0.065554306, 0.022499017, -0.07193342, 0.009319206, -0.019622665, -0.0022854384, 0.06722955, -0.037171688, 0.21049353, -0.12840205, 0.004924503, -0.025024865, 0.25844762, -0.16657548, 0.019917585) * go_0(-1.0, -1.0);
result += mat4(-0.0024739709, 0.05143312, -0.07328386, 0.04066767, 0.030474328, -0.012129753, 0.018400962, 0.029891983, 0.05170059, 0.10843976, 0.03255985, 0.032410163, -0.07313554, 0.035621487, -0.09497017, -0.04373978) * go_0(-1.0, 0.0);
result += mat4(-0.033401582, -0.040989492, 0.020176526, -0.02860895, 0.048755184, -0.11871396, -0.06562844, -0.012969062, -0.113225095, 0.20629893, -0.008754771, -0.08881375, -0.0021345627, -0.1245763, -0.079098016, -0.05463282) * go_0(-1.0, 1.0);
result += mat4(0.1397842, 0.025592009, 0.08919784, -0.0018412827, -0.09593857, -0.044012453, 0.05244065, 0.0018048901, 0.03681817, -0.05537194, 0.11957837, 0.08423482, -0.032438703, 0.013607357, 0.007749519, 0.03162995) * go_0(0.0, -1.0);
result += mat4(0.10553414, -0.049609825, 0.10316826, -0.0030610282, 0.018270468, -0.061325338, -0.114640795, 0.07834803, -0.19039996, -0.06895166, -0.28123093, -0.1568968, 0.00084810314, 0.12037387, 0.18976732, -0.012560539) * go_0(0.0, 0.0);
result += mat4(-0.029349862, -0.039899964, -0.028504632, -0.028814254, 0.019151794, 0.010422004, 0.07810853, -0.013528557, -0.023518454, -0.068328835, 0.07349284, 0.0042851837, 0.32870826, -0.26289937, 0.072471805, -0.006485071) * go_0(0.0, 1.0);
result += mat4(-0.114259824, -0.038230922, -0.0142895905, 0.02450442, -0.07750744, -0.017409299, 0.025817273, -0.08860796, 0.187305, 0.088102676, 0.045698132, -0.03222616, -0.05683522, -0.18788742, -0.09507957, 0.022035798) * go_0(1.0, -1.0);
result += mat4(0.11263524, 0.06584172, -0.02255806, -0.020872615, -0.15806857, 0.018830763, -0.14352055, 0.11724111, 0.045604244, 0.07796575, 0.027300917, 0.0031999366, -0.04194185, 0.14252312, 0.078917086, 0.036697272) * go_0(1.0, 0.0);
result += mat4(-0.052083753, 0.09808133, -0.009411908, 0.11982238, -0.040272884, 0.04083718, 0.038824633, -0.17214175, 0.11966622, -0.054194614, 0.036954165, 0.013423128, 0.0063084476, -0.12937415, -0.019893749, 0.034319002) * go_0(1.0, 1.0);
result += mat4(0.035393953, 0.14025599, 0.00991204, 0.0072391164, 0.05766178, -0.049370795, -0.12962799, 0.020646155, 0.042220477, 0.029985424, 0.057119016, 0.040771853, -6.174299e-05, 0.09748859, -0.03377361, 0.002246882) * go_1(-1.0, -1.0);
result += mat4(-0.21506493, -0.09882148, 0.055594433, -0.06410465, 0.015674507, 0.08875788, -0.0006478795, -0.04977159, 0.22082454, -0.23415801, -0.08875935, 0.018581826, -0.038377263, 0.10177655, 0.083047464, -0.032258555) * go_1(-1.0, 0.0);
result += mat4(-0.0064842016, 0.0696411, -0.039478038, 0.04577863, 0.09780145, 0.028456237, -0.027617568, 0.04454641, 0.052396413, -0.018456027, 0.006240904, 0.07230352, -0.064150326, -0.03366613, -0.07332717, 0.053449873) * go_1(-1.0, 1.0);
result += mat4(0.023726959, -0.01828639, -0.007445437, 0.04195106, 0.008480755, 0.09939679, 0.0056850864, -0.031904347, -0.1588084, 0.08464271, 0.056286097, 0.06798317, -0.116808765, 0.030872507, 0.13454725, -0.07143643) * go_1(0.0, -1.0);
result += mat4(-0.01810022, -0.09620326, -0.07751335, -0.22906737, -0.1846048, 0.082176685, 0.012124299, -0.12939751, -0.27217293, 0.33110878, 0.084210694, 0.14638188, 0.1365236, -0.15294541, -0.0886321, 0.104566276) * go_1(0.0, 0.0);
result += mat4(0.012840808, 0.0013052316, -0.032042626, 0.081946686, -0.047170527, 0.034932077, 0.03316669, -0.051371098, 0.124509424, -0.018540544, -0.0003837269, 0.022210114, 0.055204254, -0.013787497, -0.014764483, -0.15336047) * go_1(0.0, 1.0);
result += mat4(0.012599393, 0.17533247, 0.022991834, -0.03211304, -0.020345578, 0.113983504, 0.014632539, -0.05887958, -0.15806466, -0.09464611, -0.04534859, -0.12347738, -0.1520882, 0.011230014, 0.004455861, -0.14973375) * go_1(1.0, -1.0);
result += mat4(-0.065917194, -0.035512056, 0.031102693, 0.060933307, -0.02593658, -0.109777324, -0.032401618, 0.13028993, -0.020557994, -0.117559545, 0.08317679, -0.23354602, -0.01592865, 0.15928279, 0.08244633, 0.1479819) * go_1(1.0, 0.0);
result += mat4(-0.010819472, 0.075779155, -0.019519886, 0.102649584, 0.014980766, 0.019251958, -0.011685782, -0.034067437, 0.031849053, -0.0682728, 0.01790959, 0.037713315, -0.08211083, -0.19022603, -0.11798944, -0.016174912) * go_1(1.0, 1.0);
result += mat4(0.08153453, -0.033585638, -0.05805481, 0.08109556, -0.09689133, -0.13055512, 0.0020046325, -0.0029349518, -0.059510633, 0.15292683, -0.028793702, 0.10537188, -0.11035281, -0.033447333, -0.05262533, 0.009009325) * go_2(-1.0, -1.0);
result += mat4(0.086087056, -0.14889634, 0.042120934, -0.06588642, 0.1940191, 0.012082308, 0.08089485, -0.041559532, -0.03492583, 0.1454766, 0.15322363, -0.056349102, -0.008337302, -0.11122289, 0.08725018, -0.041136846) * go_2(-1.0, 0.0);
result += mat4(-0.07462607, -0.1379561, 0.111250386, 0.00933672, -0.075622365, 0.09021725, -0.020666929, 0.08124079, 0.017696096, 0.0752183, -0.14648217, 0.03699762, 0.05343026, 0.041577548, 0.04425649, 0.038728572) * go_2(-1.0, 1.0);
result += mat4(-0.28092107, 0.014610808, 0.031096937, -0.047036063, 0.07267492, 0.10750966, 0.037799418, 0.0427444, 0.065877795, -0.1897678, -0.10701984, 0.056794036, 0.09691212, -0.079896726, -0.16408308, -0.06213223) * go_2(0.0, -1.0);
result += mat4(0.102322266, -0.042147823, -0.005965635, 0.115143105, 0.032525055, 0.11558508, 0.039382882, 0.013844102, -0.30971003, -0.1787396, 0.17922688, 0.109392576, -0.20874697, 0.3574331, 0.09885736, 0.0124685895) * go_2(0.0, 0.0);
result += mat4(-0.07606679, 0.044524554, -0.204831, 0.018925387, 0.043661278, -0.09994074, -0.047482055, -0.076295644, -0.13582784, 0.021150025, 0.07623231, -0.2527894, -0.044508826, -0.1361137, -0.052458636, 0.0060945638) * go_2(0.0, 1.0);
result += mat4(-0.24358742, -0.19750693, -0.03287655, -0.09131948, -0.14900212, 0.094384186, -0.06253741, -0.07731997, -0.019795047, 0.18039484, 0.022465153, 0.08112141, -0.07019665, -0.11493766, 0.031531274, 0.13177846) * go_2(1.0, -1.0);
result += mat4(-0.0028166103, 0.026403846, 0.07810358, 0.075667195, 0.054464176, 0.11381084, -0.030715328, 0.047939852, -0.07111295, -0.06292313, -0.013460788, 0.11503772, 0.02669688, -0.021964677, 0.07739555, -0.0881556) * go_2(1.0, 0.0);
result += mat4(0.054037657, 0.066638805, 0.018380845, -0.16307901, -0.033807877, 0.040921956, 0.054057736, -0.008528517, 0.06167168, -0.013450273, -0.060173254, 0.09289553, -0.014110446, 0.024162242, 0.0072062127, 0.0926438) * go_2(1.0, 1.0);
result += mat4(-0.11985171, 0.2359919, 0.0144552775, 0.029399775, -0.03222405, 0.07396268, 0.062363308, 0.044030357, -0.06955766, 0.059913747, -0.022207176, -0.10455009, -0.060708135, -0.06720781, 0.16230921, -0.030470075) * go_3(-1.0, -1.0);
result += mat4(0.07268368, -0.037689302, -0.0006378789, 0.051688604, -0.019494677, -0.017889218, 0.05410681, -0.040959217, -0.06665803, -0.052186687, -0.011745927, 0.065545335, 0.022045728, -0.20375493, -0.21016856, -0.06762163) * go_3(-1.0, 0.0);
result += mat4(-0.040465668, 0.083778955, 0.013434762, 0.038755294, -0.03848534, 0.17731902, -0.14471298, 0.05322156, 0.03127178, -0.08950242, 0.030044436, 0.01130042, -0.095673226, -0.04327992, 0.17350353, -0.007612962) * go_3(-1.0, 1.0);
result += mat4(0.04460292, -0.0031078972, 0.09711241, -0.06866971, -0.09262918, -0.084769346, 0.044754326, -0.10665114, 0.031228391, 0.0043790033, 0.03309391, 0.012486857, 0.23425025, 0.18271132, 0.1578141, -0.010678736) * go_3(0.0, -1.0);
result += mat4(-0.23845, 0.0423187, -0.12128633, -0.05818152, 0.13192599, -0.17009136, 0.04724319, 0.16300885, -0.060048696, -0.12740998, -0.05801625, 0.09705509, -0.054194454, -0.045284186, -0.1337804, -0.10992719) * go_3(0.0, 0.0);
result += mat4(0.1269832, -0.00020299156, 0.009369462, -0.037925567, 0.06473351, -0.053221237, -0.023879515, -0.007609877, 0.03754909, -0.048159488, -0.0023679247, -0.09056524, 0.16713028, 0.031278312, 0.056081764, -0.01342129) * go_3(0.0, 1.0);
result += mat4(-0.006760647, -0.09083782, 0.04076341, 0.094751135, -0.11061844, 0.11762189, -0.029435495, -0.035688248, 0.01733549, 0.006295947, 0.07678848, 0.011829498, 0.13984568, 0.094927594, -0.016725674, 0.08158711) * go_3(1.0, -1.0);
result += mat4(-0.1407642, -0.007187024, 0.018776545, -0.020115253, -0.12947425, 0.015566826, -0.06499993, 0.08037844, -0.017578483, -0.16355678, -0.028960422, 0.05753649, 0.031915013, 0.011823553, 0.1314363, 0.06283287) * go_3(1.0, 0.0);
result += mat4(-0.13424446, 0.03710137, -0.001757102, 0.03187992, 0.009409756, 0.047699206, -0.047759157, -0.010402033, -0.023234572, 0.17230392, 0.05499921, -0.10467258, -0.072978646, -0.11991742, -0.04271921, 0.16269293) * go_3(1.0, 1.0);
result += mat4(-0.0068589947, -0.26210552, -0.028049361, 0.0508914, -0.06342279, -0.017710757, -0.10827407, -0.04158776, 0.010000253, 0.13532205, -0.029077342, -0.008479235, -0.017489685, 0.014850057, 0.10131407, -0.106664196) * go_4(-1.0, -1.0);
result += mat4(-0.05549442, 0.09201339, -0.02593227, 0.012624096, -0.13465008, 0.16814372, 0.041814398, -0.04289135, -0.008671042, -0.20095816, 0.020371959, 0.008665319, -0.011442868, -0.1494836, -0.010815872, 0.0009426651) * go_4(-1.0, 0.0);
result += mat4(-0.047082372, 0.11580641, 0.03437082, -0.0026988252, -0.090915054, 0.08479583, -0.027014773, 0.054158032, 0.08011723, 0.12726231, 0.094610505, -0.04432765, -0.043526918, 0.08176591, 0.023957808, 0.039001796) * go_4(-1.0, 1.0);
result += mat4(-0.037610386, -0.1495413, -0.027353996, -0.032410443, 0.022113096, 0.019668896, 0.025676545, 0.08550669, -0.007179362, 0.111334786, 0.08080671, -0.05753153, 0.031270105, -0.1425512, -0.09165007, 0.01756688) * go_4(0.0, -1.0);
result += mat4(0.22160032, 0.13278869, 0.04946508, -0.061732106, -0.19966283, 0.19398785, -0.061616797, -0.1682507, -0.062497444, -0.020768918, -0.06906264, 0.043145705, 0.06686389, 0.049333394, 0.06813221, 0.012300859) * go_4(0.0, 0.0);
result += mat4(-0.18407853, 0.097527325, -0.08464557, 0.007581164, -0.12695311, 0.14365268, 0.06944541, -0.028422976, -0.08575999, -0.039222028, -0.1065246, 0.09277164, 0.064852476, -0.010674806, -0.039577603, 0.038126856) * go_4(0.0, 1.0);
result += mat4(-0.18967858, 0.07602103, -0.0452525, -0.005815137, 0.064602256, 0.19784397, -0.06377635, 0.10113932, -0.084867395, 0.09198673, -0.03678686, -0.04831252, 0.021673752, -0.063052855, 0.030094262, 0.008151946) * go_4(1.0, -1.0);
result += mat4(-0.17149659, 0.20685393, -0.037902117, -0.012043228, -0.004601577, 0.07037727, 0.0036602912, -0.13277285, -0.07140659, -0.100629926, -4.176998e-05, 0.0071237916, 0.08050488, -0.0037456674, -0.037059076, 0.022898288) * go_4(1.0, 0.0);
result += mat4(0.08819892, -0.01620132, -0.08606113, -0.046711806, -0.22001751, -0.052349057, -0.042775627, 0.11901976, 0.009456978, 0.13828641, 0.031084664, -0.014549527, -0.07343933, -0.120635025, -0.0549436, -0.091890045) * go_4(1.0, 1.0);
result += mat4(-0.03245801, -0.03380752, -0.19868882, 0.002510671, -0.07583146, 0.14605276, 0.03508497, 0.000112569716, 0.0203838, 0.074883066, 0.048457384, -0.03624031, 0.017366555, -0.025235461, 0.011553053, -0.0044929474) * go_5(-1.0, -1.0);
result += mat4(-0.0077082603, 0.043983724, 0.08835361, 0.030281665, -0.024455173, 0.13851254, 0.036828175, 0.013134612, 0.046743285, -0.10766694, 0.065832436, 0.0038662716, -0.043496363, -0.08309659, -0.08094711, 0.0848714) * go_5(-1.0, 0.0);
result += mat4(0.013103031, -0.12286342, -0.055714123, 0.01786344, 0.049958743, -0.06488927, 0.023186902, -0.0106724445, 0.04120055, -0.11552327, 0.101330966, -0.0006924794, -0.0020777578, 0.21546337, 0.0018756012, -0.08498371) * go_5(-1.0, 1.0);
result += mat4(-0.033325154, -0.08459969, 0.112720825, 0.00675488, 0.0040757647, -0.18720984, -0.031401563, 0.037159648, 0.1575527, -0.041114517, -0.17869847, 0.07061165, -0.04131886, 0.006737727, 0.07336905, -0.0008500361) * go_5(0.0, -1.0);
result += mat4(-0.07215131, 0.21968116, 0.059645798, 0.18761322, -0.07151226, -0.071514666, -0.08546688, -0.19312736, -0.017145814, 0.17245525, -0.1206946, -0.15861532, 0.013621306, -0.07887318, -0.14993054, -0.11080947) * go_5(0.0, 0.0);
result += mat4(0.017518861, 0.030952519, 0.016827656, -0.03837562, 0.07341383, -0.048610494, 0.050820123, 0.031829312, -0.10208572, 0.017096514, 0.011909018, 0.17583928, -0.1004084, 0.08367472, 0.087540604, 0.14205597) * go_5(0.0, 1.0);
result += mat4(0.061692897, -0.06249078, -0.07515134, 0.041771267, -0.02176024, -0.021748755, 0.048541967, 0.0799106, 0.004964116, -0.009022794, -0.090804085, 0.039782178, 0.14221238, 0.13084048, -0.02012579, 0.053085294) * go_5(1.0, -1.0);
result += mat4(0.073503084, 0.12030335, 0.016867403, -0.100202195, 0.08033366, 0.11290384, -0.024811089, 0.14120121, -0.029295236, 0.011535982, -0.009586436, 0.023111636, 0.11733249, -0.05684811, -0.021229435, -0.014981166) * go_5(1.0, 0.0);
result += mat4(-0.0028471397, -0.15393218, -0.03991392, -0.046677485, -0.034202207, 0.07922862, 0.024672583, -0.018478299, 0.10676781, 0.19975203, 0.09829708, 0.030875562, -0.08323281, 0.1287575, 0.007982256, 0.012422479) * go_5(1.0, 1.0);
result += mat4(0.00792915, 0.11354015, 0.017034046, -0.033009302, 0.07262295, 0.014038035, 0.027686022, -0.05569358, 0.04937052, -0.011838218, -0.017620115, -0.023960475, 0.089869, 0.12609829, -0.14517121, -0.009979609) * go_6(-1.0, -1.0);
result += mat4(0.019373287, 0.0037227296, 0.06739467, 0.0411633, -0.079600014, -0.20017749, -0.02489001, 0.038435437, -0.0169052, -0.076866195, -0.12707292, -0.013147386, 0.08209406, 0.06460137, 0.0038622238, 0.023936275) * go_6(-1.0, 0.0);
result += mat4(-0.026064714, 0.14228158, 0.02997548, 0.017698815, -0.05878976, -0.025017649, 0.04031136, -0.06725938, 0.07552142, -0.03974361, -0.045101356, -0.05215901, -0.08304946, -0.012352627, -0.005432024, -0.07347573) * go_6(-1.0, 1.0);
result += mat4(0.08631798, 0.0059085204, -0.000113723494, 0.0136576705, 0.04475684, -0.08430876, 0.1027275, -0.007361284, 0.041882366, 0.15399557, 0.04095392, 0.026290612, -0.0145415, -0.060129408, 0.008640187, 0.017547447) * go_6(0.0, -1.0);
result += mat4(-0.07755721, -0.023862703, -0.12206824, -0.07903689, 0.020078411, -0.18405053, -0.23792996, 0.082826346, -0.0028775565, 0.22255163, -0.0033731712, -0.070980065, -0.31968543, 0.19510844, -0.050848253, -0.030311922) * go_6(0.0, 0.0);
result += mat4(0.07346858, 0.051935203, -0.026379986, -0.024370745, 0.024842456, -0.061906833, 0.0648532, 0.07545226, -0.17644612, 0.13334613, -0.0035676474, 0.08756031, -0.0045107, 0.029391827, 0.09687544, -0.039636135) * go_6(0.0, 1.0);
result += mat4(0.13012199, 0.11310699, 0.0153783355, 0.14073592, 0.1159848, 0.0032372207, 0.013842089, 0.11203719, 0.052464556, -0.038527843, 0.06364611, -0.0014865476, 0.17000985, -0.002907841, 0.002437505, -0.13002418) * go_6(1.0, -1.0);
result += mat4(-0.055245295, 0.04185124, 0.00037150137, -0.09770801, -0.05064562, -0.10450231, 0.12021894, -0.09199362, 0.07554563, -0.039503135, -0.033728927, -0.07260611, 0.0153599335, -0.08457373, -0.028576847, 0.042632796) * go_6(1.0, 0.0);
result += mat4(-0.044485796, 0.037724104, 0.041926168, 0.006704794, -0.07147152, 0.013727192, 0.011708799, -0.04588657, 0.066578485, -0.10720429, -0.0730237, 0.04708655, 0.052229885, -0.044047564, 0.07113318, -0.030633615) * go_6(1.0, 1.0);
result += mat4(0.07849379, -0.04046586, -0.07431907, -0.03731069, 0.0049431417, -0.0903937, 0.024687393, -0.017909456, 0.06637542, -0.16175899, -0.02460091, 0.05987552, 0.09738359, 0.0064948746, -0.0138260815, 0.049470525) * go_7(-1.0, -1.0);
result += mat4(-0.032993518, -0.018154949, 0.058810174, -0.016374158, 0.042725, 0.21160744, 0.097916126, 0.04984194, 0.01650177, 0.06883078, 0.1381874, -0.08069465, -0.13565733, 0.20012212, -0.022712095, -0.0380238) * go_7(-1.0, 0.0);
result += mat4(0.03148708, 0.0965706, -0.025645912, -0.023996383, -0.036854897, 0.054054458, -0.16218668, -0.00390272, -0.096665986, 0.07244674, -0.096268326, 0.12596634, -0.0054489775, 0.018738326, -0.051350895, -0.1423746) * go_7(-1.0, 1.0);
result += mat4(0.0489154, 0.034897592, 0.026298728, 0.1030706, 0.021691274, -0.13979298, -0.10044236, 0.09618537, -0.3756147, 0.19392237, 0.043701947, 0.0372157, -0.19100708, 0.03706645, -0.052757483, 0.011999661) * go_7(0.0, -1.0);
result += mat4(-0.26170048, 0.00018108879, -0.21298628, -0.03632615, 0.20709798, 0.06626491, -0.09643573, -0.07262732, 0.08431118, 0.13428009, 0.08195883, -0.013723568, -0.016745638, 0.007309863, 0.09061577, 0.13009012) * go_7(0.0, 0.0);
result += mat4(0.00415379, 0.006674434, 0.11022577, 0.106347226, -0.017565781, 0.047206245, 0.099264786, -0.15451689, 0.16980271, 0.001391259, -0.17169356, 0.028775409, -0.004397513, 0.077122204, 0.010226694, 0.023086183) * go_7(0.0, 1.0);
result += mat4(-0.023648756, 0.15455274, -0.11006288, -0.074025065, 0.0423713, -0.08764005, 0.055211913, 0.04732732, -0.0048447615, 0.3040946, 0.20046064, -0.10624875, -0.10706571, -0.0002826197, -0.06487796, -0.062007286) * go_7(1.0, -1.0);
result += mat4(0.017490221, 0.030333612, -0.0015039118, -0.039954375, -0.016329238, -0.04124172, 0.0694377, -0.029093096, 0.17286836, -0.18490317, -0.2606389, -0.13979673, 0.0012922491, 0.02181941, -0.023836609, -0.05584063) * go_7(1.0, 0.0);
result += mat4(0.099456415, -0.024694387, -0.00025692413, -0.070630156, -0.07398711, -0.008068556, 0.053319667, 0.102825016, -0.16989474, 0.10998221, -0.053715512, 0.27778512, 0.09010463, -0.033159524, -0.06116807, -0.086112395) * go_7(1.0, 1.0);
result += vec4(0.023720283, -0.050228078, 0.017233998, 0.0038643035);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x4-(UL)-Conv-3x3x3x24
//!HOOK MAIN
//!BIND MAIN
//!BIND conv1ups
//!BIND conv1ups1
//!BIND conv1ups2
//!SAVE MAIN
//!WIDTH conv1ups.w
//!HEIGHT conv1ups.h
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
#define go_0(x_off, y_off) (max((conv1ups_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max((conv1ups1_texOff(vec2(x_off, y_off))), 0.0))
#define go_2(x_off, y_off) (max((conv1ups2_texOff(vec2(x_off, y_off))), 0.0))
#define go_3(x_off, y_off) (max(-(conv1ups_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv1ups1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv1ups2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.013777687, 0.008274202, 0.015532511, 0.0, 0.023658138, 0.021084072, 0.023679586, 0.0, -0.012574975, -0.0014938707, 0.00061928877, 0.0, -0.026688136, -0.0131240375, -0.029466102, 0.0) * go_0(-1.0, -1.0);
result += mat4(0.0075748703, 0.037946086, 0.049140524, 0.0, 0.010126231, 0.012523378, 0.0071613602, 0.0, 0.0047583925, -0.0031088165, 0.0036479481, 0.0, -0.009168726, -0.020650811, -0.016528934, 0.0) * go_0(-1.0, 0.0);
result += mat4(-0.008073782, -0.020479651, -0.022079756, 0.0, 0.01524409, 0.013631518, 0.004791737, 0.0, -0.003348518, -0.00012732612, -0.0032449244, 0.0, 0.032580297, 0.029008314, 0.029523863, 0.0) * go_0(-1.0, 1.0);
result += mat4(0.005337033, 0.024427935, 0.029425737, 0.0, 0.002468151, 0.0012733386, -0.0011684209, 0.0, 0.002045998, -0.007824469, -0.0075536054, 0.0, -0.0025498376, 0.00059123064, 0.010667408, 0.0) * go_0(0.0, -1.0);
result += mat4(0.07574702, 0.077039376, 0.07525205, 0.0, -0.018930318, -0.0210399, -0.007369101, 0.0, 0.0050703366, 0.009866225, 0.002731688, 0.0, 0.007364458, -0.012537245, -0.010698353, 0.0) * go_0(0.0, 0.0);
result += mat4(0.005033512, 0.0047755903, 0.015485579, 0.0, -0.0076447823, 0.0020293589, 0.00019690525, 0.0, -0.0046711015, -0.01096428, -0.003273942, 0.0, 0.011243453, 0.0026243145, -0.014977678, 0.0) * go_0(0.0, 1.0);
result += mat4(-0.017157702, -0.012480959, -0.014230813, 0.0, -0.006353115, -0.0144039225, -0.0072659636, 0.0, -0.0063480805, -0.0026584982, -0.0028146124, 0.0, -0.014504389, -0.00762131, -0.006355321, 0.0) * go_0(1.0, -1.0);
result += mat4(-0.010236374, 0.0015838058, -0.002143899, 0.0, -0.010755707, 0.0139974225, 0.01655249, 0.0, 0.00724032, 0.003991714, 0.0058728596, 0.0, 0.001585017, -0.005878744, -0.00640518, 0.0) * go_0(1.0, 0.0);
result += mat4(0.017572062, 0.003026812, 0.000502698, 0.0, 0.009834272, -0.0064451154, -0.0037888729, 0.0, 0.0045153787, -0.0040877387, -0.011132165, 0.0, -0.0068930765, 0.0060301176, 0.015776195, 0.0) * go_0(1.0, 1.0);
result += mat4(0.015143155, 0.022271771, 0.034353774, 0.0, 0.0500171, 0.008916114, -0.045639534, 0.0, 0.00028884446, 0.0017308572, 0.00027971982, 0.0, 0.018710924, 0.013322625, 0.013863731, 0.0) * go_1(-1.0, -1.0);
result += mat4(-0.0098540895, 0.009972838, 0.019292414, 0.0, 0.13954006, 0.029867204, 0.042765502, 0.0, -0.014894827, -0.015658824, -0.012828792, 0.0, -0.011597975, -0.011326242, -0.010546538, 0.0) * go_1(-1.0, 0.0);
result += mat4(0.057973996, 0.045629892, 0.035723437, 0.0, -0.03996296, -0.034121662, -0.021559378, 0.0, 0.0015233392, 0.0056360536, 0.005471655, 0.0, 0.015035284, 0.014042433, 0.004807508, 0.0) * go_1(-1.0, 1.0);
result += mat4(-0.019333394, 0.00010878696, 0.020713285, 0.0, 0.067461416, 0.07469616, 0.021785917, 0.0, 0.009209406, -0.00040594328, 0.004494759, 0.0, -0.014130696, 0.0034270098, 0.009287614, 0.0) * go_1(0.0, -1.0);
result += mat4(-0.1766193, -0.13014358, -0.13271952, 0.0, -0.18652712, -0.1799382, -0.19059698, 0.0, 0.008356371, -0.0005271801, -0.0013760106, 0.0, -0.026972191, -0.0041560223, 0.005715922, 0.0) * go_1(0.0, 0.0);
result += mat4(-0.029307544, -0.022682507, -0.027960105, 0.0, 0.10883932, 0.04878273, 0.091446914, 0.0, 0.0020139932, -0.008916592, -0.016010206, 0.0, -0.017582655, -0.011510589, -0.007895361, 0.0) * go_1(0.0, 1.0);
result += mat4(0.078397095, 0.024916336, -0.0019469182, 0.0, -0.10098231, 0.020777855, 0.018642282, 0.0, -0.02282252, 0.001186239, 0.0019293322, 0.0, 0.040787082, 0.020173319, 0.0023912336, 0.0) * go_1(1.0, -1.0);
result += mat4(0.0013556932, 0.015377351, 0.006556408, 0.0, -0.05026192, 0.065591745, 0.11644179, 0.0, -0.0014394359, -0.0027219045, -0.0041813366, 0.0, -0.011724467, -0.003224058, 0.0052535357, 0.0) * go_1(1.0, 0.0);
result += mat4(0.0043969746, -0.0119146835, -0.003386241, 0.0, 0.0020662902, -0.014350566, 0.008487526, 0.0, 0.01943664, 0.0066225696, 0.0050567226, 0.0, 0.004659311, -0.01749611, -0.015248497, 0.0) * go_1(1.0, 1.0);
result += mat4(-0.1691309, 0.010184013, 0.11859181, 0.0, 0.003958968, 0.008296091, -0.0017165234, 0.0, 0.004227455, 0.0044524195, 0.009051095, 0.0, 0.005324176, -0.008613206, -0.021459484, 0.0) * go_2(-1.0, -1.0);
result += mat4(-0.058296386, 0.07744043, -0.13526013, 0.0, -0.0008796793, -0.007680745, -0.0008189206, 0.0, -0.018601, -0.0026164774, 0.0061028446, 0.0, 0.034066506, 0.015997633, 0.015659299, 0.0) * go_2(-1.0, 0.0);
result += mat4(-0.013752101, 0.062634215, 0.082755044, 0.0, 0.005145167, 0.006077453, 0.008487249, 0.0, 0.07188091, 0.06469806, 0.086508684, 0.0, 0.013405896, 0.012214205, 0.02304606, 0.0) * go_2(-1.0, 1.0);
result += mat4(-0.0905373, 0.1511149, 0.0710771, 0.0, 0.0005157405, -0.0008491397, 0.0013561217, 0.0, 0.028786302, 0.010717526, -0.0022970343, 0.0, 0.062324964, 0.044271976, 0.030260865, 0.0) * go_2(0.0, -1.0);
result += mat4(0.30492926, -0.069422945, -0.16390763, 0.0, -0.0043285103, -0.0072050295, -0.0108781895, 0.0, 0.048721083, -0.0105444575, -0.0027602906, 0.0, 0.09317285, 0.053365745, 0.03376728, 0.0) * go_2(0.0, 0.0);
result += mat4(-0.002269356, -0.09357455, -0.0555731, 0.0, 0.009376811, -0.0018466613, -0.004391423, 0.0, -0.07394368, -0.065170325, -0.08395192, 0.0, 0.03500888, 0.01081305, 0.0066718487, 0.0) * go_2(0.0, 1.0);
result += mat4(0.09021336, -0.16636552, 0.025003932, 0.0, 0.01079389, 0.010327037, 0.0060891113, 0.0, -0.017556215, -0.0056941574, -0.005190358, 0.0, -0.041544978, -0.021641703, -0.005560567, 0.0) * go_2(1.0, -1.0);
result += mat4(-0.06582341, 0.032331508, 0.023025641, 0.0, -0.006888802, -0.007366109, -0.009622778, 0.0, 0.057611454, 0.06791491, 0.03548702, 0.0, 0.029741313, -0.02115072, -0.041671865, 0.0) * go_2(1.0, 0.0);
result += mat4(0.07574974, 0.016732352, 0.01046223, 0.0, -0.015716823, -0.0028920243, 0.0018390373, 0.0, -0.18389195, -0.11441643, -0.1055075, 0.0, -0.0729001, -0.03686565, -0.030215835, 0.0) * go_2(1.0, 1.0);
result += mat4(-0.018894525, -0.004167179, -0.014972926, 0.0, 0.012092344, 0.008401433, 0.026395475, 0.0, -0.11119941, -0.012245911, 0.31127214, 0.0, 0.032960866, 0.06049577, 0.08025499, 0.0) * go_3(-1.0, -1.0);
result += mat4(0.017033277, 0.01354686, 0.024140825, 0.0, -0.066371396, -0.035490133, -0.044400524, 0.0, 0.10403552, -0.27156168, 0.18912019, 0.0, 0.017874612, 0.041612815, 0.052246477, 0.0) * go_3(-1.0, 0.0);
result += mat4(-0.014946708, -0.02429106, -0.030985888, 0.0, -0.03691934, -0.042938504, -0.02929483, 0.0, -0.0012160494, 0.13540258, -0.2758294, 0.0, -0.0603928, -0.07772998, -0.09162849, 0.0) * go_3(-1.0, 1.0);
result += mat4(-0.0004002234, -0.0044219927, -0.002135395, 0.0, 0.010293526, 0.027578928, 0.026176201, 0.0, 0.11936805, 0.023629628, -0.28300223, 0.0, 0.017478058, 0.03140593, 0.0192762, 0.0) * go_3(0.0, -1.0);
result += mat4(0.003015146, 0.004462068, 0.0019783478, 0.0, -0.12165661, -0.14695118, -0.09602592, 0.0, -0.027736675, 0.012857005, 0.03344232, 0.0, 0.023552643, 0.027601821, 0.03182792, 0.0) * go_3(0.0, 0.0);
result += mat4(-0.01145948, -0.015722467, -0.02066646, 0.0, 0.02099096, 0.0214942, 0.013058587, 0.0, -0.043419342, 0.18987817, 0.00077238097, 0.0, -0.012187362, -0.01101818, -0.009512806, 0.0) * go_3(0.0, 1.0);
result += mat4(-0.01003496, -0.000550755, 0.012151708, 0.0, -0.016100012, 0.022148406, -0.009785452, 0.0, 0.012985429, -0.042074054, 0.15150712, 0.0, 0.00041122726, -0.009237617, -0.012009606, 0.0) * go_3(1.0, -1.0);
result += mat4(0.016514922, -0.0015444864, 0.0012712386, 0.0, 0.034776885, 0.010597218, -0.0040258956, 0.0, -0.08650466, 0.12591134, -0.08671136, 0.0, -0.004304329, 0.0016138474, 0.0059207603, 0.0) * go_3(1.0, 0.0);
result += mat4(-0.006018593, 0.007623802, 0.0071857506, 0.0, 0.07065304, 0.073321074, 0.04883848, 0.0, 0.079749525, -0.095305495, -0.036576286, 0.0, 0.0053027375, -0.01600088, -0.020379763, 0.0) * go_3(1.0, 1.0);
result += mat4(0.0014353278, 0.009906914, 0.00056570594, 0.0, -0.021885807, -0.008028124, -0.001742557, 0.0, 0.08700665, 0.095830224, 0.10490807, 0.0, -0.0048933295, -0.07625389, -0.061595775, 0.0) * go_4(-1.0, -1.0);
result += mat4(0.02125275, 0.0009857428, -0.00137735, 0.0, 0.005915497, 0.013772777, 0.004539148, 0.0, -0.035443936, -0.02961302, -0.04131401, 0.0, -0.12169936, -0.14949232, -0.20689055, 0.0) * go_4(-1.0, 0.0);
result += mat4(-0.015341744, -0.0077026743, -0.0043482906, 0.0, -0.007135568, -0.0022823443, 0.007329001, 0.0, -0.038207117, -1.8806717e-05, 0.012055219, 0.0, 0.05211687, 0.025196811, 0.034190442, 0.0) * go_4(-1.0, 1.0);
result += mat4(0.01798635, 0.0043349164, 0.00976957, 0.0, 0.008667596, 0.0094013205, -0.0047210143, 0.0, -0.13027216, -0.27572915, -0.21776466, 0.0, 0.04239217, 0.026833871, 0.0053331805, 0.0) * go_4(0.0, -1.0);
result += mat4(-0.018382292, -0.028467784, -0.02948458, 0.0, 0.01504672, 0.009915386, 0.00028620457, 0.0, 0.01925864, 0.17856085, 0.15902345, 0.0, 0.072817296, 0.01202625, 0.016523099, 0.0) * go_4(0.0, 0.0);
result += mat4(0.014461806, 0.018162472, 0.004939947, 0.0, 0.00433307, -0.0029751821, 0.014063162, 0.0, -0.0105967205, 0.023450457, 0.007284629, 0.0, 0.015260132, 0.058815423, 0.032865442, 0.0) * go_4(0.0, 1.0);
result += mat4(-0.034523435, -0.0019650368, 0.010286419, 0.0, 0.0155394105, -0.012441901, 0.003655187, 0.0, 0.21727616, 0.04665747, 0.064619154, 0.0, -0.0538197, -0.016603155, 0.010483863, 0.0) * go_4(1.0, -1.0);
result += mat4(0.0066596246, 0.012407015, 0.010662054, 0.0, 0.015415189, -0.0072234455, -0.016844045, 0.0, -0.018253447, -0.04539969, -0.022777706, 0.0, 0.014921062, 0.01025331, 0.00094767904, 0.0) * go_4(1.0, 0.0);
result += mat4(0.007963999, 0.024802163, 0.0329328, 0.0, -0.028856168, -0.0024038341, -0.008221548, 0.0, -0.050274983, -0.019204216, -0.014420987, 0.0, -0.0041100523, 0.02075305, 0.019369813, 0.0) * go_4(1.0, 1.0);
result += mat4(0.012030763, -0.013472043, -0.0071379403, 0.0, 0.044592608, 0.059628505, 0.0329532, 0.0, -0.0048840884, -0.009070825, -0.004406241, 0.0, -0.015029522, -0.03341599, -0.014973638, 0.0) * go_5(-1.0, -1.0);
result += mat4(0.0030182474, 0.012553184, -0.00084614486, 0.0, -0.19833973, -0.18672052, -0.1924494, 0.0, -0.008076828, -0.005522177, 0.0037198463, 0.0, -0.021098163, -0.010991954, -0.007342273, 0.0) * go_5(-1.0, 0.0);
result += mat4(-0.008302836, -0.014168788, -0.0098180575, 0.0, -0.072220005, -0.08414496, -0.05447282, 0.0, -0.0056090043, -0.00043765904, -0.004061556, 0.0, 0.02473498, 0.00803538, -0.002803184, 0.0) * go_5(-1.0, 1.0);
result += mat4(-0.001754513, -0.00034364086, 0.0016426432, 0.0, -0.14016317, -0.13971362, -0.13603266, 0.0, -0.013788346, 0.0017337386, -0.001026224, 0.0, -0.009110686, -0.006945973, 0.0063988715, 0.0) * go_5(0.0, -1.0);
result += mat4(0.0129916025, 0.025389163, 0.026781, 0.0, 0.39451644, 0.37229872, 0.35705563, 0.0, -0.0039658905, 0.0058225365, 0.0032569862, 0.0, -0.016056878, 0.0051228474, 0.008477073, 0.0) * go_5(0.0, 0.0);
result += mat4(-0.0077641252, 0.010979285, 0.016919322, 0.0, 0.06312053, 0.10244354, 0.09649355, 0.0, -0.0041987957, -0.0001676132, 0.01052944, 0.0, -0.035134792, -0.011132374, -0.008417525, 0.0) * go_5(0.0, 1.0);
result += mat4(-0.0019415376, -0.0018293947, -0.008222967, 0.0, -0.117868416, -0.12365001, -0.13046348, 0.0, 0.02347851, 0.004496424, 0.008431801, 0.0, 0.037196416, 0.020106586, 0.0046503455, 0.0) * go_5(1.0, -1.0);
result += mat4(-0.0072726808, -0.0011071735, 0.0008595847, 0.0, 0.03922388, 0.06798667, 0.067601055, 0.0, 0.008911351, 0.013739831, 0.011149478, 0.0, -0.03467258, -0.006161695, 0.008909844, 0.0) * go_5(1.0, 0.0);
result += mat4(0.003808606, -0.0035716828, -0.007037296, 0.0, -0.08564177, -0.11466893, -0.11467038, 0.0, -0.0020677918, 0.005138272, -0.0023557285, 0.0, 0.038220942, -0.00028315434, -0.005084889, 0.0) * go_5(1.0, 1.0);
result += vec4(0.0013754794, 0.0020187886, 0.001720279, 0.0);
return result + MAIN_tex(MAIN_pos);
}