mpv-conf/shaders/Anime4K_Upscale_GAN_x3_VL.glsl

2914 lines
416 KiB
Text
Raw Normal View History

2021-12-03 20:50:08 +08:00
// 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-x3-(VL)-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.40511844, 0.046312418, -0.086368635, -0.048218526, 0.038400844, -0.012609009, -0.114371404, 0.058320127, 0.24283059, 0.2988252, -0.06984102, -0.1513035, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
result += mat4(-0.3179384, 0.041913282, 0.5829445, -0.03517926, -0.13997659, 0.1567064, -0.0067053097, 0.38155103, -0.12982988, -0.123628765, 0.43574196, 0.015274767, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
result += mat4(0.13568722, -0.3296706, 0.40355036, 0.35842642, 0.21866405, -0.53062886, -0.14227761, -0.35239148, 0.101097785, -0.4245473, -0.41358534, -0.08091162, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
result += mat4(0.2874018, -0.031556252, -0.024857419, -0.14545052, 0.16618997, -0.35254815, -0.09629704, 0.09261814, 0.43960592, 0.26783726, -0.16506493, 0.41094932, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
result += mat4(-0.101475194, 0.28053576, 0.091671854, 0.3356529, 0.09083679, 0.5306931, -0.08974534, -0.23624173, 0.022175577, 0.41184658, 0.19520077, -0.24606428, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
result += mat4(-0.20134552, 0.47637737, -0.3338613, -0.118361436, 0.32517588, -0.22253029, -0.17541096, 0.046637688, 0.10576379, -0.22217134, 0.055137604, 0.37349963, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
result += mat4(0.17969048, 0.13036613, -0.2836612, 0.072280586, -0.3434514, 0.020839306, 0.12709542, -0.22381261, 0.13942248, 0.07601297, 0.12292496, -0.20566194, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
result += mat4(-0.2150475, -0.09399675, -0.09306267, 0.09580491, -0.47665623, -0.12324208, -0.100735016, -0.46395445, -0.6441451, -0.08280989, -0.09964624, 0.18735269, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
result += mat4(-0.24261168, 0.034477316, 0.13518244, -0.095370695, -0.29263893, 0.12399886, 0.26543903, 0.40211576, -0.12688783, 0.055649832, 0.0039607235, 0.10855666, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
result += vec4(-0.016524548, 0.015399874, 0.020695323, 0.023151765);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-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.22211748, 0.38811034, 0.19647819, 0.18025233, -0.44580257, 0.21301454, 0.19053668, 0.3906399, -0.019795267, -0.43621698, -0.2952626, -0.16969545, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
result += mat4(0.12376253, -0.3578144, 0.013765903, -0.33338618, 0.46931675, 0.47708502, -0.11742914, -0.5338616, 0.058727097, 0.014093682, 0.40444478, -0.45218801, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
result += mat4(-0.02297299, 0.37956157, 0.46952614, -0.28906932, 0.5133133, -0.38923758, 0.17953868, 0.2855252, 0.5226521, 0.33031356, 0.14814378, 0.24011709, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
result += mat4(0.4501361, -0.10823865, -0.44304916, 0.24173234, -0.016219804, -0.08659096, -0.23562773, -0.50403744, -0.0012616274, -0.6338915, 0.22647057, -0.24775903, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
result += mat4(0.22717546, 0.03211701, 0.28084618, 0.23585059, -0.22632027, 0.66713566, 0.07553389, 0.17764805, 0.23207794, 0.36784792, -0.34729242, 0.5962821, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
result += mat4(-0.24554719, -0.5789114, -0.5091369, -0.39601108, -0.38009188, 0.15842962, 0.07656582, -0.37681392, -0.3328269, 0.035487633, -0.28024784, -0.16454072, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
result += mat4(0.056824446, -0.04399919, 0.28328308, 0.02923404, 0.27003515, 0.12559497, -0.016995354, 0.06384516, -0.23244575, 0.1984168, 0.08605917, -0.34028816, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
result += mat4(0.124706075, -0.44753015, -0.22312124, 0.08141755, -0.25384662, -0.016393289, -0.050249767, -0.040201787, -0.014427871, -0.05602875, 0.13308121, 0.49805847, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
result += mat4(0.06863199, 0.062094662, -0.035574723, 0.10664285, -0.14436434, -0.082004026, -0.12680413, 0.02922838, 0.16316287, 0.01192676, -0.033308484, 0.18727374, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
result += vec4(-0.0013743446, 0.04227666, 0.029018287, -0.0008426521);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-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.37304083, -0.06803611, -0.06411103, 0.27269405, 0.22606733, 0.2039522, 0.514901, 0.3786155, 0.28303707, 0.14000547, -0.3321655, 0.09701599, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
result += mat4(0.50415957, 0.3915719, -0.4958669, 0.04014105, 0.31802535, 0.31673974, -0.07615502, 0.054737855, -0.42327112, -0.18999626, -0.012522493, 0.102762744, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
result += mat4(0.10929559, -0.57894635, 0.013220997, -0.29191223, 0.17323004, -0.27566677, 0.25775912, 0.13022128, 0.0724283, -0.1331955, 0.17363146, 0.42716634, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
result += mat4(-0.41452903, 0.34020692, 0.402998, 0.15659642, -0.30401403, -0.014533993, -0.1553566, -0.17143548, -0.288057, 0.14428918, 0.07728673, -0.21961251, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
result += mat4(-0.12768714, -0.07468587, -0.5377452, 0.23702456, 0.18886316, -0.3257077, 0.20170376, -0.25545424, -0.123668954, 0.15017408, 0.0007419787, -0.13949947, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
result += mat4(-0.2576978, -0.07398349, 0.109489314, -0.04158612, -0.32963014, -0.35029748, -0.3167505, -0.25848135, 0.18927233, 0.2081675, -0.2702585, -0.23698156, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
result += mat4(0.16577533, -0.20408662, -0.030388767, -0.081177086, -0.30532128, 0.114261985, 0.066367835, -0.33745348, -0.18518709, -0.059800602, 0.2227101, -0.16171436, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
result += mat4(0.1231469, 0.042956218, 0.3520311, -0.15215552, 0.18313944, 0.5157838, -0.09514994, 0.30884972, 0.60990155, -0.35512015, 0.102282114, 0.14265445, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
result += mat4(0.10444835, -0.008624628, 0.19587915, 0.036038317, 0.09758787, -0.27749214, 0.14781447, 0.11267787, 0.16691335, -0.077876076, -0.049209397, 0.12839536, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
result += vec4(0.015636094, -0.03486839, -0.0038059507, 0.054434214);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.124267854, 0.007962224, -0.17998387, -0.05789284, -0.041550074, -0.21627353, 0.02771375, 0.049279906, -0.07825293, -0.0658187, 0.08334699, 0.007819368, -0.053893518, 0.10146559, 0.07281707, -0.04693425) * go_0(-1.0, -1.0);
result += mat4(-0.18026589, 0.049227715, -0.23444916, 0.060488567, -0.09980516, 0.015112693, -0.035334926, -0.13345052, -0.13320714, -0.0054334872, -0.04049233, -0.1304189, -0.058878195, 0.16659525, -0.007633062, -0.068291016) * go_0(-1.0, 0.0);
result += mat4(-0.10559241, 0.054001573, 0.055762857, 0.12121601, 0.07811607, -0.0830653, 0.059485614, 0.06800382, -0.012978328, -0.0796546, -0.03803754, -0.05964419, -0.064093046, -0.07586195, -0.036742657, 0.18453833) * go_0(-1.0, 1.0);
result += mat4(0.022106081, 0.10947791, 0.0011338186, 0.031634837, -0.056927577, -0.26113212, 0.099681556, 0.23362195, -0.17860429, -0.1250903, -0.0037589697, 0.1655993, -0.020578198, -0.1636795, 0.027641099, 0.06818794) * go_0(0.0, -1.0);
result += mat4(-0.08456219, 0.0101076085, 0.06612835, 0.18828513, 0.19439413, -0.05441351, 0.09058546, -0.32268864, 0.030592322, -0.09876957, 0.034651507, -0.111315705, 0.08716488, -0.1507648, -0.018940862, -0.050834194) * go_0(0.0, 0.0);
result += mat4(0.16697238, -0.15836456, 0.077995785, 0.08068181, -0.03379854, 0.16519341, -0.15239498, 0.12806813, 0.03560932, -0.110684246, -0.13476025, 0.02535848, -0.06991292, 0.048514012, 0.0416729, 0.08717733) * go_0(0.0, 1.0);
result += mat4(-0.049313076, -0.03194871, -0.013847785, -0.029990746, -0.15915012, 0.03509808, -0.0011314545, -0.1249224, 0.0345892, -0.18697207, -0.038597755, -0.112618044, -0.17375281, -0.055883076, 0.078873746, -0.060458563) * go_0(1.0, -1.0);
result += mat4(0.06791889, 0.048250757, -0.14947584, 0.1464103, 0.034625027, 0.1614507, -0.18002516, -0.22499345, -0.009015057, -0.123403914, 0.08619851, -0.13664183, 0.010211879, -0.15708129, 0.15172581, -0.025576444) * go_0(1.0, 0.0);
result += mat4(0.03782436, 0.0033660422, -0.010088431, -0.07009061, -0.027529597, 0.0917739, 0.092501916, 0.022648554, 0.016138216, -0.099612005, -0.03275366, 0.093189664, -0.023807095, -0.032835755, -0.021751186, -0.05885268) * go_0(1.0, 1.0);
result += mat4(-0.093127936, -0.033109818, 0.044374205, -0.01257518, -0.13067031, -0.013695122, -0.07609673, -0.14678904, 0.0036491172, -0.057091113, 0.06302116, 0.2047689, 0.0011883582, 0.00797786, 0.23997992, 0.03556107) * go_1(-1.0, -1.0);
result += mat4(0.037627794, 0.041767746, -0.117952295, -0.0066822, -0.028435027, 0.13632965, -0.19027917, -0.0021361923, 0.13132729, -0.09695936, -0.16516533, -0.014830638, -0.05808993, 0.1846407, -0.13116007, -0.10605202) * go_1(-1.0, 0.0);
result += mat4(-0.081693485, -0.06264808, 0.08486454, -0.08549504, 0.029431969, -0.14323595, -0.00770528, 0.21860594, 0.022883533, -0.0017431816, 0.17224559, -0.09431063, -0.028515795, -0.18663938, -0.120865725, -0.030412016) * go_1(-1.0, 1.0);
result += mat4(0.1270607, 0.118347816, -0.09791751, 0.012986578, 0.07084144, -0.11682057, -0.16111587, -0.08451572, -0.03204753, -0.029091429, -0.35078618, 0.12681656, -0.04842526, -0.042448696, -0.14195885, 0.069431886) * go_1(0.0, -1.0);
result += mat4(0.056968357, 0.11958923, -0.00031470932, -0.056339122, 0.029859897, -0.0031493618, 0.056802884, 0.011899837, 0.0029990282, -0.29070294, 0.027124101, 0.059092462, 0.3420717, -0.14881286, 0.12467716, -0.04047155) * go_1(0.0, 0.0);
result += mat4(0.0073069474, -0.05794202, 0.13206123, 0.023608455, -0.028124921, -0.10441345, 0.13552763, 0.1370355, -0.15079997, -0.06640641, -0.14373657, 0.050939295, 0.009049148, -0.22194777, 0.04862541, 0.044264235) * go_1(0.0, 1.0);
result += mat4(-0.030503348, -0.16637012, -0.117389075, -0.08290776, -0.08976877, -0.20657647, -0.044662002, 0.060959864, 0.12712368, -0.027711328, -0.2472025, 0.14832148, -0.006349414, 0.031300485, 0.038396467, 0.11758095) * go_1(1.0, -1.0);
result += mat4(0.043296367, -0.021755742, 0.14833954, 0.00856861, 0.036826447, -0.100298785, 0.1346524, -0.03654323, 0.14104709, -0.08861984, -0.04175621, -0.15783565, -0.20554025, -0.014400845, 0.09758823, 0.3012222) * go_1(1.0, 0.0);
result += mat4(0.14976518, 0.24048904, 0.04738185, 0.14116864, -0.0028246883, 0.010856994, 0.11503183, -0.0048893443, 0.0037136774, -0.23222204, -0.07668595, 0.054136075, 0.13594438, -0.031319436, 0.081209205, 0.16445075) * go_1(1.0, 1.0);
result += mat4(0.1383282, 0.043678403, -0.048099563, 0.121575296, -0.15685752, 0.09750033, 0.11703441, -0.014284906, -0.03218536, -0.15594141, -0.005169852, 0.13170211, -0.0009216136, 0.025865545, 0.0034171424, 0.07353478) * go_2(-1.0, -1.0);
result += mat4(0.11446189, 0.028012149, 0.012852205, 0.071380325, -0.02581936, 0.07536672, 0.022615172, 0.08788225, 0.09794186, -0.03212243, -0.081240885, 0.11541121, 0.076030195, -0.19109531, -0.037465803, -0.12165481) * go_2(-1.0, 0.0);
result += mat4(-0.069133125, 0.16841024, 0.08477403, 0.010234146, -0.01394771, 0.041126106, 0.022037728, -0.16571328, 0.16482642, -0.046641283, -0.015524424, -0.10732406, -0.032337334, -0.039461985, 0.06941011, 0.10004811) * go_2(-1.0, 1.0);
result += mat4(-0.08091021, 0.014393868, 0.15919542, -0.011985569, -0.13209614, -0.17724971, -0.1117447, -0.064839125, 0.0141071305, -0.016549781, -0.01544038, 0.044058125, 0.099102214, 0.07104683, -0.0033692264, -0.011985269) * go_2(0.0, -1.0);
result += mat4(-0.13767815, 0.035504427, 0.15205923, 0.17755473, -0.14473997, 0.06277688, -0.2169439, 0.036964424, 0.006689342, 0.004628961, -0.16730706, 0.16391295, -0.10588813, 0.08151436, -0.14907128, 0.20650652) * go_2(0.0, 0.0);
result += mat4(0.07861154, -0.1794478, -0.059224397, 0.16803007, 0.05025362, -0.05318132, 0.1471211, 0.23034573, 0.05250695, 0.12226744, 0.06978067, -0.03607008, 0.010674573, 0.0439673, -0.03689282, -0.039029337) * go_2(0.0, 1.0);
result += mat4(0.07446787, -0.006577457, -0.17369395, 0.0025724266, -0.058095817, 0.07490038, -0.06943755, -0.3144659, 0.07828109, 0.17998894, 0.0067850347, 0.023616858, 0.08627146, 0.053720877, -0.00860585, -0.029439872) * go_2(1.0, -1.0);
result += mat4(0.059849985, -0.11140152, -0.09592929, 0.1342193, 0.16315992, -0.2805751, 0.05178338, -0.012509258, 0.017137745, -0.026671201, 0.025053594, -0.0842668, 0.17889084, 0.088548556, -0.16114505, -0.020796169) * go_2(1.0, 0.0);
result += mat4(-0.075472295, -0.14215264, -0.034432933, -0.042921875, 0.0077655553, 0.04552933, -0.05867107, 0.024829932, 0.16344814, -0.13642615, 0.06945403, 0.035145745, 0.06266624, 0.103483595, -0.14329065, 0.0077256123) * go_2(1.0, 1.0);
result += mat4(0.0027708034, 0.07329603, 0.14105049, 0.07991739, -0.0758546, 0.16391759, 0.059647884, -0.07759994, 0.06402703, 0.0895321, -0.13834727, -0.11177747, 0.019722346, 0.08034925, 0.07566546, 0.11848707) * go_3(-1.0, -1.0);
result += mat4(0.15146783, 0.027667522, 0.09773481, -0.13179557, 0.076958776, -0.15196155, 0.055114925, 0.021436427, 0.059093557, 0.0483428, 0.07084243, 0.019189285, -0.19074525, -0.05114326, -0.05597719, -0.17324033) * go_3(-1.0, 0.0);
result += mat4(0.16141704, -0.022847276, 0.14245096, -0.03828172, -0.03609397, 0.018458935, -0.1401393, -0.015835393, 0.1118651, 0.04606467, 0.06304064, 0.1130469, 0.13078345, -0.011042088, 0.074442014, 0.16744103) * go_3(-1.0, 1.0);
result += mat4(-0.03767718, -0.040626142, -0.059247386, -0.04379782, 0.053381473, 0.20256, 0.08586983, -0.15989254, 0.18586256, 0.057962753, -0.06999747, -0.020169148, -0.055688344, -0.016782917, -0.19943517, 0.15663329) * go_3(0.0, -1.0);
result += mat4(-0.21612807, 0.117120996, -0.075649984, -0.0053718905, -0.38303497, 0.1642169, -0.18583643, 0.4340738, 0.07149195, -0.13684754, 0.07903723, 0.19526604, -0.13151471, 0.08272994, 0.086297594, -0.26715723) * go_3(0.0, 0.0);
result += mat4(-0.26815438, 0.037067838, 0.0642267, 0.22131516, 0.21152607, -0.23873864, 0.09514264, -0.04713103, -0.12136601, 0.04901631, 0.14983785, -0.13058041, -0.19162782, 0.018775929, -0.05136697, 0.019918656) * go_3(0.0, 1.0);
result += mat4(0.12042426, 0.03766373, -0.055505633, 0.12783547, -0.008767006, -0.05963363, -0.034773044, -0.049163565, -0.101345144, -0.010673946, 0.11270166, 0.096191615, -0.111890845, 0.10288703, 0.19787256, -0.27500233) * go_3(1.0, -1.0);
result += mat4(0.062222097, 0.15603566, 0.12435635, -0.029093172, 0.017480267, -0.23054963, 0.25424153, 0.1090598, -0.04203737, -0.042807147, 0.14882293, -0.062273648, -0.44699055, 0.25321072, 0.023357471, 0.15106665) * go_3(1.0, 0.0);
result += mat4(-0.0072348677, -0.088096686, -0.055530813, -0.07064954, 0.023192292, -0.012916004, -0.0056745564, -0.06661922, 0.038913727, 0.026908718, 0.10206203, -0.013684264, 0.105047286, -0.11951532, -0.032914817, 0.016715799) * go_3(1.0, 1.0);
result += mat4(0.032328244, 0.00801627, -0.008064464, -0.26401424, 0.13007867, -0.105827704, 0.035832293, 0.2257254, -0.028368795, -0.055015713, -0.18554647, 0.019349419, -0.004947466, -0.1036783, -0.22648631, 0.023978733) * go_4(-1.0, -1.0);
result += mat4(-0.005028873, 0.008835479, -0.0014021931, 0.07877838, -0.0032623175, 0.04716802, 0.24331963, -0.0045369593, 0.039377805, 0.12054267, 0.06422673, 0.107488826, 0.030367622, -0.11523494, 0.081330195, -0.018546721) * go_4(-1.0, 0.0);
result += mat4(-0.04090765, -0.11046553, -0.020837778, 0.19295895, -0.022306796, 0.10222331, -0.022490164, -0.1311398, -0.16340409, -0.017105957, -0.18809643, 0.11630821, 0.052637395, 0.16867357, 0.042465545, 0.07917558) * go_4(-1.0, 1.0);
result += mat4(0.061382286, -0.10611119, 0.09613031, -0.0067030345, 0.006122337, -0.034826167, 0.16807398, 0.25538254, 0.074573494, 0.056307554, 0.16127278, 0.022633301, 0.06921917, -0.16517632, 0.035960235, -0.17444491) * go_4(0.0, -1.0);
result += mat4(-0.06053351, -0.07234707, -0.002200724, 0.0982265, -0.14494447, -0.025158525, -0.043029554, 0.308433, -0.00789706, -0.027372198, -0.2853412, 0.22422287, -0.072053656, -0.20027302, -0.2053341, -0.0016727111) * go_4(0.0, 0.0);
result += mat4(-0.06965102, -0.074341245, -0.10007991, 0.24454647, -0.046182215, -0.0013816428, -0.19355296, -0.10981621, 0.039524913, -0.17090714, 0.19306308, 0.0019166211, -0.09448512, 0.16326144, 0.016314002, -0.033384096) * go_4(0.0, 1.0);
result += mat4(-0.15294902, -0.035096806, 0.1510738, 0.11737981, 0.11224323, 0.24651042, -0.11259153, -0.10824828, -0.042136658, 0.080296464, 0.07308311, -0.13428898, 0.14472654, 0.06930686, -0.077960335, -0.096928984) * go_4(1.0, -1.0);
result += mat4(-0.15912153, 0.08187269, 0.09500771, -0.15272307, -0.018328117, 0.10363754, -0.14703858, -0.01663941, -0.09634521, -0.122812204, -0.21433884, -0.043322142, 0.25369784, 0.015099865, 0.0030191666, 0.02290927) * go_4(1.0, 0.0);
result += mat4(0.003294999, 0.098755814, -0.006246285, 0.095969744, 0.14606589, 0.051248513, -0.07943076, 0.13453922, -0.10009766, -0.0055656824, 0.16127767, 0.14185014, -0.12013776, -0.16176297, 0.04093573, -0.01890971) * go_4(1.0, 1.0);
result += mat4(-0.13407499, 0.065094054, -0.0198922, -0.08037597, 0.08964208, -0.07237802, -0.13825588, -0.17102, 0.09435665, 0.23435031, 0.10091611, -0.07304656, 0.16103323, -0.03848244, -0.0652565, 0.06148157) * go_5(-1.0, -1.0);
result += mat4(-0.018516695, 0.12308151, 0.04245688, -0.03875231, 0.08163367, -0.10843033, -0.05578245, 0.07653516, 0.021622866, 0.12920228, 0.113022245, -0.27590397, -0.015056695, 0.029378783, -0.082673244, -0.048056267) * go_5(-1.0, 0.0);
result += mat4(0.061482217, -0.09921845, -0.058533907, 0.008726932, 0.027324243, 0.03429762, -0.084271036, 0.19976673, 0.10966977, 0.20396575, -0.017694999, -0.06260422, 0.0165182, 0.10789034, 0.044916157, 0.13079369) * go_5(-1.0, 1.0);
result += mat4(-0.020889722, -0.06484487, -0.16382498, -0.014346998, 0.0026958885, -0.19189303, -0.073752694, -0.1306487, 0.014955386, -0.005341573, -0.13761184, -0.016867343, 0.03703825, -0.06157102, -0.25244838, 0.072198965) * go_5(0.0, -1.0);
result += mat4(0.19881305, -0.15711883, -0.1800523, -0.19283934, -0.07261505, 0.113396615, 0.11042607, 0.19410251, 0.01296784, 0.029375073, -0.16543335, -0.119331196, 0.061140418, 0.0061399927, -0.10372657, -0.19577163) * go_5(0.0, 0.0);
result += mat4(0.08964666, -0.041876756, 0.09050224, 0.017036483, 0.122133896, 0.04581788, 0.0022176318, -0.015053813, -0.31467614, 0.19168457, 0.035007093, 0.2650101, -0.2225773, 0.10270218, 0.09687861, 0.026796961) * go_5(0.0, 1.0);
result += mat4(-0.09435587, 0.10445669, 0.2891561, 0.05967551, -0.06361812, 0.123411134, 0.14559366, 0.0805817, 0.01505635, -0.08782298, -0.043380685, 0.05761991, -0.035663776, -0.08950526, 0.120702736, 0.088385746) * go_5(1.0, -1.0);
result += mat4(0.011555221, -0.06231264, 0.18430808, 0.15266152, -0.18028414, 0.06332757, 0.0026076022, 0.18165322, -0.14395583, 0.10982132, 0.043809865, 0.07797207, -0.2698022, -0.3847484, 0.02855024, 0.25076064) * go_5(1.0, 0.0);
result += mat4(0.062325176, -0.026178865, 0.020149486, 0.03210979, -0.00235475, 0.123468615, 0.09479156, 0.15856354, 0.0947007, 0.09911081, -0.053644318, 0.30245718, -0.103213266, -0.3296715, 0.051986407, -0.15058364) * go_5(1.0, 1.0);
result += vec4(0.011905882, -0.022616472, -0.008990545, 0.041167002);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.009393955, 0.18668935, -0.07360051, 0.08218289, -0.002853791, -0.13204256, -0.058228496, -0.08217602, -0.007055643, -0.18616575, 0.12484316, -0.13578129, -0.06971742, -0.15325688, -0.033852972, -0.10442544) * go_0(-1.0, -1.0);
result += mat4(0.1538062, 0.24085993, -0.1470754, 0.23293658, 0.061731886, -0.039425362, 0.10134175, 0.10920789, 0.027627349, -0.030328294, -0.084725365, 0.15722615, 0.13786708, 0.015676511, -0.21962847, -0.076992) * go_0(-1.0, 0.0);
result += mat4(-0.12253862, 0.0339962, 0.3136188, 0.13488305, -0.17547512, -0.030512001, -0.0021504841, -0.09592834, -0.09812029, 0.06814175, 0.19642949, -0.10195504, 0.06005127, 0.051589128, 0.106626906, 0.10529595) * go_0(-1.0, 1.0);
result += mat4(-0.09892863, -0.039184973, 0.14812575, -0.038699288, 0.06645616, 0.07355721, -0.02299443, -0.14151087, 0.04555764, 0.11501852, 0.19053902, -0.0006121733, 0.0035184557, -0.06275289, -0.07477681, 0.07316305) * go_0(0.0, -1.0);
result += mat4(0.115366966, 0.20077994, 0.16739497, 0.11740605, -0.122655675, -0.054410838, 0.031647306, 0.012119558, 0.02255513, -0.05844958, 0.20451924, -0.04342168, 0.14752789, -0.10555866, -0.027899336, 0.09995709) * go_0(0.0, 0.0);
result += mat4(-0.031201297, -0.06993867, 0.017682442, -0.17657831, 0.122878596, -0.03727984, -0.09484746, -0.034541856, 0.03405775, 0.03386156, -0.09452733, 0.12891679, -0.13651215, 0.020713195, 0.01856062, -0.042746462) * go_0(0.0, 1.0);
result += mat4(0.0035370777, -0.058793917, -0.10259198, 0.030393116, -0.03665171, -0.046703644, 0.12145823, 0.068402946, 0.0661803, -0.0949225, -0.015077753, 0.14383693, 0.018183192, -0.05789956, 0.09497322, -0.06279912) * go_0(1.0, -1.0);
result += mat4(0.023490345, 0.0027517239, 0.008101111, -0.059306182, 0.045240793, -0.17254223, -0.015886698, 0.1157877, -0.028337903, 0.09305384, -0.040983718, 0.02249241, -0.028840652, -0.026046747, 0.12575755, -0.13807413) * go_0(1.0, 0.0);
result += mat4(-0.10457153, 0.1589177, 0.13171448, 0.015238637, -0.034651496, 0.02995306, 0.09802121, -0.012463447, 0.08722377, 0.12351376, -0.12364867, 0.14351927, 0.053363666, -0.19996366, -0.0020677273, -0.057423726) * go_0(1.0, 1.0);
result += mat4(0.039858077, 0.0610137, -0.04036137, -0.007068759, 0.062540606, 0.13911818, -0.0908163, 0.039447706, -0.04391428, -0.113149054, -0.014116952, 0.032990754, 0.09261807, -0.03413283, -0.10447263, -0.08573098) * go_1(-1.0, -1.0);
result += mat4(-0.01761663, -0.09644662, -0.005088787, 0.027300932, 0.093963, -0.06828492, 0.0027474556, 0.2242565, -0.12908772, -0.12292567, 0.17184588, 0.13818002, 0.09503586, -0.086556494, 0.0645912, 0.19295183) * go_1(-1.0, 0.0);
result += mat4(0.07955219, 0.019469945, 0.080390416, -0.057485517, -0.058509156, 0.016411109, 0.054208927, -0.028299164, 0.0046880515, -0.1968574, -0.009469305, -0.13357851, -0.13951358, 0.031425167, -0.0552074, -0.019046936) * go_1(-1.0, 1.0);
result += mat4(0.06597837, 0.13813679, 0.13337553, 0.1392795, -0.02466031, -0.19004655, 0.1432966, -0.09052564, 0.008315369, -0.002750817, 0.075821064, 0.06519332, -0.040463336, 0.026104426, 0.07529671, -0.026330618) * go_1(0.0, -1.0);
result += mat4(-0.21183902, 0.0813405, -0.003430971, 0.03450728, -0.00248265, 0.020729724, -0.043258913, -0.032575425, -0.047916103, 0.050494414, 0.20180939, 0.027000068, -0.10179437, 0.06540524, 0.036855206, -0.07024677) * go_1(0.0, 0.0);
result += mat4(-0.108181454, 0.13226138, -0.18859217, -0.17786084, 0.10761393, 0.16454493, -0.101017565, -0.0042238235, -0.045681562, -0.1956961, -0.039326258, 0.12645185, 0.08209508, -0.17214166, -0.07509988, 0.041241605) * go_1(0.0, 1.0);
result += mat4(-0.07397336, -0.16591343, 0.0638351, 0.024531474, -0.04121428, 0.0191009, -0.016413592, -0.014064089, 0.090364136, -0.0143463425, 0.051297646, 0.101621516, -0.046925794, 0.069780506, -0.08860432, -0.014824734) * go_1(1.0, -1.0);
result += mat4(-0.08310045, 0.016958017, -0.014437904, -0.07725209, -0.026139945, -0.11588651, 0.033243302, 0.027774323, 0.035300322, 0.174936, -0.052526426, -0.02398468, 0.17885078, -0.08415918, 0.06867816, 0.023926245) * go_1(1.0, 0.0);
result += mat4(0.055511482, 0.10107289, -0.062379345, 0.109069504, -0.0040129554, -0.01752944, 0.18135491, -0.06211896, 0.15972757, 0.20113245, -0.06507126, 0.11302289, -0.14081402, 0.12730065, 0.11747296, -0.021355543) * go_1(1.0, 1.0);
result += mat4(-0.08841883, -0.016391667, 0.0037979118, -0.106796, 0.07619703, 0.16686298, 0.088635504, -0.048563465, -0.05394817, -0.15386207, 0.16047399, -0.09080504, -0.10668314, -0.15818065, 0.033115778, 0.031520538) * go_2(-1.0, -1.0);
result += mat4(0.01633188, -0.030394198, 0.0029725977, 0.10274382, 0.062238634, -0.100709766, 0.041572776, 0.0568741, 0.008856757, -0.14608574, -0.14852396, -0.10276379, 0.12703411, -0.015127757, -0.12575223, -0.13331042) * go_2(-1.0, 0.0);
result += mat4(-0.031342633, 0.14848311, -0.12904146, 0.034422506, 0.039357357, 0.050679002, 0.06503631, 0.063406065, -0.010346032, 0.16099697, 0.006769406, 0.09577785, -0.0018684114, 0.042848136, -0.002991604, 0.005587025) * go_2(-1.0, 1.0);
result += mat4(0.035801984, 0.12931241, -0.0022342594, 0.018307745, 0.07702747, -0.12185176, -0.07709063, 0.015125713, -0.0011960526, 0.1140818, 0.10893219, -0.048285935, 0.15146717, -0.093633525, -0.08690155, 0.0803985) * go_2(0.0, -1.0);
result += mat4(0.080852866, -0.032541778, 0.116364524, 0.07989729, 0.0067703715, -0.012177273, -0.07982764, -0.0045678024, -0.04779687, -0.10998693, -0.024055414, -0.085992925, -0.119937465, 0.3472314, 0.1565224, -0.02053834) * go_2(0.0, 0.0);
result += mat4(0.114916876, -0.04891269, 0.103173085, 0.14804299, -0.034878302, -0.06205778, 0.057469137, 0.06792636, 0.013155392, 0.24438615, 0.23875354, 0.029985022, 0.12540671, 0.1593171, -0.041406173, 0.13131626) * go_2(0.0, 1.0);
result += mat4(-0.055608317, -0.011724937, 0.12645641, -0.077291526, -0.031136168, 0.19885689, -0.07979561, 0.21854846, 0.012208913, -0.17984846, -0.06909352, 0.034138173, -0.040021844, -0.11747884, 0.024365483, -0.00078131305) * go_2(1.0, -1.0);
result += mat4(0.052407045, 0.14146121, -0.16186738, -0.14332147, 0.17796749, 0.2403311, -0.101434335, -0.11113733, -0.06573204, 0.13941497, -0.014392969, -0.0060202163, -0.22008768, 0.24818769, 0.25274605, -0.07692249) * go_2(1.0, 0.0);
result += mat4(0.010145611, 0.09386053, 0.093780175, 0.09353351, -0.025648097, -0.031589564, 0.0150197605, 0.03715231, -0.15479125, -0.03264438, 0.21176213, 0.019200986, 0.004911368, 0.19266897, 0.01935736, -0.04114218) * go_2(1.0, 1.0);
result += mat4(0.053129405, -0.15921484, 0.0003864309, 0.09827425, -0.054169323, 0.06976963, 0.05310063, 0.010317169, -0.0468072, 0.20395218, -0.16632959, 0.060554396, 0.24564919, 0.2189468, -0.12793644, -0.18483198) * go_3(-1.0, -1.0);
result += mat4(-0.082494386, -0.1433939, 0.050049685, -0.3635514, 0.08438997, 0.1438989, 0.028363084, -0.1784714, -0.20042121, -0.0059182104, 0.095135674, -0.20745192, -0.27230132, 0.10656265, 0.09331211, -0.09988007) * go_3(-1.0, 0.0);
result += mat4(0.11487431, -0.055160172, -0.17928086, 0.0103181815, 0.031005684, 0.054106805, -0.06011703, 0.15056583, -0.092787445, -0.031473074, -0.12840845, 0.13332976, -0.032842558, 0.16832976, -0.13352585, -0.2415442) * go_3(-1.0, 1.0);
result += mat4(0.0584145, 0.10595881, -0.10753989, -0.10199688, -0.017936673, 0.11947298, -0.021989146, 0.21017475, -0.0648711, -0.20729136, -0.13821706, -0.039291058, -0.011472392, -0.16857262, 0.16062364, -0.0720233) * go_3(0.0, -1.0);
result += mat4(-0.113283016, -0.030152159, -0.01753151, -0.0002958871, 0.043837037, 0.081768855, -0.1745709, 0.114827335, 0.08412931, -0.09157743, -0.18770902, 0.15422468, -0.0048349043, 0.03311079, 0.27095637, 0.014000513) * go_3(0.0, 0.0);
result += mat4(-0.10381905, 0.07169773, -0.19069736, 0.17213592, -0.024624163, -0.006234784, 0.08938769, -0.11516081, -0.063434005, -0.15721959, 0.15561773, -0.050912045, 0.11003226, -0.13991411, -0.1300524, 0.04862886) * go_3(0.0, 1.0);
result += mat4(-0.032974396, 0.063625805, 0.049537376, -0.022988167, -0.01843721, -0.101040475, -0.056562204, 0.014531577, 0.004539358, 0.17242074, 0.10726271, -0.074500956, -0.17708772, 0.027675934, -0.059681445, -0.2764947) * go_3(1.0, -1.0);
result += mat4(0.005475852, 0.022774579, 0.07243921, 0.034401163, 0.11421145, -0.01111065, 0.041709334, -0.005682442, 0.103502244, 0.1585634, 0.0822138, 0.10464134, -0.30551413, 0.044623576, 0.12529698, 0.19838129) * go_3(1.0, 0.0);
result += mat4(0.10738428, -0.08327003, -0.15896958, 0.055716608, 0.036630616, -0.095512174, 0.12127086, 0.017237328, 0.07521648, 0.02619509, 0.09315012, -0.091806784, -0.17385966, 0.39460838, 0.16974619, 0.118519105) * go_3(1.0, 1.0);
result += mat4(0.02155818, -0.037706323, -0.031167481, 0.17740026, -0.10216859, -0.03835498, 0.063458204, -0.068242945, -0.076139286, -0.00688632, 0.26133075, 0.02907029, -0.098043405, 0.043967254, 0.038398016, -0.004577523) * go_4(-1.0, -1.0);
result += mat4(-0.03310849, 0.032241113, 0.03790139, -0.1506091, -0.06757023, 0.085145615, 0.051285, -0.18566431, 0.12794217, 0.13021192, -0.32284498, 0.057858843, -0.06994142, -0.08634674, -0.046662483, -0.13749412) * go_4(-1.0, 0.0);
result += mat4(-0.028267909, 0.1641077, -0.19964945, 0.023037154, -0.030063655, -0.091514915, -0.07767639, -0.02312143, 0.11070785, 0.15357333, -0.03830176, 0.10832436, 0.0443796, -0.09758842, 0.015634436, -0.06254477) * go_4(-1.0, 1.0);
result += mat4(-0.09528219, -0.19769864, 0.06703834, 0.09207281, -0.032106426, 0.093832366, -0.11258022, 0.05922724, -0.16998139, -0.0017481655, 0.17522462, 0.24669507, 0.052276075, 0.05705078, -0.044763424, 0.053217035) * go_4(0.0, -1.0);
result += mat4(0.18400073, 0.031144079, 0.19051228, -0.07425283, 0.19960524, 0.10420792, 0.009194873, 0.05656284, 0.1877819, 0.08194684, -0.087940305, 0.12211445, 0.17500238, -0.13317922, 0.11282426, 0.1984043) * go_4(0.0, 0.0);
result += mat4(0.12576003, -0.0002440954, 0.032564614, 0.1245738, -0.1214486, -0.21279162, 0.16659847, -0.08634447, 0.13377175, 0.14048073, -0.10597221, 0.015309535, -0.082563356, 0.03762967, -0.01799735, -0.012296961) * go_4(0.0, 1.0);
result += mat4(0.31534046, 0.050005008, 0.010082459, 0.12638511, 0.029427648, 0.012857332, -0.0011064942, 0.021489955, -0.10499517, -0.008449794, -0.09070462, 0.16598962, 0.045353167, -0.04171796, 0.03455617, 0.038862403) * go_4(1.0, -1.0);
result += mat4(0.32602155, 0.25541407, -0.06687199, 0.13391781, 0.034061424, 0.15604642, -0.07522289, -0.011375775, -0.06472148, -0.19092827, 0.14646617, 0.06597225, -0.09730722, 0.08544787, -0.053395346, -0.0874809) * go_4(1.0, 0.0);
result += mat4(-0.21732031, -0.25536, 0.16840498, -0.30361295, -0.032152392, -0.021982064, -0.16944127, 0.07402161, -0.25390545, -0.095749676, 0.032905534, 0.018307336, 0.13753782, -0.15032212, -0.013642775, 0.0014004963) * go_4(1.0, 1.0);
result += mat4(0.10093556, 0.04637517, -0.09635432, -0.05565759, -0.01704443, -0.10422182, -0.010117417, 0.051819284, 0.023235573, 0.30288386, -0.20176506, 0.15881899, -0.0073640156, -0.021833172, -0.091416284, -0.019484103) * go_5(-1.0, -1.0);
result += mat4(0.059036765, 0.0028422088, -0.00083876523, 0.10131841, -0.037765842, 0.020626187, -0.1472255, 0.03169631, 0.047914416, 0.1507232, 0.1537407, 0.45889926, -0.08799094, 0.06833399, 0.21760616, 0.043725714) * go_5(-1.0, 0.0);
result += mat4(-0.037861925, -0.17365238, 0.09285812, -0.008444125, 0.060449697, -0.042576265, -0.13006234, -0.045280218, 0.07202426, -0.37961534, 0.29990852, 0.017368209, -0.040687993, -0.090216674, -0.03596889, -0.10287738) * go_5(-1.0, 1.0);
result += mat4(0.056114856, 0.03898295, 0.0726793, -0.13897386, -0.15011202, 0.06493792, 0.0006375224, -0.035154995, -0.1419182, -0.14487775, 0.010234703, 0.09966922, -0.21430752, 0.19036353, 0.1385904, -0.16709355) * go_5(0.0, -1.0);
result += mat4(0.13767402, -0.009218388, 0.34366035, -0.020337667, 0.104603715, 0.02890772, -0.21139692, -0.07398855, -0.047926538, -0.030577378, 0.18128897, 0.15607865, 0.035373166, -0.08518856, 0.03877098, 0.056739412) * go_5(0.0, 0.0);
result += mat4(-0.23528527, -0.06553831, -0.17654425, -0.042807654, -0.0023833162, -0.078174345, -0.06520886, 0.108480416, -0.07252387, 0.05465845, -0.43291152, -0.035231944, 0.13130796, -0.010083894, -0.15207918, 0.015428884) * go_5(0.0, 1.0);
result += mat4(-0.026347723, -0.065349065, -0.083640285, -0.0015784341, 0.036224395, -0.096346684, -0.065972336, -0.10886569, -0.19007617, 0.086069055, 0.08958893, -0.09020663, 0.12338649, 0.08924214, -0.050577816, 0.07367879) * go_5(1.0, -1.0);
result += mat4(-0.09333362, -0.2623413, 0.299135, 0.24848375, 0.037386406, -0.15902545, -0.22746527, -0.054786585, 0.08274337, -0.0357205, 0.05564374, 0.00689044, 0.40519455, -0.33158177, -0.18638985, -0.04642836) * go_5(1.0, 0.0);
result += mat4(0.17579286, 0.11385604, -0.0686301, -0.07236356, -0.16359027, 0.07976716, 0.05401284, -0.086946845, 0.131031, 0.09545254, -0.31800562, -0.008303773, -0.05069259, 0.07527546, -0.045465626, 0.1128337) * go_5(1.0, 1.0);
result += vec4(-0.04240877, 0.019321874, -0.0019326283, -0.09129558);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x40
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!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_tf_tex(conv2d_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
#define g_6 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.09150374, 0.27307025, -0.29910362, -0.1348109, 0.22943531, -0.3949183, -0.5663888, 0.060001444, 0.10339246, -0.13657793, -0.07578187, 0.3050418, -0.06493081, 0.12776284, -0.38266462, 0.06579857) * g_0;
result += mat4(-0.07931592, -0.067593426, 0.3326977, 0.08658692, -0.15738702, -0.24143377, -0.24007297, 0.3272038, -0.23275268, -0.07847532, 0.3563628, 0.32067114, -0.23376603, 0.0073057627, -0.26839128, 0.009836977) * g_1;
result += mat4(-0.28198138, 0.32377273, 0.09081581, -0.086309046, -0.12054532, -0.462313, 0.0920237, 0.23586476, -0.021723233, 0.36585453, -0.00796165, -0.39974895, 0.29524347, -0.256584, -0.40205815, -0.19578406) * g_2;
result += mat4(-0.28249493, -0.11078143, -0.1662569, 0.2984389, -0.0067178444, 0.34377992, 0.32329297, -0.23714112, -0.18873024, 0.24639177, -0.18014365, -0.214034, 0.4113513, -0.30601293, 0.09141208, 0.047741897) * g_3;
result += mat4(-0.3642344, 0.4233032, -0.4503468, -0.11965398, -0.034085244, 0.18682572, 0.138233, -0.22629389, -0.08205921, 0.12951039, -0.07831761, 0.12225131, -0.08253673, -0.04149855, 0.1658926, -0.22672354) * g_4;
result += mat4(-0.19474551, -0.098459534, -0.026704386, 0.12555447, -0.14878166, -0.13216433, 0.106912896, -0.116285235, -0.102333605, -0.084978595, -0.1978574, 0.26760474, -0.16923113, 0.1709896, 0.324137, -0.0039849947) * g_5;
result += mat4(0.278326, -0.18800737, -0.4307119, 0.033457235, -0.36178744, -0.10627576, 0.108752854, -0.1976515, -0.03780597, -0.08123979, -0.12383117, 0.27845758, 0.17234688, 0.35611427, 0.20723963, -0.079292715) * g_6;
result += mat4(-0.5295802, 0.08056841, 0.1919099, -0.067211255, 0.41047558, 0.14845635, 0.29295865, 0.36605957, 0.1662992, 0.26510397, 0.2262399, 0.105923004, -0.42799288, -0.020592844, -0.09260191, 0.041266896) * g_7;
result += mat4(0.3346207, -0.1813917, 0.12152124, -0.10919295, 0.0510005, -0.03250092, 0.20248795, 0.05000007, 0.31189185, -0.5248881, 0.17411484, 0.50529236, -0.10991088, -0.055482015, 0.3692675, -0.08483728) * g_8;
result += mat4(-0.209644, -0.294786, -0.23882675, 0.15662841, 0.15820913, 0.090583235, 0.09068973, -0.038006596, -0.16551273, 0.056037854, 0.108854815, -0.46387982, 0.092163965, 0.053796794, -0.24753033, -0.022790147) * g_9;
result += vec4(-0.03865883, 0.02926021, -0.01725902, -0.013565478);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x40
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!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_tf_tex(conv2d_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
#define g_6 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.0040288265, -0.015393535, -0.07260242, -0.15472066, -0.19534549, -0.39122432, 0.16078798, -0.5742789, 0.15768866, 0.2655791, 0.15935476, -0.047498103, 0.064498045, 0.076590106, -0.4061225, 0.37775257) * g_0;
result += mat4(0.2614361, 0.017933317, 0.1832562, 0.06045294, -0.4276279, -0.10364118, 0.25701275, -0.19153634, -0.07767676, -0.04028147, 0.48517522, 0.04272645, 0.15032586, -0.009070223, -0.077463955, -0.30442774) * g_1;
result += mat4(-0.28623474, -0.23038289, 0.24896185, -0.0850123, 0.2147713, -0.04781785, -0.53589386, 0.18313637, 0.14259681, 0.010933099, -0.15293483, -0.3547061, -0.041572977, 0.12857276, 0.07659088, 0.41463402) * g_2;
result += mat4(-0.23288313, -0.10809953, 0.03761914, 0.11731379, 0.2614991, 0.30079544, 0.09526279, 0.60236603, -0.27493668, -0.059467852, -0.11954311, -0.1494763, 0.1530606, -0.06316779, -0.16075373, -0.19744329) * g_3;
result += mat4(-0.23136528, 0.15367796, -0.114170656, -0.075603075, 0.115280285, 0.065568104, -0.2712825, 0.08988661, 0.07555022, 0.20744222, -0.17012368, -0.070289165, -0.13714345, 0.047158517, -0.0038408411, 0.42667535) * g_4;
result += mat4(-0.023408122, 0.21510267, 0.048198875, -0.034309026, -0.4022738, 0.27354932, -0.3187103, -0.08941432, -0.39407676, 0.040392227, 0.30848974, 0.0047349343, 0.074711114, -0.0855602, -0.10068395, -0.29605198) * g_5;
result += mat4(-0.17653674, 0.079635404, -0.26055837, 0.02086439, 0.09741846, -0.30796355, 0.024595756, 0.004988738, -0.03251247, 0.06604017, 0.21450306, -0.11361557, 0.13276732, 0.14402844, 0.10751112, 0.028939316) * g_6;
result += mat4(0.28167632, 0.08593957, 0.08560364, 0.09389072, 0.06070772, 0.1481636, -0.2830234, -0.08872352, 0.08137253, -0.17761461, 0.06556175, 0.38331816, -0.04286456, 0.18249401, -0.015249578, 0.1113206) * g_7;
result += mat4(0.03386872, -0.16347472, 0.046639867, 0.2082717, 0.05713075, 0.22504792, 0.33825234, -0.1434717, 0.14420202, -0.31768665, -0.028941685, 0.295254, 0.07706925, -0.19025062, 0.25294247, -0.08384886) * g_8;
result += mat4(0.14903983, 0.07136475, 0.15917307, -0.11220863, -0.061577477, -0.24206571, -0.033777636, 0.19905542, 0.25331694, 0.28196925, 0.17308664, -0.20262258, 0.19050619, 0.059853118, -0.29986638, -0.48297527) * g_9;
result += vec4(0.012018454, 0.019300776, -0.029552516, -0.007941907);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x40
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!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_tf_tex(conv2d_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_tf1_tex(conv2d_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_tf2_tex(conv2d_tf2_pos)), 0.0))
#define g_6 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.100268096, 0.23665515, -0.09436204, -0.28319857, -0.12872986, 0.08509328, -0.18415087, -0.03999439, 0.2617383, -0.15970403, -0.22670083, -0.03881397, 0.13375872, 0.16361052, -0.182056, -0.05152662) * g_0;
result += mat4(0.06983459, 0.05918782, 0.0019706702, 0.19103576, 0.0012266171, 0.16021517, -0.28444147, -0.08221082, -0.22690836, -0.28738838, -0.30523723, -0.06292484, -0.45787656, -0.4256781, 0.15011774, 0.19713745) * g_1;
result += mat4(-0.108251706, -0.09575882, 0.14541572, -0.023061674, -0.09192183, 0.20073768, 0.09588695, -0.12282409, 0.49980986, 0.035110943, 0.05705307, 0.1849613, 0.3072823, -0.2778156, -0.122733004, 0.23415174) * g_2;
result += mat4(-0.16456233, -0.29974493, 0.28406498, 0.25605485, -0.011572488, -0.08334007, 0.07203565, -0.094384134, 0.22027689, -0.21240151, -0.4200112, 0.12086537, -0.2557046, -0.21156469, 0.19297566, -0.122556984) * g_3;
result += mat4(-0.0512366, -0.21540374, -0.42458904, -0.14916559, -0.006133572, -0.047171656, 0.19129787, 0.22396603, 0.33921507, 0.12842081, 0.09855959, 0.12153268, 0.29035586, 0.36441955, -0.1877515, -0.13069488) * g_4;
result += mat4(0.13884968, -0.18599026, -0.252318, 0.06907854, -0.06035006, 0.09183405, -0.28984216, 0.09260213, -0.37774235, -0.0048559248, 0.0033081435, -0.2721911, -0.10626775, -0.000512303, -0.049684875, -0.032722652) * g_5;
result += mat4(-0.2273582, 0.1474099, -0.059321042, -0.15232776, 0.0116628725, -0.08633413, 0.05804712, -0.07626975, -0.10478975, 0.21511218, 0.41905594, 0.06739017, 0.30586454, -0.18381259, 0.09150968, 0.052257504) * g_6;
result += mat4(0.11706192, -0.22794026, 0.0827107, 0.08569464, -0.21939716, 0.45023325, 0.37169182, 0.042208318, 0.11287388, 0.32384142, -0.413992, 0.05821689, -0.3391042, 0.15291925, -0.36155325, 0.0664715) * g_7;
result += mat4(-0.34493464, -0.15583536, -0.14152767, -0.12836038, -0.09319977, 0.25707567, 0.14277849, 0.40507147, -0.031562362, 0.23948264, 0.1699104, 0.27782723, 0.08283791, -0.26529413, -0.106602244, -0.07465849) * g_8;
result += mat4(0.1887244, 0.252802, 0.32356924, 0.016438756, -0.08394548, -0.15049113, 0.04155357, -0.16676176, -0.31628004, 0.15818349, 0.095658414, -0.19542241, 0.07927821, 0.066871084, 0.09443255, -0.07224674) * g_9;
result += vec4(-0.0043032477, 0.009764352, 0.005997259, -0.007073129);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.028464707, -0.0076998044, -0.098759785, -0.12704554, 0.140781, -0.08847565, 0.12551343, 0.054319832, 0.039179612, -0.12079395, 0.0840237, -0.04765479, -0.0787157, 0.027072273, 0.032441992, 0.092848614) * go_0(-1.0, -1.0);
result += mat4(0.016368933, 0.08495167, 0.045507867, -0.017810903, -0.13693541, 0.07793141, -0.0847867, -0.02674938, 0.03917831, 0.0583348, 0.14067759, 0.05404356, -0.056053232, -0.08153035, -0.016500872, -0.09246647) * go_0(-1.0, 0.0);
result += mat4(-0.2207446, 0.09187981, 0.26351583, -0.10837247, -0.16074996, 0.021806644, 0.064383596, -0.100479834, -0.15344208, 0.029999373, 0.054487687, 0.024963278, 0.027253391, 0.044593908, 0.0028602716, 0.0068189986) * go_0(-1.0, 1.0);
result += mat4(-0.012270755, 0.17872953, 0.064162925, -0.009187634, -0.07101044, -0.15244298, 0.07641365, 0.045359824, 0.047280394, -0.11816058, 0.04818328, -0.06783152, 0.03312469, 0.09022799, 0.1502202, -0.15722868) * go_0(0.0, -1.0);
result += mat4(0.046646576, 0.06868044, 0.02820867, 0.21969767, 0.1243955, 0.26142406, -0.23144223, -0.08796293, 0.0398647, -0.062436674, 0.027423117, 0.13905616, -0.10112542, 0.016614847, 0.09284281, 0.10616967) * go_0(0.0, 0.0);
result += mat4(-0.11414351, -0.17635559, 0.23484671, 0.06690661, -0.05780663, -0.09876118, -0.0064057475, 0.190833, -0.07758326, 0.09217876, 0.1301408, 0.05124073, -0.0033208567, 0.10413071, -0.10017004, -0.18671247) * go_0(0.0, 1.0);
result += mat4(0.076304704, 0.031909514, -0.16726097, -0.044897225, -0.09151517, -0.08688521, 0.10994057, 0.098014385, 0.11175995, -0.07900182, -0.07106507, 0.09704293, 0.036083866, 0.1263971, 0.016215103, -0.047700983) * go_0(1.0, -1.0);
result += mat4(-0.28958046, 0.050771553, -0.0023323307, 0.0675595, -0.04316364, 0.044133425, -0.18150502, -0.0850111, 0.006924408, -0.06393128, 0.10205554, 0.15342334, 0.054154534, 0.022624893, 0.010953078, 0.13673723) * go_0(1.0, 0.0);
result += mat4(-0.03409413, 0.028405178, -0.05127796, -0.034043357, -0.0270218, 0.09640163, 0.11765684, 0.09158879, 0.06125932, 0.0020331615, -0.071551085, -0.10743251, 0.045237638, 0.013760218, -0.11425174, -0.01588719) * go_0(1.0, 1.0);
result += mat4(0.058918588, 0.009444897, -0.047927774, 0.09019786, 0.043345723, -0.023809604, -0.038707208, 0.028489659, 0.06825553, 0.0654595, -0.054454252, 0.024170533, -0.0630477, 0.063538656, -0.17238533, 0.068992056) * go_1(-1.0, -1.0);
result += mat4(-0.106661834, 0.1729409, -0.017353304, 0.1547866, -0.077660635, -0.13269295, -0.009888048, -0.100246325, -0.07955747, -0.07415859, 0.13797416, 0.007907938, -0.17988227, -0.035715256, -0.1665264, 0.017300867) * go_1(-1.0, 0.0);
result += mat4(0.012326813, 0.081755504, 0.09083725, 0.14236847, -0.06723204, 0.16559705, -0.019120784, 0.031893797, -0.043700054, -0.0021675762, -0.20446324, -0.04587342, 0.112972125, 0.13510054, -0.056528084, -0.14940956) * go_1(-1.0, 1.0);
result += mat4(0.1754108, -0.087218195, -0.11325469, -0.16805157, -0.1142211, 0.17406312, -0.059973314, -0.10717304, 0.18472707, -0.012734006, -0.007386818, -0.02337229, 0.0022313017, -0.08310493, -0.144318, -0.040679064) * go_1(0.0, -1.0);
result += mat4(-0.11436214, -0.032701626, 0.10555086, 0.097844794, 0.042062867, -0.06411445, -0.22296551, -0.02218468, -0.12138648, -0.219672, -0.027106086, 0.16117609, 0.4029761, 0.2874066, -0.24300526, -0.13958555) * go_1(0.0, 0.0);
result += mat4(0.19136569, -0.16899914, 0.28855026, 0.01604013, 0.23858279, 0.017443515, 0.116519265, -0.14106062, 0.2628952, 0.04199648, -0.15968476, -0.13577467, -0.26726186, 0.16894239, 0.1161797, 0.22232126) * go_1(0.0, 1.0);
result += mat4(0.03433782, -0.4377368, 0.07592228, 0.050765358, 0.016779365, -0.2814908, -0.054651145, 0.14099401, 0.009071582, -0.077537715, 0.03849815, 0.10649713, 0.13704073, -0.0066545433, 0.021307606, -0.020097127) * go_1(1.0, -1.0);
result += mat4(-0.07976216, 0.23822626, -0.17063715, 0.20297636, 0.023039242, 0.06014194, -0.15967317, 0.08240807, 0.009169198, 0.07917161, -0.054458518, 0.040417165, -0.04217864, -0.30155832, 0.0045507564, 0.31573528) * go_1(1.0, 0.0);
result += mat4(0.2465092, -0.18369976, 0.21851197, 0.09743678, -0.011960415, -0.008661719, 0.016011793, -0.08833815, -0.07458915, 0.11310172, -0.067554794, -0.051886413, -0.05756129, -0.05044447, -0.049218442, -0.1251358) * go_1(1.0, 1.0);
result += mat4(-0.105254, -0.060052536, -0.068924, -0.032004643, 0.09716229, -0.0237528, 0.0020337559, -0.09548248, 0.015624795, 0.018132908, -0.083482854, 0.069631234, -0.12218026, -0.016112767, -0.121688485, 0.006671939) * go_2(-1.0, -1.0);
result += mat4(0.060343012, 0.07173265, 0.033514615, -0.035466213, 0.06612058, 0.045815025, 0.015730558, -0.0010985638, 0.0484444, 0.045952056, -0.16152261, 0.052448895, -0.06334492, 0.07493364, 0.047932435, -0.030090101) * go_2(-1.0, 0.0);
result += mat4(0.11831878, -0.10772223, 0.10751084, -0.046449114, -0.15613122, -0.104276486, 0.1560631, 0.097843975, 0.09562602, -0.021978563, -0.21964736, -0.041462947, 0.0047826758, -0.032129213, 0.0023565618, -0.07376749) * go_2(-1.0, 1.0);
result += mat4(-0.15722834, -0.02632728, -0.17637573, -0.016288143, 0.011352041, 0.17230697, -0.05609241, 0.009408289, -0.06377007, 0.047789995, -0.0070850886, 0.034160197, -0.06458776, 0.07284792, 0.015426501, -0.23143877) * go_2(0.0, -1.0);
result += mat4(0.16319363, -0.025108967, -0.11674793, -0.009718719, -0.24873121, -0.10892215, 0.028181374, 0.2013077, -0.28780007, 0.09197797, -0.19682473, 0.093545504, 0.16686925, -0.042942066, 0.028844355, -0.24561931) * go_2(0.0, 0.0);
result += mat4(0.02991238, -0.11548832, -0.10701962, -0.01710372, -0.12132859, -0.06009217, -0.023218688, 0.10426464, -0.028997114, 0.004257648, 0.15071645, 0.03490751, -0.085863, -0.09392611, 0.050106034, 0.07477858) * go_2(0.0, 1.0);
result += mat4(-0.052695, -0.027481645, -0.05693278, 0.13416721, -0.08503671, 0.10108925, 0.084225155, 0.046710003, 0.08953068, -0.019499833, -0.006807835, -0.06288796, -0.1796082, 0.07454893, 0.01883766, 0.19803225) * go_2(1.0, -1.0);
result += mat4(0.04731733, 0.019041717, 0.11986274, 0.04895554, 0.13460037, 0.09323725, -0.08101143, -0.1452532, -0.03448016, -0.014483966, 0.0044403495, 0.216204, 0.034118585, 0.07380492, -0.08073832, -0.043065764) * go_2(1.0, 0.0);
result += mat4(0.031919103, 0.09095364, 0.053522676, 0.016255917, -0.08083637, -0.04807174, 0.053042952, -0.05141583, 0.081504606, 0.042846117, 0.03303765, -0.1883798, -0.0036450704, -0.12002698, -0.1244, -0.080678105) * go_2(1.0, 1.0);
result += mat4(-0.16122584, -0.008212501, -0.05120157, -0.022778573, -0.053276125, -0.042286847, -0.17664416, -0.12954712, -0.0761379, 0.07720356, 0.121285215, 0.057230424, 0.12885493, 0.05540465, -0.10127235, -0.1046722) * go_3(-1.0, -1.0);
result += mat4(0.0059682084, 0.058793347, -0.06450121, 0.029610962, 0.07985826, -0.022933831, -0.08538027, -0.23693174, -0.18352564, -0.14361037, 0.14683245, -0.17059821, 0.24653074, -0.10358226, -0.18449867, 0.28826568) * go_3(-1.0, 0.0);
result += mat4(0.109402634, -0.17495593, 0.02872942, -0.26577842, -0.010520629, 0.0257475, -0.019649142, -0.0042494787, 0.0977922, -0.035693713, -0.16548857, -0.14473264, 0.10279481, -0.03761352, 0.08277982, -0.054506484) * go_3(-1.0, 1.0);
result += mat4(0.07834562, -0.13401975, -0.06554887, 0.0344188, -0.005033, -0.13738358, -0.08895871, -0.17375943, 0.008980332, 0.17845936, -0.031673137, -0.032780677, -0.17496772, -0.06567684, -0.0879067, -0.17833589) * go_3(0.0, -1.0);
result += mat4(0.08132115, 0.14785478, -0.058087964, -0.142158, -0.15369953, -0.15217854, -0.19941473, 0.034333754, -0.19056644, -0.09883329, 0.20173714, 0.07546254, -0.06873401, 0.024350522, -0.22705045, 0.09726326) * go_3(0.0, 0.0);
result += mat4(-0.061119404, 0.1498806, 0.18721437, 0.011330382, -0.015643744, 0.07533644, -0.022020899, -0.076170765, 0.07889519, -0.14315721, 0.04101124, -0.011181962, -0.19103004, -0.14469305, -0.02276792, 0.015672136) * go_3(0.0, 1.0);
result += mat4(-0.1616954, -0.14240324, 0.020345474, -0.028972428, 0.029273145, -0.06964966, -0.12913519, -0.050227784, 0.16789235, -0.013613857, 0.084663846, -0.15132128, 0.10895483, -0.20322122, -0.09307093, -0.0062330775) * go_3(1.0, -1.0);
result += mat4(-0.05225281, 0.066603184, 0.031096019, -0.09310155, 0.14514507, -0.009998913, 0.033743512, -0.13563685, -0.021589456, 0.32727543, 0.0035744726, -0.21270075, -0.017812472, -0.04773592, 0.052216113, 0.08413973) * go_3(1.0, 0.0);
result += mat4(-0.09710154, -0.07446958, -0.042560603, 0.010112269, 0.09633226, -0.12927702, 0.05526002, -0.009550226, -0.15989332, 0.09077396, 0.26300862, 0.13470653, -0.0029948365, -0.05834304, -0.085342124, 0.010376505) * go_3(1.0, 1.0);
result += mat4(-0.03393304, 0.03905722, 0.064385764, 0.026455093, 0.11423048, 0.1109991, 0.2512801, -0.00018190061, -0.119585566, 0.019256035, 0.17137274, -0.03141496, 0.10388094, 0.014761465, 0.01792128, -0.048041224) * go_4(-1.0, -1.0);
result += mat4(0.056538835, -0.044805653, 0.088352054, -0.040668774, 0.07658913, 0.25435007, -0.103390075, -0.16600297, 0.0570918, 0.10878821, -0.09427662, -0.020814264, 0.095397346, -0.022407921, 0.04603558, 0.08292191) * go_4(-1.0, 0.0);
result += mat4(-0.18320225, 0.014180938, 0.12366831, -0.037870515, -0.123277426, -0.104366444, -0.03690819, 0.055727687, -0.060254056, 0.105991386, 0.053059157, -0.05825196, -0.047167964, -0.05536192, -0.18967348, 0.07715401) * go_4(-1.0, 1.0);
result += mat4(-0.061500985, 0.023106435, 0.08949974, 0.05603795, -0.1613715, -0.11446802, 0.012662355, -0.15974553, -0.34093174, -0.13919024, 0.06844236, 0.12359827, 0.062890425, -0.04880532, 0.14354451, -0.13378207) * go_4(0.0, -1.0);
result += mat4(-0.057209305, 0.028597657, 0.12902237, 0.06997324, 0.22331005, 0.2792173, -0.052616224, -0.13297799, -0.033562534, 0.14029196, -0.1783528, -0.0053741536, -0.29229236, -0.06684428, -0.10517437, 0.21203697) * go_4(0.0, 0.0);
result += mat4(0.10947225, -0.06931686, -0.14889559, -0.085129574, 0.06926651, -0.10544586, 0.1296569, 0.09153423, -0.20934357, 0.122589186, -0.058906972, -0.07838707, 0.17665568, 0.2367453, -0.0015753311, -0.060034733) * go_4(0.0, 1.0);
result += mat4(-0.062648535, 0.16448666, 0.022529785, -0.098661594, -0.051497877, -0.019073786, -0.0044184057, -0.0136231575, -0.018079886, 0.021235423, -0.15162809, -0.24303406, -0.11024918, -0.014827531, 0.0070990776, -0.047530305) * go_4(1.0, -1.0);
result += mat4(-0.13215098, 0.04323701, -0.124653995, 0.031014644, 0.2403102, 0.054318085, -0.113241635, 0.03494056, 0.14895897, 0.22553281, -0.039462954, 0.0036292854, 0.10496238, 0.40768668, -0.17489201, -0.21029839) * go_4(1.0, 0.0);
result += mat4(-0.12505935, 0.033010297, -0.07171161, -0.13023305, 0.13043536, 0.07766028, 0.043315243, 0.00273432, 0.010559837, 0.2449146, 0.103413016, 0.061280526, 0.019433588, 0.09705379, 0.1413594, 0.21677981) * go_4(1.0, 1.0);
result += mat4(0.17339379, 0.07445689, 0.047527492, 0.04073989, 0.16571555, 0.094307356, 0.05570808, 0.050082114, 0.26008093, 0.0011750524, -0.056953136, 0.023889272, 0.07920375, -0.15462793, -0.10859703, 0.22225638) * go_5(-1.0, -1.0);
result += mat4(-0.14460795, -0.23120734, 0.09880609, 0.008740065, -0.08394352, -0.07484427, 0.15508145, 0.08163845, 0.0001757717, -0.035541482, -0.118501745, -0.018500883, 0.1785295, 0.24038094, -0.102198996, 0.2523893) * go_5(-1.0, 0.0);
result += mat4(-0.17098859, -0.07872716, 0.0038054434, 0.08042515, -0.117264174, -0.041794434, -0.13579053, -0.20424524, 0.059450265, 0.040410843, 0.16315247, 0.0324009, 0.114713356, 0.017386664, -0.14457619, -0.21004651) * go_5(-1.0, 1.0);
result += mat4(-0.066141926, 0.15882061, 0.13307483, 0.114355765, -0.07900095, -0.156907, -0.037288003, -0.14757472, -0.010197741, 0.052261543, -0.11223866, -0.0031431175, -0.07645977, 0.13810956, -0.13983661, 0.19276282) * go_5(0.0, -1.0);
result += mat4(-0.24525023, -0.2165669, -0.06156368, -0.020571185, 0.28487962, -0.13734438, -0.14961216, -0.26031163, -0.039832775, -0.14188278, 0.0017960059, -0.11811938, 0.049912933, 0.13938166, -0.1890474, -0.13010345) * go_5(0.0, 0.0);
result += mat4(0.086862795, 0.13455878, -0.06575038, 0.010967355, 0.31994078, 0.065179855, 0.09303991, -0.111216314, -0.023312982, -0.0056160437, 0.10833287, 0.123307824, 0.12041721, -0.016003655, -0.060148813, -0.21671617) * go_5(0.0, 1.0);
result += mat4(0.3597002, -0.13594855, -0.22724168, 0.08974383, -0.101636834, -0.046170574, -0.06452495, 0.0619337, -0.0379112, 0.05345647, -0.0062067215, -0.13294907, -0.039528616, -0.110734314, -0.09750029, 0.083113104) * go_5(1.0, -1.0);
result += mat4(0.103449695, 0.3424504, 0.045992997, -0.21983469, 0.06994479, 0.004806882, 0.019098198, -0.119197115, 0.08848508, -0.039956793, 0.23169635, 0.04660099, -0.06981954, -0.051656332, -0.24439722, 0.03596607) * go_5(1.0, 0.0);
result += mat4(-0.06712761, -0.00913006, -0.036801785, -0.03777065, 0.0730815, 0.09828279, -0.18643986, 0.027277572, -0.0159672, -0.0015596154, -0.23985957, -0.0040241885, -0.16967058, -0.058974106, -0.094192326, 0.1336856) * go_5(1.0, 1.0);
result += vec4(-0.076249816, 0.07466298, -0.051554482, -0.11264957);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.106834725, 0.18024336, -0.027624073, -0.06300384, 0.013369189, 0.10998351, 0.07253877, 0.0065344926, -0.008734026, 0.048019607, -0.003248937, -0.047845103, -0.07095922, 0.012949799, 0.030568307, 0.15588635) * go_0(-1.0, -1.0);
result += mat4(-0.049377117, 0.0033155335, -0.038582377, 0.013099166, -0.051002443, 0.07695772, 0.12755409, 0.06646013, 0.10287292, -0.008030997, 0.059517276, 0.118444875, -0.026919635, 0.09400291, -0.17555143, 0.016028926) * go_0(-1.0, 0.0);
result += mat4(0.03425934, 0.09273214, 0.014711443, -0.0694573, 0.04459762, 0.010852803, -0.098513305, -0.056785677, -0.13676372, -0.030752834, -0.007839484, -0.05978732, -0.061603706, 0.052086987, -0.072405905, -0.026566304) * go_0(-1.0, 1.0);
result += mat4(-0.058037378, 0.023209494, 0.07073123, 0.020005, -0.1177162, 0.13493189, 0.019038215, 0.06115233, -0.13919368, 0.12740569, -0.012965469, -0.07058033, 0.21871229, -0.068229064, -0.11406179, -0.12661217) * go_0(0.0, -1.0);
result += mat4(-0.097219005, -0.12651765, 0.21862286, 0.103037514, 0.11405085, 0.22731417, -0.1130025, -0.04877183, 0.1175796, 0.17782913, 0.057885252, -0.31179765, -0.17180386, 0.059727516, 0.17149255, -0.006370171) * go_0(0.0, 0.0);
result += mat4(0.060737263, 0.1149685, 0.1667211, -0.08434202, 0.018612696, 0.032902695, 0.038428612, -0.07943687, 0.11031175, 0.014294415, -0.11065108, 0.019858751, 0.04304977, 0.05111388, -0.10061939, -0.019913884) * go_0(0.0, 1.0);
result += mat4(0.022282364, 0.038233023, -0.002318897, 0.037901033, -0.114537284, 0.09081674, -0.07027963, -0.106004134, -0.13187332, 0.06433914, 0.06291799, 0.09183923, 0.026283145, -0.011141791, 0.13830143, -0.059647586) * go_0(1.0, -1.0);
result += mat4(0.026679164, -0.14001994, 0.071175724, -0.010935805, 0.02904883, -0.0839738, 0.10077412, -0.101220585, -0.16763939, -0.037594456, 0.07087901, 0.015410247, 0.08040373, -0.015504971, 0.14327593, 0.07826331) * go_0(1.0, 0.0);
result += mat4(-0.004693859, 0.17341207, -0.0952323, -0.12170305, -0.03480792, -0.01807752, -0.019611124, 0.17014018, 0.033898324, 0.08534683, 0.05537514, -0.093239665, 0.09018517, 0.117878705, 0.025285356, 0.10122994) * go_0(1.0, 1.0);
result += mat4(0.10368713, 0.027397113, -0.059444696, 0.08615468, -0.118322514, 0.20012859, -0.03950898, -0.039341822, -0.051778354, -0.07006863, 0.112342045, 0.06571937, -0.17064667, 0.08475915, -0.04536611, 0.08702029) * go_1(-1.0, -1.0);
result += mat4(-0.012360674, 0.07656913, 0.0848132, -0.2725906, -0.11390571, 0.03258462, -0.10729077, -0.16543134, 0.020651866, -0.030859482, -0.14126211, -0.10496892, -0.1099864, 0.0991522, 0.026140317, 0.13303608) * go_1(-1.0, 0.0);
result += mat4(0.08209687, -0.067372896, 0.13914725, 0.20619772, 0.019196827, 0.14682962, 0.0072439536, 0.024154488, 0.09306064, 0.09079697, -0.039169356, -0.12485728, 0.06439077, -0.020644344, -0.0035471297, 0.056672096) * go_1(-1.0, 1.0);
result += mat4(0.026242072, 0.18251725, -0.15819614, -0.1048932, -0.23641023, 0.1916822, -0.06100835, -0.1605201, 0.07151288, -0.08362524, 0.026452186, -0.08272424, -0.17491712, 0.16357106, -0.22656876, -0.0852402) * go_1(0.0, -1.0);
result += mat4(0.25432497, -0.3179174, -0.20754787, -0.19132249, -0.00055361754, 0.016532842, 0.12478896, -0.06314577, -0.083694994, 0.022240356, 0.08619687, -0.035636988, 0.32484248, -0.17462182, 0.024408465, -0.353279) * go_1(0.0, 0.0);
result += mat4(-0.16208933, -0.22242436, 0.13512996, 0.10687675, 0.03342475, -0.006337535, 0.094075486, 0.21253215, 0.022004139, 0.31110993, 0.08099112, -0.15806697, -0.054819234, -0.2751204, -0.12101108, 0.03239614) * go_1(0.0, 1.0);
result += mat4(0.022792386, -0.02752982, -0.30862072, 0.16691506, -0.11619298, 0.14244734, -0.062969424, -0.028059227, -0.012788347, 0.01715417, 0.0024341452, 0.023399662, -0.060552727, -0.036958337, -0.06770959, -0.01009437) * go_1(1.0, -1.0);
result += mat4(0.029661844, -0.050902784, -0.017142536, -0.15507418, -0.029210325, 0.011607694, -0.07789076, -0.22111364, -0.17677039, -0.019451384, 0.026977273, -0.10413249, -0.4368749, -0.25416267, -0.03914208, -0.051825944) * go_1(1.0, 0.0);
result += mat4(0.103459194, -0.18992494, -0.068039134, 0.25649327, -0.16803737, 0.019372506, -0.05886651, -0.06154365, -0.16578822, -0.056754623, -0.002147329, 0.07532936, 0.031057874, 0.050599203, 0.07240444, -0.1410561) * go_1(1.0, 1.0);
result += mat4(-0.0586574, 0.026906572, -0.011746404, 0.10076384, 0.13755976, -0.13861628, 0.029709747, -0.11754726, -0.17200297, 0.098927505, -0.024392992, 0.16481781, 0.037462868, 0.033325523, -0.07555307, 0.2181384) * go_2(-1.0, -1.0);
result += mat4(0.1581431, -0.10072426, 0.07533967, 0.039553873, 0.08723691, -0.12836275, 0.22338805, -0.11436044, 0.0024439641, 0.08847533, -0.12207052, 0.18953556, -0.10175764, 0.15430617, -0.03604781, -0.071290806) * go_2(-1.0, 0.0);
result += mat4(-0.057867028, -0.11391012, 0.07945617, 0.040399376, -0.014624698, -0.054960378, -0.0994919, -0.06482592, -0.06905486, 0.045492437, 0.0668309, 0.034522235, 0.060679086, -0.0356498, -0.0033573967, -0.054480232) * go_2(-1.0, 1.0);
result += mat4(0.03386215, 0.09717318, -0.14660215, -0.051792927, -0.07220533, -0.1254424, 0.26169837, 0.17314412, 0.17797379, -0.021019243, 0.026199821, -0.07956899, 0.16637664, -0.03227029, 0.052336816, -0.12380936) * go_2(0.0, -1.0);
result += mat4(0.15810388, -0.17028685, -0.08264267, 0.027713222, -0.09655758, -0.03233345, 0.09400583, 0.009685348, 0.06812867, 0.40837774, -0.08880642, 0.059928026, 0.101455815, -0.0036855226, -0.015825639, -0.013063323) * go_2(0.0, 0.0);
result += mat4(-0.17800288, -0.11709777, 0.035400074, -0.015935183, -0.12982886, -0.034546383, -0.0525387, 0.20225286, 0.14220522, 0.061377823, 0.00014960035, 0.13865508, -0.06169547, -0.21942186, 0.22486074, 0.18510453) * go_2(0.0, 1.0);
result += mat4(-0.06434197, -0.039698705, 0.1243853, 0.007825078, 0.18512134, -0.07974655, 0.0105988905, 0.012806189, -0.12235224, 0.07689711, -0.029549513, -0.026154809, -0.028524537, -0.031428084, -0.100929715, -0.0155503135) * go_2(1.0, -1.0);
result += mat4(-0.15794489, -0.079684526, -0.10408266, 0.07326438, -0.04324642, -0.025686411, 0.014985363, -0.02932256, 0.111112125, 0.009606888, 0.10593714, 0.030467978, 0.085972294, 0.09065103, -0.07246925, -0.056814115) * go_2(1.0, 0.0);
result += mat4(0.05297169, 0.15008958, -0.05353517, -0.127785, -0.08239153, -0.01947914, -0.053309202, 0.07587591, 0.04076727, -0.004745353, 0.051420934, 0.03044254, -0.12723267, -0.120072745, -0.012252604, -0.03744495) * go_2(1.0, 1.0);
result += mat4(0.06482235, -0.0017201633, -0.012050286, 0.04936528, 0.115742385, -0.054320365, -0.08183828, -0.023505857, -0.051401738, 0.0067414865, 0.009670556, 0.06426094, 0.03947468, -0.10321029, -0.08444622, 0.052993495) * go_3(-1.0, -1.0);
result += mat4(-0.07336029, -0.16233058, -0.1164956, 0.045084342, 0.0014198005, -0.17943895, -0.023768071, -0.1663619, -0.025011042, 0.026148485, 0.013759884, -0.098297365, 0.016210366, 0.007079621, 0.11841153, 0.1753525) * go_3(-1.0, 0.0);
result += mat4(-0.033714242, -0.06668379, -0.028439678, 0.1648063, -0.0045653633, -0.05041868, 0.041000497, 0.02003046, 0.068131685, 0.07523978, 0.11634907, -0.06306194, 0.025750818, -0.10319425, 0.047172576, -0.10844465) * go_3(-1.0, 1.0);
result += mat4(-0.03303053, 0.110286005, -0.042665612, -0.06289726, 0.14258501, -0.05801775, -0.008891718, 0.024476971, 0.20997447, -0.1037112, 0.12633593, 0.014187738, -0.1353714, -0.08789717, -0.13295253, 0.29773507) * go_3(0.0, -1.0);
result += mat4(0.10294873, -0.1851888, 0.040836353, -0.079780325, 0.009049964, 0.061067987, -0.037473653, -0.12858227, -0.00080504594, 0.0063723954, -0.19619246, 0.23210151, 0.13132347, -0.29248238, -0.012305572, 0.14175442) * go_3(0.0, 0.0);
result += mat4(0.077941544, 0.059704628, -0.026057182, 0.021592934, -0.046874024, 0.031435635, 0.027889056, 0.062328063, -0.086727776, -0.015051202, 0.012940123, -0.06695087, 0.0508335, 0.07990172, 0.031115033, -0.09544595) * go_3(0.0, 1.0);
result += mat4(-0.14133973, -0.05130327, -0.05639438, 0.028651359, 0.22145109, -0.21857488, -0.15814364, 0.114126325, 0.2408882, -0.02402865, 0.056457262, 0.0629091, 0.051337942, 0.032496497, -0.05894634, 0.254206) * go_3(1.0, -1.0);
result += mat4(0.0016876322, 0.07454677, 0.114835136, -0.049408637, -0.072120376, 0.1705347, -0.16119072, 0.045600023, 0.21098119, 0.24293563, -0.13509166, 0.012116296, -0.12684636, 0.0523889, -0.08996256, -0.0686311) * go_3(1.0, 0.0);
result += mat4(0.06702132, -0.026396574, 0.09228047, -0.0034695766, -0.021874752, -0.07655685, -0.024474055, -0.15055239, -0.054425523, -0.09083406, -0.06557004, 0.051595543, -0.03305109, 0.008586375, 0.017779024, -0.11461731) * go_3(1.0, 1.0);
result += mat4(-0.03307554, -0.06281204, -0.07496353, -0.13381115, 0.036915727, -0.17340642, 0.10644906, 0.00012516085, -0.060911283, 0.039559897, -0.1967895, -0.13985567, 0.14165276, -0.15532759, 0.06485333, -0.03891259) * go_4(-1.0, -1.0);
result += mat4(0.024623636, -0.10563493, -0.01394589, 0.0113245975, 0.054890133, -0.14683317, 0.0576108, 0.15072542, -0.038304873, -0.0022316955, 0.18873039, -0.060015254, 0.11154627, -0.02622966, 0.0042637973, 0.055653475) * go_4(-1.0, 0.0);
result += mat4(-0.093863666, 0.019430112, -0.038862027, -0.14432994, 0.02456244, -0.17731488, 0.04138056, 0.058279395, -0.06814862, -0.020570546, 0.00065091706, -0.025593719, -0.10529772, -0.038274746, -0.07037789, -0.017955577) * go_4(-1.0, 1.0);
result += mat4(-0.0851937, 0.030014474, 0.1698261, 0.020931602, 0.053171065, -0.068494216, 0.018686758, 0.089620255, -0.09194484, 0.1438787, 0.09940187, -0.076496385, 0.04232349, -0.030840885, 0.16399838, 0.020260496) * go_4(0.0, -1.0);
result += mat4(0.08122571, 0.08767448, -0.21170379, 0.19122678, 0.029970447, 0.07195186, -0.012424588, 0.19985774, 0.123004064, -0.13519633, 0.068968706, 0.06648504, -0.19634406, 0.023143137, -0.07472079, 0.28444788) * go_4(0.0, 0.0);
result += mat4(0.122882634, 0.122906245, -0.0851795, 0.010272538, -0.091251366, 0.09492852, 0.083030395, -0.08250826, -0.20424134, -0.19424644, -0.054201532, -0.038991813, 0.045982555, 0.3397998, -0.1204989, -0.24832137) * go_4(0.0, 1.0);
result += mat4(0.16821183, 0.011305718, 0.20207065, 0.095515184, 0.042116765, 0.20686843, 0.15248151, 0.021219853, 0.07469842, 0.09721156, 0.19753139, 0.07255913, 0.04181145, 0.09630732, 0.0036390945, -0.029491683) * go_4(1.0, -1.0);
result += mat4(0.03455011, -0.053190827, -0.08367929, -0.11187188, 0.05652753, -0.16741751, -0.09772033, -0.0954943, 0.06448563, 0.06716266, 0.04133831, 0.10973916, 0.5054512, 0.20122768, -0.14347143, 0.03383006) * go_4(1.0, 0.0);
result += mat4(-0.00027249692, 0.11114471, 0.033320926, -0.035830263, 0.04158059, 0.018917672, 0.07155404, -0.019937448, 0.1088646, 0.09364122, 0.06764142, -0.0248769, 0.007933269, -0.04785583, 0.016699005, 0.09242855) * go_4(1.0, 1.0);
result += mat4(0.123951405, -0.09898866, -0.12562813, -0.05182043, -0.1528828, 0.0051535643, 0.017996375, 0.105495945, 0.13044296, 0.019226039, 0.072746694, -0.16398475, 0.15856469, -0.047138795, 0.4050184, -0.3016584) * go_5(-1.0, -1.0);
result += mat4(-0.074630626, 0.012780617, -0.21393219, -0.06545489, -0.012734723, 0.060796153, -0.23992276, 0.23205769, 0.0564601, -0.13263687, 0.17939384, -0.22738916, 0.28362492, -0.26928297, 0.030191405, 0.15930773) * go_5(-1.0, 0.0);
result += mat4(0.037925556, -0.027558923, -0.038443957, 0.096311405, 0.130506, 0.025539404, 0.16404447, 0.10534218, 0.084355734, -0.060958024, 0.06566972, 0.050011195, -0.10619651, 0.12924303, -0.09983825, 0.013296667) * go_5(-1.0, 1.0);
result += mat4(-0.0900194, -0.03988999, -0.04922987, 0.057099067, 0.009509885, 0.13328543, -0.13821216, -0.096323445, -0.123524725, -0.08846302, 0.011430991, -0.0022311457, 0.21333455, 0.13512893, -0.14221409, 0.21651462) * go_5(0.0, -1.0);
result += mat4(-0.10510396, -0.03496734, 0.02728204, -0.023457753, 0.2211027, -0.114457466, -0.057317328, -0.033660043, -0.05826504, -0.3067388, 0.18658683, -0.2569707, 0.12728155, 0.21021031, 0.0016321868, -0.2241057) * go_5(0.0, 0.0);
result += mat4(0.11707437, 0.038405795, 0.115914926, -0.13734217, 0.1966143, 0.11888877, 0.14537278, -0.23218197, -0.07190851, -0.056910247, 0.08407676, -0.012281164, 0.15056735, 0.27459544, -0.15899052, -0.25952014) * go_5(0.0, 1.0);
result += mat4(0.1686332, -0.04361177, -0.14889196, -0.19178064, 0.0467949, 0.011791658, 0.09221666, 0.037405606, 0.015332817, 0.07552529, 0.11025044, 0.05628346, 0.18186994, 0.11332812, -0.018669184, 0.082112476) * go_5(1.0, -1.0);
result += mat4(0.18370725, 0.29005066, 0.017441573, 0.29143426, 0.08587358, 0.018103257, -0.10711215, 0.13872367, -0.14781004, 0.015936527, 0.053144645, -0.038545102, 0.030254137, 0.040837962, -0.034891758, 0.0966979) * go_5(1.0, 0.0);
result += mat4(0.024307111, -0.007671845, -0.043741602, 0.096127465, 0.15333822, 0.026735064, -0.04555884, -0.07535962, -0.10231854, -0.079852626, -0.08178878, -0.03838594, -0.03415992, 0.017432451, 0.118129976, -0.16443917) * go_5(1.0, 1.0);
result += vec4(-0.0041193813, 0.015008556, 0.06934586, 0.008602586);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x48
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!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_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
#define g_6 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.26761916, -0.24422711, 0.21467628, -0.14429939, -0.16867152, 0.019657448, 0.13460818, -0.20023769, -0.11340837, 0.08858731, -0.13437305, -0.35356593, -0.166875, -0.3335764, -0.30487195, -0.18249014) * g_0;
result += mat4(0.0103351595, 0.019523615, -0.085381895, 0.023507696, -0.06509177, -0.17890798, -0.106904104, 0.4792868, -0.16292045, 0.010498117, 0.119574495, -0.27299005, 0.03395923, 0.026821606, -0.41253936, -0.08301559) * g_1;
result += mat4(0.26279557, -0.2541165, -0.18392049, -0.21962899, -0.14001782, -0.23177835, -0.022218328, -0.1427412, 0.091821305, 0.10855345, 0.44959477, 0.058340758, -0.24799977, 0.3565854, 0.013265246, 0.055574704) * g_2;
result += mat4(-0.30022192, 0.09299804, -0.023125056, -0.123527065, 0.4004787, 0.08056971, -0.09605205, -0.121825874, 0.38889158, -0.1483759, 0.13983476, 0.29878005, -0.20108524, 0.1961977, -0.47242287, -0.06553211) * g_3;
result += mat4(0.17079045, 0.08361359, 0.009484214, 0.1707653, -0.087261476, -0.087097056, -0.012763265, 0.29483643, -0.28490525, -0.3195555, -0.08523994, 0.12864676, 0.06112412, 0.06797802, 0.40068462, 0.11056894) * g_4;
result += mat4(-0.13525724, 0.22686912, 0.28670293, 0.35410637, 0.25993523, -0.1638555, -0.17513171, 0.17038722, -0.044490904, 0.1274143, -0.025726566, -0.19816703, -0.29416955, -0.06961644, 0.030743139, 0.11367489) * g_5;
result += mat4(0.18545562, -0.06487542, 0.33482194, -0.24661279, -0.32046458, 0.3974365, 0.23327115, -0.20816243, -0.121703945, -0.13698983, 0.037402794, -0.3681139, 0.2559689, 0.0068038814, 0.15202744, 0.28728062) * g_6;
result += mat4(0.09979532, -0.014131657, -0.10398607, 0.2152131, -0.14150284, -0.05365564, -0.271173, -0.3405926, -0.11394731, -0.016010681, 0.25552076, 0.37970966, -0.2593704, 0.1591259, -0.25309658, -0.12218305) * g_7;
result += mat4(0.1692998, 0.067247115, 0.12935598, -0.12525293, 0.32433978, -0.34517387, -0.069578916, -0.23326226, -0.064913265, 0.2855713, 0.20725873, -0.0967844, 0.083778754, 0.12616636, 0.018192552, 0.12799433) * g_8;
result += mat4(-0.33400214, 0.22635528, -0.19802323, -0.047504075, 0.16644837, 0.04351617, 0.36790857, 0.08537014, -0.14359091, -0.1098514, 0.17290404, 0.15990348, -0.071987584, -0.05375565, 0.18347272, 0.08445061) * g_9;
result += mat4(-0.0017842463, 0.11356512, -0.23591736, -0.25712514, -0.006414402, 0.4143378, 0.1908977, 0.52574486, -0.11780233, -0.16473259, 0.060708508, -0.054775394, -0.09365787, 0.2175931, 0.2067786, 0.34738192) * g_10;
result += mat4(0.5713227, -0.43584484, 0.002311247, 0.35608718, -0.23530786, 0.031132858, 0.25841874, -0.1973695, -0.13229723, -0.1728666, 0.0757621, -0.29117447, -0.08741721, 0.13616516, -0.30073285, -0.18420693) * g_11;
result += vec4(-0.021890169, -0.026031738, -0.06421138, -0.055722203);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x48
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!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_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
#define g_6 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.38945672, -0.15583369, 0.39306244, -0.13897201, 0.11470281, 0.0070681917, -0.033763073, 0.15643148, 0.22714609, 0.024933932, -0.15510249, -0.080083966, -0.0042226757, -0.06603862, 0.23811841, -0.32394788) * g_0;
result += mat4(-0.06128401, 0.054259196, -0.08520396, -0.09865539, 0.34222758, 0.3883786, -0.30866903, -0.1013294, 0.1554453, -0.042319432, -0.088941224, 0.09722677, 0.13703698, 0.09614998, -0.085818544, 0.21931672) * g_1;
result += mat4(0.21811181, -0.14642404, 0.15328391, 0.27492282, 0.017405918, -0.064721376, -0.17901668, 0.18575072, -0.22293139, 0.071663104, 0.086893745, 0.13848016, -0.043508906, 0.05155524, 0.01965522, -0.23922569) * g_2;
result += mat4(0.20807248, -0.26891938, -0.15629172, -0.106703185, 0.38624528, 0.11624259, -0.01337477, -0.060828242, -0.40988693, -0.045406528, 0.24799256, -0.041767262, 0.0039274395, 0.10462824, 0.2424475, 0.329761) * g_3;
result += mat4(-0.2549953, 0.02627463, 0.16588904, -0.16302574, -0.05798094, -0.102065355, 0.051757824, 0.20152503, -0.18023098, -0.43803477, -0.11134416, 0.22741254, -0.10234647, 0.17433725, -0.2685737, -0.18413258) * g_4;
result += mat4(-0.27022618, 0.3230193, -0.30969992, -0.17705725, 0.13844849, 0.29754448, 0.10819534, -0.1418908, 0.10238312, 0.02931327, -0.2183156, -0.12163026, -0.13901141, -0.042728595, 0.04175075, -0.3803353) * g_5;
result += mat4(-0.16304304, -0.091977976, -0.24040937, -0.21812437, -0.12155577, -0.16794856, 0.29842067, 0.17197362, 0.11366187, 0.22641197, -0.0904384, 0.22736219, -0.18613777, -0.24540202, -0.101548284, -0.2319356) * g_6;
result += mat4(-0.06359172, 0.003388455, -0.06142785, -0.21898538, -0.13489254, 0.3798411, -0.11154017, -0.02557614, 0.38281298, -0.20294727, -0.09908404, 0.2206924, 0.18847103, -0.026022637, -0.021512525, 0.30209598) * g_7;
result += mat4(-0.14910938, 0.08331422, -0.07876587, 0.33450446, 0.18822157, -0.28672597, -0.21216297, 0.09774327, -0.15903074, -0.11264206, 0.15068948, 0.24262539, -0.0555986, 0.040748212, 0.1432122, 0.021155685) * g_8;
result += mat4(0.33370045, -0.21974795, -0.29980183, -0.13374488, 0.022646265, -0.13715576, 0.06832448, -0.02061188, 0.1425013, 0.027876817, 0.08250215, -0.064872354, -0.08560185, 0.2952806, 0.23416562, -0.03025477) * g_9;
result += mat4(-0.09395241, 0.017307205, 0.12121946, 0.04245705, 0.064785376, -0.041980207, 0.25907257, 0.07365294, 0.176773, -0.07988214, -0.23026212, 0.10206242, -0.13956478, -0.05496991, -0.41516188, -0.120178975) * g_10;
result += mat4(0.24655807, 0.28612685, -0.42955264, 0.047639456, -0.026326181, -0.051772635, 0.030225411, 0.0476083, -0.0844218, 0.27088377, 0.24819367, 0.023990134, -0.05364132, 0.01713283, -0.20104195, -0.030321445) * g_11;
result += vec4(0.0063284356, -0.007114507, 0.014496636, -0.0048167584);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x48
//!HOOK MAIN
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!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_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_3_tf2_tex(conv2d_3_tf2_pos)), 0.0))
#define g_6 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.28125653, 0.25701848, 0.20101643, 0.5281567, 0.26044676, -0.0461423, 0.23783551, -0.24269718, -0.048285794, -0.14693165, 0.10931955, 0.055711113, -0.23280147, -0.01317713, -0.17544006, 0.21709861) * g_0;
result += mat4(-0.08328998, -0.031984776, -0.07394345, -0.30742306, 0.2663806, 0.18147124, 0.07257191, 0.120762065, 0.3541939, 0.26340798, -0.46390432, 0.018954063, 0.10409174, -0.10490177, 0.10593656, 0.0628627) * g_1;
result += mat4(-0.032924887, -0.15148862, 0.18510309, 0.16908437, 0.10370028, 0.022468375, -0.11225163, -0.09905774, 0.13124186, -0.10389915, 0.13148285, -0.07210047, -0.12430891, 0.15495282, -0.1387402, -0.1870354) * g_2;
result += mat4(-0.06593955, 0.08320663, 0.045904607, -0.19401237, -0.09821163, 0.1250965, -0.09813775, 0.06319873, 0.196712, 0.06502086, -0.18785718, -0.2192117, -0.2976963, 0.035152618, -0.011372132, 0.16548428) * g_3;
result += mat4(0.16684611, 0.30011636, 0.028905347, 0.05727758, -0.22959393, -0.244406, 0.1341724, -0.102163084, -0.12952183, 0.11940772, 0.50821495, -0.009484609, -0.06948309, 0.0072816983, -0.15294522, 0.2092066) * g_4;
result += mat4(0.022403454, -0.007886967, -0.06732929, -0.018902952, -0.0013836037, -0.29473454, -0.044799604, 0.072756514, -0.030483285, 0.26202264, 0.17527826, -0.008713192, 0.29756203, 0.13983198, 0.07839081, 0.019387554) * g_5;
result += mat4(-0.16632473, 0.114597425, -0.04930454, 0.21361813, -0.0512679, -0.24750078, 0.41110075, -0.06739092, 0.3819155, 0.27142018, 0.002062295, -0.21381181, -0.17034262, -0.5128788, 0.1978073, 0.052122597) * g_6;
result += mat4(-0.29126012, -0.1758868, -0.29398203, 0.19212133, 0.08524374, 0.06918904, -0.22941263, 0.090433136, -0.053510923, -0.17689814, 0.1758969, 0.009342475, 0.27690578, 0.25371844, 0.24096957, -0.22880019) * g_7;
result += mat4(0.068742655, 0.22967601, 0.29380092, -0.15837927, -0.16055553, 0.1671522, 0.117854536, 0.082386516, 0.273745, -0.46557623, 0.3121532, 0.026219485, 0.2669753, -0.29373366, -0.25829294, 0.07983141) * g_8;
result += mat4(-0.19932887, -0.14828281, -0.40875518, 0.04568025, 0.047040872, -0.01525455, 0.14397773, -0.11989029, 0.17056611, 0.1253716, 0.4775329, -0.10225481, -0.24495989, 0.04492594, -0.035991665, -0.08934401) * g_9;
result += mat4(0.06003682, -0.017648386, 0.20581077, -0.3805033, 0.15103109, 0.06460132, 0.16655886, -0.26180133, 0.06786087, -0.08443782, -0.26908222, -0.07582944, -0.117463715, -0.22386667, 0.061124742, -0.07322523) * g_10;
result += mat4(0.044447657, 0.44650033, -0.1944857, 0.21535386, 0.10800574, -0.035085898, -0.28545883, 0.15166284, 0.06842558, 0.057331495, 0.48083216, 0.19788021, 0.051137898, 0.14926943, 0.3127889, 0.106091596) * g_11;
result += vec4(0.026539318, -0.015506256, 0.0048546535, 0.0075091156);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_6_tf1
//!BIND conv2d_6_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_6_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.049218107, 0.21571347, -0.20747061, -0.046645183, -0.09897469, -0.1449892, 0.099503465, -0.052779432, 0.056965314, -0.08023353, -0.09651464, -0.17625785, 0.07162338, 0.10608266, 0.09160291, 0.07648847) * go_0(-1.0, -1.0);
result += mat4(-0.23661679, 0.18498215, 0.2043574, 0.21552628, -0.012884588, -0.107940555, 0.007933281, 0.0043860893, 0.07565547, 0.043531492, 0.093431905, -0.19845657, 0.00040396213, 0.023531798, -0.0009222297, 0.064266875) * go_0(-1.0, 0.0);
result += mat4(-0.19092101, -0.024129303, 0.066313796, -0.21061827, -0.05613746, 0.012965115, -0.009586923, -0.016095884, 0.24103113, 0.020987242, 0.15000837, -0.021903152, -0.02680794, 0.028570198, 0.024247576, 0.1019393) * go_0(-1.0, 1.0);
result += mat4(0.042160884, -0.0044651097, -0.2256602, -0.176743, -0.07279961, -0.105894916, 0.07168919, 0.0006321205, -0.04146184, -0.0112911835, -0.071248055, -0.2660673, 0.07166489, -0.026766494, 0.0034254268, 0.04701791) * go_0(0.0, -1.0);
result += mat4(0.20525295, 0.15507427, -0.08623681, -0.26927975, 0.028362103, 0.15359573, -0.13348009, -0.16938299, -0.12509182, -0.07778249, -0.04977593, 0.032045715, 0.037650846, 0.06520867, -0.25672987, 0.2629358) * go_0(0.0, 0.0);
result += mat4(-0.023335787, -0.09518855, 0.027799817, -0.44717595, 0.23397295, 0.010497733, 0.10179942, 0.07204854, -0.1831238, 0.10368191, 0.3294273, 0.06342799, 0.054113593, 0.17175598, 0.1707106, 0.08511027) * go_0(0.0, 1.0);
result += mat4(-0.025395809, 0.09365036, -0.23646675, 0.013332688, -0.028793652, -0.038866017, 0.10540429, 0.04053974, 0.101766884, -0.13813715, 0.1600048, 0.021731319, 0.08449936, -0.08782831, -0.106220074, 0.043619707) * go_0(1.0, -1.0);
result += mat4(-0.15182768, -0.10297231, -0.11878062, -0.038845137, -0.06657844, 0.2066007, -0.06319056, -0.024855426, 0.18382673, 0.12823708, 0.13984297, -0.096126445, 0.122345746, -0.1759473, -0.009313853, 0.095966816) * go_0(1.0, 0.0);
result += mat4(0.031464245, -0.19461079, 0.048819106, -0.19147485, -0.052115634, -0.0155970575, 0.00013805297, 0.029049957, -0.13166162, 0.057452332, -0.015197536, -0.11639438, 0.2242504, 0.059061136, -0.023637049, 0.23885499) * go_0(1.0, 1.0);
result += mat4(0.024842229, -0.10465392, 0.06943146, -0.00818137, 0.056860775, 0.16985714, 0.09097189, -0.029029645, 0.05849454, 0.07871468, 0.033239707, 0.027326738, 0.111058675, 0.09381119, -0.07335888, 0.041564018) * go_1(-1.0, -1.0);
result += mat4(-0.007300108, 0.09271431, -0.19570993, -0.06381511, 0.46079087, 0.25655636, -0.13035136, 0.078621246, -0.105279505, -0.050981194, -0.0529136, -0.050811697, -0.06146227, 0.04253951, -0.05545308, 0.05428528) * go_1(-1.0, 0.0);
result += mat4(0.16456556, 0.035695724, 0.014487249, -0.106402226, 0.03566743, -0.029556349, 0.2289534, 0.05606082, 0.04852251, -0.010972709, 0.05955192, -0.15966137, 0.08570137, 0.03669939, -0.024999218, -0.15711255) * go_1(-1.0, 1.0);
result += mat4(0.21360773, -0.11888413, 0.0583506, 0.19075805, -0.28113702, -0.057118762, -0.004367254, -0.07354974, -0.1796346, 0.1766377, 0.17562068, -0.100257315, -0.035569966, 0.107963756, -0.051215094, -0.0003012416) * go_1(0.0, -1.0);
result += mat4(0.08122568, 0.014930808, -0.06346508, 0.15264218, -0.05649435, 0.17286912, -0.009749335, -0.03400423, 0.23480195, -0.084917344, -0.03132465, -0.0037818009, 0.057796076, -0.06677672, -0.09169403, -0.058564235) * go_1(0.0, 0.0);
result += mat4(-0.10126427, 0.095474, -0.08596902, -0.20968622, -0.21415718, -0.028516928, -0.1324924, 0.20407854, 0.14031075, 0.001870013, 0.14119156, -0.1081141, -0.048723757, -0.13898169, 0.16757831, -0.1458798) * go_1(0.0, 1.0);
result += mat4(-0.05895467, -0.038724378, 0.069064446, 0.07351524, -0.03146215, -0.14976442, -0.0067742947, 0.084257625, 0.13251713, 0.032124203, -0.09629541, -0.008124969, 0.11714539, -0.2075729, 0.11230295, -0.038847532) * go_1(1.0, -1.0);
result += mat4(0.051687717, 0.12874418, 0.040687148, 0.026630247, -0.099917404, 0.015043197, -0.06537639, -0.07367295, -0.1837623, 0.0032947634, 0.084966265, -0.1588208, -0.11085462, -0.010678835, 0.1320109, 0.02903416) * go_1(1.0, 0.0);
result += mat4(-0.018179895, -0.018795123, 0.022136271, -0.072535686, -0.15129031, -0.40279377, -0.4738214, -0.14301932, 0.17355858, -0.08900889, -0.13852054, 0.0029266933, -0.06405705, 0.10512791, -0.04545771, -0.022768306) * go_1(1.0, 1.0);
result += mat4(0.05890316, -0.0097671505, 0.008819437, -0.06735191, 0.1692309, -0.16308863, 0.051179815, 0.022224095, -0.11592126, -0.03521469, -0.10597873, 0.10710539, 0.09287522, 0.023924025, 0.1094987, -0.060973566) * go_2(-1.0, -1.0);
result += mat4(-0.15654168, -0.060176846, 0.05127042, -0.01175231, 0.01004742, 0.09534371, 0.06087681, -0.05916991, -0.16156313, 0.06890041, 0.0041081333, -0.04601112, 0.08350714, -0.059855513, 0.041949015, -0.102218084) * go_2(-1.0, 0.0);
result += mat4(0.12588786, 0.11099447, -0.03676623, 0.09382634, -0.32780543, 0.2795844, -0.013693273, -0.18082656, 0.035001528, -0.050821863, 0.11802977, 0.033280633, 0.09173907, -0.0975381, -0.1048247, 0.21049544) * go_2(-1.0, 1.0);
result += mat4(-0.16854918, 0.0060791024, 0.05617661, 0.13540803, 0.05019639, 0.14261602, 0.069251545, -0.03133105, -0.078448415, 0.034294523, -0.07293597, 0.061953712, 0.025966987, 0.095272854, -0.08162588, 0.12742776) * go_2(0.0, -1.0);
result += mat4(0.15725249, 0.0850755, -0.048879243, -0.08433363, 0.120938875, 0.18920094, 0.045355074, -0.20513709, 0.24906032, -0.057378586, 0.0027886129, -0.07625013, -0.13654117, 0.11630867, -0.037231505, -0.1258667) * go_2(0.0, 0.0);
result += mat4(-0.04206654, -0.13223913, 0.062100735, 0.016341403, 0.07262605, 0.055927046, 0.14203577, -0.27384079, -0.1310872, 0.078060225, 0.12965128, 0.09880112, 0.10105921, -0.068956226, 0.02915146, 0.09167745) * go_2(0.0, 1.0);
result += mat4(0.030989118, -0.1324286, 0.039388806, -0.04496022, 0.01103045, -0.02862437, 0.009588397, -0.11070328, 0.095212676, -0.026708405, -0.029291725, 0.016241662, 0.05099544, -0.08551894, -0.21421212, -0.11618562) * go_2(1.0, -1.0);
result += mat4(-0.14548837, -0.07418306, 0.10752083, 0.05893962, 0.06691821, 0.18748593, -0.03200274, -0.095863365, -0.08537329, -0.05680936, 0.14690125, 0.037230305, 0.18467005, -0.14947431, 0.040441494, 0.1115805) * go_2(1.0, 0.0);
result += mat4(0.012362502, 0.100413695, 0.13188395, 0.06938892, -0.15438221, 0.26723015, 0.07517162, 0.002462865, -0.0064732633, -0.0074519413, -0.02301528, -0.045849863, 0.1731649, 0.123034276, 0.008418865, 0.16150133) * go_2(1.0, 1.0);
result += mat4(-0.09139433, 0.03101976, 0.07230703, -0.018268613, 0.29291338, -0.17742766, 0.24951819, 0.02992008, 0.035090506, -0.07749761, 0.12614278, -0.14649536, 0.031021422, -0.069590874, 0.108438335, 0.037498187) * go_3(-1.0, -1.0);
result += mat4(-0.11135013, 0.052978516, -0.08497799, -0.12263544, 0.0105338385, 0.2741, -0.25600806, 0.20394602, 0.027556226, 0.016622975, 0.08704739, 0.030637782, -0.097799666, -0.016612433, -0.05045154, 0.11176543) * go_3(-1.0, 0.0);
result += mat4(0.010801793, 0.0052502053, -0.1051344, -0.057842556, -0.21781838, -0.00047800923, -0.029098546, 0.21897711, -0.20059437, -0.030504027, -0.006855385, -0.073302105, -0.052581076, 0.011763167, 0.024786351, -0.050292555) * go_3(-1.0, 1.0);
result += mat4(0.13015494, 0.19099645, 0.1472598, -0.06971811, -0.014347087, -0.2354183, -0.026683118, -0.027996749, 0.051564146, -0.103843935, 0.17843698, -0.024957573, -0.057987437, -0.102251455, -0.0013588106, -0.056634847) * go_3(0.0, -1.0);
result += mat4(-0.04080672, 0.050368823, 0.18306538, 0.011420936, -0.0054340125, 0.0053520515, 0.17026058, -0.12533283, 0.036576323, 0.08059071, 0.019835833, -0.09112062, 0.17440821, -0.031124828, -0.098159716, 0.085774906) * go_3(0.0, 0.0);
result += mat4(-0.12622732, -0.044002566, 0.104972295, 0.18105431, 0.11646133, 0.0556064, 0.18686971, -0.21561784, -0.26179832, -0.059187356, 0.01926984, -0.1556935, -0.005284094, 0.04988676, -0.0629271, 0.1452294) * go_3(0.0, 1.0);
result += mat4(-0.20367198, -0.120030105, -0.004469297, 0.09944967, 0.07725609, -0.01106622, -0.14055888, 0.07756645, -0.18688135, -0.20632182, 0.07429031, 0.008466472, 0.012098892, -0.05049147, 0.16095792, 0.046173103) * go_3(1.0, -1.0);
result += mat4(0.1069116, 0.21522258, -0.04627851, -0.10662425, 0.13135125, -0.019367998, -0.15181519, 0.00075394503, -0.17778645, 0.11365393, 0.03837777, 0.08822385, 0.1916156, -0.038483586, -0.07884607, 0.12424183) * go_3(1.0, 0.0);
result += mat4(0.036157437, -0.04766311, -0.16446854, -0.05413319, -0.021621274, -0.07148996, -0.23798911, -0.0102870315, -0.014351993, 0.12831448, 0.1465541, -0.047955733, 0.04010879, 0.0976389, -0.12589982, -0.08807606) * go_3(1.0, 1.0);
result += mat4(0.076902226, 0.041135173, -0.016657151, 0.15551728, 0.11514554, 0.0058602975, -0.10986514, 0.0057913526, -0.1272993, -0.1593194, 0.044218805, -0.21816722, -0.061424024, 0.018841606, -0.110449634, -0.015432476) * go_4(-1.0, -1.0);
result += mat4(0.03666373, -0.13814612, -0.3036115, -0.15636392, 0.008658232, 0.08611662, 0.118764065, -0.08591301, -0.007196824, -0.22025566, 0.051091295, -0.08086002, -0.044420715, 0.043799147, 0.09688278, 0.0033028289) * go_4(-1.0, 0.0);
result += mat4(-0.24362423, -0.015480109, -0.11101967, 0.002946213, 0.0139870765, -0.023274565, 0.07034788, 0.13248734, 0.16976975, 0.07903513, 0.06341636, 0.04284541, -0.084724866, -0.05004183, -0.0029502965, -0.037041545) * go_4(-1.0, 1.0);
result += mat4(-0.0799557, -0.16095099, -0.06494757, 0.07882963, 0.012505202, 0.15511416, -0.16304691, -0.03223617, -0.018280255, -0.039940648, 0.16492367, 0.15375112, 0.11556045, -0.11412647, -0.24070956, -0.007323342) * go_4(0.0, -1.0);
result += mat4(0.072875924, 0.05083539, -0.20316303, 0.1238304, 0.18388501, 0.15272665, 0.086819254, 0.06119871, -0.094395205, -0.15079162, -0.17838413, 0.07426012, 0.02943968, -0.2684771, -0.17700946, -0.12761052) * go_4(0.0, 0.0);
result += mat4(0.19377026, 0.07910225, -0.23724055, -0.029297635, 0.037870105, 0.017596528, 0.061586875, 0.0065010567, 0.1740132, -0.19399293, -0.14995612, 0.005692246, -0.100947365, -0.14350691, 0.2749315, -0.16770917) * go_4(0.0, 1.0);
result += mat4(-0.15966229, -0.27420762, -0.09293543, -0.43784875, 0.09451163, 0.10119892, -0.015471579, -0.10209148, 0.08677175, 0.039316505, 0.2867878, 0.0128137395, -0.07972439, 0.011502975, -0.11594199, 0.063877724) * go_4(1.0, -1.0);
result += mat4(-0.3150563, 0.12615044, -0.17988585, -0.20575309, 0.0015721973, 0.055084594, -0.020417834, -0.13822779, 0.098861374, 0.14822583, 0.06401616, -0.120404646, -0.10940291, -0.037352454, 0.050986577, 0.07125991) * go_4(1.0, 0.0);
result += mat4(-0.032551173, 0.18289012, -0.19881311, -0.053115983, -0.10287446, 0.05078748, 0.086117916, -0.059756823, -0.2239071, 0.11387785, 0.12868147, -0.059683386, -0.020321736, -0.04086171, 0.14172685, 0.22172149) * go_4(1.0, 1.0);
result += mat4(0.06446823, 0.075459056, 0.050193854, -0.02980531, 0.02292068, -0.033028316, 0.08196589, -0.12588814, -0.014617067, 0.01555044, -0.15231301, 0.06448395, 0.06427072, -0.03321984, 0.049012806, 0.05093153) * go_5(-1.0, -1.0);
result += mat4(-0.04891807, -0.21147443, 0.05428899, 0.009631384, -0.014800392, -0.18164946, -0.074545264, 0.06637659, 0.015836405, 0.4889151, 0.29796156, 0.09648605, -0.2459945, 0.070567675, -0.00771288, -0.017721044) * go_5(-1.0, 0.0);
result += mat4(-0.15505725, -0.033791173, -0.12304202, 0.023178311, 0.12188232, 0.008929309, 0.059975695, -0.20444167, -0.20709375, 0.2860054, 0.019463783, 0.23910974, -0.085151516, 0.0012467392, 0.08327042, 0.044345636) * go_5(-1.0, 1.0);
result += mat4(-0.16185635, -0.041044228, 0.12618378, -0.22602643, 0.09039422, 0.020435853, 0.04396089, -0.049082875, 0.2322086, 0.21155676, 0.037015025, -0.08251266, -0.07999464, 0.1929863, 0.068592645, -0.018473776) * go_5(0.0, -1.0);
result += mat4(-0.28692165, -0.0914045, 0.04016614, -0.08336684, -0.08470211, 0.18356666, 0.07795491, -0.14058343, -0.115438856, 0.23199056, -0.054525673, -0.06553437, 0.22845635, 0.062047824, -0.03899926, -0.14750813) * go_5(0.0, 0.0);
result += mat4(-0.024415843, 0.18983422, 0.026180256, 0.23359428, -0.24470708, 0.05299243, -0.093706526, 0.0048052925, 0.21845944, 0.13118659, 0.027822208, -0.01732684, 0.1341405, -0.037465993, -0.021005224, -0.13099) * go_5(0.0, 1.0);
result += mat4(-0.13074318, -0.10861964, 0.3356989, -0.040623795, 0.05751466, 0.0029064803, -0.06863499, 0.04052094, 0.2404304, 0.21308951, 0.15456675, -0.026032818, -0.03276546, 0.104598865, 0.087674595, -0.011225901) * go_5(1.0, -1.0);
result += mat4(-0.3885748, -0.021308744, 0.32658833, 0.2619194, 0.014868833, 0.23127414, 0.055906303, 0.1689359, 0.20716958, -0.015053713, 0.13501903, -0.017089305, 0.19915296, -0.24020925, -0.16395238, -0.066857845) * go_5(1.0, 0.0);
result += mat4(-0.0076508783, 0.08567069, 0.20940123, -0.19297238, -0.032869402, -0.076935954, -0.12706652, 0.118971825, 0.09577812, 0.13618003, 0.17755455, -0.08722123, 0.11171834, 0.041147415, -0.055555638, 0.17951354) * go_5(1.0, 1.0);
result += vec4(-0.05163745, -0.030525967, -0.034545384, 0.0011744314);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_6_tf1
//!BIND conv2d_6_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_6_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.00874924, 0.06479505, -0.0029173514, 0.07453021, 0.064044245, 0.04816086, 0.13801545, -0.13147724, -0.032259457, 0.018466968, -0.012852061, 0.06363069, -0.021119684, -0.0524603, -0.031161075, -0.07618043) * go_0(-1.0, -1.0);
result += mat4(0.084529355, 0.23199025, -0.06747702, 0.07670476, 0.04783423, 0.053316955, -0.10305088, 0.07495804, -0.087933175, -0.065483205, -0.13657036, -0.07720879, 0.062599525, -0.049601298, -0.024424799, 0.022608709) * go_0(-1.0, 0.0);
result += mat4(-0.2586594, 0.039674412, -0.13742402, 0.09666874, -0.084477544, -0.027087416, -0.009601492, 0.053420864, 0.0625722, -0.1254515, 0.032742955, -0.024665914, -0.14905442, 0.044875436, 0.07266352, 0.07469416) * go_0(-1.0, 1.0);
result += mat4(0.021074846, 0.15970895, -0.3086228, -0.05164234, -0.18634024, 0.22643623, 0.08077387, -0.0161648, -0.03661073, 0.012908562, 0.0054539675, 0.015822269, 0.026296595, 0.01942134, 0.053928025, -0.10969176) * go_0(0.0, -1.0);
result += mat4(0.09353553, 0.018195553, -0.08585656, -0.15791856, 0.054085083, 0.22516748, 0.21730874, -0.025099568, 0.03159055, -0.11804406, -0.008568234, -0.014370778, -0.07749132, -0.06392929, 0.075509876, -0.019097406) * go_0(0.0, 0.0);
result += mat4(-0.057937216, 0.095248975, 0.059558928, 0.12786824, 0.23302162, 0.12629147, 0.06152512, 0.029230526, -0.09689983, 0.083217695, -0.021377616, -0.037923515, -0.35568753, 0.039865114, 0.14333424, 0.267966) * go_0(0.0, 1.0);
result += mat4(0.00011844775, -0.123274446, 0.05086709, 0.004256178, 0.012832609, -0.12187373, 0.004524905, -0.23390464, 0.12167624, -0.03674983, -0.087615184, 0.025935318, 0.007677731, 0.112577125, 0.026225066, 0.03445614) * go_0(1.0, -1.0);
result += mat4(-0.12753712, 0.00042057422, -0.047347613, -0.06912856, -0.13273059, 0.10787016, 0.043463085, 0.021454494, 0.056490768, 0.14493024, 0.058151938, 0.037335023, 0.02543131, 0.15424144, 0.055742744, -0.14856216) * go_0(1.0, 0.0);
result += mat4(-0.13659339, -0.013331863, 0.072243474, 0.0077176965, -0.15704288, 0.057892058, 0.08888919, -0.026248623, -0.12832907, 0.05004356, -0.008601374, -0.09371729, 0.10063523, 0.047332603, -0.018320935, 0.21497801) * go_0(1.0, 1.0);
result += mat4(0.034651414, 0.039575566, -0.01818621, -0.054858625, -0.0022673074, -0.14562686, -0.0028751935, -0.040938023, -0.0019023952, -0.0031610043, -0.113626435, 0.029344907, -0.04033123, -0.011649204, -0.07188756, 0.09192677) * go_1(-1.0, -1.0);
result += mat4(-0.0503488, 0.028798956, -0.006693954, 0.07654358, -0.028435636, -0.14021449, 0.09490931, 0.05767912, 0.067402154, 0.03353509, -0.18465632, -0.07892354, -0.07282928, 0.045659076, 0.01610622, -0.055369027) * go_1(-1.0, 0.0);
result += mat4(-0.017983284, 0.059108052, -0.048893955, -0.011440091, -0.42228884, -0.132112, 0.044904847, 0.22939242, -0.1264618, -0.10489889, -0.075762555, 0.05209098, -0.050417285, 0.10029565, -0.043668296, -0.09922573) * go_1(-1.0, 1.0);
result += mat4(-0.14941381, 0.12114828, 0.10517825, -0.015513224, -0.0024908849, -0.08526262, -0.19318485, 0.17600377, 0.003252062, -0.003241838, 0.0025076168, -0.08707902, 0.0016995758, -0.045136005, -0.14427514, -0.09088499) * go_1(0.0, -1.0);
result += mat4(0.15931, -0.09228977, -0.06308133, 0.19589768, 0.24140169, 0.22513855, 0.118969575, 0.15111087, -0.050449796, 0.013833277, 0.07658742, 0.16174644, -0.003201324, 0.034937993, 0.07040384, 0.2813254) * go_1(0.0, 0.0);
result += mat4(0.022369612, 0.031290416, -0.09342715, 0.017639885, 0.26041472, 0.007161143, -0.09052401, -0.18450892, 0.050195456, -0.022739457, 0.06707105, -0.049746882, 0.14495519, -0.102455616, -0.09707346, -0.17585137) * go_1(0.0, 1.0);
result += mat4(0.025266675, -0.1752835, 0.012535405, -0.21583222, -0.03691842, 0.042113684, 0.12360861, -0.11928547, -0.0966663, -0.032826263, 0.118368946, -0.003809318, 0.068992555, -0.03801947, -0.02036358, 0.036111884) * go_1(1.0, -1.0);
result += mat4(-0.08077069, -0.2473458, -0.054156005, 0.14818957, -0.09454033, 0.011877715, 0.10560343, -0.083333194, 0.0110740755, -0.077014185, -0.05278896, -0.06251993, 0.039195787, -0.14951102, 0.03377498, 0.12946099) * go_1(1.0, 0.0);
result += mat4(-0.057616, 0.108149685, 0.11845679, 0.0396938, -0.3146223, 0.18499297, 0.16781773, -0.08291362, -0.022713197, 0.051858127, -0.006099311, 0.05716396, 0.13392907, -0.109282106, 0.05498141, -0.071193464) * go_1(1.0, 1.0);
result += mat4(0.09475248, -0.1554231, -0.023782114, -0.030766876, 0.04192763, 0.021483693, 0.028340997, -0.058034573, 0.0010940522, -0.050213296, 0.04000753, 0.0022229531, 0.0018660162, -0.18649459, 0.23630546, -0.21319003) * go_2(-1.0, -1.0);
result += mat4(-0.116565526, -0.15246803, 0.005850186, -0.05474953, 0.0014735279, -0.021216031, -0.06207856, 0.13739516, -0.010196082, 0.07908882, -0.019407269, -0.05516944, -0.28326565, 0.15888767, 0.27831692, 0.18619354) * go_2(-1.0, 0.0);
result += mat4(0.06543926, -0.074488506, -0.07760019, 0.17044993, 0.08158774, 0.04326206, -0.067728855, 0.024843602, -0.06751376, -0.08624948, 0.013794438, 0.049678463, 0.020826025, -0.046888746, 0.08348537, 0.05656069) * go_2(-1.0, 1.0);
result += mat4(0.04989145, -0.028460307, -0.0769131, 0.0010439849, -0.09587771, -0.06743743, -0.14847435, -0.008717194, 0.08054748, -0.050939944, -0.109605104, -0.030957224, 0.12530726, -0.029865216, 0.09297952, -0.019167399) * go_2(0.0, -1.0);
result += mat4(-0.11747358, -0.27982333, 0.17281106, 0.070347376, -0.039507125, -0.009899484, -0.1539731, -0.16420937, -0.24044126, 0.068443485, 0.084593736, 0.06384842, 0.20761591, -0.035670962, 0.052107535, -0.0043864083) * go_2(0.0, 0.0);
result += mat4(-0.03567099, -0.04091944, -0.12142206, 0.061800703, -0.18150517, 0.15411758, 0.07404136, 0.19565642, 0.28183675, -0.031046303, -0.0042268364, -0.15308045, -0.09378749, 0.020542119, 0.022252236, 0.14972949) * go_2(0.0, 1.0);
result += mat4(-0.0105193425, -0.08959153, 0.18263857, 0.048910968, -0.010435675, -0.027718445, -0.120318696, 0.13538027, 0.13010837, 0.17119803, -0.011707955, 0.14297302, -0.08233788, 0.042564705, -0.03896208, 2.8444429e-05) * go_2(1.0, -1.0);
result += mat4(-0.0030958294, -0.17617896, -0.067710005, 0.0018519294, -0.008768522, -0.016318077, 0.037578914, -0.0049764947, 0.105228946, -0.06244281, -0.13939188, 0.03143476, 0.05274452, -0.016226346, -0.012599634, 0.03210993) * go_2(1.0, 0.0);
result += mat4(-0.09357119, 0.051940132, 0.03980677, -0.055670172, 0.09287961, 0.0072638597, -0.07690989, 0.12798886, -0.035807915, -0.086697236, -0.099087104, -0.09295662, -0.09427648, -0.055087987, -0.037958328, -0.13998422) * go_2(1.0, 1.0);
result += mat4(-0.022604464, 0.0031428523, -0.144605, -0.02875807, -0.103784114, 0.061475996, 0.1940092, 0.04618245, 0.044898245, 0.022316845, 0.0120888725, 0.07793487, -0.010512812, 0.034900095, -0.022719746, 0.0136101525) * go_3(-1.0, -1.0);
result += mat4(0.100697, 0.012970303, -0.058663197, -0.16554455, -0.16513096, 0.15323171, 0.47396505, -0.024782017, -0.06386085, -0.02400151, 0.034457937, 0.08889356, -0.0008506081, 0.031502075, 0.08109036, -0.009652339) * go_3(-1.0, 0.0);
result += mat4(0.14926942, -0.020183334, 0.016399153, 0.036552813, 0.25300506, 0.060191922, 0.2040498, -0.16668856, -0.045155995, 0.14945151, -0.00074124173, -0.03142253, 0.06796808, -0.07166414, 0.05155417, -0.1920044) * go_3(-1.0, 1.0);
result += mat4(-0.13827239, -0.08581495, 0.03852677, 0.0013960586, 0.078236885, -0.008412887, 0.05699767, -0.059194114, -0.039789997, 0.067367, 0.0024232, 0.0004645103, 0.026038349, -0.032108866, 0.07319417, -0.036261495) * go_3(0.0, -1.0);
result += mat4(-0.04785435, 0.12532665, 0.052335925, 0.10279794, -0.08932154, -0.07807702, -0.027437592, -0.01226406, 0.0855878, 0.0998956, 0.34608328, -0.017771345, -0.10465488, 0.046911918, 0.14045537, -0.12609549) * go_3(0.0, 0.0);
result += mat4(0.12454329, 0.0629062, 0.06315331, -0.19194551, -0.043885496, 0.07760517, -0.07117529, -0.016697489, 0.078342624, 0.08736188, 0.071410015, -0.13201651, 0.16587284, 0.010714448, 0.043101657, -0.23035446) * go_3(0.0, 1.0);
result += mat4(0.08158438, -0.100969456, -0.014449485, -0.03132171, -0.01574409, 0.09236148, 0.030310484, 0.01284413, -0.053764567, -0.026418544, 0.10662523, -0.039129682, -0.0065176217, -0.038883757, 0.058300994, -0.14639774) * go_3(1.0, -1.0);
result += mat4(-0.09079664, -0.0020122728, 0.10233645, -0.011045091, 0.10938907, 0.05189279, -0.02262471, -0.02617311, 0.041910812, -0.15767258, -0.04600758, 0.049779244, 0.09256302, -0.11922193, 0.1622482, 0.14537865) * go_3(1.0, 0.0);
result += mat4(-0.09391944, 0.07570852, 0.004766135, 0.05937019, -0.09493778, 0.010442861, -0.0790624, 0.007034491, -0.23311476, 0.11634711, -0.061636776, 0.08265463, 0.092269175, -0.010159195, 0.089713015, -0.232348) * go_3(1.0, 1.0);
result += mat4(0.035536226, -0.0099446, 0.019197198, 0.051076367, -0.0390392, 0.03382638, -0.013183885, -0.013789384, 0.04123211, 0.03670252, -0.010441384, 0.0010135671, 0.042965908, -0.020500444, -0.025766378, -0.032077227) * go_4(-1.0, -1.0);
result += mat4(0.20860507, 0.17699268, -0.04620276, -0.039868027, -0.025789822, -0.05731434, -0.11747873, 0.07730347, -0.031710766, -0.020262018, 0.04341926, 0.06434394, 0.053918168, -0.1657412, 0.105905995, 0.011154651) * go_4(-1.0, 0.0);
result += mat4(0.003090032, 0.093964286, -0.06367044, -0.0020144929, -0.10283011, -0.07306465, -0.040359806, -0.17013851, 0.015747946, -0.062563375, -0.012298383, 0.04297379, -0.029063454, -0.03683257, 0.02655745, 0.05740832) * go_4(-1.0, 1.0);
result += mat4(0.050861053, -0.0920656, -0.19874981, -0.021388335, 0.16630852, 0.17405358, 0.05212147, -0.02749285, -0.07478034, -0.04099812, -0.029557243, 0.06731333, 0.07508251, 0.08276743, 0.16026892, 0.053225685) * go_4(0.0, -1.0);
result += mat4(0.14226279, 0.053951856, 0.053425, -0.024388714, 0.15451646, -0.022425046, -0.00380887, -0.03618875, 0.11347302, -0.17040631, 0.0065808417, -0.013488193, -0.060262468, -0.066950545, -0.08976584, 0.0009982956) * go_4(0.0, 0.0);
result += mat4(0.1801071, -0.100330465, -0.053271472, 0.031151481, 0.22311142, 0.066051945, -0.11600886, -0.087773964, -0.078915946, -0.030782275, 0.013246717, -0.014198989, -0.28586018, 0.059759654, 0.24997708, 0.20630242) * go_4(0.0, 1.0);
result += mat4(0.12932803, 0.21319729, -0.28091565, -0.012479532, -0.07091247, -0.016889215, -0.12900326, 0.12102667, 0.022678612, -0.13739236, -0.16431749, -0.035084598, 0.004101327, 0.23767495, 0.1462611, -0.048993915) * go_4(1.0, -1.0);
result += mat4(-0.026779149, 0.25932673, 0.02780824, -0.15171829, 0.0039394335, 0.097402304, 0.06590691, -0.13960929, -0.0058308085, 0.072984695, 0.04813096, 0.059558798, 0.08162265, 0.39625508, 0.17542529, 0.003839069) * go_4(1.0, 0.0);
result += mat4(-0.05708866, -0.038969513, -0.020122351, 0.007563977, 0.1797364, -0.03398024, -0.055202417, -0.07547394, -0.012716594, -0.09214429, -0.0017415253, -0.05856085, -0.27330104, 0.30354604, -0.13669814, 0.22337814) * go_4(1.0, 1.0);
result += mat4(-0.17326224, 0.15659498, 0.06425071, 0.07975927, 0.0958955, 0.0608052, 0.034675565, 0.07591562, 0.054132458, -0.061479643, 0.009947483, 0.12112677, 0.124297075, 0.18455952, -0.041779295, 0.030722413) * go_5(-1.0, -1.0);
result += mat4(0.02079984, -0.03396273, 0.011413388, -0.07005397, 0.08875178, 0.107689336, -0.027889367, -0.06951973, -0.14137445, -0.1686194, 0.16112797, 0.22525409, 0.03834874, -0.05127144, -0.06952546, -0.2233007) * go_5(-1.0, 0.0);
result += mat4(0.010094381, 0.057003833, 0.12292443, -0.09757485, -0.11430328, -0.058333114, 0.036441192, -0.046859495, -0.059781298, -0.017726498, -0.113516934, 0.12778783, 0.048218265, -0.004416331, 0.055325013, -0.21638621) * go_5(-1.0, 1.0);
result += mat4(-0.09457411, 0.30411094, -0.03746511, 0.07965388, -0.04560781, -0.026843388, 0.2560619, 0.039457362, 0.12517431, 0.1847619, 0.13331719, 0.18641667, -0.16433188, -0.009212662, 0.12901293, 0.021027379) * go_5(0.0, -1.0);
result += mat4(-0.086559944, -0.056457154, 0.09476962, 0.054313526, 0.013685281, -0.056544665, 0.08585254, 0.11761908, 0.2695671, -0.22367607, -0.18963094, -0.08297759, -0.09200909, 0.31575614, -0.025597787, 0.11768817) * go_5(0.0, 0.0);
result += mat4(0.007880905, -0.11153017, 0.08885109, -0.07955998, 0.38617623, -0.0033538588, -0.21370837, -0.018460546, -0.059868775, -0.11899104, -0.09859911, -0.10338758, 0.07227207, 0.033412423, 0.12970059, -0.025612896) * go_5(0.0, 1.0);
result += mat4(0.10357382, 0.27821258, 0.10260374, 0.23705776, -0.051536858, -0.0637593, 0.02411251, -0.04798121, 0.0550194, -0.11722999, 0.061254364, 0.082198314, -0.11661943, 0.09562076, -0.17257103, 0.082414486) * go_5(1.0, -1.0);
result += mat4(-0.18603842, 0.2697591, 0.16230522, 0.04589048, -0.025565986, 0.08136575, -0.15435593, 0.08414148, 0.11316385, -0.16951068, -0.03157706, 0.07222263, 0.098516054, -0.010539889, -0.078987755, 0.039117597) * go_5(1.0, 0.0);
result += mat4(-0.108136736, -0.027168648, -0.054371372, 0.047652103, -0.015041038, -0.07973402, -0.033967327, 0.030585837, 0.23373295, -0.06363153, 0.050189044, 0.039055742, 0.14359018, 0.025118377, -0.06789567, 0.019007884) * go_5(1.0, 1.0);
result += vec4(-0.0382473, -0.052612398, -0.07591911, -0.05381055);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x56
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_6_tf1
//!BIND conv2d_6_tf2
//!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_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
#define g_6 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.1517466, 0.08653111, -0.12849529, -0.0145909265, -0.20225123, -0.25598082, -0.27031836, -0.11011148, 0.023438375, 0.11201232, 0.46751308, -0.11576917, -0.29880443, 0.04816672, 0.21560355, -0.11404305) * g_0;
result += mat4(-0.12978144, 0.100125104, -0.06335867, -0.06317281, 0.054012444, 0.018025735, -0.09827809, -0.09725046, 0.005299584, -0.098031715, -0.22854897, 0.17967635, 0.12765448, 0.045635063, 0.0012192138, -0.34536725) * g_1;
result += mat4(0.011804178, -0.06590833, -0.031301893, -0.1775461, -0.41570944, 0.087449126, -0.02128947, -0.27094513, -0.060209982, -0.18076003, -0.17616534, -0.1265182, 0.05190358, -0.16350612, 0.13440031, -0.02040334) * g_2;
result += mat4(-0.08296803, -0.28662565, -0.088028625, -0.04346711, 0.17134765, -0.057956398, -0.27708423, -0.11509851, 0.0017504691, -0.1335092, -0.40999198, -0.17734398, 0.32179204, -0.14760494, 0.0014923187, -0.40818754) * g_3;
result += mat4(-0.06289323, 0.18344052, -0.030397955, 0.26505098, -0.20116702, 0.19888414, 0.22849302, 0.39404854, -0.028509716, 0.108586155, 0.18787633, 0.08936724, 0.2189794, 0.008488558, -0.10159572, 0.28290325) * g_4;
result += mat4(-0.04573871, -0.110110976, -0.10133858, -0.12086325, -0.2474638, -0.031180179, -0.34253988, 0.15010545, -0.0040049986, -0.019926922, 0.26064172, -0.19498073, -0.1095731, 0.09029125, -0.108377635, -0.0038560093) * g_5;
result += mat4(-0.121560805, 0.020504333, -0.0597182, -0.09707394, 0.17374295, -0.20030156, 0.10344341, 0.3244939, -0.18901767, -0.020843312, 0.132772, 0.08054658, 0.13611425, -0.29363188, -0.34134823, -0.38264117) * g_6;
result += mat4(0.16559608, 0.16367547, 0.29445526, 0.22651257, 0.06375283, 0.39584106, 0.006053162, 0.055495188, 0.22115736, -0.22024626, 0.14978565, -0.083540656, -0.14054725, 0.10124253, 0.0061804047, 0.17122638) * g_7;
result += mat4(-0.14379624, 0.22831523, -0.15875602, -0.019427398, 0.08650438, 0.12258277, -0.0355665, -0.044720147, 0.25487396, -0.26249576, 0.021001643, 0.09981675, -0.039034113, 0.043660853, -0.15347818, -0.16691351) * g_8;
result += mat4(0.07939632, -0.05486855, 0.2904414, -0.074339755, -0.08656439, -0.20840298, -0.20732778, 0.1029268, -0.20539123, 0.040745974, -0.10717815, -0.25687888, 0.20816644, 0.129532, -0.16312623, -0.14453101) * g_9;
result += mat4(-0.27986488, -0.23781885, 0.3357808, 0.022635408, -0.23463887, 0.08829273, -0.104331024, 0.059385765, -0.008988081, 0.08307928, -0.10422426, -0.06952313, -0.063950576, -0.39974853, 0.2428403, -0.15027511) * g_10;
result += mat4(0.073085204, -0.10948135, 0.056989595, 0.18264382, 0.3548214, -0.12389114, 0.08049114, -0.39152363, 0.27634555, 0.13423951, 0.2994666, 0.121581756, -0.3245417, -0.11582107, -0.12750253, 0.17907634) * g_11;
result += mat4(0.23503982, -0.17774986, 0.14940716, 0.111273095, -0.05475033, -0.17823237, 0.19284964, 0.15520798, 0.1600294, 0.025111979, 0.034554236, -0.22638519, 0.44020715, -0.2762028, 0.111869164, 0.16672193) * g_12;
result += mat4(-0.25770104, 0.011573565, -0.065385014, 0.036166515, 0.34582734, -0.018427689, -0.06642216, 0.08775443, -0.1237332, -0.102610715, 0.22667718, 0.101304494, 0.53382784, 0.123501934, 0.16460274, -0.048920505) * g_13;
result += vec4(-0.03949794, 0.0395381, -0.024099527, 0.0041297916);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x56
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_6_tf1
//!BIND conv2d_6_tf2
//!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_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
#define g_6 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.07966754, -0.06966207, 0.02303797, -0.16448943, 0.10318848, -0.410334, -0.22451977, 0.2947905, 0.006431782, 0.2210936, -0.16191624, -0.32029536, 0.19407257, -0.13434124, 0.03879501, 0.17069095) * g_0;
result += mat4(-0.06373326, 0.21566539, 0.06835463, -0.29900926, 0.1264936, 0.30812046, -0.18849093, -0.29262608, 0.1896114, 0.01970999, -0.27476716, -0.050988406, -0.30970192, -0.079130374, -0.14994004, 0.12752618) * g_1;
result += mat4(0.020375464, 0.19119026, -0.313698, -0.26453584, 0.07838133, 0.18381923, 0.12585643, -0.06809764, -0.25780505, 0.05716925, -0.07450206, -0.02375656, -0.033622682, -0.10849277, -0.33186463, 0.19414547) * g_2;
result += mat4(0.0044648047, 0.08281163, -0.04849872, 0.1355915, -0.097715564, -0.08512666, 0.083665445, 0.1250317, 0.15797666, 0.32305694, 0.42864105, 0.36694467, -0.19485113, 0.16141608, -0.16432299, -0.10108335) * g_3;
result += mat4(0.06326362, -0.05534751, -0.13511105, 0.042043727, 0.20099865, -0.042153213, -0.22423261, -0.09133457, -0.027568584, 0.012865782, 0.13886575, 0.34115347, 0.2610905, -0.045110513, 0.06810152, 0.09738184) * g_4;
result += mat4(-0.035168797, 0.034930643, 0.25825202, 0.20083296, -0.08928484, -0.21076165, -0.1159743, -0.216512, 0.11886214, -0.0706163, 0.124095425, 0.028673371, -0.31240124, -0.17458299, -0.2053044, -0.008733319) * g_5;
result += mat4(0.29833966, 0.06774145, -0.03913825, -0.112461224, -0.000111277885, 0.07307257, 0.24769522, -0.27295232, 0.070567, -0.17354357, 0.2742455, -0.382184, -0.17436866, 0.22665188, 0.045708902, 0.03745412) * g_6;
result += mat4(0.032916605, 0.11094983, 0.17567287, -0.06819124, 0.17541365, -0.118430324, 0.028206939, 0.37577933, 0.011492207, 0.21624072, -0.20114873, 0.222502, 0.012722517, -0.15424041, 0.07858887, -0.09832832) * g_7;
result += mat4(-0.29937837, 0.08433066, -0.16425402, 0.014552817, 0.083602294, -0.12674652, -0.029379338, 0.020814786, -0.08117312, 0.0074423556, 0.06749342, -0.23778795, -0.20409779, 0.005250363, 0.014023434, -0.08039687) * g_8;
result += mat4(-0.07325317, -0.102401175, 0.2583051, 0.30287206, 0.117874466, -0.047484834, 0.050214633, -0.16902745, -0.1403704, -0.17889948, -0.043674123, -0.011426891, -0.16280553, 0.076159306, -0.13330574, -0.1950167) * g_9;
result += mat4(-0.256105, -0.08625361, 0.011796258, -0.02119164, 0.06349923, -0.27358216, 0.118133076, -0.034468293, -0.043460324, -0.2100345, 0.011009716, 0.24111703, -0.20008805, -0.47441798, -0.1211137, -0.31405842) * g_10;
result += mat4(-0.04759389, -0.1061154, 0.008801774, -0.10977146, -0.025931438, 0.21277407, -0.038004987, -0.07198902, -0.022014204, -0.11847486, -0.038868114, 0.02172665, -0.3208455, -0.11351803, -0.06722725, 0.2296603) * g_11;
result += mat4(-0.012025998, 0.024963265, 0.17822163, 0.3004866, -0.31125832, 0.034575626, 0.046008132, -0.24627264, -0.09372702, -0.1855233, 0.33742183, -0.034182545, -0.011793393, 0.26905802, -0.029423665, -0.1649043) * g_12;
result += mat4(-0.63350683, -0.3606824, 0.3736929, -0.14756419, 0.058743123, 0.14858964, 0.18524785, 0.17112412, 0.258455, -0.12432544, -0.051312115, -0.2812558, 0.28210622, -0.17405578, -0.20673786, -0.07849705) * g_13;
result += vec4(0.08657319, 0.0069808266, -0.0010583929, -0.006461665);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x56
//!HOOK MAIN
//!BIND conv2d_6_tf
//!BIND conv2d_6_tf1
//!BIND conv2d_6_tf2
//!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_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_6_tf2_tex(conv2d_6_tf2_pos)), 0.0))
#define g_6 (max((conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_8_tf_tex(conv2d_8_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.07191942, 0.3140507, 0.22113691, 0.11425055, 0.33772144, 0.2411142, -0.05054018, 0.18108025, 0.1453716, -0.05830594, 0.1749647, 0.09090011, -0.05392254, -0.029053958, -0.31549838, 0.059738033) * g_0;
result += mat4(0.09510324, 0.08078732, -0.19260474, -0.11069926, 0.24988726, 0.051267263, 0.20293756, 0.26742226, 0.16450423, 0.13896441, 0.03573342, -0.19107069, 0.12676238, 0.10198673, 0.14884768, -0.2088339) * g_1;
result += mat4(-0.01031837, 0.025411772, 0.042114772, -0.05685252, -0.055964757, 0.11324, 0.00448932, 0.16396624, -0.17178524, 0.27165812, -0.09635711, -0.15172988, 0.2671317, 0.16236094, 0.21264014, -0.25292912) * g_2;
result += mat4(-0.22559996, -0.028498424, -0.1567824, -0.0735544, -0.17081529, 0.14735967, -0.0061476813, -0.17980057, -0.20270798, 0.032933656, -0.29559132, -0.16152963, 0.054025065, 0.0748118, 0.31088996, -0.107099526) * g_3;
result += mat4(-0.45303443, -0.099132985, -0.13839091, 0.32170072, -0.34101728, -0.37682575, 0.12063899, -0.19869997, 0.1657555, -0.25580558, 0.056302473, 0.17126912, 0.32514557, 9.235195e-05, -0.14467183, -0.07996187) * g_4;
result += mat4(0.2877269, 0.0261826, -0.08865923, -0.024432473, -0.096166946, 0.2561266, 0.026980402, 0.117528915, 0.3334183, 0.07372863, -0.08858107, -0.37130275, -0.36359683, 0.11301179, 0.091467746, -0.19730526) * g_5;
result += mat4(-0.550552, 0.12992254, -0.10055661, -0.10932172, -0.19244795, 0.12395271, 0.060307764, -0.53993297, -0.088290274, 0.27347142, -0.4417309, -0.023805201, -0.35758695, 0.09050262, -0.35072213, -0.055425614) * g_6;
result += mat4(0.18186982, 0.06789516, 0.030788613, 0.10114591, -0.11508006, -0.07924641, -0.046368007, 0.24148594, -0.107171915, -0.3024151, 0.32407254, -0.3586668, -0.012580506, -0.39705497, 0.2469481, -0.045826133) * g_7;
result += mat4(-0.026137354, 0.32036647, -0.2753551, -0.27253738, 0.017361412, -0.12770222, -0.08593248, -0.15483221, 0.25440103, -0.36099723, 0.25746107, 0.08897639, 0.028374728, -0.02342191, -0.043640897, 0.113993265) * g_8;
result += mat4(-0.037920885, 0.1657078, 0.004982961, -0.017414536, -0.22377351, 0.061842646, -0.15807268, -0.25205454, -0.21131302, 0.24842763, 0.078252114, 0.21482246, 0.074235536, 0.076578915, 0.27380338, 0.29830837) * g_9;
result += mat4(0.17564484, -0.07282816, 0.07999462, 0.02969899, 0.15588856, 0.100054234, -0.08245988, -0.07382829, 0.15328896, -0.18413633, 0.098962, -0.1984274, 0.062275123, 0.115510456, 0.090368204, 0.13073486) * g_10;
result += mat4(-0.07252601, -0.16025335, -0.13433468, 0.22769116, -0.051709075, -0.049860206, -0.0015467379, 0.10867708, 0.14257227, -0.04363354, 0.039784696, 0.009654442, -0.3981904, -0.035521798, -0.3009465, 0.20765312) * g_11;
result += mat4(0.15802802, 0.20658726, 0.07175077, 0.13363297, -0.26437205, -0.36688936, 0.2642335, 0.2855627, 0.17861994, 0.076894015, 0.11635738, -0.06555138, -0.21570256, 0.15639998, 0.16982861, -0.14948218) * g_12;
result += mat4(-0.252244, 0.104423165, 0.08296718, -0.23033309, -0.17892015, -0.33409834, -0.18738337, 0.29886454, 0.2821413, -0.42758805, -0.21272181, 0.5394736, 0.35043237, -0.049396887, 0.36223906, 0.18295164) * g_13;
result += vec4(-0.025732767, -0.005527079, -0.030687628, -0.017071865);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_9_tf
//!BIND conv2d_9_tf1
//!BIND conv2d_9_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_9_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_9_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.104982205, 0.07555908, 0.082988895, 0.09641123, -0.14312562, 0.08585028, -0.08006235, 0.11583354, 0.015197517, 0.0061171134, -0.08957176, -0.015803585, -0.028316237, -0.037797295, -0.08751069, -0.020076174) * go_0(-1.0, -1.0);
result += mat4(-0.077291645, 0.09839786, 0.20633034, -0.1368197, 0.04781139, -0.024400083, -0.013985738, 0.025657425, 0.052802097, 0.06658832, -0.07069402, -0.14722401, -0.058742646, -0.13931225, -0.07670136, 0.27102116) * go_0(-1.0, 0.0);
result += mat4(0.07352748, 0.10195403, 0.13596354, -0.019455345, -0.13721928, -0.29771757, -0.23916185, -0.06604379, -0.025979416, 0.056431673, -0.09193357, 0.045280043, 0.0431579, -0.00045074165, 0.07117571, 0.0759515) * go_0(-1.0, 1.0);
result += mat4(0.055535037, 0.033264358, 0.14612523, 0.12948278, -0.077543385, 0.06754819, -0.1644258, -0.16768512, 1.6243255e-05, -0.0036816916, -0.02051351, -0.25716934, -0.13010266, -0.054420397, -0.3265728, 0.05674878) * go_0(0.0, -1.0);
result += mat4(-0.073792264, 0.05852967, -0.028753553, -0.04824645, -0.04197776, 0.22288944, -0.16456614, -0.057237446, 0.003060873, -0.060042106, 0.08348391, -0.11798982, 0.16628337, 0.23030046, -0.16155055, 0.18258655) * go_0(0.0, 0.0);
result += mat4(0.0066633415, 0.09253906, 0.049395826, 0.151374, -0.015566304, 0.25921473, -0.17245017, 0.47088355, 0.08437717, -0.09881311, -0.07388792, -0.07178189, 0.050819, 0.055019803, -0.18850859, 0.03294016) * go_0(0.0, 1.0);
result += mat4(0.043678984, 0.095202595, 0.09942592, 0.24811096, 0.35030758, -0.21920095, -0.012092429, 0.048507717, 0.20449705, 0.0061976225, 0.01237401, 0.05136725, -0.15520673, 0.04483285, -0.21933301, -0.0075039417) * go_0(1.0, -1.0);
result += mat4(-0.3003681, 0.07858391, 0.016175367, 0.09858805, -0.055601455, -0.36961514, 0.006742421, -0.06503776, -0.01715813, -0.05382268, 0.15248029, -0.16113605, 0.04198701, -0.057357345, -0.23497291, -0.056328695) * go_0(1.0, 0.0);
result += mat4(0.11696767, 0.120468214, -0.077845395, 0.09777712, -0.1138163, -0.18214916, 0.058075044, -0.036811862, 0.19279048, -0.099064186, 0.36780992, -0.1690336, 0.11210642, -0.07528836, -0.29965997, 0.12446884) * go_0(1.0, 1.0);
result += mat4(-0.017169006, 0.2172244, -0.10730457, -0.021264572, 0.12227968, -0.053846695, 0.047163304, -0.101603, 0.0062724575, -0.072099365, -0.17555018, -0.00033070304, -0.10524059, 0.09394844, -0.114506185, 0.07369795) * go_1(-1.0, -1.0);
result += mat4(-0.012486243, -0.027982935, 0.068814695, -0.04484977, 0.17179243, -0.05968366, -0.15466455, -0.28936374, 0.037891816, -0.1537021, 0.090284206, -0.08304289, -0.22283946, -0.09740864, -0.076892264, -0.03097382) * go_1(-1.0, 0.0);
result += mat4(0.006861187, 0.14946023, -0.033668704, 0.15979089, 0.04760875, -0.46898082, -0.14282514, -0.13993657, 0.051552102, 0.07174696, 0.045460965, -0.12257744, -0.035047516, -0.13298129, -0.03663405, -0.10557144) * go_1(-1.0, 1.0);
result += mat4(0.07589365, -0.26653993, -0.08249569, -0.14438817, -0.04279978, 0.01693236, 0.17159064, -0.35254893, 0.0040323343, -0.11983753, -0.061253916, 0.011985204, 0.015628112, -0.27908513, 0.15301989, -0.05121764) * go_1(0.0, -1.0);
result += mat4(0.17096418, 0.046836298, -0.010261935, -0.10665749, 0.44767225, -0.15179153, 0.09625136, -0.1691867, 0.011945579, -0.05666474, -0.015486411, 0.096235506, 0.17957349, -0.37671992, 0.07288332, 0.21353583) * go_1(0.0, 0.0);
result += mat4(-0.15026344, 0.07971851, -0.18614125, 0.26538303, 0.100655146, -0.012255109, -0.043610323, -0.47393677, -0.18206257, 0.16008742, -0.08008707, 0.037403177, 0.25357443, 0.20838167, 0.07468662, -0.09819892) * go_1(0.0, 1.0);
result += mat4(0.045250274, 0.016913693, -0.17617564, 0.34649208, -0.123421766, 0.14499843, 0.2794011, 0.023555117, -0.13695411, 0.10700827, 0.0021667846, 0.100851916, -0.065286495, 0.030622184, 0.15711689, 0.16436149) * go_1(1.0, -1.0);
result += mat4(0.09937961, -0.02712812, -0.30141807, -0.05450205, -0.5938476, 0.5271416, -0.044925332, -0.5022929, -0.110103525, -0.1365297, -0.062112883, 0.073157676, -0.062495854, 0.0054924698, 0.044250533, -0.36919707) * go_1(1.0, 0.0);
result += mat4(-0.06692938, -0.16037337, -0.13874179, 0.042753883, -0.20345642, 0.33836037, -0.29128483, -0.3191502, -0.19161306, -0.024874836, -0.105124384, 0.20804134, 0.091092095, -0.10013389, 0.24283187, 0.022393208) * go_1(1.0, 1.0);
result += mat4(0.135681, -0.0913547, -0.015874185, 0.09247961, -0.023832338, -0.026725423, 0.21093869, -0.020168798, -0.036290176, -0.18609242, -0.11226475, -0.037647948, 0.015346553, -0.12651022, -0.005971455, 0.015934778) * go_2(-1.0, -1.0);
result += mat4(-0.012410877, 0.016434811, 0.16975299, 0.09871469, 0.08755521, 0.05003077, 0.17350516, 0.010860692, -0.012806688, -0.04557344, -0.14199564, 0.050168816, 0.061128106, -0.11948343, -0.10489915, -0.15296724) * go_2(-1.0, 0.0);
result += mat4(0.00050839694, -0.08347338, -0.07180877, -0.039955523, -0.0055085914, -0.12990318, 0.0396091, -0.12895937, -0.13214958, -0.020980636, -0.15015417, 0.124210335, 0.040430482, -0.058191862, -0.013813498, 0.06936561) * go_2(-1.0, 1.0);
result += mat4(-0.1309001, -0.1677729, -0.08611893, -0.019612571, 0.0072545055, -0.019699767, 0.08413648, 0.14671975, -0.030692907, -0.061039682, -0.26404843, 0.16754018, -0.13204649, 0.051769182, 0.07329174, 0.008961333) * go_2(0.0, -1.0);
result += mat4(0.12870015, -0.10839898, -0.056968387, 0.24554439, 0.10927941, 0.12468343, 0.113654085, -0.12424883, -0.13480952, 0.02290929, -0.1178948, -0.07272732, -0.035018474, -0.00019598046, -0.029631672, 0.20949355) * go_2(0.0, 0.0);
result += mat4(-0.10979465, 0.0015674937, -0.09602461, -0.13792102, 0.13557434, 0.0797543, 0.16902617, 0.10020133, 0.025968015, -0.13608235, -0.2076836, 0.14700463, -0.15915999, 0.042555846, 0.10517889, 0.013302224) * go_2(0.0, 1.0);
result += mat4(-0.11228716, 0.1296086, -0.13569583, -0.17462344, -0.15479918, 0.10442998, 0.099665, -0.0035203425, -0.03887185, -0.119468026, -0.32558957, -0.044526376, 0.10422026, -0.21343082, -0.18818367, -0.13065325) * go_2(1.0, -1.0);
result += mat4(0.117525764, -0.05182314, -0.13950679, 0.10066026, -0.082305804, 0.19577427, -0.11042555, -0.057250686, 0.034585953, -0.16881162, -0.22649515, -0.14541432, 0.04076736, -0.19786403, -0.20738153, 0.09599371) * go_2(1.0, 0.0);
result += mat4(-0.07562448, -0.04477483, 0.10653905, 0.08121934, -0.13194205, 0.038918853, 0.013618007, 0.2565958, -0.12499594, -0.006808097, -0.1272937, 0.08010868, -0.24138519, 0.10052855, 0.03744373, 0.010530644) * go_2(1.0, 1.0);
result += mat4(0.037195858, -0.026381439, -0.03815725, 0.061316613, -0.03832489, 0.091605686, 0.08876856, 0.06629904, -0.20887044, 0.0051514115, -0.1268548, -0.07050566, 0.08183176, 0.07088599, 0.18599358, -0.08899776) * go_3(-1.0, -1.0);
result += mat4(0.039327797, 0.22177398, -0.1463081, 0.20032172, -0.10862822, -0.11875083, -0.1379379, 0.031803746, 0.008306066, 0.00027348715, -0.23553665, 0.21973856, 0.04693609, 0.009794157, 0.1601008, 0.04190715) * go_3(-1.0, 0.0);
result += mat4(-0.08847024, -0.12034426, -0.046535492, -0.0015469183, 0.029354317, -0.017813215, 0.026930645, -0.061464008, 0.048435025, -0.0060154586, 0.0030779277, -0.0054586986, 0.11209741, 0.1775898, -0.0006593223, 0.06479346) * go_3(-1.0, 1.0);
result += mat4(0.06080291, 0.15299957, 0.06232974, 0.10846308, -0.028292485, -0.012474043, 0.10948469, -0.10518104, 0.03600489, -0.0018079659, 0.13882127, 0.09746347, -0.038197763, 0.050351717, -0.07982211, -0.13927835) * go_3(0.0, -1.0);
result += mat4(-0.019046405, 0.0682466, 0.16174704, -0.08366695, 0.06679201, -0.03144408, -0.15319623, -0.119038805, -0.05669314, -0.032495897, 0.08565711, 0.17832647, 0.09776954, 0.17032266, -0.24967444, 0.010303744) * go_3(0.0, 0.0);
result += mat4(0.24789387, -0.050210956, 0.24326064, -0.029406209, -0.015696421, 0.0012180286, 0.14299859, -0.005255871, 0.024319256, 0.07923077, 0.12629507, -0.006723262, -0.07208263, 0.15598877, 0.20316799, 0.048182316) * go_3(0.0, 1.0);
result += mat4(0.12899855, 0.119086534, 0.2254647, 0.05643592, 0.03596284, -0.034305334, 0.03675757, 0.025819505, -0.009708044, -0.27001143, 0.020433763, -0.114321835, 0.05199634, -0.07492276, 0.14047627, 0.019880205) * go_3(1.0, -1.0);
result += mat4(0.022634482, -0.16988315, 0.21583, 0.14514355, -0.1575888, 0.04049404, -0.19551556, 0.06926082, -0.019816458, 0.2504368, 0.0075988933, -0.2552049, -0.07932466, 0.014810682, 0.11324127, 0.09873611) * go_3(1.0, 0.0);
result += mat4(0.13066028, -0.025925523, -0.070729695, 0.08027581, -0.0889298, 0.12858535, 0.024727652, -0.06386548, 0.06752022, 0.14986867, -0.08458562, 0.04218467, 0.14644428, 0.11713881, 0.044610962, -0.03585549) * go_3(1.0, 1.0);
result += mat4(0.0034785594, -0.035852555, 0.0024070253, 0.0422838, 0.05252951, -0.040922806, -0.110922866, 0.018832507, 0.047977142, -0.031857464, -0.16198619, 0.17507105, 0.15119073, 0.0671685, 0.17173119, -0.002882032) * go_4(-1.0, -1.0);
result += mat4(0.07206848, -0.03441637, -0.12565812, -0.090023674, 0.07560367, 0.035000406, 0.0598636, -0.12219724, -0.10413281, 0.08332902, -0.332376, -0.059019767, 0.17776102, -0.029625535, 0.0932516, 0.11897422) * go_4(-1.0, 0.0);
result += mat4(-0.087000675, -0.06058876, -0.047136415, -0.01116753, 0.086808994, -0.037621588, 0.1934453, -0.09606909, -0.20308414, -0.20870854, -0.08154494, -0.023201983, 0.122871794, 0.10025451, 0.085648954, 0.06762109) * go_4(-1.0, 1.0);
result += mat4(0.008361006, -0.023998639, -0.10125869, -0.031050105, 0.13941154, -0.12811112, 0.19164155, 0.14518012, 0.07919583, 0.045191582, -0.02450593, -0.1460442, 0.19432214, 0.022542864, 0.075775094, -0.07979384) * go_4(0.0, -1.0);
result += mat4(0.0678098, 0.047234662, -0.16516937, 0.03845517, 0.10120048, 0.09001103, 0.0729872, 0.16803268, 0.05822093, 0.14214385, -0.09651238, 0.028225511, 0.014847803, 0.03776409, -0.018266752, -0.1786831) * go_4(0.0, 0.0);
result += mat4(-0.093699664, -0.07175496, -0.11612068, -0.03221349, -0.1627238, 0.08046109, 0.07180413, -0.053919647, -0.15395777, -0.10083802, -0.15925324, 0.03812138, -0.086695984, -0.011022635, -0.05752067, 0.09484592) * go_4(0.0, 1.0);
result += mat4(-0.009441042, -0.004515587, -0.011854299, -0.13570477, -0.11361854, 0.056793407, 0.14414963, 0.0016374801, 0.16569155, 0.0006892999, -0.24540672, -0.0115879765, -0.0062334137, 0.006741106, -0.057994764, -0.11105791) * go_4(1.0, -1.0);
result += mat4(-0.10549314, 0.07036646, 0.0027208559, 0.117512435, 0.06421372, 0.015700622, 0.122735605, 0.042871855, 0.3570547, -0.06494184, -0.1451109, 0.06707965, -0.0018241329, -0.15766938, -0.10465162, 0.06556862) * go_4(1.0, 0.0);
result += mat4(-0.12994805, -0.0015565314, 0.036605444, -0.0024906532, -0.22658896, -0.16236745, 0.028065031, 0.030607022, 0.24544671, 0.04871293, 0.0154087255, -0.07887157, -0.048981514, 0.047455136, 0.02338251, 0.09652532) * go_4(1.0, 1.0);
result += mat4(0.1025444, 0.06992135, -0.19152603, -0.032660298, 0.11341433, -0.008461467, 0.37216434, -0.021054655, 0.0136999, -0.06587233, -0.16484618, 0.157092, -0.009656801, -0.05105792, 0.14666946, 0.00493695) * go_5(-1.0, -1.0);
result += mat4(-0.07382431, -0.09395048, -0.093574286, -0.093534246, 0.012859197, -0.16821484, 0.33096954, -0.18585683, -0.11704033, -0.12794305, -0.10872539, -0.2351157, -0.111063056, -0.0059594624, -0.13428564, -0.015650012) * go_5(-1.0, 0.0);
result += mat4(0.010946964, -0.010041952, 0.0019383408, 0.10530978, 0.10574319, -0.042743787, 0.22395532, -0.21446688, 0.023708893, 0.06247624, -0.17799611, 0.08588511, -0.044028617, -0.060424324, -0.0718166, -0.10640777) * go_5(-1.0, 1.0);
result += mat4(0.10719061, 0.0129604, 0.19220753, 0.19485699, -0.04527621, 0.02048796, 0.062281314, 0.05473695, -0.001512825, 0.05083577, 0.015815359, -0.10335057, 0.088389724, 0.07674812, 0.1637286, 0.16419598) * go_5(0.0, -1.0);
result += mat4(-0.04744085, -0.021908872, -0.16124526, -0.12239747, 0.113680035, -0.00402739, 0.07683296, 0.1298162, -0.0062383, -0.0606094, -0.07588451, 0.09638553, 0.0488219, -0.062957846, -0.0049705994, 0.04572072) * go_5(0.0, 0.0);
result += mat4(0.078025624, 0.03524372, 0.009368983, -0.20319936, 0.10732133, 0.17059354, -0.090827584, 0.011335166, -0.0052754492, -0.041605044, -0.21478763, 0.16712104, 0.012957462, -0.03315961, 0.032550223, -0.060612053) * go_5(0.0, 1.0);
result += mat4(-0.04097813, -0.10575517, 0.02932303, 0.10431537, -0.17378059, 0.0028188052, -0.101903476, 0.09494412, -0.044233404, 0.07267324, 0.02446518, 0.04492867, -0.21241763, 0.06236375, 0.17637831, 0.11380535) * go_5(1.0, -1.0);
result += mat4(-0.16117178, 0.08798764, 0.0640833, -0.0701564, 0.17710546, 0.06163036, -0.06582654, 0.035877887, -0.09767339, 0.013938544, -0.1083548, -0.11107573, -0.2024197, 0.25081524, 0.10785676, 0.04328463) * go_5(1.0, 0.0);
result += mat4(0.011950619, 0.14784974, 0.07109999, -0.17253064, 0.110183194, -0.02177597, 0.2582, -0.06715354, 0.11416209, -0.0930534, -0.102803044, 0.04018467, 0.047358584, -0.0015465431, -0.13922222, 0.13208711) * go_5(1.0, 1.0);
result += vec4(-0.01062606, -0.052027427, 0.013884738, 0.019204512);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_9_tf
//!BIND conv2d_9_tf1
//!BIND conv2d_9_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_9_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_9_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.113090456, 0.07363513, 0.024979502, -0.008825497, -0.12050694, -0.07486469, -0.11941816, -0.011871381, 0.107220344, -0.032913607, 0.12622087, -0.045822218, 0.07387966, -0.021371206, 0.007965849, 0.048105687) * go_0(-1.0, -1.0);
result += mat4(-0.09334273, 0.033589564, 0.04118339, -0.10118551, -0.30853283, -0.16254744, -0.13663885, 0.2308669, -0.019317703, 0.02902979, 0.04737992, -0.05380483, 0.052566357, -0.0132431965, 0.03312134, -0.05146259) * go_0(-1.0, 0.0);
result += mat4(-0.035666548, 0.03142391, -0.061812516, 0.016170874, 0.2742194, -0.02790315, -0.16429302, -0.080292866, 0.08983578, 0.04091192, -0.009412326, 0.081929326, -0.021755466, 0.049149238, -0.022340572, 0.0018007496) * go_0(-1.0, 1.0);
result += mat4(-0.21112363, -0.07935102, -0.0077055297, -0.11152485, -0.038522743, 0.10441903, 0.49379715, 0.3279719, 0.11621902, 0.08317908, 0.065725714, -0.13305607, 0.0877202, 0.048430666, -0.08754577, 0.007701747) * go_0(0.0, -1.0);
result += mat4(-0.12220588, -0.009903899, 0.14068304, -0.046886254, -0.040303588, -0.022275012, 0.21650875, 0.1101425, 0.08782837, 0.029715152, 0.028760241, 0.016143637, -0.07338588, 0.043814916, 0.06933535, 0.17793724) * go_0(0.0, 0.0);
result += mat4(-0.044231124, 0.08114073, 0.06923305, 0.037548296, -0.092029534, -0.25295112, -0.06005341, 0.0014922859, 0.11133001, 0.059025094, 0.04505738, 0.0154424235, -1.2619082e-05, 0.031804066, -0.08802078, 0.07750838) * go_0(0.0, 1.0);
result += mat4(-0.1490005, 0.15053308, 0.086954184, -0.04289656, 0.18064196, -0.014970675, 0.21018268, -0.19265522, 0.1618517, -0.10602425, -0.01163617, 0.015137006, 0.11273077, -0.011398939, -0.135021, 0.022683538) * go_0(1.0, -1.0);
result += mat4(-0.07376752, 0.06489613, 0.013352993, -0.034090944, 0.25911796, 0.07827042, 0.1481548, -0.14758152, 0.16708852, -0.03871884, -0.039322566, 0.18408814, 0.12899528, 0.22925022, 0.055512853, 0.31332016) * go_0(1.0, 0.0);
result += mat4(0.017059328, -0.0090106595, -0.05648487, 0.04868179, 0.005841219, -0.20667028, -0.021814981, -0.22739622, 0.048590902, -0.03058942, 0.055517618, -0.017253084, 0.0836235, 0.014225088, 0.054538783, 0.14126775) * go_0(1.0, 1.0);
result += mat4(-0.061225217, 0.11518607, 0.048296787, -0.030705981, 0.00026408286, 0.13189921, 0.053947564, -0.01223916, 0.13795912, 0.052237086, 0.08458277, 0.0036678968, -0.038967784, 0.059216358, 0.081971616, -0.03260716) * go_1(-1.0, -1.0);
result += mat4(-0.25405368, 0.064130306, 0.007561692, 0.20079653, 0.044663772, -0.0985312, -0.2874557, 0.103476, -0.00029025553, 0.008965628, -0.21605104, 0.07896577, -0.1345618, -0.03465289, 0.12322703, -0.0027395114) * go_1(-1.0, 0.0);
result += mat4(-0.124397, -0.05734234, 0.13583343, -0.11811631, 0.026253833, -0.14396463, -0.21834502, 0.23715091, 0.13889933, -0.06356539, -0.0076341596, -0.09086631, 0.055698063, 0.020052545, 0.09171072, -0.16480936) * go_1(-1.0, 1.0);
result += mat4(0.19439146, 0.17128618, -0.11673137, -0.08775972, 0.07130441, 0.05052484, 0.0848579, -0.15684378, 0.026960561, 0.06485391, -0.07091981, 0.009575264, 0.30569664, 0.078809306, -0.18174082, -0.07217682) * go_1(0.0, -1.0);
result += mat4(-0.13809395, -0.06908299, 0.19040018, 0.09944175, 0.16939381, -0.37728497, -0.37024194, -0.12774213, -0.073519684, -0.027776692, -0.1551939, -0.14699444, 0.20145375, 0.08193369, -0.034844723, -0.006312232) * go_1(0.0, 0.0);
result += mat4(-0.055156156, -0.12880407, 0.084246926, 0.006865473, -0.17330836, 0.3469416, -0.11134178, 0.5999249, 0.16239491, 0.0069242036, -0.06905619, 0.11335964, 0.14645413, -0.22719446, -0.07623858, -0.21904367) * go_1(0.0, 1.0);
result += mat4(0.05759482, -0.011921518, -0.13729765, 0.05304118, -0.17100294, -0.2243963, -0.105225794, -0.06406073, -0.017775586, -0.043849885, 0.0059583266, -0.07364292, 0.11278126, -0.026950873, 0.056825638, 0.3991148) * go_1(1.0, -1.0);
result += mat4(0.16265109, 0.026453028, 0.013443396, 0.09319076, -0.24836281, 0.05491846, -0.017516365, -0.17137475, -0.08806953, -0.15395658, -0.039889313, 0.064111516, 0.04344778, 0.0070924186, -0.033040605, 0.03564861) * go_1(1.0, 0.0);
result += mat4(0.004374147, -0.0033310314, 0.0070889434, 0.022748578, 0.059289854, 0.06067078, 0.11241574, 0.5826851, -0.03176285, -0.016978094, 0.009900873, 0.03038094, -0.09920674, 0.020018527, 0.06611844, -0.0103789205) * go_1(1.0, 1.0);
result += mat4(0.072284274, -0.070255265, 0.06409053, -0.119059056, -0.032461043, 0.082600154, -0.016688043, -0.0044279834, -0.0087889265, 0.044576246, 0.044787094, 0.065958634, -0.14979455, 0.061757486, -0.24551123, -0.037096146) * go_2(-1.0, -1.0);
result += mat4(0.21414876, -0.035975914, -0.10910457, -0.076440185, -0.026116187, -0.19440939, 0.16116165, -0.034323256, 0.07209571, 0.03571497, 0.14614029, 0.16346116, -0.016872317, -0.12024297, -0.0755266, 0.028007843) * go_2(-1.0, 0.0);
result += mat4(-0.1504108, -0.074497886, 0.015983054, -0.019896332, 0.07229879, 0.004704412, 0.053509913, 0.017833585, 0.22588669, 0.085522465, 0.020050932, 0.13462946, 0.007896909, -0.01270269, 0.0360872, -0.057662737) * go_2(-1.0, 1.0);
result += mat4(0.07984104, -0.0127557935, -0.06973756, -0.19502595, 0.045058925, -0.07282435, 0.022881633, -0.03889418, -0.06895071, -0.01696622, -0.06334147, 0.11896589, -0.019639635, -0.12830317, -0.13997689, 0.049553704) * go_2(0.0, -1.0);
result += mat4(0.31706354, -0.30116943, 0.05092584, 0.076729104, -0.14699869, -0.015972838, -0.09121025, 0.17598335, 0.19278876, 0.093195386, -0.018730955, -0.19796541, 0.11778652, -0.096808665, 0.04344181, -0.14896126) * go_2(0.0, 0.0);
result += mat4(0.013848566, -0.020476839, 0.18316923, 0.0049782926, -0.0056098476, -0.07864655, 0.061630413, -0.080569, 0.076633394, -0.06640537, -0.106514364, 0.12165088, -0.058596645, -0.118888184, -0.06803075, 0.13117275) * go_2(0.0, 1.0);
result += mat4(-0.012252778, -0.030876057, -0.24172947, -0.087793685, -0.22224396, -0.25604194, 0.1426168, -0.12783521, 0.05556455, 0.03210483, -0.0316102, -0.023015687, 0.039683223, -0.10394309, 0.098285146, -0.023034312) * go_2(1.0, -1.0);
result += mat4(0.14878303, -0.028762965, 0.058775716, 0.15540268, -0.17421083, 0.131513, 0.044773087, 0.018603755, -0.09350667, -0.043389946, 0.11546245, -0.02759183, -0.07364507, 0.17135505, -0.009826415, 0.11607424) * go_2(1.0, 0.0);
result += mat4(0.067677625, 0.059752934, 0.024382113, 0.04400844, 0.008342977, -0.04577138, 0.020685198, -0.041203383, -0.017433412, -0.07155846, -0.052362144, 0.03014568, 0.038230926, -0.01888155, -0.07849765, -0.08396473) * go_2(1.0, 1.0);
result += mat4(0.053294566, 0.03602729, -0.22378196, 0.01609388, -0.11043058, -0.05442587, -0.19422631, -0.05565426, -0.04800542, 0.13920017, -0.017418116, 0.054497957, 0.13052133, 0.12071769, -0.042326517, -0.0022381644) * go_3(-1.0, -1.0);
result += mat4(0.046847582, -0.04184529, 0.008852511, -0.02015262, 0.10545831, 0.113283984, 0.10696095, -0.11655221, 0.03373848, 0.08363771, -0.02655156, 0.04344747, -0.24057704, 0.13668998, -0.2299754, 0.0073035797) * go_3(-1.0, 0.0);
result += mat4(-0.08459315, -0.020136766, 0.10070683, 0.017577527, -0.0009834991, -0.11033308, 0.08818948, -0.13391396, 0.04542606, 0.1559562, -0.0065471027, 0.07997259, 0.069890484, 0.046721727, 0.013988052, -0.08406746) * go_3(-1.0, 1.0);
result += mat4(-0.21624295, -0.14573877, 0.0105767455, 0.02749639, -0.16385342, -0.02645479, -0.06401607, -0.02483742, 0.03537051, -0.088888384, 0.11516674, 0.0331008, 0.10191646, 0.1400283, -0.07871824, -0.025639221) * go_3(0.0, -1.0);
result += mat4(-0.048230644, 0.15147676, 0.058630764, -0.13755774, 0.041924685, -0.07714329, -0.050841887, -0.08088139, -0.13306704, 0.29612526, -0.20367093, -0.10485751, -0.03138395, -0.119133264, -0.0035399024, -0.14238247) * go_3(0.0, 0.0);
result += mat4(-0.12002435, 0.14720187, -0.122544155, -0.02835125, 0.06765652, -0.0016552208, -0.16833816, -0.04353569, -0.068208195, 0.039453834, 0.11506979, -0.20681196, -0.049302276, 0.101384796, -0.05427253, -0.11548666) * go_3(0.0, 1.0);
result += mat4(-0.0015761533, 0.029485287, -0.013451097, -0.010172752, -0.08024912, -0.075339146, 0.03593965, -0.21028483, -0.016502015, 0.0044189016, 0.099528, 0.0015216048, -0.04843517, -0.22091262, 0.0074388958, -0.07867808) * go_3(1.0, -1.0);
result += mat4(0.061431393, 0.10554286, -0.047737405, -0.033705, 0.013257743, 0.04547564, -0.10596572, 0.022967024, -0.072270565, -0.07260744, 0.02165147, -0.2838162, 0.009972065, -0.18017696, -0.1033283, -0.24442294) * go_3(1.0, 0.0);
result += mat4(-0.076784596, -0.1104058, -0.002270307, 0.064797, -0.0110007385, 0.1348493, 0.057218846, -0.015386331, -0.14072885, 0.04957616, 0.15274633, -0.12291619, -0.03807296, -0.10206284, 0.015337153, -0.0031198338) * go_3(1.0, 1.0);
result += mat4(-0.0073694596, -0.15437892, 0.20896013, 0.05329698, -0.028366623, 0.18420795, -0.037967466, -0.09243155, -0.15928073, -0.027211703, -0.2442852, 0.058322527, 0.07330965, 0.056972265, 0.009306745, 0.06876) * go_4(-1.0, -1.0);
result += mat4(0.019019231, -0.040069077, -0.04364552, -0.03891406, 0.022412365, -0.12990329, 0.064752564, 0.038254093, -0.002828065, 0.020048235, 0.20127815, -0.16228448, 0.0893103, -0.013606921, 0.037670426, -0.14594339) * go_4(-1.0, 0.0);
result += mat4(-0.033307545, -0.061984073, -0.10351916, 0.014344462, 0.12793744, 0.025341533, -0.053259254, 0.018748915, -0.13417724, 0.040742733, -0.16217181, 0.02416155, -0.0012869171, 0.019427545, -0.014160245, -0.015564102) * go_4(-1.0, 1.0);
result += mat4(-0.06312904, -0.041499175, 0.14028127, -0.06057527, -0.0053603924, -0.20937814, -0.23347853, 0.06508113, 0.10326394, 0.14152344, 0.24802643, 0.037230004, -0.0512267, -0.09640014, 0.11307992, 0.062251512) * go_4(0.0, -1.0);
result += mat4(-0.047232777, 0.066493064, 0.067052625, 0.050015416, 0.10413762, 0.01973564, 0.16534911, 0.0024560746, 0.024104346, 0.22038093, -0.029466642, -0.03005048, -0.045328043, -0.026583074, 0.06890472, -0.083850846) * go_4(0.0, 0.0);
result += mat4(-0.015427126, 0.027022658, -0.08238112, 0.15246283, 0.11984305, -0.09998941, 0.014057224, -0.0066921166, -0.20243695, -0.073766015, 0.07869843, -0.11506079, 0.031439606, 0.11598879, 0.06180831, 0.041150138) * go_4(0.0, 1.0);
result += mat4(-0.057878558, 0.024301196, 0.018600943, 0.033078402, -0.0144442795, 0.14395595, -0.1659252, 0.013102369, 0.28647897, 0.3503999, -0.05675152, 0.016681064, 0.086345114, -0.037110195, 0.03652228, -0.0051537044) * go_4(1.0, -1.0);
result += mat4(0.09289769, 0.0016243979, -0.059179984, 0.09049066, -0.14034908, 0.032427154, 0.04401559, -0.014668633, -0.040649414, 0.1347746, -0.17860253, 0.06025895, 0.01153774, -0.022120953, 0.08443816, 0.038053006) * go_4(1.0, 0.0);
result += mat4(0.0002521741, -0.040953588, 0.007686153, -0.08370907, 0.011406269, 0.12528807, -0.046396818, -0.11079658, -0.065456934, 0.15347314, -0.11185346, 0.051363517, 0.097815335, -0.079271026, -0.09015003, -0.06900951) * go_4(1.0, 1.0);
result += mat4(0.08122873, -0.057299573, -0.14423624, -0.008031561, 0.03928219, 0.016986107, 0.12346514, -0.07066072, -0.106617115, -0.13096279, 0.14809057, 0.006015337, -0.0058337026, -0.06331833, -0.07309315, 0.019704184) * go_5(-1.0, -1.0);
result += mat4(0.13088657, -0.031135868, 0.11847334, 0.0071840337, -0.17655367, 0.100214295, -0.17799327, 0.03865343, 0.037620597, 0.13719837, -0.040092412, -0.017328897, 0.1561107, -0.065955736, 0.1717354, -0.1400387) * go_5(-1.0, 0.0);
result += mat4(0.078043096, 0.040985454, 0.07705413, -0.0050318157, -0.027695157, -0.005932721, -0.06398745, 0.057999082, -0.04509152, 0.0026726502, -0.019347308, 0.07512656, 0.04063527, 0.0068896073, 0.10422622, 0.022710409) * go_5(-1.0, 1.0);
result += mat4(0.072719865, -0.13834853, 0.12521699, 0.028246783, 0.18001392, 0.22119613, -0.04822959, -0.18187445, -0.01620022, 0.06518222, 0.08131247, 0.03313942, -0.1719651, -0.09656006, 0.11155731, 0.0012492423) * go_5(0.0, -1.0);
result += mat4(-0.06908649, 0.032564826, -0.221129, -0.18762547, 0.004682886, -0.013427163, -0.09181895, 0.11841623, -0.021600097, 0.11863493, 0.022368155, 0.20736726, -0.1179626, -0.031987645, -0.10487533, 0.0223198) * go_5(0.0, 0.0);
result += mat4(0.16678348, 0.10580399, 0.06924163, 0.02099658, -0.12483056, 0.015410649, -0.07798601, 0.11255007, -0.02503761, -0.05064836, -0.089003615, 0.014460337, -0.08561935, -0.018413413, -0.06588833, 0.035070665) * go_5(0.0, 1.0);
result += mat4(0.027189143, -0.0010071322, 0.09226382, 0.0065353415, 0.061346207, 0.07053531, -0.23844129, 0.108211555, 0.004455096, 0.03178847, 0.035845987, 0.05188758, -0.098674856, -0.035545208, 0.08398878, 0.041259117) * go_5(1.0, -1.0);
result += mat4(-0.06490854, 0.032585036, -0.019875526, -0.027634617, 0.027890025, -0.016592579, 0.14754246, -0.036906276, 0.06924524, 0.1729594, -0.017031275, 0.066240765, -0.18692508, -0.007637408, 0.1483749, -0.14382264) * go_5(1.0, 0.0);
result += mat4(0.0022379193, 0.08517842, 0.03217198, 0.14777406, -0.027304325, -0.08981197, -0.030513924, -0.18656953, 0.18277127, 0.07718136, 0.009839646, -0.10027589, -0.07353519, 0.06717004, 0.003475724, 0.05562032) * go_5(1.0, 1.0);
result += vec4(0.006233754, -0.020468881, -0.023690598, 0.012153336);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x64
//!HOOK MAIN
//!BIND conv2d_9_tf
//!BIND conv2d_9_tf1
//!BIND conv2d_9_tf2
//!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_tf_tex(conv2d_9_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
#define g_6 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.3275295, -0.10256548, 0.07990071, 0.07344491, 0.09675708, 0.38602263, 0.046949226, 0.13522291, -0.06548349, -0.2141768, 0.1442215, 0.07076354, -0.28706893, -0.09510657, -0.33361802, 0.17997606) * g_0;
result += mat4(-0.3902465, -0.37943545, 0.34070873, -0.06515231, 0.3773959, 0.23564592, 0.12646881, 0.34798717, 0.08959239, -0.09920428, -0.05263061, 0.08593119, -0.11256286, 0.03323808, 0.28942552, -0.07692077) * g_1;
result += mat4(0.049924586, -0.046135597, 0.027276453, 0.22358407, -0.17782047, 0.04982942, 0.032420523, 0.14843605, -0.07956747, 0.15165776, 0.024053019, 0.10179323, -0.12331457, 0.17385468, -0.14274296, -0.19595052) * g_2;
result += mat4(0.08946966, 0.21978298, -0.13464683, -0.15201972, 0.07488354, -0.083067894, 0.2545266, -0.00071388343, -0.09486165, 0.17796224, -0.17153804, -0.13825884, -0.005259369, 0.25042844, -0.17753051, -0.23244008) * g_3;
result += mat4(-0.101277605, 0.08002136, 0.052613195, -0.0025906193, -0.05422038, 0.06328493, -0.312865, -0.09892072, -0.05911775, -0.30448103, 0.18317235, -0.06668996, -0.30352446, 0.05390891, -0.2406475, 0.24649437) * g_4;
result += mat4(0.2113683, 0.17140104, -0.30644476, -0.12725203, 0.11536456, -0.19401324, -0.21433993, 0.051369216, -0.15230572, 0.42077595, 0.2791827, 0.0865297, 0.13286951, 0.01140499, 0.020872416, -0.034236103) * g_5;
result += mat4(0.27759182, -0.1335802, -0.08618739, 0.16586313, 0.15327361, -0.33924958, -0.21265858, -0.20737244, -0.009371618, 0.11073709, 0.4726342, -0.0316658, 0.05112286, -0.032339208, -0.17583671, -0.25219595) * g_6;
result += mat4(-0.026518747, 0.12324775, -0.31155992, 0.21424666, -0.16678652, 0.06348117, 0.11070292, -0.11495743, -0.10694724, 0.12424144, -0.0021484715, 0.06512352, 0.15463142, -0.11476437, 0.2896172, 0.4012892) * g_7;
result += mat4(-0.001160076, -0.14888513, 0.14301488, -0.04740031, 0.029436165, -0.23340538, -0.15105838, 0.16811034, -0.06946912, 0.020841839, 0.24280222, 0.021100134, 0.07717933, -0.22419651, -0.006414409, 0.11330106) * g_8;
result += mat4(0.11547635, -0.25639054, -0.018852018, 0.24935618, 0.14466232, -0.108216226, -0.09197662, -0.20300743, 0.20194042, 0.3676584, -0.14426023, 0.33430305, -0.069588944, -0.05887257, 0.194153, -0.25895235) * g_9;
result += mat4(0.007937854, 0.10338447, -0.08498367, -0.17928837, 0.27194974, 0.0847048, 0.18792148, -0.14510484, 0.12530808, 0.10366565, -0.13497144, 0.21842767, -0.09612641, 0.1777584, 0.07427717, 0.1062342) * g_10;
result += mat4(-0.07232676, 0.01870754, 0.17989273, -0.12123426, 0.08253994, -0.13098013, -0.17457142, 0.2662375, 0.16095823, -0.04657838, -0.19479601, 0.037022784, -0.08683312, 0.25411013, 0.041371927, 0.2900686) * g_11;
result += mat4(-0.285272, -0.3171985, -0.0049645463, 0.14884493, 0.09718065, -0.31102726, -0.24681929, 0.03831946, 0.12201028, -0.101639956, -0.10093202, -0.053675085, 0.02908511, 0.091725975, -0.036547046, 0.02928812) * g_12;
result += mat4(0.18724014, -0.056803793, 0.15476856, -0.02362879, 0.052199673, 0.06359232, 0.4151323, -0.01882742, -0.019109733, -0.07776646, -0.3151209, 0.053818975, 0.046562992, -0.17907584, 0.13174902, 0.14436677) * g_13;
result += mat4(-0.21648815, 0.022653956, -0.55097306, -0.008152276, 0.12439029, -0.04533779, -0.12331872, 0.078978874, 0.052233644, -0.1477579, -0.18353766, 0.40710232, -0.23357393, -0.39480248, -0.018859219, -0.07072299) * g_14;
result += mat4(0.043721616, 0.14363645, 0.024111703, 0.014027298, 0.012885652, 0.17223589, 0.047403537, -0.09311825, -0.24859756, -0.1791887, -0.064629294, -0.26104984, 0.12781571, -0.011062096, 0.1922415, 0.16987853) * g_15;
result += vec4(0.05144489, 0.033752657, 0.008907633, -0.03164656);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x64
//!HOOK MAIN
//!BIND conv2d_9_tf
//!BIND conv2d_9_tf1
//!BIND conv2d_9_tf2
//!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_tf_tex(conv2d_9_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
#define g_6 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.26660392, 0.07363331, -0.0630955, 0.04707774, 0.2190672, -0.012001462, -0.5999911, 0.28147182, 0.13756925, -0.124700874, -0.02564129, 0.22770438, 0.101030536, 0.098255195, -0.21563007, -0.075010024) * g_0;
result += mat4(-0.251709, 0.20354952, -0.32704532, 0.018580899, -0.10529829, -0.15543194, -0.18096688, -0.27817816, 0.34051725, 0.02303076, -0.006826852, -0.09399886, -0.038892258, 0.022739887, 0.058521356, 0.13895498) * g_1;
result += mat4(0.05894668, 0.100568, -0.21035372, 0.31440088, 0.037351474, -0.022318719, -0.00996168, 0.010143051, -0.33800384, -0.023619255, 0.23860018, -0.24643785, 0.096730575, -0.10366994, 0.050961945, -0.219199) * g_2;
result += mat4(0.21206303, -0.17116684, 0.014926057, -0.2555803, -0.23777173, -0.3644426, -0.14371839, -0.21673483, 0.39334375, -0.1263852, -0.23373136, -0.43798128, -0.1707486, -0.009590617, 0.0023898776, -0.23449537) * g_3;
result += mat4(-0.06620709, -0.033145174, 0.27508232, 0.08487005, 0.36242872, -0.30349565, -0.034109794, 0.3935021, 0.046761807, -0.106829435, -0.048241124, 0.011187411, -0.20284426, -0.08020177, 0.011624174, 0.2168835) * g_4;
result += mat4(-0.12986803, 0.09660072, -0.0859288, 0.23373657, -0.35700363, 0.021483889, 0.13391288, 0.26249766, 0.073043846, 0.15460604, -0.17885107, -0.03155575, 0.21122873, 0.10214664, 0.008124733, -0.13256365) * g_5;
result += mat4(-0.20986424, 0.01661353, -0.32582346, 0.021188684, -0.11207729, -0.005879808, 0.14655554, 0.20526361, 0.17426926, -0.21366295, -0.08453759, 0.21751851, -0.22087021, 0.18081911, 0.034678783, -0.028321259) * g_6;
result += mat4(0.06180443, -0.0133624105, -0.09466958, -0.11492345, 0.037676495, 0.17866406, -0.2652301, -0.27896136, 0.066703305, 0.0914678, 0.060967688, -0.1129105, 0.34927168, -0.07907402, 0.250401, 0.18991004) * g_7;
result += mat4(0.19685721, -0.004515772, -0.24063739, 0.029372582, 0.11698867, 0.07514613, 0.09423268, 0.1620886, 0.14784159, 0.21263896, 0.2852977, -0.12326755, 0.07344623, 0.050873935, -0.23356345, -0.5316184) * g_8;
result += mat4(-0.13699524, -0.26430392, -0.06886077, 0.03557516, -0.06480295, 0.08807464, -0.17347333, 0.06482862, -0.13731833, -0.2848614, 0.06923784, 0.25189507, -0.12466488, -0.052593954, 0.00086845015, 0.10056825) * g_9;
result += mat4(0.18202075, -0.03969697, 0.11266586, -0.31405628, -0.18683487, -0.16736764, -0.2904854, -0.03473291, 0.0489973, 0.37474206, 0.2694234, -0.029300861, 0.02498133, 0.3028819, 0.1546703, -0.09094391) * g_10;
result += mat4(0.022329945, 0.16241878, -0.19467553, -0.06949654, 0.34127444, 0.15979202, 0.018057512, 0.24089065, -0.102250695, 0.01327663, 0.21074775, 0.10166909, 0.3671337, 0.25721171, -0.25048146, 0.03895536) * g_11;
result += mat4(0.05818574, -0.0058748005, 0.11750601, 0.19012532, 0.3506463, 0.05318807, -0.14448579, -0.09219455, -0.13858557, -0.024810392, 0.057599254, 0.012339387, 0.1620521, -0.18280268, 0.040701784, -0.17565976) * g_12;
result += mat4(0.39327988, -0.1916084, 0.056305442, -0.288639, -0.034966636, 0.29527235, -0.32901463, -0.11967507, -0.34051013, 0.27244, -0.0063241655, 0.4183678, -0.38721135, -0.13528046, 0.16835152, 0.17126207) * g_13;
result += mat4(0.014969379, 0.1980705, 0.08781139, 0.144981, 0.3095253, -0.17065018, 0.23785667, 0.26326, 0.009895111, 0.019108804, 0.2241572, 0.048993796, 0.115338214, 0.13549735, -0.21664904, -0.044739243) * g_14;
result += mat4(0.24587603, -0.03127825, -0.5519671, -0.1913501, -0.041294243, 0.17807598, -0.24955471, -0.2830993, -0.032468125, 0.051955972, -0.04685181, -0.29292116, -0.037471697, -0.09133097, 0.06842207, 0.4217657) * g_15;
result += vec4(0.03585649, -0.0060541225, 0.04059685, 0.028249348);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x64
//!HOOK MAIN
//!BIND conv2d_9_tf
//!BIND conv2d_9_tf1
//!BIND conv2d_9_tf2
//!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_tf_tex(conv2d_9_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_9_tf1_tex(conv2d_9_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_9_tf2_tex(conv2d_9_tf2_pos)), 0.0))
#define g_6 (max((conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_11_tf_tex(conv2d_11_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.022616543, -0.07495665, 0.20578638, -0.24614015, 0.20188546, 0.07821132, -0.55689156, 0.078048594, 0.16035397, -0.18943994, -0.109294415, 0.11644118, -0.25667566, -0.17004293, -0.34455723, -0.08808675) * g_0;
result += mat4(0.28649247, 0.056165792, -0.49363118, -0.1529661, 0.07703691, 0.07966694, 0.58834124, 0.20894507, 0.46345595, 0.19134133, 0.12830314, -0.06366993, 0.1250579, 0.18356793, -0.1408607, -0.16252096) * g_1;
result += mat4(-0.059020188, -0.21338785, 0.017160866, -0.06280688, -0.12539028, 0.032399278, 0.046102162, -0.012033963, 0.19066435, -0.21461637, 0.07392558, 0.022834225, 0.18924391, -0.027622582, -0.24777018, -0.090185896) * g_2;
result += mat4(-0.32912537, -0.12669958, 0.092723176, 0.09256268, 0.013792983, -0.13308536, 0.16042812, -0.2033247, -0.06560468, -0.019620765, 0.08362642, 0.055273537, 0.12208806, -0.20194231, 0.084021725, 0.38380083) * g_3;
result += mat4(-0.1571086, 0.03144169, -0.2251698, -0.06480453, 0.001744102, 0.0010039994, -0.027967803, -0.11266107, -0.40678036, -0.07481646, -0.24311328, 0.042732738, 0.018475516, -0.113912515, 0.03153217, -0.034913916) * g_4;
result += mat4(0.014403644, -0.020557571, 0.38122526, 0.03807282, 0.28673846, 0.13712813, -0.042157043, -0.12968376, 0.12554988, -0.14628744, -0.00392324, 0.014086664, 0.079255715, 0.09928858, -0.11087327, 0.0699405) * g_5;
result += mat4(-0.35458207, 0.029392743, -0.31504998, 0.13302153, 0.17734766, -0.10416982, -0.0036142413, -0.12197593, -0.17005852, 0.1727392, 0.11929178, 0.16293883, -0.25592133, 0.08175675, 0.2355234, 0.022874065) * g_6;
result += mat4(0.21167323, -0.26767167, 0.08588045, 0.058573887, -0.01292999, 0.22167805, 0.11722694, 0.5700164, 0.044330835, -0.29406846, -0.11540253, -0.21386458, -0.08779367, -0.12368158, 0.0667155, 0.32094228) * g_7;
result += mat4(-0.08529116, 0.09712954, 0.09333625, 0.06606905, -0.1782532, 0.051486395, -0.10986318, -0.20011626, -0.023568239, 0.20281026, 0.03716514, 0.1831125, 0.22586478, -0.058135565, 0.0030777368, 0.0015794474) * g_8;
result += mat4(-0.007098127, -0.11688584, 0.0133981705, 0.17757058, 0.02897332, -0.18530834, -0.0032577885, -0.08089542, -0.0020816326, -0.3233896, -0.13044983, -0.04108618, 0.0110450545, -0.01834794, -0.17684971, -0.06611739) * g_9;
result += mat4(0.2604118, 0.3291361, 0.07571542, 0.32165763, -0.06534106, -0.10623649, 0.18254459, 0.063651256, -0.021245563, 0.06759048, -0.39714596, -0.12235311, -0.059783626, 0.10078259, 0.26484212, -0.13679399) * g_10;
result += mat4(0.13124742, 0.11206922, -0.0684187, -0.20119804, -0.09549651, 0.0703663, -0.19196616, -0.14344019, 0.029426184, -0.057151172, 0.19186652, 0.24676153, 0.35762733, 0.10300911, 0.08581454, -0.015290781) * g_11;
result += mat4(0.06758918, 0.37075385, -0.2334613, 0.25336525, -0.026440224, 0.024827614, 0.07352414, -0.1794877, -0.018798998, 0.10824414, 0.01850616, 0.03725088, -0.079103224, -0.056518886, -0.01137129, -0.00012351258) * g_12;
result += mat4(0.09624113, -0.18910943, 0.30205646, 0.43680936, 0.21888132, -0.22264229, -0.15398757, 0.29324576, 0.006859953, -0.077507176, -0.090208314, -0.20981432, -0.21420066, 0.06341929, -0.07640488, -0.031766582) * g_13;
result += mat4(-0.025704857, 0.09863719, 0.04335183, -0.06731708, 0.019300275, -0.39722142, -0.13667129, 0.15554759, -0.3567945, -0.008414992, -0.05418159, -0.2149799, -0.17905809, 0.0051317243, 0.037312187, -0.05859764) * g_14;
result += mat4(0.25617346, 0.009854824, -0.019909287, 0.06340188, -0.10071771, 0.10874236, 0.38549116, 0.098355606, 0.2930539, 0.11536922, -0.14541107, 0.035229255, -0.3127395, 0.27851996, -0.0048802355, 0.02862268) * g_15;
result += vec4(-0.0006504641, -0.014806257, -0.015985647, 0.021676043);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_12_tf
//!BIND conv2d_12_tf1
//!BIND conv2d_12_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_12_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_12_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.04766601, -0.08873054, 0.005499363, 0.22826882, -0.037064873, -0.033036098, -0.032993972, 0.019684056, -0.112056926, 0.24149527, 0.035685547, 0.17504431, -0.0183106, 0.0045852084, 0.026032817, 0.15994325) * go_0(-1.0, -1.0);
result += mat4(0.08036498, -0.013548163, 0.20777182, 0.06606712, -0.08659822, -0.00868782, -0.011019898, 0.2910518, -0.09389351, 0.33584946, 0.108130634, -0.10339422, -0.05983827, 1.1733741e-05, 0.19136195, -0.030451618) * go_0(-1.0, 0.0);
result += mat4(-0.06300944, -0.12232252, 0.03439557, 0.023495283, 0.030675469, -0.15615271, 0.009222266, -0.15872008, -0.11221947, 0.09490069, 0.019891763, 0.045059964, -0.041904196, -0.017507626, 0.29639375, -0.117661364) * go_0(-1.0, 1.0);
result += mat4(0.016437378, 0.007538904, -0.026839709, -0.16624857, 0.06819369, -0.04897121, -0.18808518, 0.086621605, 0.14180544, 0.17955917, -0.09790851, 0.039487675, 0.22766054, 0.09032378, -0.075107984, 0.028585276) * go_0(0.0, -1.0);
result += mat4(0.05246935, 0.050048, -0.05351975, -0.107505515, 0.108736835, -0.27448198, 0.11252558, 0.27796018, 0.04185788, 0.034398172, -0.053029325, 0.07073433, -0.025713935, -0.09570281, -0.07521802, -0.08111075) * go_0(0.0, 0.0);
result += mat4(0.031577975, 0.019226722, 0.04809843, -0.19481082, -0.06222471, -0.08793356, -0.0105632, -0.0022112587, -0.16979192, -0.12659062, -0.056841433, 0.16133933, -0.012780732, -0.022318223, 0.15101114, -0.0151837105) * go_0(0.0, 1.0);
result += mat4(0.044661913, -0.09493484, -0.16244547, 0.099892184, -0.09966541, -0.1371541, -0.1199883, -0.006932647, 0.011555785, 0.062161997, 0.011957924, -0.0046018534, -0.07246587, 0.050895315, 0.08764646, 0.03878322) * go_0(1.0, -1.0);
result += mat4(0.0050623664, 0.04194452, -0.06284778, 0.2801689, -0.0048141177, -0.014546401, 0.009261513, 0.10671803, -0.1831871, -0.16314691, 0.14374094, 0.14304964, -0.019663982, -0.0238642, 0.1355787, -0.07863844) * go_0(1.0, 0.0);
result += mat4(0.068439595, 0.10601399, 0.04445464, -0.082589164, -0.12076639, -0.19892736, 0.010703126, -0.049566027, 0.037566118, 0.0014690928, 0.021312788, 0.16887307, 0.07284222, -0.1301409, 0.066457376, -0.07559795) * go_0(1.0, 1.0);
result += mat4(-0.016828878, 0.002777484, -0.01192022, -0.15069696, 0.20221114, -0.3061287, 0.13297656, -0.056803413, -0.066278435, 0.0035245512, -0.17930144, -0.001265058, 0.013300978, -0.048236936, 0.028006276, -0.08026672) * go_1(-1.0, -1.0);
result += mat4(0.18392089, 0.15686612, -0.13585585, -0.15458605, 0.019226758, -0.33975378, 0.23010728, 0.23337337, -0.23821786, 0.29103196, -0.021852285, 0.14304784, 0.011693901, -0.054488327, -0.01315806, 0.007436759) * go_1(-1.0, 0.0);
result += mat4(-0.011244075, 0.10416007, -0.0041315504, -0.11997069, 0.050595663, 0.091377564, 0.22195914, -0.12773553, -0.07143762, 0.0143060265, 0.17273602, -0.10601611, -0.009763753, -0.0847433, 0.12186509, 0.10615673) * go_1(-1.0, 1.0);
result += mat4(0.061368015, -0.068496354, -0.2407434, -0.26803467, -0.058811773, -0.010204624, -0.07548678, 0.17162569, -0.09558153, -0.071033135, -0.06556115, 0.1221955, -0.1347493, 0.024266958, 0.025815917, -0.100408986) * go_1(0.0, -1.0);
result += mat4(-0.1888506, -0.030419666, 0.16793051, 0.14324215, 0.10950739, 0.1343419, -0.2248379, -0.14396293, -0.20620285, 0.17800951, -0.16497955, -0.19341442, 0.2942622, 0.16140452, -0.040181722, 0.017387921) * go_1(0.0, 0.0);
result += mat4(0.009891477, 0.011328579, 0.00594306, -0.0028590804, 0.1154466, 0.005604213, 0.07040629, -0.116503485, -0.14134626, -0.036831252, 0.114188544, -0.04877332, -0.018549152, -0.10824534, 0.23002262, -0.09607142) * go_1(0.0, 1.0);
result += mat4(-0.041259766, -0.13294907, -0.001241502, 0.0052782656, 0.17177297, 0.045009315, 0.016023083, -0.17428452, -0.11339484, -0.0149995135, 0.07818529, -0.07482733, 0.052924678, -0.09830524, 0.028107356, -0.0506559) * go_1(1.0, -1.0);
result += mat4(0.16750227, -0.03543132, -0.11424185, -0.016877567, 0.07610275, -0.038692836, 0.11466223, -0.043120407, -0.017285721, -0.022713793, -0.040554002, 0.12117221, -0.12070236, -0.1355447, 0.18470849, -0.08757451) * go_1(1.0, 0.0);
result += mat4(0.06588489, -0.06895313, -0.10074674, 0.052769467, -0.052452452, 0.021969646, 0.019364877, 0.042615533, -0.18192504, -0.019475296, -0.15541336, -0.024499625, 0.1061428, 0.08680538, -0.076889925, 0.060964942) * go_1(1.0, 1.0);
result += mat4(0.11723939, -0.2145895, -0.0018003144, 0.008435592, 0.20840652, -0.06223065, -0.07482898, 0.13037735, -0.016607814, -0.02059057, -0.076556735, -0.14825165, 0.029702501, 0.1584012, 0.12974715, -0.028934866) * go_2(-1.0, -1.0);
result += mat4(-0.13804847, -0.07549884, 0.14182271, 0.25749323, 0.0720415, 0.0683624, -0.11029505, 0.07563778, -0.10603422, -0.008179157, -0.27246183, 0.098859124, 0.2341703, 0.02649086, -0.0476733, -0.004040013) * go_2(-1.0, 0.0);
result += mat4(-0.014769323, -0.14823915, 0.100703806, 0.046229646, 0.07188005, 0.13177352, -0.18380448, -0.12662199, 0.09121963, 0.086607546, -0.1713038, 0.20208809, 0.07673659, 0.06964691, -0.011840256, -0.17650494) * go_2(-1.0, 1.0);
result += mat4(0.043285407, -0.19177067, -0.013394971, -0.039506245, -0.020055663, -0.16365004, -0.126919, 0.11829788, -0.09755223, -0.08120004, 0.02925502, 0.07994708, 0.14334531, -0.051972084, -0.10803022, -0.21189956) * go_2(0.0, -1.0);
result += mat4(-0.16990487, 0.08215979, 0.15654644, -0.028398765, 0.038672406, -0.014357952, -0.058319125, 0.17800058, -0.04136424, -0.13240542, -0.1967293, 0.053846672, 0.13392007, -0.054036554, -0.079700164, 0.016189305) * go_2(0.0, 0.0);
result += mat4(-0.07202835, -0.09779492, 0.035847716, -0.1027833, 0.031227818, 0.012867398, -0.12228696, 0.08555991, 0.059939012, -0.0897783, 0.083725266, 0.04854981, 0.13604839, 0.06550103, -0.12690842, 0.060452852) * go_2(0.0, 1.0);
result += mat4(0.06340156, 0.031024719, -0.22086458, 0.034828365, 0.07871151, -0.06558423, 0.0109889265, -0.013587479, 0.014823924, 0.055887852, 0.026508275, 0.18315418, 0.14366621, 0.15082708, 0.014611827, 0.03689167) * go_2(1.0, -1.0);
result += mat4(-0.017257426, -0.07688253, -0.22220261, -0.038077347, 0.19999744, -0.117364876, -0.23549953, 0.06990646, -0.10284061, 0.019038511, -0.041728914, 0.047584135, 0.25996932, 0.10438033, -0.04583734, -0.099349774) * go_2(1.0, 0.0);
result += mat4(0.107289255, -0.011826194, 0.18488838, -0.11182476, 0.25090897, -0.04807566, -0.13324001, 0.031594798, 0.08850055, -0.033576958, 0.022218898, -0.12367226, 0.22097383, 0.14337142, 0.11542364, 0.06884657) * go_2(1.0, 1.0);
result += mat4(0.09653818, -0.25129798, -0.03969683, -0.03618899, -0.00659088, 0.070773214, -0.13164142, 0.2120833, 0.040861044, -0.16202575, 0.051817715, -0.0459317, 0.03780374, -0.008494332, 0.1583021, 0.021209331) * go_3(-1.0, -1.0);
result += mat4(0.02460906, -0.020823052, -0.09839472, 0.10060548, 0.046076972, -0.16150779, 0.14439686, 0.016492547, 0.0025654845, 0.072366305, 0.014925509, 0.18787178, 0.14894952, 0.14046526, -0.003845746, 0.23632208) * go_3(-1.0, 0.0);
result += mat4(0.078982495, 0.0065785116, -0.1737421, -0.07332543, -0.09551695, -0.002053524, 0.16844669, 0.03345903, 0.06719397, 0.10376351, 0.13497436, 0.071619935, 0.23288521, -0.11742427, -0.14318109, 0.089601494) * go_3(-1.0, 1.0);
result += mat4(0.011915186, -0.06130206, -0.021597957, -0.04159016, -0.18702744, -0.18567209, -0.04453462, 0.4449929, 0.07912663, 0.10108847, 0.08675925, -0.19482899, -0.041210745, 0.09773281, 0.10437732, -0.085520625) * go_3(0.0, -1.0);
result += mat4(0.03445699, -0.06624237, -0.28586054, -0.12831378, 0.065471284, -0.11925356, -0.156869, -0.102216974, -0.14781037, 0.052781656, -0.06528647, -0.275892, -0.22086778, -0.016050411, 0.0036724263, 0.021571217) * go_3(0.0, 0.0);
result += mat4(0.017263295, 0.10817724, -0.21819082, 0.007319149, 0.27413887, -0.080145285, 0.044494774, 0.06599436, 0.11954389, -0.03018483, -0.09192682, -0.031004976, -0.09016021, 0.045329135, 0.15545401, -0.0209672) * go_3(0.0, 1.0);
result += mat4(0.13881911, -0.07097578, 0.22490872, -0.15384829, -0.2904959, -0.006828653, -0.12404816, 0.13234936, 0.0032617098, -0.023515865, -0.016579526, -0.21592613, 0.07729235, -0.010805467, 0.030352516, -0.10903927) * go_3(1.0, -1.0);
result += mat4(0.1393222, 0.05848132, -0.041017666, 0.029049246, -0.1360833, 0.052250512, -0.107206866, -0.30497506, 0.11543321, 0.11237877, -0.0036355858, 0.15896477, 0.1599398, -0.09694541, 0.15233493, 0.18268575) * go_3(1.0, 0.0);
result += mat4(-0.12597929, -0.13328442, 0.017843464, -0.11486026, -0.04771538, 0.10162601, 0.017524868, -0.01904278, 0.0478602, -0.039450396, 0.13683593, -0.023819651, 0.13506551, 0.022513816, 0.14501822, 0.07545253) * go_3(1.0, 1.0);
result += mat4(-0.03847361, -0.08527842, 0.00038718345, -0.09956007, -0.0041102497, -0.18443857, -0.07230493, -0.2134338, -0.10056842, 0.017790612, 0.08625248, 0.09147499, 0.10776074, 0.21292494, -0.18136409, -0.014830358) * go_4(-1.0, -1.0);
result += mat4(-0.17102414, -0.0024341894, -0.056161452, -0.06670374, -0.0075222473, 0.015801411, 0.09520844, 0.01996027, 0.088864975, 0.15432504, -0.105320275, 0.036605533, 0.09898843, 0.0038657803, 0.060707986, -0.16269276) * go_4(-1.0, 0.0);
result += mat4(-0.026792359, -0.14464599, -0.023440983, -0.06459932, 0.18063387, 0.15380166, -0.13795565, 0.21833411, -0.029010907, -0.007345312, 0.031291094, 0.01690086, -0.17666414, -0.14363834, -0.17275512, 0.043333065) * go_4(-1.0, 1.0);
result += mat4(-0.09328905, 0.041910104, -0.18096697, -0.03831273, -0.022100518, -0.0147181675, -0.16839693, 0.088716485, 0.14491183, 0.07721941, 0.07122075, -0.3020263, -0.14014488, -0.11122849, 0.0029383225, 0.25735486) * go_4(0.0, -1.0);
result += mat4(0.11335208, 0.37366053, -0.20657742, -0.25275037, 0.12133818, -0.019680776, -0.15982674, 0.33611122, 0.01259284, -0.0142183425, -0.0041593798, 0.010921974, -0.20619138, -0.13302296, -0.14340466, 0.0055886707) * go_4(0.0, 0.0);
result += mat4(-0.07919513, 0.012061687, -0.298152, -0.004620386, -0.1531154, 0.14463273, -0.13774839, 0.029701512, -0.21159661, 0.037964143, 0.05466773, 0.03748708, -0.02202345, -0.012744385, -0.10015394, -0.023672013) * go_4(0.0, 1.0);
result += mat4(-0.14096507, -0.042473, -0.024793932, 0.025568493, 0.0700658, 0.08745356, -0.029872168, -0.18517868, -0.056071687, 0.04013143, 0.10869837, 0.10893471, 0.0033276696, -0.10798153, 0.04573486, 0.0061734277) * go_4(1.0, -1.0);
result += mat4(-0.11785469, -0.2854417, 0.018388765, 0.10795855, 0.100134075, -0.12041879, 0.09067664, -0.0035714637, 0.011658537, 0.1379053, -0.022617785, -0.09798895, 0.34457052, -0.018366879, -0.24284951, 0.013506641) * go_4(1.0, 0.0);
result += mat4(0.07845464, -0.03766563, -0.1182761, 0.04412776, -0.008595863, 0.019749813, 0.09304697, -0.042109177, 0.1247758, -0.109385945, 0.13541576, 0.16905643, -0.012957017, -0.007150289, -0.10825701, 0.07943399) * go_4(1.0, 1.0);
result += mat4(-0.08126166, 0.15170671, -0.004939582, -0.10289114, 0.017867751, -0.100071855, 0.25619298, 0.18309209, -0.09502137, 0.13687243, 0.07438062, 0.08190128, 0.079467945, 0.107227296, -0.07428106, 0.056382198) * go_5(-1.0, -1.0);
result += mat4(0.085245706, 0.2357052, -0.15751803, -0.14865, 0.12164014, -0.14231263, -0.10932445, 0.15149753, -0.06497328, 0.06694892, 0.049143884, -0.1180238, 0.21069627, 0.22101188, -0.12206489, 0.07849787) * go_5(-1.0, 0.0);
result += mat4(0.10526828, -0.035852417, 0.0066835866, -0.17548645, -0.16212592, -0.039143793, -0.053376257, 0.16589306, -0.15236285, -0.056690183, -0.1458453, -0.20194575, -0.007237206, 0.018034274, 0.04824517, -0.14204621) * go_5(-1.0, 1.0);
result += mat4(-0.0678506, -0.019114466, 0.12914672, 0.033278447, 0.101673074, 0.10951848, 0.00012524707, -0.115921356, 0.021759894, -0.035716362, 0.20007259, 0.1422771, -0.15901591, -0.18770291, -0.22726387, -0.0019628252) * go_5(0.0, -1.0);
result += mat4(0.014085712, -0.17928201, -0.12136582, 0.009885707, -0.05877978, 0.11780122, -0.09344829, 0.14983065, 0.2191541, 0.060061395, 0.07628015, -0.36067483, 0.077276915, 0.47432995, -0.21489616, 0.16119705) * go_5(0.0, 0.0);
result += mat4(0.07488267, -0.0999506, 0.026389783, -0.21717168, -0.14098126, 0.051710725, 0.18490504, -0.08941214, 0.04921883, -0.0012177597, 0.029187731, -0.0429975, -0.12222067, 0.08847176, 0.3327396, -0.026944833) * go_5(0.0, 1.0);
result += mat4(0.00028884778, -0.013859263, 0.2808896, 0.16545849, 0.10188283, -0.13831803, 0.113955274, 0.20700271, -0.07725844, 0.09178268, -0.053867236, -0.12543485, -0.048882946, 0.0046061794, -0.056229606, -0.0048151347) * go_5(1.0, -1.0);
result += mat4(-0.14167137, 0.10935082, -0.06484666, 0.07982278, 0.114622496, -0.012768097, 0.28098294, 0.12653382, -0.1406888, -0.3107042, 0.34810522, 0.007478866, -0.13886817, 0.04838542, 0.16073346, -0.05460154) * go_5(1.0, 0.0);
result += mat4(0.078012384, 0.05153078, -0.03984091, 0.07502617, 0.2250142, 0.01283247, 0.09228706, -0.11994963, -0.1434126, 0.0666379, -0.08675746, 0.05954015, -0.13286713, 0.12937288, 0.0836943, -0.3306262) * go_5(1.0, 1.0);
result += vec4(0.013505748, -0.026258357, 0.035583273, 0.023548715);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_12_tf
//!BIND conv2d_12_tf1
//!BIND conv2d_12_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_12_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_12_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.01974661, 0.13463889, -0.032377064, -0.12942983, -0.07035312, -0.04740684, 0.17304988, -0.0060102325, 0.05177771, 0.030222937, 0.16742262, -0.0331702, 0.016792418, -0.10915051, -0.009109883, 0.031968396) * go_0(-1.0, -1.0);
result += mat4(-0.04906284, 0.02046221, -0.095003314, -0.0017347421, 0.06808332, 0.07325557, 0.10983373, -0.077004224, -0.14797884, 0.087792076, 0.13234885, 0.11384532, -0.061574373, 0.1748893, -0.06855464, -0.106305666) * go_0(-1.0, 0.0);
result += mat4(0.09366748, 0.15360557, 0.03386721, 0.022432387, -0.035507742, 0.058167383, -0.022114204, 0.059653495, -0.027137665, -0.022897016, -0.045397546, -0.06155947, -0.01779955, -0.10553566, -0.039432574, -0.14231597) * go_0(-1.0, 1.0);
result += mat4(0.0067032822, -0.044948928, 0.15513134, 0.03965566, -0.07467635, -0.010239124, 0.1490799, 0.027383782, -0.03255843, 0.05527709, -0.18965454, 0.18973546, -0.2066965, -0.1454051, -0.02956572, -0.034264684) * go_0(0.0, -1.0);
result += mat4(-0.10262777, -0.25717124, 0.10909761, -0.15105042, -0.14420848, -0.018479686, 0.07053073, -0.22807217, 0.047470856, 0.27830145, -0.06971727, 0.32465947, 0.18509126, 0.010244453, -0.23081137, -0.13872874) * go_0(0.0, 0.0);
result += mat4(0.07352554, 0.15414375, 0.026640302, 0.09010934, -0.08053207, -0.04895252, 0.20014875, 0.103626, -0.1837222, -0.096419245, 0.07763676, -0.03354838, 0.15535127, -0.10340201, -0.0670255, -0.008524891) * go_0(0.0, 1.0);
result += mat4(0.0013236472, -0.0015120044, 0.102915466, -0.07612639, -0.027104877, 0.11849191, 0.043125313, -0.08598161, 0.04176867, -0.03480718, 0.06037664, 0.12457145, -0.10702688, -0.035892915, -0.05398342, -0.07336006) * go_0(1.0, -1.0);
result += mat4(0.06530473, -0.02185423, -0.070219964, 0.11049847, -0.20394123, -0.084389165, 0.057741005, 0.09288537, -0.07847127, 0.06157294, 0.26632914, -0.07704609, -0.15882635, 0.09517293, -0.10132333, -0.09305751) * go_0(1.0, 0.0);
result += mat4(-0.09259305, 0.06711769, 0.10796395, -0.11040126, 0.07200377, 0.22789676, 0.04203332, 0.11490248, -0.05046298, -0.010417497, 0.1296588, 0.090716064, 0.030788, -0.042729113, -0.10823345, -0.061917335) * go_0(1.0, 1.0);
result += mat4(-0.09855132, -0.028915633, 0.09831793, 0.12546849, 0.095861055, -0.06611626, -0.030939087, -0.03891661, -0.06335413, -0.03665561, 0.17558332, 0.076099835, 0.039828114, -0.011720267, -0.07243228, -0.005812755) * go_1(-1.0, -1.0);
result += mat4(0.00210205, -0.13026494, 0.120502435, 0.01940482, -0.046163477, -0.20725924, 0.10305527, 0.16987471, -0.23866819, -0.13675144, 0.082660206, -0.12537158, 0.024251103, -0.058249082, 0.013763475, -0.025567345) * go_1(-1.0, 0.0);
result += mat4(0.08527451, -0.112527184, 0.05891383, -0.044004854, -0.06627755, 0.077402815, 0.029819036, 0.07831841, 0.002144731, 0.2760268, -0.026249453, -0.07177818, 0.053188358, -0.066152886, -0.03306282, -0.02344971) * go_1(-1.0, 1.0);
result += mat4(-0.073660895, 0.12683845, -0.05837492, 0.3071388, -0.025734447, -0.06982506, -0.1726865, -0.034813, -0.1287566, -0.061008573, 0.11819614, -0.003467171, 0.12515382, 0.04733461, -0.14773165, 0.07471877) * go_1(0.0, -1.0);
result += mat4(0.015871294, 0.0837539, -0.15651381, 0.07063813, -0.07716156, 0.035273466, -0.029787896, 0.15123317, -0.2688466, 0.110887185, -0.0784071, -0.07574334, 0.03863136, 0.17957152, -0.17448568, 0.11216344) * go_1(0.0, 0.0);
result += mat4(-0.060281992, 0.06313705, -0.027059803, 0.10745011, -0.0152727775, -0.003353525, -0.041565493, 0.09119474, -0.005804107, 0.11021246, -0.1577537, -0.0018718878, -0.122774966, -0.13139196, 0.028809864, -0.1330925) * go_1(0.0, 1.0);
result += mat4(0.004284616, 0.0034241148, -0.023164004, -0.09859944, 0.11105899, -0.021453412, 0.06537672, 0.10460036, -0.10781213, -0.0149598, 0.10907503, -0.021983244, -0.024797339, 0.083502285, -0.07283505, 0.060828786) * go_1(1.0, -1.0);
result += mat4(0.01290564, -0.14858903, -0.011728468, -0.060211197, 0.04555673, 0.0853199, 0.11404478, -0.020519711, -0.1344976, 0.015829163, 0.06980332, 0.13161848, -0.10837837, -0.1079275, -0.10176177, -0.15850884) * go_1(1.0, 0.0);
result += mat4(-0.046883326, -0.076075144, -0.0050401827, -0.047621172, 0.15543714, -0.18412203, 0.01854179, -0.1551145, -0.24274163, 0.06807993, 0.10730356, 0.13201697, 0.08142087, 0.025200108, -0.036822025, 0.20036767) * go_1(1.0, 1.0);
result += mat4(0.11026604, 0.018152166, -0.025418008, -0.0468563, -0.08344998, -0.114141494, -0.06253656, 0.012532501, 0.12793986, -0.07906286, -0.015067893, -0.011499546, -0.019438036, 0.0039282353, 0.044770103, -0.062717184) * go_2(-1.0, -1.0);
result += mat4(-0.082061626, 0.020670045, -0.21074262, -0.048005912, 0.025561642, 0.10173138, -0.010833299, 0.03905062, -0.09411074, -0.056812514, 0.10423472, 0.05727481, 0.06554826, -0.10857837, 0.06307158, 0.057512432) * go_2(-1.0, 0.0);
result += mat4(0.051357307, 0.073702335, -0.15254524, -0.014687533, -0.02874586, 0.015064415, 0.10231503, 0.18136384, -0.040129818, -0.035396844, -0.00787811, 0.07794766, 0.09060691, 0.10159248, 0.0848883, 0.022230253) * go_2(-1.0, 1.0);
result += mat4(-0.07730581, -0.050758906, 0.15313847, -0.004270534, -0.2683983, -0.2017697, -0.11594284, -0.06754216, -0.067771316, -0.13248877, 0.14720434, -0.16662046, 0.043220654, -0.17810594, -0.03488435, -0.008438444) * go_2(0.0, -1.0);
result += mat4(-0.10520337, -0.15773864, -0.0362262, 0.1356858, 0.117192864, -0.09973847, 0.13506904, 0.03514702, -0.12854525, -0.14587913, -0.18416512, 0.14082105, -0.017908813, -0.17807865, -0.122767285, -0.011095936) * go_2(0.0, 0.0);
result += mat4(0.011398012, 0.07921986, 0.002720137, -0.021460582, 0.073015496, -0.00079271646, -0.10726876, 0.23606147, -0.11049075, 0.24318618, -0.053891268, 0.039848484, 0.044727042, 0.0096766045, -0.115286924, 0.15947676) * go_2(0.0, 1.0);
result += mat4(0.0457398, -0.027071774, 0.036870174, 0.13802418, 0.04767597, -0.20485106, 0.03447171, 0.08900908, 0.106965266, -0.10123759, -0.21418007, 0.13338189, -0.0070096957, 0.08477905, 0.034006577, -0.0127808) * go_2(1.0, -1.0);
result += mat4(-0.06447596, -0.11716523, 0.017752856, 0.20210621, 0.011862129, 0.005028284, -0.2025436, -0.02999941, 0.013555778, -0.147543, -0.03051759, -0.01707033, 0.03274592, 0.032629438, 0.031926025, 0.27321205) * go_2(1.0, 0.0);
result += mat4(-0.05287453, 0.03623217, 0.020743204, -0.107464634, -0.0036375497, 0.13578738, -0.18517871, 0.09009017, -0.09219742, 0.006522416, -0.04759607, 0.053528525, 0.10438079, -0.05276513, -0.08545688, 0.11272024) * go_2(1.0, 1.0);
result += mat4(0.09974107, -0.020536013, -0.30218178, -0.04745749, 0.04892062, 0.03959309, 0.08057975, -0.06729952, 0.22714004, 0.12788717, -0.21887575, -0.027949529, 0.049372908, -0.020718094, -0.07756374, -0.027772125) * go_3(-1.0, -1.0);
result += mat4(-0.036793377, -0.21096896, 0.08592604, 0.12986861, 0.10663064, 0.10471588, -0.045241218, 0.1317958, 0.14956723, -0.13708627, -0.03934442, -0.021195, -0.06509086, -0.116964, -0.17587945, 0.11195718) * go_3(-1.0, 0.0);
result += mat4(-0.17490272, 0.12575528, 0.011628057, 0.05303465, 0.019943044, 0.0725893, 0.048565384, 0.062405743, -0.053867843, 0.074081495, -0.14863425, -0.0030204298, 0.08404682, 0.124071926, 0.1786558, 0.10575819) * go_3(-1.0, 1.0);
result += mat4(0.026476953, 0.011070334, -0.188453, -0.07831006, -0.39677685, 0.01771715, -0.08268199, -0.04811952, -0.09656814, -0.21526523, 0.09588346, -0.06009857, 0.21969576, -0.0131597845, -0.11296794, 0.075208716) * go_3(0.0, -1.0);
result += mat4(0.068166904, 0.1499784, 0.05968743, 0.008221147, -0.11349533, 0.0013484044, -0.021708788, 0.08009984, -0.121719174, -0.15219732, 0.06034522, -0.112812445, -0.046521988, -0.12004287, -0.033236615, -0.15820491) * go_3(0.0, 0.0);
result += mat4(0.08095112, 0.21732974, -0.05154522, 0.088645846, -0.03534673, 0.1497481, 0.09745647, 0.056249075, -0.028916027, 0.0022869455, 0.041906092, -0.027881013, -0.093038134, -0.0017152339, -0.118502185, 0.010727621) * go_3(0.0, 1.0);
result += mat4(0.13373588, 0.09240173, -0.053156417, -0.10512767, 0.039539, 0.10254688, -0.0007771377, 0.0894976, -0.06407343, -0.058614425, -0.03116727, -0.08415193, 0.00033363313, 0.2853395, -0.15043344, -0.08685424) * go_3(1.0, -1.0);
result += mat4(0.08178458, 0.03898646, 0.06245792, -0.017958697, 0.06429433, 0.023620268, 0.024633197, 0.19380544, 0.03128596, 0.05321688, -0.20088866, 0.02586837, 0.005963156, -0.035398338, 0.23080434, -0.052014384) * go_3(1.0, 0.0);
result += mat4(0.10850131, -0.0449228, 0.061272174, -0.019682828, -0.102329165, -0.055051547, 0.03073968, 0.13315344, 0.042715825, 0.046266664, -0.028704945, -0.06637498, 0.16797577, -0.18926264, 0.033195343, -0.0031275423) * go_3(1.0, 1.0);
result += mat4(-0.08391781, -0.12843333, 0.05520483, -0.05725551, -0.09776922, -0.0062917694, -0.018499674, -0.0692748, -0.057307225, 0.05519614, -0.015600542, 0.04844798, -0.21986836, -0.05831421, 0.11511963, 0.016856553) * go_4(-1.0, -1.0);
result += mat4(0.073107556, 0.050245784, 0.071994856, 0.093292974, 0.011792467, -0.0739711, -0.12387382, 0.12474173, -0.047507025, 0.17631568, 0.031043071, 0.0013154036, 0.02243749, 0.06851047, 0.010104042, -0.056846466) * go_4(-1.0, 0.0);
result += mat4(0.1476893, -0.16734347, 0.045392103, -0.018786352, -0.012199471, -0.05523742, -0.019164376, 0.03512314, -0.034919456, -0.23833606, -0.08028037, -0.052635316, 0.029176557, -0.06269711, -0.05363081, 0.07574769) * go_4(-1.0, 1.0);
result += mat4(-0.08341459, -0.084529534, -0.016287418, 0.0013023556, 0.18836592, 0.10910393, 0.045064792, 0.10576271, 0.011566533, -0.09837857, 0.029958438, 0.01975767, -0.109880924, -0.06574587, -0.09173794, -0.027526127) * go_4(0.0, -1.0);
result += mat4(-0.0675673, -0.083563246, 0.14860542, -0.10457061, 0.157896, -0.28292787, -0.015991414, 0.06314474, -0.016067972, -0.12963754, 0.1237017, -0.08347259, 0.121923864, -0.22013049, 0.026320009, -0.09793111) * go_4(0.0, 0.0);
result += mat4(0.13382821, -0.055317678, -0.15359837, -0.15796858, 0.013171953, -0.16682811, -0.0809163, -0.043345597, 0.011391055, -0.20145057, 0.119695775, -0.13810591, -0.072137296, 0.32582632, 0.14005353, 0.123244844) * go_4(0.0, 1.0);
result += mat4(0.11073345, -0.05314399, -0.055847958, -0.047371536, -0.070162036, -0.06513794, 0.034763128, -0.010065592, -0.11114041, 0.06905363, -0.12841414, -0.030985016, -0.045511093, -0.087410115, 0.08677088, 0.0058112657) * go_4(1.0, -1.0);
result += mat4(-0.0050459597, -0.108575575, 0.11873296, -0.26549935, -0.001668582, -0.09878795, 0.0093035465, -0.055352952, 0.06688187, -0.008372193, -0.008264948, -0.036279492, -0.049309276, -0.16104528, 0.034609273, -0.10154444) * go_4(1.0, 0.0);
result += mat4(-0.008579093, 0.112412445, -0.08072197, 0.15890393, 0.030495347, -0.18746737, -0.09138602, -0.088305496, 0.07042993, 0.05030363, 0.20413087, -0.07995821, -0.13628387, 0.20695123, -0.14382593, 0.091244556) * go_4(1.0, 1.0);
result += mat4(-0.11965318, -0.1389523, 0.012135623, 0.04161862, 0.12533931, 0.101441264, -0.04241031, 0.080642566, -0.00092161325, -0.13902661, 0.045736324, 0.058441147, -0.19858903, 0.11756166, -0.016919447, 0.14339356) * go_5(-1.0, -1.0);
result += mat4(0.10335524, 0.07512942, 0.18708031, -0.0078117764, 0.07384771, -0.018625945, 0.059007455, 0.16749756, 0.08462766, 0.09579386, -0.08418416, -0.10284654, 0.05672443, 0.030903406, 0.110034496, 0.10390684) * go_5(-1.0, 0.0);
result += mat4(0.10552448, 0.13557634, 0.23104869, -0.10848448, 0.085270464, -0.16686882, 0.10544952, -0.024571393, 0.03715626, -0.041726533, 0.051980305, -0.05475635, 0.028681824, 0.11157084, -0.10706752, 0.027399268) * go_5(-1.0, 1.0);
result += mat4(-0.046446092, 0.0025158261, 0.033166718, -0.08558539, -0.0032056072, 0.12130434, -0.018896604, 0.08724829, -0.14037889, -0.09449841, -0.04446089, -0.011506388, -0.27613637, -0.37794623, -0.19426629, 0.16784632) * go_5(0.0, -1.0);
result += mat4(-0.22513072, -0.08652304, -0.0026436439, -0.045508705, 0.10837259, -0.0014446789, -0.16903, -0.02668546, 0.02148903, 0.23945205, -0.09826911, -0.03844516, 0.2630092, 0.006474852, -0.111862294, 0.14679375) * go_5(0.0, 0.0);
result += mat4(-0.04412413, 0.24446554, -0.050642822, 0.1416376, -0.07881299, -0.09849301, 0.10024753, -0.10196302, 0.06887016, -0.25987944, -0.0794985, -0.1605822, -0.033556614, 0.22719485, 0.06206384, -0.10776198) * go_5(0.0, 1.0);
result += mat4(0.047669563, 0.10184691, 0.21900356, -0.05103842, -0.052924644, 0.07429034, 0.10451252, -0.09064832, 0.1217274, 0.034052998, 0.09763394, 0.061310083, -0.10905189, -0.20931216, -0.11658655, -0.08542655) * go_5(1.0, -1.0);
result += mat4(-0.097377405, 0.07012394, -0.00048415252, 0.03234984, -0.15293159, -0.2313072, -0.07475159, -0.09358009, 0.0014697863, 0.11641165, 0.17893638, -0.14259303, -0.053314384, 0.26522338, -0.06642949, -0.08743303) * go_5(1.0, 0.0);
result += mat4(0.040392756, 0.19986987, 0.11991283, 0.14769651, -0.06295811, -0.049836084, 0.030192863, -0.05129089, -0.0017841166, -0.07413317, 0.080068626, -0.04653479, 0.012439128, -0.047990356, 0.08017805, -0.14544022) * go_5(1.0, 1.0);
result += vec4(-0.03813276, -0.054891117, -0.04579271, -0.012991662);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x72
//!HOOK MAIN
//!BIND conv2d_12_tf
//!BIND conv2d_12_tf1
//!BIND conv2d_12_tf2
//!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_tf_tex(conv2d_12_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
#define g_6 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.058371756, -0.15223853, -0.16356315, -0.16802065, -0.19054104, -0.036780667, -0.19440329, -0.2248528, -0.005347806, 0.071672164, -0.0771526, 0.2924663, -0.0774155, -0.14556612, 0.114560455, 0.27062297) * g_0;
result += mat4(-0.3445877, 0.19475816, 0.09710621, 0.21995266, 0.20887254, 0.09341146, 0.22033042, 0.23206021, 0.033344083, -0.07287835, -0.18038799, -0.1591713, -0.07109204, -0.01323598, -0.110603236, 0.22050153) * g_1;
result += mat4(-0.2549611, -0.11848451, -0.022745349, 0.3926633, 0.01083691, 0.09032976, 0.051901888, -0.008881073, -0.113227226, -0.06107646, -0.2835598, 0.006955209, 0.057944898, -0.024794495, 0.21598488, 0.013463527) * g_2;
result += mat4(0.081732295, 0.14985989, 0.012442874, -0.055946667, -0.29241166, 0.054421537, 0.16944103, -0.027691018, 0.32594857, -0.20029362, 0.24102916, -0.2836753, 0.027726209, 0.13321714, -0.08945177, -0.18618472) * g_3;
result += mat4(-0.019850472, 0.014862859, -0.40852943, 0.049327563, -0.08516907, -0.024971958, -0.24877243, -0.12475686, -0.0059337337, -0.15594041, 0.014721621, -0.007462477, 0.017745093, -0.07287227, -0.08225071, 0.16203512) * g_4;
result += mat4(0.0622282, -0.1562546, -0.19524418, -0.0004125873, -0.28058666, -0.10427074, 0.01347889, 0.087949455, 0.205533, 0.22994758, 0.058676008, 0.016087666, -0.27204573, -0.13226426, 0.45560098, 0.19548674) * g_5;
result += mat4(0.10312986, -0.11663352, -0.21141005, 0.060728226, 0.04790389, 0.4554892, -0.2993332, 0.090701774, -0.15572315, -0.08100787, 0.38805684, 0.12010196, -0.19057408, 0.0433082, 0.17466016, 0.2343365) * g_6;
result += mat4(-0.035952494, 0.0069249035, 0.018094797, -0.022886304, -0.16588111, -0.06751834, 0.067921944, 0.0408952, -0.10368173, -0.1867776, 0.08716087, 0.32557133, -0.17160255, 0.21748102, -0.27042568, 0.010276504) * g_7;
result += mat4(0.1353541, -0.09830681, -0.024150403, 0.20349647, 0.0834164, -0.23606645, 0.1878813, -0.10913659, 0.101774715, -0.122187294, -0.10274547, 0.088820286, 0.0952697, 0.2059741, -0.06964167, -0.06740629) * g_8;
result += mat4(0.035706226, 0.116456866, 0.00867265, -0.1580804, 0.08455965, 0.2931992, -0.0652682, -0.27945194, -0.28506938, 0.18549383, -0.30028465, -0.058111582, 0.17342384, 0.07022962, -0.107152976, 0.058686964) * g_9;
result += mat4(0.26401508, 0.06263026, 0.07814346, 0.1653557, -0.06065454, 0.13713975, -0.35849124, -0.2712066, 0.0016249327, -0.028205892, 0.12781107, 0.19252528, -0.02890903, -0.07810885, -0.31435448, 0.25607604) * g_10;
result += mat4(-0.007452971, -0.11137609, -0.17482384, -0.2254985, -0.054940246, -0.4866264, -0.012218613, 0.07933414, -0.059196893, -0.22073849, -0.19979995, 0.045081053, 0.08083855, -0.18446396, 0.063239574, 0.15218821) * g_11;
result += mat4(0.019093331, 0.14936107, 0.006522308, -0.06813928, -0.06954633, 0.076614395, 0.27179638, 0.08497197, -0.028945964, 0.24470884, -0.09067254, -0.02809542, -0.3260882, -0.019783175, 0.29227713, -0.1503793) * g_12;
result += mat4(0.0038467604, 0.15844361, -0.17461929, 0.0036902665, -0.18804209, -0.10455593, 0.19846849, 0.0045625297, -0.021197336, -0.12760538, -0.21889874, -0.15576892, 0.08428448, -0.051786594, -0.28837204, 0.16710553) * g_13;
result += mat4(-0.039501086, 0.20741075, -0.023215454, -0.15562606, 0.2704772, -0.004882398, 0.06743958, 0.09672041, 0.2045052, 0.30854276, -0.023670265, -0.42425725, 0.22383718, 0.03339793, 0.09593589, -0.28993925) * g_14;
result += mat4(-0.0060895267, -0.32284054, 0.08005629, 0.22948626, 0.0779126, 0.051218465, -0.19901748, 0.04607648, 0.20720762, -0.25467792, 0.190241, 0.14972371, 0.0024004376, -0.25745007, -0.12783068, 0.11001452) * g_15;
result += mat4(0.11667156, 0.23464362, -0.063853756, 0.39974514, -0.009121619, -0.24133451, -0.03714007, 0.009775786, 0.051351607, 0.056225047, -0.23616025, 0.031748235, -0.16796593, -0.030489858, -0.14123768, 0.24537739) * g_16;
result += mat4(0.013762163, -0.25353146, 0.15549485, -0.28925058, 0.2193342, 0.039180417, 0.06402014, -0.4502174, 0.062770426, -0.00075927033, 0.33666995, 0.23031248, -0.00079948275, -0.13443127, -0.06645994, -0.23359178) * g_17;
result += vec4(-0.008095479, -0.06195082, -0.018640047, 0.02992503);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x72
//!HOOK MAIN
//!BIND conv2d_12_tf
//!BIND conv2d_12_tf1
//!BIND conv2d_12_tf2
//!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_tf_tex(conv2d_12_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
#define g_6 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.016565321, 0.16086368, 0.16377108, 0.06516585, 0.08774041, -0.15408382, 0.08090872, 0.044837043, 0.118495755, -0.145867, -0.0830602, 0.021258313, -0.083069436, 0.1438954, 0.3145759, -0.021647993) * g_0;
result += mat4(-0.120379515, -0.24860992, -0.015166592, -0.12202178, 0.06496186, 0.0744854, 0.1485615, -0.109343, 0.19879182, -0.3081023, 0.21677417, -0.22301331, -0.011651633, -0.19334914, 0.15160677, 0.047521867) * g_1;
result += mat4(-0.018556662, -0.38472578, 0.41192028, 0.43185833, -0.046080858, 0.04489752, -0.20783445, -0.1610854, -0.309501, -0.273866, 0.060515694, -0.12974882, -0.0759038, 0.19965601, -0.19319372, -0.11006917) * g_2;
result += mat4(0.10012627, 0.13247557, -0.13383594, 0.13269171, -0.07811828, -0.22248991, -0.015335469, 0.000673531, 0.29827982, 0.06373573, 0.04488941, -0.013616235, 0.007511088, -0.33727455, 0.0019768223, 0.2379881) * g_3;
result += mat4(0.14306581, 0.085049756, 0.047580484, -0.057794355, -0.043503262, -0.105414085, -0.1606061, -0.23061153, -0.11303711, 0.16984846, -0.068943, 0.28954068, 0.063482575, 0.047116138, 0.08716241, -0.12745613) * g_4;
result += mat4(0.0020036818, 0.090957165, 0.015798112, 0.23128921, 0.1914184, 0.19120963, -0.06399709, -0.0788507, 0.07272036, -0.0119575225, 0.11690162, -0.1501703, -0.019269818, -0.42832217, -0.12736018, -0.06600497) * g_5;
result += mat4(-0.2329279, 0.056115344, -0.0057740537, -0.2990719, -0.17836936, 0.27681816, 0.37309527, -0.15801883, -0.063524134, 0.099096715, -0.06648651, -0.28727666, 0.293816, 0.07798524, 0.048862323, -0.115539655) * g_6;
result += mat4(0.3703411, -0.09810904, -0.09486779, 0.0014081999, 0.14049709, 0.21120222, -0.40097466, -0.34167844, 0.23002532, 0.028405711, -0.019445082, 0.034988888, -0.50940406, 0.08899147, 0.05107509, -0.00382772) * g_7;
result += mat4(0.11272419, -0.033249535, 0.27027267, 0.17533688, 0.08927961, -0.0018240041, 0.16140664, -0.046008278, -0.15334447, -0.15343803, 0.091045976, -0.19814257, 0.04322423, -0.17734216, -0.2798295, -0.08573132) * g_8;
result += mat4(0.12554517, -0.037913572, -0.07749419, -0.25204238, -0.24223939, 0.18784638, -0.20372832, 0.4048194, 0.25830784, 0.0051259343, -0.032063078, 0.28017554, -0.12499362, -0.26364753, 0.05812282, -0.18392684) * g_9;
result += mat4(0.26486975, 0.061957724, 0.07971466, 0.046751168, -0.31778535, 0.4381787, -0.07035851, 0.23263998, -0.052127257, -0.12611173, -0.18760382, 0.14079882, 0.22377297, -0.05741558, 0.031250857, 0.16233918) * g_10;
result += mat4(0.05335076, -0.34464896, 0.3002586, -0.24760664, -0.14003357, -0.09159649, -0.18697475, -0.14623205, -0.13852511, -0.04981257, -0.19454202, -0.09108177, -0.015734429, 0.13033359, -0.18407115, 0.10902568) * g_11;
result += mat4(-0.02813337, 0.09047474, 0.017847307, 0.09261004, -0.21497558, -0.14598191, 0.19712229, -0.10600094, -0.13380432, 0.11108035, -0.004200233, -0.13140516, -0.015072323, -0.20674899, -0.007258648, -0.18661419) * g_12;
result += mat4(-0.075342774, -0.15346074, 0.08983637, 0.26993182, -0.14880064, -0.25546706, -0.055426415, 0.082991235, 0.11674955, 0.02243115, 0.1323313, -0.16614287, -0.12463222, -0.021946859, -0.109896004, -0.18907025) * g_13;
result += mat4(-0.13882166, 0.2001865, 0.0011639959, 0.194607, 0.10369673, 0.11537449, -0.20017526, 0.08001218, 0.2717005, 0.03861079, 0.21795402, 0.13731115, -0.28959844, -0.026275165, -0.13865054, -0.032054946) * g_14;
result += mat4(0.056745965, -0.0028218296, -0.1637033, -0.10748185, -0.008221024, -0.012517368, -0.21787529, 0.24229775, 0.21705846, -0.31918925, -0.10432461, -0.020117749, 0.48566294, -0.0764948, 0.11959202, -0.21828687) * g_15;
result += mat4(-0.08911589, 0.0019316651, 0.3447702, -0.28325114, -0.0017365502, 0.066785716, 0.057680055, 0.10159895, 0.028087914, 0.03835387, -0.09806545, -0.088825025, -0.016581869, -0.19346818, -0.068037614, 0.071174935) * g_16;
result += mat4(-0.11981757, 0.11738665, -0.15907699, 0.15687436, -0.060289837, -0.0068618194, 0.10179951, 0.30881542, -0.010891428, -0.17345384, -0.4455766, -0.007086927, -0.08359593, -0.1598503, 0.012697522, 0.4165511) * g_17;
result += vec4(0.03556714, 0.06747606, -0.010788525, 0.0018122225);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x72
//!HOOK MAIN
//!BIND conv2d_12_tf
//!BIND conv2d_12_tf1
//!BIND conv2d_12_tf2
//!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_tf_tex(conv2d_12_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_12_tf1_tex(conv2d_12_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_12_tf2_tex(conv2d_12_tf2_pos)), 0.0))
#define g_6 (max((conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_14_tf_tex(conv2d_14_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.051234227, 0.12462721, -0.09787546, 0.25406766, 0.30560002, 0.17283113, -0.05798071, 0.2647435, 0.13788636, 0.08840858, -0.05289184, 0.25852382, -0.26674244, -0.07364587, 0.001191221, 0.22217625) * g_0;
result += mat4(-0.26877132, -0.10157862, 0.092936665, -0.021073027, -0.16361141, 0.21253154, 0.22684343, -0.054344796, -0.05049234, 0.42118612, 0.29657525, 0.17409663, 0.15270026, 0.10825865, 0.22627294, 0.054406367) * g_1;
result += mat4(0.2163665, 0.13454697, 0.033053502, -0.015820911, 0.17696854, 0.005023235, 0.15261635, -0.11690415, -0.15954569, 0.15751791, -0.082067445, 0.377173, 0.15451732, -0.21614599, -0.090183906, -0.22754942) * g_2;
result += mat4(0.10186722, -0.3034483, -0.25445342, 0.09971074, -0.16596235, -0.051873583, 0.14013551, 0.3921163, -0.029541738, -0.21873768, 0.073057145, -0.18722391, 0.2500657, 0.036109924, 0.054032363, -0.5253905) * g_3;
result += mat4(0.033514977, 0.13074529, -0.26700264, 0.14833573, -0.006180942, 0.12044789, -0.17576072, 0.023566427, 0.13765517, -0.047552105, -0.18236409, -0.2774939, 0.06162977, -0.055201646, -0.058275994, -0.12629794) * g_4;
result += mat4(-0.1996918, 0.15683116, -0.3256319, 0.2057855, -0.0671691, 0.24640855, 0.22842555, 0.12610425, -0.090195596, 0.101964004, 0.22426924, -0.24429117, -0.26323536, 0.32974228, 0.08008744, 0.45575497) * g_5;
result += mat4(-0.42316, -0.062756, 0.07857826, -0.14351259, -0.29394817, 0.5423037, 0.18915935, -0.17086914, 0.50753736, 0.0015875449, 0.29438123, -0.19376752, 0.09791069, -0.028306229, 0.05765373, -0.22298522) * g_6;
result += mat4(0.03728915, 0.15399045, -0.04512004, -0.12652445, 0.28205284, -0.23605378, 0.17079072, -0.1082726, -0.15433414, -0.19789961, -0.28514484, 0.0077355634, -0.01829938, 0.34892595, -0.23294884, -0.22864898) * g_7;
result += mat4(0.027223717, 0.12626694, 0.11476459, 0.1460455, 0.20033693, 0.026134387, -0.10378083, 0.02503927, 0.27902585, -0.0038183157, 0.115261704, 0.13458112, 0.31611767, -0.1142268, 0.0072508105, 0.0028353012) * g_8;
result += mat4(0.021163143, 0.16883731, -0.058492687, -0.12585758, -0.061747592, -0.09557424, 0.121174686, 0.0743391, -0.08168162, -0.026392763, -0.00060598814, 0.12879269, -0.07671814, 0.065251, 0.1404438, -0.05534044) * g_9;
result += mat4(0.14274202, -0.3996823, -0.324641, 0.005320553, 0.28041458, 0.10360115, -0.01966796, 0.12442266, 0.107218176, 0.004735665, -0.15030271, -0.23013945, -0.18984175, 0.078943305, 0.16392353, -0.07955006) * g_10;
result += mat4(0.021630967, 0.29960495, -0.10998858, 0.06537184, 0.11009237, 0.028505472, 0.32113916, -0.15730233, 0.083316445, 0.112375356, -0.065724924, 0.0889756, -0.09385971, 0.089896984, 0.08292775, -0.2035827) * g_11;
result += mat4(-0.13751891, -0.027330484, -0.13091096, 0.19190204, -0.09216561, -0.14242831, -0.10237887, 0.13343115, -0.14150177, 0.094059885, -0.10393571, -0.09336556, 0.20657797, 0.07327506, 0.13245964, -0.016539408) * g_12;
result += mat4(-0.158201, -0.12623371, 0.09620584, -0.10184386, -0.057575878, 0.003921972, 0.021233508, 0.35487738, -0.11295889, -0.10775328, 0.039876595, 0.081189156, 0.106679484, 0.0747396, -0.028251883, 0.27306616) * g_13;
result += mat4(-0.2361755, -0.13576986, 0.2919796, 0.09699708, 0.4581993, -0.1196168, -0.028562034, 0.00018960529, -0.11903206, 0.17371814, -0.07005846, 0.028902404, -0.09053355, -0.110385194, 0.25002465, 0.08581321) * g_14;
result += mat4(0.06806976, 0.15122992, -0.33567524, 0.001315605, -0.11049211, 0.09723952, 0.29624012, -0.31183454, -0.1838605, -0.23770033, 0.2865799, -0.044371903, 0.05511511, 0.30258948, 0.28474173, -0.050289202) * g_15;
result += mat4(-0.27601755, -0.06335842, -0.23002502, -0.31029934, 0.021644987, 0.24281926, 0.15377666, 0.22653481, 0.033689793, -0.010622847, 0.08636093, -0.16723068, 0.25021335, 0.3877554, -0.15065683, 0.01558507) * g_16;
result += mat4(-0.08309524, 0.25966918, 0.17456721, 0.1898729, 0.248563, -0.23167695, 0.11267612, -0.048332583, -0.34379265, 0.042474393, -0.085350186, -0.05868464, -0.29812938, -0.054665178, -0.1093917, 0.22230257) * g_17;
result += vec4(0.018145598, -0.032355547, -0.05915781, 0.02910991);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_15_tf
//!BIND conv2d_15_tf1
//!BIND conv2d_15_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_15_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_15_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.086120285, -0.4059242, -0.039365012, -0.026914986, 0.272106, -0.2330165, -0.065111265, 0.07854153, -0.059162848, -0.18079941, 0.046355046, -0.05227612, 0.027158378, 0.06519794, 0.12404081, -0.05581017) * go_0(-1.0, -1.0);
result += mat4(0.32573175, -0.1754894, -0.11804778, -0.01995747, 0.22718933, -0.15123367, 0.039907683, 0.34502703, -0.14458972, 0.13064449, 0.14453207, -0.059187938, -0.085265145, 0.20953384, 0.0793236, -0.116288304) * go_0(-1.0, 0.0);
result += mat4(-0.093153894, 0.06527465, -0.15071994, -0.123629555, 0.006527518, 0.16628802, 0.16957358, 0.054582782, 0.0071324026, 0.08554746, -0.06274109, 0.14844437, 0.058439545, 0.045090668, 0.06689813, 0.063525826) * go_0(-1.0, 1.0);
result += mat4(0.07696488, 0.051656798, -0.048016507, 0.02936603, 0.08387461, 0.09245992, 0.23041403, -0.19054213, -0.102753386, -0.17902392, -0.10961965, -0.10548934, 0.18939416, 0.25377733, 0.02544213, -0.22927651) * go_0(0.0, -1.0);
result += mat4(0.3032466, 0.04167076, 0.059656423, -0.027316695, 0.16839153, -0.14264087, 0.20591341, 0.08222535, -0.003110454, -0.059849005, -0.036128033, -0.008346545, 0.15990025, 0.2500593, 0.032513596, -0.016655741) * go_0(0.0, 0.0);
result += mat4(-0.06774502, 0.040308017, -0.18576144, -0.09687235, -0.057958614, -0.17514636, -0.20707239, 0.17548439, -0.19250306, 0.0034173464, 0.110723875, 0.096379146, 0.09683184, -0.04752888, -0.01780429, 0.010613829) * go_0(0.0, 1.0);
result += mat4(0.08627145, -0.16866092, 0.099930905, 0.12018959, -0.24408722, 0.14165765, 0.12630254, -0.015704094, -0.20263286, -0.120165184, -0.21274178, 0.028697591, 0.15576155, 0.028905043, 0.0811208, -0.1041924) * go_0(1.0, -1.0);
result += mat4(-0.015240954, -0.17468874, -0.046423502, 0.022116644, 0.2908017, 0.035541125, 0.2743551, -0.18322937, -0.22073182, 0.020273414, -0.1303079, 0.24418736, 0.16490552, 0.028966945, 0.19653946, -0.016246568) * go_0(1.0, 0.0);
result += mat4(-0.14057145, 0.04244108, -0.010793927, -0.05631625, -0.12468913, -0.05881518, 0.12383384, 0.17428255, -0.021005072, -0.17969933, 0.15734735, 0.1031293, 0.043719243, -0.09174561, -0.056840647, 0.0324962) * go_0(1.0, 1.0);
result += mat4(0.08194935, 0.067976184, -0.019943617, 0.026776273, 0.22254825, -0.06326042, 0.1648268, -0.0052840295, 0.009018906, -0.0520785, -0.04660861, -0.0075104083, -0.038940106, 0.0856219, -0.043916393, 0.05660665) * go_1(-1.0, -1.0);
result += mat4(-0.08704364, -0.09677431, -0.17326091, -0.07462152, 0.13270687, -0.1261107, -0.07701341, 0.2726629, -0.1587681, 0.18942432, -0.36308467, 0.10301493, -0.024762882, 0.03817259, -0.23201405, -0.091521345) * go_1(-1.0, 0.0);
result += mat4(0.050326157, -0.073176935, -0.103697956, -0.0840352, 0.173357, -0.14174183, -0.1524753, -0.0069994656, -0.005479495, 0.17723018, 0.11403137, -0.06329943, -0.13232884, -0.1373975, 0.11884006, -0.07850464) * go_1(-1.0, 1.0);
result += mat4(0.05332861, 0.107681334, -0.09119039, -0.114555836, -0.017985579, -0.15435871, 0.24358511, 0.11068456, -0.10406485, 0.12917854, 0.05799334, 0.37389106, 0.06230836, -0.09555643, 0.027412381, -0.064970456) * go_1(0.0, -1.0);
result += mat4(0.12378375, -0.04905221, -0.11288056, -0.13767865, -0.1449326, -0.072450995, 0.17161424, -0.16777709, -0.25872576, 0.070482604, -0.1663627, 0.25371596, -0.23365596, 0.18121918, -0.20363995, -0.12909107) * go_1(0.0, 0.0);
result += mat4(-0.05529441, -0.021311615, 0.014097586, -0.31545866, 0.012970079, -0.22578919, -0.072552465, -0.116496325, -0.14761814, -0.053667877, 0.067303866, -0.4580455, -0.09480358, -0.16733053, 0.3607103, 0.015292286) * go_1(0.0, 1.0);
result += mat4(0.04696458, 0.31332257, 0.02704555, -0.09160314, -0.113031834, -0.0739926, -0.032812223, 0.033034015, 0.016193887, 0.12820463, 0.09737233, 0.12438434, 0.0654067, 0.20008601, 0.07920591, 0.060879026) * go_1(1.0, -1.0);
result += mat4(0.037422813, 0.15871914, -0.2151473, -0.24363686, -0.080180004, 0.0645695, 0.14571437, 0.14874434, -0.11326801, -0.10846583, -0.13671829, 0.18154961, -0.060911275, 0.20989129, -0.23381993, -0.27745062) * go_1(1.0, 0.0);
result += mat4(0.050130237, 0.089512885, 0.13246128, -0.2745517, -0.02318636, -0.011246907, -0.11668961, 0.0731039, 0.01690248, 0.09360847, -0.05398903, 0.14663017, 0.028310347, 0.076176226, 0.31356502, -0.103791654) * go_1(1.0, 1.0);
result += mat4(0.09613262, 0.12778622, 0.034975607, -0.028750842, -0.033835113, 0.08186702, -0.06888388, 0.0997008, 0.117064685, 0.046526518, 0.09514346, -0.124434136, -0.020531485, -0.15406378, 0.060591683, -0.13329966) * go_2(-1.0, -1.0);
result += mat4(-0.027534882, -0.14831524, 0.04495184, 0.025519691, 0.03651482, 0.117160164, -0.038201023, 0.108181216, -0.030931946, 0.1811084, 0.15170088, 0.11874837, -0.078277305, -0.04918219, 0.101712294, -0.1196331) * go_2(-1.0, 0.0);
result += mat4(-0.06539127, 0.08893873, 0.03419367, -0.079162404, -0.004407265, 0.1590495, 0.054708384, -0.0045960955, -0.11280927, 0.16039464, 0.09479366, 0.08200364, 0.036086954, 0.20326287, -0.037681103, -0.140378) * go_2(-1.0, 1.0);
result += mat4(-0.0555716, 0.06530205, -0.1433768, 0.016642103, 0.16281623, 0.063046776, 0.0837092, -0.01799041, -0.091302834, -0.20383778, -0.06381253, 0.20380846, -0.041889682, -0.24191497, -0.14171864, -0.1448563) * go_2(0.0, -1.0);
result += mat4(-0.110319525, 0.12512992, 0.03341369, -0.00093534397, 0.1633664, -0.020284293, 0.044820648, 0.162692, -0.10295654, 0.023568464, 0.012197777, 0.10028862, -0.010697666, -0.018897464, 0.043279704, 0.0017665206) * go_2(0.0, 0.0);
result += mat4(0.04179169, -0.012676201, 0.083311275, 0.03091289, -0.046434533, -0.12832014, 0.04914704, -0.06867338, 0.094166204, -0.017343048, 0.18243955, 0.12901492, -0.110132985, 0.12671326, 0.054293826, 0.086186886) * go_2(0.0, 1.0);
result += mat4(-0.05841927, -0.12985736, -0.25992456, -0.0849384, 0.14412889, -0.0746527, 0.044265267, -0.014156233, -0.09166144, 0.07021915, -0.047789145, 0.039457697, 0.12670755, -0.01698153, 0.18895842, -0.056773882) * go_2(1.0, -1.0);
result += mat4(-0.15025501, 0.14065035, -0.096513286, -0.09348505, 0.15979655, -0.0114577245, 0.053886734, -0.114547916, -0.070979856, 0.1765544, 0.010379718, -0.18308055, 0.1605321, 0.20515968, 0.05720834, -0.07330803) * go_2(1.0, 0.0);
result += mat4(-0.025330046, -0.019732652, 0.053818963, -0.036499955, -0.10811833, 0.0137827955, 0.06543074, -0.012384179, -0.18611883, 0.02843987, -0.05363124, -0.046299558, 0.16349362, -0.041830223, -0.07788764, 0.008235677) * go_2(1.0, 1.0);
result += mat4(0.047242437, 0.06575887, 0.025322782, 0.013775078, 0.036147557, 0.0009767486, -0.11243579, -0.09145642, -0.0039224774, -0.0038896108, 0.037174333, -0.02877056, -0.07427188, -0.024033785, -0.08451688, 0.0404334) * go_3(-1.0, -1.0);
result += mat4(-0.08908999, -0.04494114, -0.10439307, 0.0774623, 0.07840683, -0.04946415, -0.14073692, 0.032847367, -0.0048813284, -0.010705515, -0.022069618, 0.033290677, 0.09327763, 0.17272854, -0.21388759, 0.03957031) * go_3(-1.0, 0.0);
result += mat4(0.19521184, -0.10379753, -0.15358303, 0.07232417, -0.04276367, -0.10596066, 0.022786908, -0.11408934, 0.019533271, 0.04891009, 0.13843602, -0.037992083, 0.033990372, 0.07371983, 0.08921052, -0.10094112) * go_3(-1.0, 1.0);
result += mat4(-0.24562503, 0.15784459, -0.022187335, -0.000638404, -0.1133858, 0.036134824, -0.10837855, 0.21228905, -0.027466286, -0.023300633, 0.12549222, -0.08866187, 0.087480284, -0.06105183, -0.030215222, 0.040841375) * go_3(0.0, -1.0);
result += mat4(-0.14978695, 0.13818179, 0.04092166, -0.106068246, 0.08822786, -0.01489638, 0.07534021, -0.07537647, -0.14060229, -0.089275755, 0.05904741, 0.10776689, -0.07665331, 0.09283058, -0.061007436, -0.04099338) * go_3(0.0, 0.0);
result += mat4(0.14466712, -0.026102958, -0.20185257, 0.10785207, 0.22078173, -0.16958067, 0.11530716, 0.09354707, -0.074392565, -0.08342846, 0.2586021, -0.23763788, 0.12991717, 0.021147436, 0.2722029, -0.087979235) * go_3(0.0, 1.0);
result += mat4(0.027673773, -0.022746747, 0.049445715, -0.1909985, -0.09531261, -0.108256444, -0.066448554, 0.2172793, 0.07891359, 0.08150599, 0.14381963, -0.02249068, 0.03258624, -0.056648776, 0.055536, -0.024813324) * go_3(1.0, -1.0);
result += mat4(-0.023302192, 0.06626369, -0.15358047, -0.0083353575, -0.14165582, 0.07046124, 0.09597453, 0.26851997, -0.055152107, 0.093309075, -0.13725676, -0.1664828, -0.02032299, -0.092897214, -0.015662093, -0.10920288) * go_3(1.0, 0.0);
result += mat4(-0.06695718, 0.16679364, -0.0785021, 0.06455316, 0.1445089, -0.00924479, 0.096023194, 0.07052236, 0.067349516, -0.0111666, -0.09601798, 0.001154395, 0.09299898, 0.01951889, -0.0967921, -0.008973) * go_3(1.0, 1.0);
result += mat4(0.13883853, 0.02957061, -0.04247552, -0.13835363, -0.14681627, -0.077555746, 0.031927407, 0.026541403, -0.022707194, 0.01551063, 0.06541034, 0.096070126, 0.052125953, 0.063213244, 0.16251403, -0.08070668) * go_4(-1.0, -1.0);
result += mat4(0.086179234, 0.14243434, 0.09406264, 0.13569264, 0.15488361, -0.11091638, -0.09574572, 0.008970297, 0.05616059, -0.1518461, -0.27299163, 0.2257466, 0.07526578, -0.05981968, -0.05876571, -0.093547806) * go_4(-1.0, 0.0);
result += mat4(0.04012283, -0.10008593, -0.029358871, -0.08932785, -0.037632246, 0.005210788, -0.09356493, -0.049942728, -0.0084419465, 0.024860868, 0.021508645, 0.06273951, -0.05736361, 0.020816475, -0.008031666, 0.124403216) * go_4(-1.0, 1.0);
result += mat4(0.14043115, 0.19251867, 0.27524766, -0.09491998, -0.15670182, -0.047435485, -0.0671195, 0.01171454, -0.28212756, 0.039405737, -0.07579297, -0.052261483, 0.22442812, 0.28633285, 0.29999042, -0.13228717) * go_4(0.0, -1.0);
result += mat4(-0.2623459, -0.055335205, 0.21784544, 0.202005, -0.21811847, -0.020621138, -0.055919386, -0.1592076, -0.05986868, -0.11021312, 0.027157718, -0.0035977615, -0.04500819, -0.11783892, -0.18752173, -0.017826393) * go_4(0.0, 0.0);
result += mat4(-0.0058357944, 0.017049752, 0.0069000614, 0.13442154, -0.30008566, -0.05737475, -0.09749817, -0.033549603, 0.07277239, -0.07434725, -3.2743555e-05, 0.104428366, 0.065556966, 0.070558116, -0.03552641, 0.04233599) * go_4(0.0, 1.0);
result += mat4(0.10471457, 0.11320103, 0.13278805, 0.0402375, 0.091772236, -0.13095503, 0.088764995, 0.034440126, -0.07645308, 0.07409439, 0.041363943, -0.0007871303, 0.04391719, -0.061556302, 0.018767469, 0.10903881) * go_4(1.0, -1.0);
result += mat4(0.030221319, -0.07181434, -0.101376146, -0.034132153, -0.0116890725, -0.10688475, -0.13729735, 0.14479214, 0.014176684, 0.13103448, -0.08762141, 0.17202277, -0.05477683, -0.043549005, 0.09274582, 0.123320125) * go_4(1.0, 0.0);
result += mat4(0.19202003, -0.14954115, -0.087362565, -0.08726935, -0.01544216, 0.123787634, 0.046103656, 0.052578025, 0.029873371, 0.0066638263, -0.06251117, -0.052407794, 0.10117527, 0.05799745, -0.13342759, 0.031155441) * go_4(1.0, 1.0);
result += mat4(-0.0602211, 0.02800195, 0.033007246, 0.025651298, 0.1477432, -0.22038354, -0.15722936, -0.21809258, 0.04290242, 0.004420057, 0.05746811, 0.071876235, -0.050915204, 0.0033008144, -0.11305403, 0.07601179) * go_5(-1.0, -1.0);
result += mat4(-0.017653117, 0.051445134, 0.012552525, 0.21158452, -0.037362725, 0.09373507, 0.08190519, -0.14817433, 0.016636858, -0.041740865, -0.015900947, -0.15515041, 0.05231825, -0.10608562, -0.115508825, 0.14927392) * go_5(-1.0, 0.0);
result += mat4(-0.07991468, -0.030842511, -0.1142488, 0.024186732, 0.01866492, -0.2594634, -0.09987361, -0.08651594, -0.0134031195, 0.13383342, -0.29035473, -0.15002187, -0.078639805, -0.07127412, -0.16304658, 0.05276267) * go_5(-1.0, 1.0);
result += mat4(0.19848315, 0.08736629, 0.059144225, -0.09447644, 0.02258197, -0.2571475, -0.28990847, -0.027986418, 0.048613783, 0.022653515, 0.2793524, -0.050864372, -0.21006623, -0.03244143, 0.10503605, 0.118863106) * go_5(0.0, -1.0);
result += mat4(0.1141189, 0.16082734, 0.19251204, 0.046851195, 0.12982753, 0.1179071, -0.19780421, -0.081736855, -0.13099432, 0.1591774, 8.499473e-05, -0.110567674, -0.02899663, -0.1474914, -0.02698378, 0.0026956694) * go_5(0.0, 0.0);
result += mat4(0.13940544, 0.06881286, -0.05801804, 0.072250396, -0.009307022, -0.18490271, -0.11261658, -0.16390282, 0.020309817, 0.10038859, -0.09349415, -0.14116558, -0.20527501, -0.061198466, -0.025865598, -0.08396298) * go_5(0.0, 1.0);
result += mat4(-0.29216713, -0.03166838, -0.113096364, -0.03150052, 0.1709056, -0.026671233, 0.09773227, -0.1519528, 0.040399972, -0.009488163, -0.077320874, 0.06988943, -0.011609312, -0.04198275, 0.12707464, 0.006308921) * go_5(1.0, -1.0);
result += mat4(-0.051588435, 0.006180919, 0.13836713, -0.25345033, -0.11852253, 0.124243006, -0.028141703, 0.036185384, -0.0219207, 0.047607783, 0.067218274, 0.13251485, -0.17255323, -0.08482923, -0.045748707, 0.17345634) * go_5(1.0, 0.0);
result += mat4(0.066040546, -0.1950836, 0.035140682, -0.177215, 0.002426889, -0.10077353, -0.22871427, -0.022668306, -0.19148435, 0.053983398, 0.15257482, -0.0977811, -0.0546057, 0.050372656, -0.09533434, 0.064632036) * go_5(1.0, 1.0);
result += vec4(0.033997618, 0.026958792, 0.036766436, -0.020595448);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_15_tf
//!BIND conv2d_15_tf1
//!BIND conv2d_15_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_15_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_15_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.08802986, -0.17393574, -0.14236689, -0.027905934, -0.06911397, -0.11672821, -0.2792837, 0.11365244, -0.06958475, -0.18663275, 0.115227476, -0.022523437, 0.056238096, -0.059810236, 0.04873624, -0.005821912) * go_0(-1.0, -1.0);
result += mat4(0.1127787, -0.17345825, 0.19259876, 0.12654746, -0.13533565, 0.06251798, 0.099469095, -0.17107892, -0.044659805, -0.1270373, -0.030414857, 0.06547094, -0.04661237, -0.020623157, -0.091043934, -0.008992439) * go_0(-1.0, 0.0);
result += mat4(0.19035979, -0.10846463, -0.017068362, -0.022281054, 0.1589396, -0.03264436, -0.00764233, 0.08733022, 0.025321474, 0.2316312, -0.17448951, -0.062320076, -0.09665312, 0.077836566, -0.15457042, -0.031109523) * go_0(-1.0, 1.0);
result += mat4(-0.038293075, 0.039982896, -0.1469895, -0.08202698, -0.0041442337, 0.029787892, -0.044658363, -0.21846762, -0.044046592, 0.18280518, -0.06486731, -0.1690961, 0.028628197, 0.01049846, -0.032201137, 0.017294433) * go_0(0.0, -1.0);
result += mat4(0.059674874, -0.05350419, -0.10941087, -0.0845837, 0.04927608, 0.036460683, 0.0055156145, -0.024534898, -0.18547916, 0.13815373, 0.18513125, 0.12902182, -0.17424613, 0.0700179, -0.10840591, 0.10033247) * go_0(0.0, 0.0);
result += mat4(-0.056340918, -0.22555862, 0.06911137, -0.024649663, -0.18350351, 0.00950671, 0.1963708, 0.11672094, -0.084857196, 0.059099168, -0.14970237, -0.04900496, 0.07548133, 0.017982353, -0.07550771, 0.13420473) * go_0(0.0, 1.0);
result += mat4(-0.07515682, -0.011147019, 0.10587885, 0.14749783, -0.3299278, 0.002686847, -0.1518538, 0.051685937, -0.09971082, 0.040840115, -0.038742367, -0.1039338, -0.03282236, -0.059669517, -0.122400075, -0.018639566) * go_0(1.0, -1.0);
result += mat4(0.06775716, 0.007048041, -0.08188808, -0.10080362, 0.28195885, 0.10496502, -0.07891694, -0.25544325, -0.1742375, 0.09669711, 0.18185973, 0.31786624, 0.065365106, 0.07105677, -0.018566757, 0.05218278) * go_0(1.0, 0.0);
result += mat4(-0.089370586, -0.21895438, -0.06468459, -0.05457814, 0.03454585, 0.15021439, 0.0035336192, -0.17009473, -0.083677866, 0.15718195, 0.10846793, 0.21016604, 0.027942222, -0.081115246, 0.036489576, -0.11569346) * go_0(1.0, 1.0);
result += mat4(0.027996952, -0.028215071, 0.02175091, 0.021965792, -0.084215, -0.03758052, -0.13010016, 0.08475194, 0.12714519, 0.12293797, 0.07838412, -0.086469695, -0.057902515, -0.03087676, -0.03611093, -0.121886) * go_1(-1.0, -1.0);
result += mat4(0.078855015, -0.019143503, 0.25362718, 0.10234785, 0.06521017, -0.16250263, 0.045211475, -0.17433222, 0.016279457, 0.06819055, 0.13895121, -0.05589787, -0.009716455, 0.20975766, 0.029051652, 0.11252572) * go_1(-1.0, 0.0);
result += mat4(0.05893387, -0.10818095, 0.094520725, 0.04735701, -0.00062618783, 0.060635865, 0.028728807, -0.037579857, -0.05011172, 0.072621815, 0.32791084, 0.20725228, -0.16025586, 0.029779507, -0.098033756, -0.057435088) * go_1(-1.0, 1.0);
result += mat4(-0.027748855, -0.032816567, 0.1381763, -0.07527717, -0.04557042, -0.19134082, -0.28283423, -0.0497186, -0.061549354, 0.021712344, -0.07307426, 0.008633742, -0.17751735, -0.06531707, 0.22166257, -0.06736024) * go_1(0.0, -1.0);
result += mat4(0.10577709, -0.00029715832, -0.07257314, 0.037460234, 0.2560591, -0.004036816, -0.0048680147, -0.111901544, -0.26662216, -0.12197044, 0.04535819, -0.017144589, -0.08068284, 0.2595127, -0.122860804, -0.0032942474) * go_1(0.0, 0.0);
result += mat4(-0.017741704, 0.09559895, -0.033990704, 0.08170982, -0.19994697, -0.07059366, -0.11213052, -0.03725744, -0.27139193, 0.1484444, 0.045858312, 0.26310086, -0.11015166, 0.11078496, -0.048356485, 0.075475365) * go_1(0.0, 1.0);
result += mat4(0.11419975, -0.047353536, 0.13656045, 0.11486861, -0.15706798, 0.06450431, 0.14535433, -0.020635093, 0.10368355, 0.15418164, 0.24278086, -0.049087204, 0.062040165, -0.061476476, 0.049934343, 0.010076082) * go_1(1.0, -1.0);
result += mat4(0.124436915, -0.043080516, 0.14038607, 0.120473295, -0.13698362, 0.0632538, -0.12079243, -0.15874681, 0.206419, 0.20660165, 0.032999307, -0.1115593, -0.28569657, -0.01696896, -0.035953935, 0.1648099) * go_1(1.0, 0.0);
result += mat4(0.113919385, 0.11906966, 0.0005747532, 0.080415644, -0.40388402, 0.0017795331, 0.07015799, -0.09544672, 0.0030407861, 0.2834558, 0.10607995, -0.11396143, 0.17354475, 0.104605556, -0.07189537, -0.014960302) * go_1(1.0, 1.0);
result += mat4(0.017524108, 0.13681653, 0.051700532, -0.017652562, -0.034235284, 0.055753216, 0.15347894, 0.052076254, 0.033296116, -0.09584493, -0.033569854, 0.027673539, -0.01796682, -0.10580566, -0.07683759, 0.06618078) * go_2(-1.0, -1.0);
result += mat4(-0.1764062, 0.055722255, -0.02721764, -0.02276022, 0.0949696, -0.058885206, 0.06488299, -0.092077486, 0.04663375, -0.024681088, -0.26029268, 0.023124814, 0.008564294, -0.14319825, -0.04004337, -0.06123616) * go_2(-1.0, 0.0);
result += mat4(0.08396966, -0.034983225, -0.07795199, 0.12035646, 0.028944263, 0.063821584, -0.017690185, 0.052195095, -0.033104133, -0.17720836, -0.09615896, 0.11477779, 0.17819521, -0.056103952, -0.022960674, 0.13859332) * go_2(-1.0, 1.0);
result += mat4(0.18050459, 0.04579894, -0.22067004, 0.085571006, -0.11066822, 0.06598446, -0.014714607, -0.054712657, -0.11574491, -0.13472416, -0.021493772, 0.010712232, 0.08756391, 0.10629865, -0.030947337, 0.012433604) * go_2(0.0, -1.0);
result += mat4(0.13059679, 0.12995908, 0.051285587, -0.1490071, -0.16121583, 0.017019918, 0.18331663, 0.05133495, -0.11774923, 0.14849012, 0.08879608, 0.21546392, -0.16260189, 0.071787946, 0.08042792, 0.034665287) * go_2(0.0, 0.0);
result += mat4(-0.0496461, -0.074484035, -0.067306705, -0.056405246, -0.0791933, 0.09205973, -0.089488566, 0.06336122, 0.026799377, 0.044899896, -0.043504875, -0.027825577, -0.12687266, -0.036599446, -0.0979517, 0.118289836) * go_2(0.0, 1.0);
result += mat4(0.065074205, 0.0912584, -0.10980821, -0.0087488005, 0.009252638, -0.037367865, -0.038106624, -0.14231613, 0.10606405, 0.059649512, 0.115708545, -0.09755315, 0.019461721, 0.021630583, 0.091960326, -0.008601625) * go_2(1.0, -1.0);
result += mat4(-0.3277807, -0.036484975, 0.038798176, 0.24745776, 0.2593154, 0.21724908, -0.00019478974, -0.18449827, 0.033633452, 0.018974831, -0.07398912, 0.017520338, -0.032920193, 0.004842279, -0.00579405, -0.11938036) * go_2(1.0, 0.0);
result += mat4(0.18842064, 0.05702536, -0.061931625, -0.06727871, -0.014621294, 0.04080955, -0.013593707, -0.003619943, -0.020285374, 0.01967135, 0.06964358, -0.015948078, 0.008987598, -0.0502518, -0.07550232, -0.03246761) * go_2(1.0, 1.0);
result += mat4(-0.021415083, 0.047334228, 0.09358717, 0.066151075, -0.057634987, 0.038057115, -0.15978286, -0.0306265, 0.03275409, 0.040893096, -0.06797163, 0.038144294, -0.04410495, 0.03834102, 0.12854114, -0.067179) * go_3(-1.0, -1.0);
result += mat4(-0.118068546, 0.031765044, -0.08369015, 0.012474477, -0.034454364, -0.08663203, -0.11515983, 0.11116229, 0.013160141, 0.1618989, -0.0948057, 0.051910333, -0.08929414, 0.2686571, 0.037374903, -0.21924725) * go_3(-1.0, 0.0);
result += mat4(-0.04300725, 0.04822412, 0.16281828, 0.035834175, 0.099052325, -0.14414896, 0.005747616, 0.02214405, 0.13032797, -0.025553104, -0.0975882, 0.093112744, -0.14970464, 0.19270295, -0.08109359, -0.06329011) * go_3(-1.0, 1.0);
result += mat4(-0.10569496, -0.075869955, -0.049005095, -0.06851834, -0.08021023, -0.10791368, 0.04543862, 0.0027774416, 0.050588753, 0.01885911, -0.029016491, 0.14942807, -0.038662244, 0.0020585372, 0.14963345, -0.21736771) * go_3(0.0, -1.0);
result += mat4(-0.017626101, -0.026860205, -0.0166675, 0.09863811, 0.0069533293, 0.08025672, -0.007524914, 0.10343909, 0.030437125, 0.05835893, 0.053286716, 0.11764632, 0.046820708, 0.11034737, 0.13265274, -0.23132078) * go_3(0.0, 0.0);
result += mat4(-0.0002492618, -0.15761827, -0.008163207, 0.10799774, 0.03797858, 0.082984105, -0.1682568, -0.13183926, -0.11445903, 0.16405046, -0.13379891, -0.24530238, -0.12639353, 0.011228589, -0.03275201, -0.039365195) * go_3(0.0, 1.0);
result += mat4(0.19628343, -0.03061746, -0.045941845, -0.11086776, -0.11805122, -0.032416914, -0.021520017, 0.0693067, 0.004571353, 0.016396372, 0.07598534, 0.033040676, 0.012897211, 0.012313861, 0.11968668, -0.08747018) * go_3(1.0, -1.0);
result += mat4(-0.0813893, -0.022178298, -0.040741373, 0.07031036, -0.28552878, 0.06425291, -0.0053351806, 0.120189145, 0.12595983, -0.10747074, 0.0048105116, -0.06664802, -0.022508347, -0.06586251, 0.06035201, 0.14375561) * go_3(1.0, 0.0);
result += mat4(-0.12956624, -0.04242177, -0.0017373727, 0.037004035, -0.00039252886, 0.09018791, 0.0017921329, 0.11215645, -0.035194464, -0.09520843, -0.06663547, 0.050138075, 0.02804902, 0.060663514, -0.07920812, 0.087417066) * go_3(1.0, 1.0);
result += mat4(-0.0029228467, 0.09749893, 0.041897535, -0.18033682, -0.1579824, 0.014144745, 0.032907195, 0.0017276615, -0.059261598, 0.13907957, 0.02144935, 0.041111927, 0.03160442, 0.08409082, 0.048776, -0.095657706) * go_4(-1.0, -1.0);
result += mat4(-0.10480038, -0.042332742, -0.015383398, -0.05648455, -0.11888851, -0.16955213, 0.04470709, -0.022793902, 0.00016517058, -0.056294985, -0.047431663, 0.012045597, -0.09375551, -0.11388544, -0.12949479, -0.008033533) * go_4(-1.0, 0.0);
result += mat4(-0.06412859, -0.055691525, -0.014857645, 0.09801412, -0.05405835, -0.053803347, -0.0013197206, -0.12301804, 0.07946899, 0.06714871, -0.07215845, 0.017334301, -0.025533507, -0.10721457, 0.073318854, -0.14206216) * go_4(-1.0, 1.0);
result += mat4(0.058060713, 0.093734995, 0.01842975, -0.29179135, 0.0602599, -0.024193754, 0.01761975, -0.026523773, 0.28867632, 0.00483472, 0.07755528, -0.016514888, 0.015965128, 0.17118327, -0.19532546, -0.07110416) * go_4(0.0, -1.0);
result += mat4(0.0128605245, -0.1741353, -0.03638385, -0.048088867, 0.10223092, 0.23232879, -0.0054223654, -0.00045356248, 0.12773679, -0.006512435, 0.07379372, 0.08680171, -0.035877902, -0.054623656, 0.07132212, 0.09048987) * go_4(0.0, 0.0);
result += mat4(-0.009797465, 0.060523454, 0.073391296, -0.13990612, -0.12679388, 0.07210466, 0.1628591, -0.07687422, 0.1963603, 0.10681905, 0.06749501, -0.20079397, -0.0019436153, 0.07006026, 0.030871613, -0.08604229) * go_4(0.0, 1.0);
result += mat4(-0.12500001, -0.16281945, -0.019086959, 0.27618113, -0.038304567, -0.015725048, -0.024617916, -0.035548065, 0.15954372, -0.04278374, -0.06421704, -0.00039818592, -0.0482903, 0.10892429, -0.14975885, 0.005292497) * go_4(1.0, -1.0);
result += mat4(-0.017346809, -0.046994127, 0.032871798, 0.0013864548, -0.16245434, -0.12618968, 0.09413434, -0.076167226, -0.07559192, -0.10978536, 0.0911529, 0.11722477, 0.015144819, -0.01594627, -0.18361738, -0.13300706) * go_4(1.0, 0.0);
result += mat4(0.196295, 0.08153582, -0.0046313326, -0.020369306, -0.10097475, -0.058573876, 0.02360406, 0.34065554, 0.07581009, -0.024701435, -0.0036000118, 0.14957961, 0.06200422, -0.007515458, 0.108764246, -0.06800964) * go_4(1.0, 1.0);
result += mat4(-0.032589618, -0.0015710328, 0.016760994, -0.059781738, -0.074785665, 0.052239433, 0.05612257, -0.065350436, -0.020133277, 0.072456904, 0.11718997, -0.021059798, -0.07565095, -0.08362852, 0.045464966, -0.063447826) * go_5(-1.0, -1.0);
result += mat4(-0.1102015, -0.031135883, 0.09267165, -0.058451813, -0.13763309, 0.07187428, -0.08874953, 0.08555874, -0.037774604, 0.049590353, 0.26134104, 0.018416924, -0.081239395, -0.013879623, 0.090619825, -0.036696743) * go_5(-1.0, 0.0);
result += mat4(-0.06493723, -0.010833561, -0.0040989053, -0.05103571, 0.058725636, -0.016349433, -0.19289434, -0.02820378, 0.10755951, -0.09996525, 0.022100247, -0.0135096535, -0.13146846, -0.1046519, 0.22726761, -0.043585762) * go_5(-1.0, 1.0);
result += mat4(-0.05782105, -0.065180056, 0.36255524, -0.07636241, -0.025651963, -0.12618172, -0.014441459, 0.11177841, 0.05698485, 0.04069727, -0.1798041, -0.18843612, -6.748983e-05, -0.15634717, -0.14003754, 0.067269295) * go_5(0.0, -1.0);
result += mat4(0.14520092, -0.12358684, -0.2308459, 0.06433382, 0.14404234, -0.018400794, -0.04435697, 0.0468437, 0.025523597, -0.22619915, -0.1016596, 0.049539804, 0.18028462, -0.083644226, -0.101813614, -0.020419104) * go_5(0.0, 0.0);
result += mat4(0.0802013, 0.028405981, -0.046696443, 0.04202267, 0.025745654, -0.04509517, 0.16942215, -0.07011387, 0.0020332548, -0.0648844, -0.20601165, 0.12061787, 0.05914776, -0.27518207, 0.17372149, -0.009302444) * go_5(0.0, 1.0);
result += mat4(-0.017286759, -0.11818566, 0.10640867, -0.008934892, 0.20847458, 0.055007588, 0.11734843, 0.12208416, -0.044339962, -0.06791728, -0.07898345, 0.09904303, -0.06864673, -0.016157066, 0.04056718, -0.10148076) * go_5(1.0, -1.0);
result += mat4(0.10796872, -0.13242823, 0.26613814, 0.014023097, -0.21846855, 0.010950801, -0.26663643, -0.07875743, 0.06405232, -0.00032474866, 0.090980455, -0.065073796, -0.037091963, -0.04538706, 0.0023358157, 0.0067520686) * go_5(1.0, 0.0);
result += mat4(0.056303564, -0.08950635, -0.08650799, -0.029363103, -0.16495064, -0.13165015, 0.07930873, 0.13557468, 0.16211954, 0.03483085, 0.11933352, 0.007469677, 0.117681414, -0.094969146, 0.009896069, -0.022225311) * go_5(1.0, 1.0);
result += vec4(0.06926819, 0.0008862821, -0.038584497, 0.022858847);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x80
//!HOOK MAIN
//!BIND conv2d_15_tf
//!BIND conv2d_15_tf1
//!BIND conv2d_15_tf2
//!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_tf_tex(conv2d_15_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
#define g_6 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_18 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.015411904, -0.3481058, -0.14065851, 0.25672877, 0.11077625, 0.14430125, 0.075987406, 0.13401817, -0.028904252, 0.010471815, -0.13755904, -0.043050054, -0.23878446, 0.032667324, 0.0065731215, -0.24957936) * g_0;
result += mat4(-0.11764895, -0.045424536, -0.039502602, 0.12982897, 0.229541, -0.18251237, 0.07418932, -0.019108484, 0.07372666, 0.032683663, 0.2243215, 0.30212626, 0.12498196, 0.24965945, 0.04350288, 0.3903582) * g_1;
result += mat4(0.20100635, 0.15522125, 0.18275909, -0.0052163424, -0.08758867, -0.22356448, 0.22349271, 0.22447799, 0.07740293, -0.3192609, -0.06672845, -0.0633777, 0.056181088, -0.21348128, -0.13974325, -0.036865283) * g_2;
result += mat4(0.18827224, -0.13507625, -0.08306733, 0.049136307, -0.095121965, 0.16284102, 0.05845094, 0.11416881, 0.062486872, 0.1405637, 0.1685204, 0.13717267, -0.07496871, 0.25640628, 0.11199113, -0.01789177) * g_3;
result += mat4(0.27167314, 0.035950907, 0.032459494, -0.11790055, 0.12248767, 0.06978094, 0.3084216, 0.08794611, 0.07387762, 0.053205058, 0.099851795, -0.10258492, -0.14328477, 0.13806304, 0.026629662, -0.28694016) * g_4;
result += mat4(-0.06586842, -0.06801413, -0.14677979, -0.0768508, 0.26984748, 0.11354619, 0.116293885, 0.014563355, -0.21626909, 0.19715959, -0.10084105, -0.20142159, 0.03564203, -0.102611236, -0.050990574, -0.09135196) * g_5;
result += mat4(0.35307628, -0.14951418, -0.35223207, 0.030067248, 0.12195168, 0.28564107, -0.02129123, 0.13029817, 0.11705502, 0.020162629, 0.06902506, -0.3966005, -0.4818593, -0.33073005, 0.072956145, -0.12939528) * g_6;
result += mat4(0.00530956, -0.12135435, 0.070373125, -0.16821058, -0.008556209, -0.17572887, 0.14526288, -0.16719544, 0.038015194, 0.21531321, -0.0031482165, 0.43273294, -0.28057137, 0.20323606, 0.06625515, 0.21552464) * g_7;
result += mat4(-0.063178524, 0.24973153, 0.013720456, 0.056591444, 0.019021465, -0.26067972, -0.10853732, 0.030659003, -0.0700846, 0.033658378, -0.14822826, 0.004289035, -0.043764096, 0.20344602, -0.09091495, 0.071616665) * g_8;
result += mat4(0.12145554, -0.0624854, 0.19910428, -0.22141473, -0.06820842, 0.14774227, 0.23123792, -0.20847356, -0.0788949, -0.02772492, 0.161529, -0.056242056, -0.09748238, 0.17754894, -0.10482487, 0.004179268) * g_9;
result += mat4(0.33851695, 0.24063228, 0.061941892, -0.17925197, 0.009762858, -0.110571444, 0.17266293, 0.018386278, -0.13628517, 0.012900279, -0.20001967, 0.07412768, 0.092519194, 0.025905496, 0.013374791, -0.18080667) * g_10;
result += mat4(-0.35484606, -0.24163297, -0.20655888, 0.25741658, -0.054093473, 0.24703228, -0.13321623, 0.06730745, 0.1915146, -0.12488617, -0.039931353, -0.16139272, -0.17825414, 0.005273623, -0.06986308, -0.20182024) * g_11;
result += mat4(0.10539724, -0.14134564, -0.09422101, 0.07420711, 0.124219745, -0.050976872, -0.0036057911, -0.18727909, 0.024319967, 0.29918167, 0.07634522, 0.19821624, 0.32139403, 0.23670414, -0.32440105, -0.038693212) * g_12;
result += mat4(-0.18223715, 0.18983413, 0.48830718, 0.024916872, -0.3343574, -0.12711638, 0.11339659, 0.122138545, -0.105839044, -0.14808372, -0.18010806, -0.15808982, -0.26355624, 0.12354337, -0.11911975, -0.10833433) * g_13;
result += mat4(0.38319695, 0.05502718, 0.011898256, 0.042783014, 0.21362592, 0.042454682, 0.19834186, -0.073223054, 0.057000954, -0.056501992, 0.06412959, 0.036385205, 0.1374011, -0.062440563, 0.17463037, 0.047360953) * g_14;
result += mat4(0.08570211, -0.06420987, 0.061411254, -0.15230267, -0.12127754, 0.06184008, -0.17644596, 0.022357073, 0.08968545, 0.10179604, -0.14161776, -0.10706859, 0.014307138, -0.120175295, -0.1018418, 0.04443384) * g_15;
result += mat4(-0.07310467, -0.09482765, 0.11474074, -0.21321261, -0.036888484, -0.036406234, -0.14175038, -0.18403974, 0.073185734, -0.11334264, -0.04354356, -0.1334644, -0.28488088, 0.155462, 0.13175695, -0.045593392) * g_16;
result += mat4(-0.0013599097, -0.094864406, -0.2907292, 0.1529276, -0.019177636, -0.04425709, -0.11138836, 0.13960573, 0.28229222, 0.032372613, -0.12031677, -0.037267342, 0.19885163, -0.07453253, -0.008422101, -0.18792655) * g_17;
result += mat4(0.2524008, -0.056883294, 0.2737073, 0.25479946, -0.105945334, 0.18521947, 0.09495465, -0.16628663, 0.10909617, -0.34263077, 0.13374376, 0.034627344, -0.15817793, -0.014514654, -0.089533, -0.007011694) * g_18;
result += mat4(-0.26738396, 0.22419624, -0.06836402, 0.032150477, 0.13000076, -0.08652478, -0.0856218, -0.07700419, 0.10129944, 0.0689117, 0.027205365, -0.07991292, 0.23872668, -0.081905946, 0.028084237, -0.09570726) * g_19;
result += vec4(-0.030411588, -0.03504694, 0.0062963464, -0.0060779224);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x80
//!HOOK MAIN
//!BIND conv2d_15_tf
//!BIND conv2d_15_tf1
//!BIND conv2d_15_tf2
//!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_tf_tex(conv2d_15_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
#define g_6 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_18 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.06229179, 0.07447952, 0.17544238, -0.029056227, 0.23295781, -0.25401062, 0.060630303, -0.26968777, -0.06298657, 0.23999286, 0.07138117, -0.12207766, 0.3314945, -0.060328502, -0.05256118, -0.11967128) * g_0;
result += mat4(0.009106781, -0.15019597, 0.107759155, -0.013013227, -0.1201809, 0.18982023, -0.084957175, 0.03017393, 0.02300354, 0.16276407, 0.20732218, -0.07420877, -0.18172643, 0.14273722, -0.11420885, -0.13387239) * g_1;
result += mat4(-0.091283925, 0.125469, 0.15440796, 0.03595249, 0.1367125, -0.26021275, -0.034883995, 0.1384171, 0.034683395, 0.012753063, 0.059117932, -0.060619134, 0.018635055, -0.20502415, 0.026565414, 0.25979492) * g_2;
result += mat4(0.016796626, 0.15069105, -0.061102454, 0.023371994, -0.08180385, 0.018199123, -0.0563611, 0.23894419, -0.06728213, 0.11131519, 0.03154735, -0.05907408, -0.1616918, -0.247807, 0.12373462, 0.04899162) * g_3;
result += mat4(-0.29031062, 0.28420377, 0.038582914, 0.27378574, -0.08802812, 0.053966224, 0.018315062, 0.0067930855, 0.036932472, -0.041048605, 0.03820459, -0.0073364014, 0.10362766, 0.026039885, -0.23032854, -0.1956355) * g_4;
result += mat4(-0.12793514, 0.28202888, 0.12303155, 0.29286426, -0.28697783, 0.012021052, 0.27789843, 0.055134546, 0.1095386, -0.05251396, -0.2255559, -0.17143604, -0.1668448, -0.047896937, 0.083351046, 0.14768548) * g_5;
result += mat4(-0.16652593, -0.1171025, 0.046261553, -0.092330426, 0.45466834, -0.12058069, -0.3161383, -0.008391166, 0.16704272, 0.08296244, -0.15564027, -0.27613795, 0.020327646, -0.122191355, -0.050283693, 0.03534835) * g_6;
result += mat4(-0.01564193, 0.13914119, 0.07802687, -0.1896753, -0.23644254, 0.15426877, 0.064588614, 0.15104239, -0.007543932, 0.14882818, 0.0395721, 0.04181466, -0.07785041, -0.31100297, 0.1204594, 0.12991908) * g_7;
result += mat4(0.13514097, -0.06449617, 0.038062695, -0.24076426, 0.07944077, -0.0040154266, 0.026618825, -0.2406117, -0.020159021, 0.027010564, -0.21324417, -0.0008397984, 0.15394984, 0.07287525, 0.12330107, 0.20474261) * g_8;
result += mat4(-0.034830973, -0.021657703, -0.14613967, 0.1852407, 0.28907514, 0.0729019, -0.104028866, -0.067935266, 0.005923615, -0.07949258, -0.01123202, -0.057730585, -0.006548943, -0.045705102, -0.1578812, 0.048652157) * g_9;
result += mat4(0.07865155, -0.1089475, 0.2799939, 0.04209442, -0.062469423, 0.06282737, -0.309991, 0.056344055, -0.1911143, 0.14326468, 0.08484205, -0.19620831, -0.082943305, -0.10082107, -0.1514525, -0.014929943) * g_10;
result += mat4(-0.2911379, 0.3363872, -0.043308917, 0.22365907, 0.034437142, -0.020528575, 0.21208636, 0.3034834, 0.012269259, 0.03488268, 0.030740876, 0.20943925, 0.005626004, 0.1601836, -0.012430659, -0.06502019) * g_11;
result += mat4(0.15755813, 0.016292375, 0.02457799, 0.13753077, 0.12852463, 0.058444835, 0.29067582, -0.14437278, -0.10174013, 0.029764764, 0.0038154817, -0.18069993, 0.12908849, 0.09049112, 0.020467235, 0.02675185) * g_12;
result += mat4(-0.30425274, 0.172061, -0.04473515, -0.27572066, -0.04441604, -0.0135015845, -0.02134299, -0.030247632, -0.18199432, 0.13888723, -0.1234305, 0.093817785, 0.09853002, 0.12676361, -0.0044124853, -0.0006500754) * g_13;
result += mat4(-0.086448506, -0.09585741, 0.18680948, -0.1595373, -0.0013524789, -0.15327513, -0.24068208, -0.005388094, -0.05461273, 0.08730604, -0.105776325, 0.10966634, 0.17866546, 0.02331487, -0.26239154, 0.05888688) * g_14;
result += mat4(-0.10371749, 0.18664865, -0.085673355, 0.07728855, 0.2016191, 0.14631543, -0.05918329, -0.033308215, 0.13446982, 0.17957696, 0.02237709, -0.111385815, 0.15208769, -0.2766956, -0.042062268, -2.918234e-05) * g_15;
result += mat4(-0.3349197, 0.1320308, 0.034178462, 0.09385523, 0.03969266, -0.09389873, -0.114752054, 0.03206358, -0.14895694, -0.12865661, 0.01785704, 0.09169438, 0.101165384, -0.014787588, 0.08328934, 0.121291555) * g_16;
result += mat4(-0.06074213, 0.18984905, 0.11707254, 0.12558164, -0.20235488, 0.13861518, 0.07092135, -0.3614094, 0.09027116, 0.14745344, 0.083361, -0.23089439, -0.14834873, 0.10834447, -0.24824911, -0.048383813) * g_17;
result += mat4(0.1632019, 0.09772291, -0.21687613, 0.16953598, 0.03563443, -0.14966665, -0.12472958, -0.104619995, 0.124128886, 0.12477276, 0.5057336, -0.04884431, 0.07567298, 0.28349468, 0.17712036, 0.019731894) * g_18;
result += mat4(0.10584999, 0.017437998, -0.1409027, 0.01700227, -0.26804322, -0.01906643, -0.15364946, 0.078551315, -0.38588783, -0.20918682, -0.13819021, -0.12914348, 0.22142257, 0.20084332, 0.07179306, -0.4147244) * g_19;
result += vec4(0.04500602, -0.043274067, -0.024793796, 0.03252472);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x80
//!HOOK MAIN
//!BIND conv2d_15_tf
//!BIND conv2d_15_tf1
//!BIND conv2d_15_tf2
//!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_tf_tex(conv2d_15_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_15_tf1_tex(conv2d_15_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_15_tf2_tex(conv2d_15_tf2_pos)), 0.0))
#define g_6 (max((conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_17_tf_tex(conv2d_17_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_18 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.006507618, 0.35551, 0.10029036, 0.20938163, -0.27909538, 0.107799135, -0.117420286, 0.017393347, -0.07090822, 0.067006424, -0.025181938, 0.06960745, 0.050213918, 0.11024797, -0.06292335, -0.28821605) * g_0;
result += mat4(-0.07828812, -0.24313068, -0.041977264, 0.28533673, -0.046961866, -0.0382004, -0.06722913, 0.046214554, -0.015937736, 0.2662867, -0.11650494, -0.03243863, 0.20631221, 0.01906351, 0.20938441, 0.063740134) * g_1;
result += mat4(0.2477787, -0.15261632, -0.09109093, 0.16242526, 0.030849725, 0.36562842, -0.24916211, -0.2537, -0.0005451666, 0.040962283, -0.12698911, 0.1940532, -0.0031755446, 0.16081375, -0.31149757, 0.24105449) * g_2;
result += mat4(0.15018864, -0.0975225, 0.16312592, -0.023348464, 0.025320804, 0.08907452, -0.20382877, 0.14941658, -0.025980422, 0.2518956, 0.37375775, 0.0670902, 0.21562299, 0.096583225, 0.24626857, -0.1689578) * g_3;
result += mat4(0.032749493, 0.26481724, 0.16459878, -0.1093412, 0.35898176, -0.08814589, -0.19542596, 0.35450563, 0.34313765, 0.082954384, 0.06760144, -0.13203524, 0.08626903, -0.082864255, 0.3760177, -0.052356176) * g_4;
result += mat4(-0.22347268, -0.23800248, 0.22216137, -0.1334753, -0.0019713258, -0.117614284, 0.2928468, -0.022849852, 0.09592314, -0.0526934, 0.07753605, -0.21934861, -0.1660914, -0.2673251, 0.032538224, 0.0033737908) * g_5;
result += mat4(0.4056822, -0.22801818, -0.009285619, 0.20891581, -0.12555836, -0.1479676, -0.15377103, 0.091794685, 0.18693839, 0.029455252, -0.28683576, -0.01816607, 0.034140516, 0.21041095, -0.031228764, -0.20486769) * g_6;
result += mat4(-0.016693812, -0.25051102, 0.250197, -0.143388, -0.012325928, 0.0013464197, -0.045613196, -0.13748543, -0.023561578, -0.03421223, 0.08587755, 0.36944443, 0.0090245735, -0.07692534, -0.21768387, 0.11940026) * g_7;
result += mat4(0.14990924, -0.15969902, -0.24874954, 0.25423834, 0.047977734, -0.11828463, -0.07667344, -0.07940479, -0.033960067, -0.19987972, -0.07886391, -0.1691948, -0.059108987, 0.12546931, -0.09120288, -0.2301952) * g_8;
result += mat4(0.07120231, 0.11496656, 0.11952848, 0.06014948, 0.07809767, 0.10536339, -0.11122203, 0.28110188, 0.014941528, -0.0792158, 0.23271102, 0.1513328, -0.14564197, -0.0053231698, 0.06846381, -0.05170115) * g_9;
result += mat4(0.14952776, 0.1830435, 0.0693483, -0.12810285, -0.2411923, 0.02373353, 0.09710389, -0.00886689, -0.075813554, -0.15807281, 0.019722076, 0.122158974, -0.08879681, 0.1176225, 0.023886852, 0.009521271) * g_10;
result += mat4(-0.12003659, 0.25038052, -0.09751039, -0.21425623, 0.05037122, -0.30314568, 0.056634273, 0.049238324, 0.06321857, 0.058443442, 0.067801915, 0.24130674, 0.10302721, -0.22205399, 0.008704116, -0.10264142) * g_11;
result += mat4(-0.12898026, 0.09346042, 0.29941607, -0.04953118, -0.1304296, -0.0008984169, -0.04556631, -0.14597142, 0.063871995, 0.06488008, 0.08948201, 0.23473148, -0.20545703, 0.10851978, -0.025103066, -0.23575859) * g_12;
result += mat4(0.13659224, 0.08942274, -0.20569776, 0.017678559, 0.09806826, 0.15677394, 0.15822731, 0.029734695, -0.08716191, -0.01778334, -0.13599, -0.16893873, -0.30254295, 0.18124272, 0.051892713, -0.18010335) * g_13;
result += mat4(-0.002885469, 0.009502494, 0.12664194, 0.21007413, -0.08120904, 0.04213149, -0.19298813, -0.09197216, -0.11336129, 0.026870906, 0.11918877, -0.07471192, 0.07715422, -0.28567305, -0.0050871065, -0.0589191) * g_14;
result += mat4(0.11605678, 0.017162867, -0.00952252, 0.12467068, 0.118510686, -0.186823, -0.13314165, 0.027390392, 0.19537403, 0.21234393, 0.3235463, -0.041289236, 0.07744967, 0.36400458, 0.25095546, 0.09901454) * g_15;
result += mat4(-0.17919436, 0.1251613, -0.18175727, 0.021816947, -0.04216387, 0.10944426, 0.02161377, -0.0076910397, 0.03792699, 0.04829799, 0.16696233, 0.27722096, -0.15549976, -0.0015638673, -0.046067294, -0.21890913) * g_16;
result += mat4(0.02248908, -0.25410384, 0.23302642, 0.013278944, 0.04128571, -0.1978489, -0.068986565, 0.06931732, 0.07257194, 0.10191749, -0.10704886, -0.07942535, 0.10373902, -0.33918902, -0.097765245, 0.35452053) * g_17;
result += mat4(0.10310988, -0.36429033, -0.17563991, -0.33056924, 0.10157224, -0.26683134, 0.10698191, 0.09721982, -0.3825923, 0.011767701, 0.19865969, 0.22241755, -0.16556083, 0.021593302, -0.2107391, -0.20859967) * g_18;
result += mat4(-0.16120493, 0.2403295, -0.25938925, 0.13073151, -0.11099456, -0.19550775, -0.21077448, -0.18629125, -0.082744755, -0.04692217, -0.2137643, 0.19053587, -0.11437479, 0.02856005, 0.3253954, 0.12590827) * g_19;
result += vec4(-0.013902712, 0.006466277, -0.021404289, -0.029253915);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_18_tf
//!BIND conv2d_18_tf1
//!BIND conv2d_18_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_18_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_18_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(-0.09294641, -0.1158186, -0.11383922, -0.18075919, 0.13302398, -0.03751026, -0.067699105, 0.09560551, -0.02461861, 0.16565137, -0.06083674, -0.15142106, -0.040619526, 0.13233532, -0.15686019, -0.013839122) * go_0(-1.0, -1.0);
result += mat4(0.044417296, -0.17726582, 0.15873624, -0.25761864, 0.069352694, -0.079825036, 0.17515941, -0.19109002, 0.2139231, 0.019684589, -0.09461715, 0.033632115, 0.06326973, -0.022311855, -0.054165527, -0.021914836) * go_0(-1.0, 0.0);
result += mat4(-0.1298302, -0.024154784, 0.14097355, 0.025328204, -0.065222666, 0.034682933, 0.04185055, 0.03819006, -0.03930244, 0.023453588, 0.07284346, 0.029684428, 0.14533475, -0.019355427, 0.011254047, 0.017419893) * go_0(-1.0, 1.0);
result += mat4(-0.14563386, -0.08222772, -0.30177984, -0.05967725, -0.097646125, -0.16414933, 0.11700978, -0.043248646, 0.14416361, 0.17325267, 0.055524427, -0.08235854, 0.20726103, 0.2069635, 0.12871404, 0.34145215) * go_0(0.0, -1.0);
result += mat4(0.026209459, 0.23920053, 0.12351496, -0.066335455, 0.12753548, 0.113379925, 0.2521918, -0.0059000906, 0.154576, -0.0057768747, -0.06138675, -0.042400908, -0.0010367454, 0.11039277, 0.06401636, -0.04591122) * go_0(0.0, 0.0);
result += mat4(0.040683243, 0.014337892, 0.14728178, -0.08828608, -0.022762204, 0.07433557, 0.08731713, 0.15555556, 0.0038898352, 0.076742835, 0.13739787, -0.13507335, -0.006751211, 0.06023675, -0.16807017, 0.13534886) * go_0(0.0, 1.0);
result += mat4(0.055997107, 0.10363734, -0.11505465, 0.10051812, -0.063410625, -0.037380435, -0.015442374, -0.033114396, -0.10145282, -0.1005693, 0.17274141, 0.009044856, 0.17575212, -0.06881564, 0.08194139, 0.09730184) * go_0(1.0, -1.0);
result += mat4(0.08609495, -0.037443504, 0.05785138, -0.0210377, -0.010028248, 0.039309487, -0.033386406, 0.06802184, 0.04439948, 0.008985963, 0.06598393, 0.12716638, -0.061664846, 0.018561186, -0.020672582, 0.17480755) * go_0(1.0, 0.0);
result += mat4(0.017864816, 0.051641412, -0.035533294, -0.082921945, -0.06792339, -0.18861745, -0.01440961, -0.04727943, 0.13370918, 0.024184503, 0.17790537, 0.22161904, -0.13595536, 0.0019620757, -0.0011823947, 0.09377497) * go_0(1.0, 1.0);
result += mat4(-0.017264143, 0.15716588, -0.11429335, -0.04992877, 0.006302832, -0.017561557, -0.16362968, -0.119030006, -0.028216297, -0.07010418, 0.10948507, 0.03874696, -0.06490529, 0.09936819, -0.07403505, 0.13423388) * go_1(-1.0, -1.0);
result += mat4(0.21096039, -0.030001203, 0.26182327, -0.30905315, -0.06576998, -0.16503945, -0.05604086, 0.09934356, 0.03867048, -0.11057229, -0.03899883, -0.20984182, 0.28392267, 0.106830716, 0.18248665, 0.1609516) * go_1(-1.0, 0.0);
result += mat4(0.05847982, -0.061215837, 0.062305983, -0.05504516, -0.002925314, -0.030206572, -0.029340278, 0.024437418, -0.008038368, -0.21633625, -0.00814884, 0.36257815, 0.009820865, -0.029340588, -0.012933708, -0.09077532) * go_1(-1.0, 1.0);
result += mat4(-0.04170194, 0.107179575, -0.023424922, -0.24142934, 0.21078281, -0.07349173, -0.16382796, 0.06679311, 0.11899595, 0.24838819, 0.038586155, 0.23684317, -0.20525086, 0.1372336, 0.093804926, -0.07361924) * go_1(0.0, -1.0);
result += mat4(0.15165257, 0.11615761, 0.313838, 0.07120216, -0.13011925, -0.13735199, 0.10538029, -0.011271374, 0.04622528, -0.006749806, 0.011059132, -0.16288637, 0.026936894, 0.18702355, 0.088553816, 0.1794082) * go_1(0.0, 0.0);
result += mat4(-0.032357164, 0.010167581, 0.15498924, 0.09117371, 0.11227337, -0.050463077, -0.028285068, -0.1377718, 0.08330387, -0.23446722, -0.23247677, -0.1829469, 0.056669325, 0.2377977, 0.08802427, 0.064405255) * go_1(0.0, 1.0);
result += mat4(-0.05357501, 0.021199243, -0.08600578, 0.022257347, 0.011408827, -0.0050491816, -0.057687394, 0.14744234, -0.09267379, -0.15668261, 0.13397205, -0.053909495, -0.006844299, 0.18583481, 0.018428689, 0.08704116) * go_1(1.0, -1.0);
result += mat4(-0.011847375, -0.0067721186, 0.30313665, -0.08950501, -0.019289348, -0.13872112, -0.103812315, 0.1855238, 0.09282658, 0.08178805, -0.026845777, -0.05244464, 0.09294287, -0.02069455, -0.008373871, 0.05652373) * go_1(1.0, 0.0);
result += mat4(-0.0050423755, -0.022601169, 0.08414679, 0.14937675, -0.0026541906, -0.02450683, -0.009913411, -0.06732805, 0.051323414, -0.023584072, -0.14653604, 0.20639488, -0.056317866, -0.060301743, -0.011312024, -0.076251455) * go_1(1.0, 1.0);
result += mat4(-0.109271415, -0.02896675, -0.009695293, 0.08384622, -0.0036152625, -0.14080207, -0.040540285, -0.12666075, -0.11080371, -0.118533805, 0.0008845531, -0.051511787, 0.01846824, 0.07217671, 0.06317925, -0.011579162) * go_2(-1.0, -1.0);
result += mat4(-0.0098831775, 0.02577478, 0.03427075, -0.19805092, 0.11983348, 0.13377845, 0.23250616, -0.10981398, -0.017667765, -0.054577116, -0.052353706, 0.19620399, 0.17931293, 0.026314069, 0.09285351, 0.13471241) * go_2(-1.0, 0.0);
result += mat4(0.0044629225, -0.01810919, 0.07654668, 0.01870599, 0.01230688, -0.12048502, -0.044906557, 0.15119185, 0.07858472, -0.045783166, -0.11159382, -0.033761594, 0.11503779, 0.11318943, -0.036339156, -0.06597187) * go_2(-1.0, 1.0);
result += mat4(0.035713598, -0.03531832, -0.09600573, 0.060029324, 0.06513237, -0.06156464, 0.031462513, -0.034171887, -0.08329228, -0.1699912, -0.1788344, -0.114334606, 0.1276991, -0.18625216, 0.008950445, -0.11454878) * go_2(0.0, -1.0);
result += mat4(-0.089447655, 0.12820958, 0.04766808, -0.08752495, 0.05474904, -0.018004049, 0.09516643, 0.028639503, 0.08431041, -0.18038012, -0.16312553, -0.043258812, 0.05856565, -0.18499035, 0.13299939, 0.019616196) * go_2(0.0, 0.0);
result += mat4(-0.13868435, -0.0021450857, -0.050741415, -0.021135109, 0.22957061, -0.1024089, 0.072753765, 0.009929925, 0.05660099, -0.042447466, 0.12399499, -0.015540306, -0.0062580383, 0.026042579, -0.016714064, 0.055952474) * go_2(0.0, 1.0);
result += mat4(0.07411661, 0.03283327, -0.06667389, 0.04884367, 0.040718928, -0.15359843, 0.17676751, 0.035261173, 0.056293286, 0.07593688, -0.15237808, 0.035726074, -0.1112144, -0.0006580278, 0.009302558, -0.068437986) * go_2(1.0, -1.0);
result += mat4(-0.06699668, -0.08044169, -0.028106725, 0.08421807, -0.09363219, 0.040584683, 0.14185178, 0.050851252, -0.0610543, 0.15692091, -0.05999308, -0.014868457, -0.11972303, 0.031658858, 0.00753601, -0.14760475) * go_2(1.0, 0.0);
result += mat4(-0.05381733, -0.013843267, 0.0064064683, 0.04844634, 0.03491151, 0.05287661, -0.05664069, 0.08830533, -0.0052366625, 0.058663126, -0.03569328, 0.029297765, -0.013606053, 0.05512517, -0.0085320845, -0.099100634) * go_2(1.0, 1.0);
result += mat4(0.113082245, 0.013978219, -0.15910351, -0.09554144, -0.01833795, -0.0644012, -0.09022978, -0.01195027, 0.22739775, 0.0655376, -0.12980658, -0.03807146, 0.027440801, -0.00748236, 0.08664939, 0.039376393) * go_3(-1.0, -1.0);
result += mat4(0.1869336, 0.12666042, 0.10013194, -0.12667616, -0.14024873, -0.1103707, -0.11400852, 0.050235026, -0.081609644, 0.17705022, 0.09259843, -0.09109346, -0.07577727, -0.056907117, -0.031225577, 0.08265047) * go_3(-1.0, 0.0);
result += mat4(-0.045408096, 0.051238175, 0.07416475, -0.10420649, 0.21300174, -0.12634194, -0.04180748, 0.091014005, 0.028725134, -0.07714135, -0.052186225, -0.0325272, 0.0809717, -0.035156228, -0.12211841, -0.12596777) * go_3(-1.0, 1.0);
result += mat4(0.15666568, 0.13103995, 0.07484423, -0.1408892, 0.16545156, 0.12429429, 0.13765953, 0.10343804, 0.07211865, 0.1857474, -0.19201575, 0.13950339, 0.13572817, -0.08897522, 0.05181235, 0.040699657) * go_3(0.0, -1.0);
result += mat4(0.060997564, 0.004741357, -0.16104372, 0.17935832, 0.0048122844, -0.2265489, -0.24393651, 0.31268173, 0.27526522, -0.07406689, 0.09530693, 0.19375011, -0.059768572, -0.0650623, -0.09408784, 0.0065967236) * go_3(0.0, 0.0);
result += mat4(-0.03201393, 0.0933393, 0.017663121, 0.022775916, 0.15085602, -0.06905511, -0.024943229, -0.024926227, -0.024189468, 0.20101236, -0.07340361, -0.0352635, 0.041247666, 0.17063814, -0.12569599, 0.14746365) * go_3(0.0, 1.0);
result += mat4(-0.063521154, 0.087067194, -0.048564807, -0.07831136, -0.09305777, -0.14888498, -0.07730665, 0.091307685, -0.014140842, 0.15308905, 0.041133467, 0.14461096, 0.030292403, 0.052176412, -0.0064460402, -0.006674204) * go_3(1.0, -1.0);
result += mat4(-0.074680164, 0.15867938, -0.043194182, -0.04247156, -0.030427527, -0.13324276, -0.0849375, -0.0012677576, -0.046072684, 0.10360166, 0.061219912, 0.038694333, 0.007354044, -0.059634488, 0.06424205, -0.06396095) * go_3(1.0, 0.0);
result += mat4(0.047146562, 0.029874887, 0.041508146, -0.08238011, 0.028167995, -0.056289103, -0.09459171, 0.08272971, -0.13951209, 0.0024278602, -0.1948553, -0.045429546, 0.02149894, -0.072801635, 0.0040058377, 0.04961522) * go_3(1.0, 1.0);
result += mat4(0.0035803285, -0.011417722, 0.093399316, -0.028740522, -0.051005416, -0.09839506, -0.07549599, 0.029942147, -0.028693104, 0.17376035, 0.020670101, -0.13552317, 0.01320766, -0.030528337, -0.002924167, 0.05864404) * go_4(-1.0, -1.0);
result += mat4(-0.0032484033, 0.011529664, -0.024597712, 0.006284061, -0.047943357, 0.0010930945, 0.0020769844, -0.016858231, -0.17841692, 0.06463831, -0.019606594, 0.14750104, -0.022879092, -0.010242112, -0.08920587, 0.031848677) * go_4(-1.0, 0.0);
result += mat4(-0.074352615, -0.005919074, 0.005782582, 0.020316001, -0.04763056, 0.016487207, 0.013347862, 0.12599403, -0.026518365, 0.10605418, -0.15208714, 0.13918227, 0.0045341784, -0.17405283, 0.0037167477, -0.019297974) * go_4(-1.0, 1.0);
result += mat4(-0.15260784, -0.092385136, -0.14661121, 0.13285598, 0.000685534, 0.089646846, 0.070177704, -0.033807848, -0.034933034, -0.13887317, -0.033632874, -0.02390552, -0.19830498, -0.11550691, -0.22427958, -0.11563313) * go_4(0.0, -1.0);
result += mat4(-0.14179914, 0.16005456, -0.10719186, 0.19021456, -0.07924184, -0.1292815, -0.3304126, -0.072820365, -0.13208194, 0.12909785, -0.18195078, 0.0005577344, 0.015572346, -0.07788106, 0.22707236, -0.058145594) * go_4(0.0, 0.0);
result += mat4(-0.0020186717, 0.13094911, 0.056740236, 0.13746777, -0.12028731, 0.07318106, -0.06788638, -0.011701235, -0.09618727, -0.086764775, -0.06012734, -0.08546645, -0.06689775, -0.17323029, 0.08294139, 0.0100521725) * go_4(0.0, 1.0);
result += mat4(-0.17888522, -0.034924157, 0.17387538, -0.084485255, 0.0118150655, 0.09186377, 0.16138373, -0.07273615, -0.07996559, 0.023678366, 0.08273731, -0.11342224, -0.04240804, -0.1106497, -0.026108013, 0.027623102) * go_4(1.0, -1.0);
result += mat4(-0.000458541, 0.01851989, 0.21986355, -0.104299635, 0.2342987, -0.17364407, -0.006433297, 0.071846694, -0.22427829, -0.16493757, -0.09133518, -0.13916811, 0.05539187, -0.036943633, -0.17862594, -0.02652375) * go_4(1.0, 0.0);
result += mat4(0.035956334, 0.04479069, 0.0025612311, -0.15087438, -0.008698598, -0.031548824, -0.080667846, -0.14909576, -0.054705918, -0.02101649, 0.066699855, -0.17162657, 0.08169786, -0.021073151, -0.09145583, -0.05493102) * go_4(1.0, 1.0);
result += mat4(0.12376377, 0.030232588, 0.039936855, 0.1703946, 0.006420258, 0.12515192, 0.2831958, -0.124901466, -0.05655792, 0.0037408515, -0.09108924, -0.070766285, 0.07943606, 0.12987587, 0.029344313, -0.0190588) * go_5(-1.0, -1.0);
result += mat4(0.16694774, 0.29920718, -0.17362227, -0.04363615, 0.10560856, -0.16827479, 0.021607764, 0.09804199, -0.062238254, -0.030233778, 0.121561594, 0.13902298, -0.012816795, 0.00013161855, -0.06388857, -0.32021064) * go_5(-1.0, 0.0);
result += mat4(-0.0044640037, 0.08859944, 0.14951241, 0.050695077, 0.1086804, 0.17554376, 0.030289644, 0.09259605, 0.019261833, -0.18367371, 0.1119654, 0.0019211815, 0.022823188, 0.04705905, -0.015794605, -0.03769136) * go_5(-1.0, 1.0);
result += mat4(-0.022050636, -0.053092785, 0.1256514, -0.18914121, -0.02523783, -0.085544035, -0.06325046, 0.1184791, -0.14761166, -0.0023359838, -0.111324035, 0.039635215, 0.23335013, 0.49924138, -0.12330757, 0.12380497) * go_5(0.0, -1.0);
result += mat4(-0.15033622, -0.21257126, -0.0680606, 0.07837463, -0.20294017, 0.18734957, -0.19354935, -0.17342475, 0.06136688, 0.04444599, 0.058139533, -0.041831546, -0.096620694, 0.3100417, -0.016585616, 0.35714212) * go_5(0.0, 0.0);
result += mat4(-0.046841778, -0.04147061, -0.02593143, 0.06537049, -0.043345295, -0.07501616, -0.2039158, -0.013717456, 0.061606117, -0.053962696, 0.16390117, 0.19614251, -0.03473919, 0.41777435, -0.119797945, -0.11393415) * go_5(0.0, 1.0);
result += mat4(-0.16153297, -0.072921485, -0.116643205, -0.0148084555, -0.11596615, 0.10866507, -0.12831023, 0.032740112, -0.09391959, -0.017795717, 0.066344894, -0.023708157, 0.0017712148, -0.0061637852, 0.15363464, 0.26850593) * go_5(1.0, -1.0);
result += mat4(-0.112800024, -0.17930314, 0.031512067, -0.16306019, 0.095627084, -0.13715069, -0.08529468, 0.20360838, -0.045604475, -0.025609516, 0.010655033, -0.026090728, 0.0096726315, 0.123240486, 0.05983414, 0.11894432) * go_5(1.0, 0.0);
result += mat4(-0.019307632, -0.08782039, -0.0030846242, 0.08162739, 0.08727088, -0.054656297, -0.016857732, 0.040473524, 0.0921656, 0.08112972, 0.0015579774, 0.009485926, -0.10490898, 0.08099371, 0.08312537, 0.0061792736) * go_5(1.0, 1.0);
result += vec4(-0.051287252, 0.057500422, -0.012066811, -0.003607342);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_18_tf
//!BIND conv2d_18_tf1
//!BIND conv2d_18_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_18_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_18_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.17232095, 0.05196963, 0.1957015, -0.012670488, -0.03983681, 0.031149302, 0.039694704, 0.020508116, -0.12783968, 0.004216091, -0.00836861, -0.023543797, -0.028499011, 0.13811529, 0.03197489, -0.031296503) * go_0(-1.0, -1.0);
result += mat4(-0.035738144, -0.07685536, -0.24839115, 0.050282005, -0.033324722, 0.11388902, -0.04584055, -0.079211496, 0.111792184, 0.081673115, 0.023834156, -0.07562505, 0.08974356, 0.06918628, 0.1438924, 0.25376153) * go_0(-1.0, 0.0);
result += mat4(-0.01594264, -0.051040996, -0.17032662, 0.04061899, 0.050063428, 0.043036774, -0.052380044, 0.056100003, -0.0063007106, -0.035981517, -0.08852574, 0.21601331, -0.064668365, -0.0619801, -0.14144057, 0.13158554) * go_0(-1.0, 1.0);
result += mat4(0.19074002, 0.039619297, 0.114354186, 0.21006018, 0.03622692, 0.05341186, -0.07767327, 0.018759921, 0.10909838, 0.09453698, -0.104584634, -0.022526927, -0.15922396, -0.06956033, 0.13617443, -0.13963418) * go_0(0.0, -1.0);
result += mat4(-0.023758968, 0.24589951, -0.21106692, -0.12995054, -0.0015635567, -0.083123736, -0.24123181, 0.03764839, 0.32796848, 0.21975699, -0.05459605, 0.14844929, 0.17255868, 0.10748497, 0.16037765, -0.03986278) * go_0(0.0, 0.0);
result += mat4(-0.12095075, 0.014222217, -0.17565662, -0.072168805, 0.1491409, 0.0054073245, 0.0025672442, -0.14129455, 0.0048770322, 0.10851389, -0.24521907, 0.11027851, -0.011124933, -0.11656673, -0.17195827, -0.22370163) * go_0(0.0, 1.0);
result += mat4(-0.038839977, -0.044546135, 0.0071988306, -0.13346611, 0.0298906, -0.0655723, -0.019216442, 0.009032108, 0.03212269, -0.052555725, -0.053255882, -0.055271696, -0.01219769, 0.17089464, 0.06283344, 0.03760205) * go_0(1.0, -1.0);
result += mat4(-0.0035380342, -0.15694073, 0.16781923, -0.13552342, -0.07383044, -0.23585534, -0.13073628, 0.12075837, -0.049202695, 0.042893164, 0.047651123, 0.010171804, 0.07239369, 0.09716291, 0.19222859, 0.057004813) * go_0(1.0, 0.0);
result += mat4(0.04864448, -0.18188159, 0.15280305, -0.09898409, -0.03915652, 0.07971998, 0.021496097, -0.026700165, -0.124248706, -0.11954617, -0.13983545, 0.022560695, 0.11862742, -0.1211255, 0.0035039925, -0.05858093) * go_0(1.0, 1.0);
result += mat4(0.05539291, 0.011540769, 0.12988773, -0.09431168, -0.22786912, -0.14023057, -0.07235529, 0.03326467, -0.10465756, -0.09263049, -0.10386387, -0.16427693, 0.013285068, -0.058711633, 0.011129011, 0.107626244) * go_1(-1.0, -1.0);
result += mat4(0.026477838, 0.08712371, 0.0106525505, 0.095340036, -0.033396285, -0.08356796, -0.006512677, -0.016520914, -0.11557968, 0.025195913, 0.013604985, -0.05068749, 0.03991739, -0.30245325, -0.30390647, 0.15323944) * go_1(-1.0, 0.0);
result += mat4(0.123073824, 0.08234513, 0.046411622, 0.12904918, -0.07630806, -0.045369815, -0.048796657, 0.059665594, -0.24505447, -0.0051562684, 0.059416622, 0.059635036, -0.21593623, -0.053717196, -0.13353199, 0.0269834) * go_1(-1.0, 1.0);
result += mat4(0.34161064, 0.2998807, 0.15291405, 0.12629528, -0.09681671, 0.0053160326, 0.014049323, 0.038924143, -0.08234762, -0.05640955, -0.06644744, -0.169, 0.10996828, -0.08773881, 0.046290014, -0.20815368) * go_1(0.0, -1.0);
result += mat4(0.09492253, -0.18687363, -0.29793888, 0.08194403, 0.06544232, 0.21565121, -0.11924395, 0.21280313, 0.14904131, 0.010867663, -0.031090708, 0.02972627, 0.05503199, -0.2580428, -0.11424236, -0.18637592) * go_1(0.0, 0.0);
result += mat4(0.12098179, 0.027045874, -0.07356119, 0.120656446, -0.026882645, 0.11918208, -0.075733475, -0.019169822, -0.050393365, -0.22304833, 0.0010975708, 0.17012344, -0.11099007, -0.00014199367, -0.18906291, -0.16121203) * go_1(0.0, 1.0);
result += mat4(0.30686033, 0.16368441, 0.18450093, 0.08483293, -0.1576842, -0.021885727, -0.00790592, 0.08727723, 0.016727412, 0.048148774, 0.03734899, 0.08563833, -0.034121696, -0.021873025, -0.03973087, 0.037528913) * go_1(1.0, -1.0);
result += mat4(0.19380733, 0.011115564, 0.035776794, -0.20635456, -0.031124758, -0.0056327996, -0.050223853, -0.049936183, 0.10508698, 0.22232406, 0.19983801, 0.027960615, 0.15511817, -0.3483113, -0.072132036, 0.2348954) * go_1(1.0, 0.0);
result += mat4(-0.08979386, -0.025793906, -0.12783967, -0.022007767, 0.00082973664, -0.08179508, -0.05162517, -0.13117367, -0.11426664, -0.21943225, -0.08568666, -0.112526596, 0.07754692, -0.09914543, -0.10320428, 0.14581469) * go_1(1.0, 1.0);
result += mat4(0.010238713, -0.05766967, 0.075526096, -0.042434614, -0.0048401575, -0.0018482467, -0.086450554, 0.011457697, -0.16705558, 0.010554879, -0.057052955, 0.06417055, 0.01566093, 0.03897155, 0.027091417, -0.031672284) * go_2(-1.0, -1.0);
result += mat4(0.1342295, 0.12146632, 0.183517, -0.10563802, 0.05472728, 0.053951643, 0.023981905, 0.032106545, -0.061893966, 0.16877505, 0.024926068, 0.1632674, -0.032986403, -0.058130085, 0.05218083, -0.0049105175) * go_2(-1.0, 0.0);
result += mat4(0.060167424, -0.11205342, -0.058815766, -0.025406862, -0.09364195, -0.12034122, 0.019811962, 0.022740806, -0.034774538, 0.09634627, 0.007947957, -0.0969919, -0.054708626, -0.034688447, 0.105931975, -0.051818643) * go_2(-1.0, 1.0);
result += mat4(0.016515028, 0.047139984, 0.14790079, 0.09271807, 0.14395235, 0.049008638, 0.07820809, 0.04071514, 0.020879751, 0.074349314, 0.048903707, 0.08953904, 0.09793068, -0.0134541085, -0.033851102, 0.08052725) * go_2(0.0, -1.0);
result += mat4(-0.06403659, 0.019287083, -0.03442876, 0.022155492, 0.042041622, 0.024868082, -0.0052332664, -0.16024074, -0.2025663, 0.0834284, -0.2938131, -0.13355014, 0.051825467, 0.17795074, 0.013376224, 0.073285446) * go_2(0.0, 0.0);
result += mat4(-0.07917029, -0.10543174, -0.06774603, 0.11356946, 0.095979065, 0.06306864, -0.022703176, -0.1331111, 0.029465768, 0.19977406, -0.183874, -0.048162457, -0.052976456, -0.003203888, -0.083660446, -0.00473143) * go_2(0.0, 1.0);
result += mat4(0.067382015, -0.036516793, 0.008363289, 0.054699454, 0.0080375215, 0.029587539, 0.09327044, -0.10854276, -0.03717116, 0.011462987, -0.012637284, -0.038641863, -0.03825869, -0.07617418, 0.035327263, 0.0015065607) * go_2(1.0, -1.0);
result += mat4(0.032740314, -0.09845175, -0.06052756, -0.017656168, 0.06285339, 0.115741976, 0.0015970734, 0.0700449, 0.097625814, 0.09785281, -0.17113277, 0.08020761, -0.011976542, 0.19887382, -0.057363894, -0.031950586) * go_2(1.0, 0.0);
result += mat4(0.0031021363, -0.01486569, 0.0070566195, 0.018073492, -0.18891771, 0.044012547, -0.02848051, -0.09782509, 0.12274589, 0.16405459, 0.11758562, -0.00014311883, 0.08904015, -0.022371538, -0.11997026, -0.08722815) * go_2(1.0, 1.0);
result += mat4(0.037708748, 0.018481232, -0.059362944, 0.12917332, 0.05757559, 0.011123432, -0.010279293, 0.18221511, 0.06439241, 0.032253057, 0.027954938, 0.21676691, -0.15721409, -0.035180286, -0.047692142, -0.14757462) * go_3(-1.0, -1.0);
result += mat4(0.094092436, 0.106772736, -0.20032993, 0.11527211, -0.100314476, -0.18196538, 0.0953278, 0.053715702, 0.054059852, -0.068477504, -0.033078108, 0.19470179, -0.054266233, 0.06836199, 0.1319061, -0.19235216) * go_3(-1.0, 0.0);
result += mat4(0.19253512, -0.06671434, -0.10030362, 0.03826232, -0.15945454, 0.06443083, 0.05069592, -0.1166751, 0.0876034, -0.06544823, 0.08597868, 0.010253344, -0.08484483, -0.065271884, 0.09926085, -0.07245332) * go_3(-1.0, 1.0);
result += mat4(0.049619086, 0.11480021, 0.0345857, -0.18240574, -0.12314936, -0.07150226, 0.043656696, -0.31322953, -0.055724636, 0.17731838, 0.14377743, -0.04996543, -0.027046258, -0.030811151, -0.08603827, 0.035861466) * go_3(0.0, -1.0);
result += mat4(-0.009710335, -0.11247214, -0.27121308, -0.06013236, -0.15952422, -0.014342976, 0.005739716, -0.1647743, -0.06685163, -0.043611478, 0.059232637, -0.103153855, 0.06619248, 0.20227104, -0.009578111, 0.15078413) * go_3(0.0, 0.0);
result += mat4(0.08605389, 0.01704336, -0.18163979, 0.026820498, 0.076932736, 0.19812599, 0.12272361, 0.045221727, -0.010041947, -0.12065143, -0.14786147, -0.00478973, 0.020153932, -0.102792114, 0.18962413, 0.114438586) * go_3(0.0, 1.0);
result += mat4(0.06509507, -0.051928334, -0.00785648, 0.046848897, -0.16479005, 0.0002998278, 0.0464779, 0.106441386, 0.098450884, 0.007670904, 0.07612072, -0.13558389, -0.13474926, 0.0027454074, 0.033605177, 0.040803477) * go_3(1.0, -1.0);
result += mat4(0.09930992, -0.07931443, -0.071994275, -0.05525855, -0.14075288, 0.055972937, 0.19599722, -0.006209348, -0.06583424, -0.12827037, 0.06232273, -0.20214806, -0.018291697, 0.034347143, -0.008479694, 0.07035163) * go_3(1.0, 0.0);
result += mat4(0.06885754, 0.015833907, 0.05431246, -0.002557479, 0.05089267, 0.038318608, 0.049443834, 0.11044659, 0.035441104, -0.10339014, 0.14916813, 0.059371714, 0.08567587, 0.008457374, 0.0067606587, 0.012970931) * go_3(1.0, 1.0);
result += mat4(0.045902185, 0.10129235, 0.04630228, -0.14913626, -0.10818339, 0.13926516, 0.12281629, -0.072059065, 0.026492024, 0.04104322, 0.09242998, 0.117320806, -0.0048932876, -0.085333414, 0.04616044, -0.12448833) * go_4(-1.0, -1.0);
result += mat4(-0.09841232, -0.076594025, -0.04320989, -0.13853325, -0.01585637, 0.1684027, 0.05445149, -0.072762586, -0.18491578, -0.20705253, -0.05202519, 0.1535378, -0.020633204, -0.05846511, 0.11947115, 0.097812876) * go_4(-1.0, 0.0);
result += mat4(0.022807566, 0.07347284, -0.0103484625, -0.034644965, -0.03545684, -0.012602767, 0.008724363, 0.015305726, 0.04684742, -0.09104756, -0.011386216, -0.21479242, 0.07156649, 0.010785019, 0.13238904, -0.011200245) * go_4(-1.0, 1.0);
result += mat4(-0.023818022, -0.0656973, -0.023539519, -0.05640083, -0.07164025, -0.10051641, -0.08249105, -0.016246844, -0.044434533, -0.020133652, 0.022334592, 0.036623817, 0.21690795, -0.0027633426, 0.019751385, 0.3204924) * go_4(0.0, -1.0);
result += mat4(0.119499706, -0.03199973, -0.07711165, 0.15557942, 0.031092199, 0.12264532, 0.034875948, 0.085104674, 0.065676615, 0.0071313963, -0.19012983, 0.17058182, -0.013617876, 0.16685705, -0.19145168, -0.049577985) * go_4(0.0, 0.0);
result += mat4(0.03736309, 0.012947695, 0.078400776, -0.03681506, -0.13939464, -0.14108521, -0.0492569, 0.07110628, 0.118814364, -0.07941013, 0.2226917, 0.1455531, -0.034910113, -0.016473442, -0.12722506, -0.065038085) * go_4(0.0, 1.0);
result += mat4(0.0116644325, 0.057571866, -0.08022676, -0.05823563, -0.0074519212, -0.10934019, -0.05255267, -0.20793183, 0.057620484, -0.09372508, 0.04208557, 0.007189974, -0.030964136, 0.00979685, -0.05971153, -0.061584) * go_4(1.0, -1.0);
result += mat4(-0.08937661, 0.03160103, -0.027826497, -0.10751375, 0.13023743, 0.29949927, -0.065885276, -0.04102768, -0.06745938, -0.17066544, -0.19525565, -0.044997957, 0.063236594, -0.12742096, -0.0028707385, 0.04146705) * go_4(1.0, 0.0);
result += mat4(-0.052421857, 0.10538001, 0.1970712, 0.07593989, 0.022966346, 0.10516174, 0.030174518, 0.010835365, 0.047463644, -0.02476402, 0.03135708, 0.10059339, -0.08882804, -0.09593538, -0.0052387095, 0.07400823) * go_4(1.0, 1.0);
result += mat4(-0.13103916, -0.042097878, -0.031900287, 0.032980174, 0.044408236, 0.017985614, 0.018536413, -0.027685404, 0.20265672, -0.012135818, 0.00679574, -0.034229457, 0.07430049, -0.05179636, -0.06765157, 0.053300425) * go_5(-1.0, -1.0);
result += mat4(-0.07422784, -0.11821867, 0.05030694, 0.08969713, 0.17102082, -0.032630224, -0.17423922, -0.19807258, 0.083329074, -0.011819461, -0.22177805, -0.01592508, 0.026034322, -0.17012936, -0.16266881, -0.05512207) * go_5(-1.0, 0.0);
result += mat4(-0.042716295, 0.009482717, 0.07616772, 0.09877437, 0.18370044, -0.035501633, -0.11382081, 0.1584646, -0.14695294, -0.012491863, 0.055465847, -0.12432882, 0.08791288, -0.05550738, -0.135346, 0.13181816) * go_5(-1.0, 1.0);
result += mat4(0.012421754, -0.09407695, 0.11308986, 0.19505157, 0.09120321, -0.20434178, 0.10159751, 0.090666875, -0.00015377735, -0.0034987864, -0.15915553, -0.16261056, 0.08073029, -0.08937891, -0.10344318, -0.031564213) * go_5(0.0, -1.0);
result += mat4(-0.004493347, -0.4522451, 0.17070189, 0.18417092, -0.004727111, 0.046928473, -0.23462684, 0.063458525, -0.07109156, 0.050718024, -0.10764871, -0.12361206, -0.020232506, -0.20473973, -0.21429922, -0.031195154) * go_5(0.0, 0.0);
result += mat4(-0.06543918, 0.034498077, -0.021013409, 0.12807384, 0.0010062607, -0.14533468, 0.17880528, 0.20724949, -0.039472003, 0.12308172, 0.11282204, 0.06741728, -0.0022228563, -0.23336464, -0.2256891, -0.0135773225) * go_5(0.0, 1.0);
result += mat4(0.053297523, -0.06685852, 0.09689054, 0.06490692, 0.072670005, -0.010300202, 0.055526257, 0.023645576, -0.090883985, -0.11272065, -0.017579652, 0.029201843, 0.22047956, -0.02133663, 0.16724576, -0.12056172) * go_5(1.0, -1.0);
result += mat4(0.0602669, -0.011194491, 0.04821372, 0.18359374, -0.09824533, -0.15806678, -0.21525596, -0.06828616, -0.080283545, -0.101128004, 0.07496933, -0.01887304, 0.073979266, -0.1608985, -0.03205404, 0.017403143) * go_5(1.0, 0.0);
result += mat4(-0.08253474, -0.07662621, -0.15244885, 0.22756171, 0.08423129, -0.08668738, -0.054323256, 0.11607651, -0.08265575, 0.030768815, 0.035593152, 0.017069776, 0.109168805, -0.23222354, 0.07691423, -0.13035889) * go_5(1.0, 1.0);
result += vec4(0.010289917, -0.02647771, 0.035883527, 0.017785);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x88
//!HOOK MAIN
//!BIND conv2d_18_tf
//!BIND conv2d_18_tf1
//!BIND conv2d_18_tf2
//!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_tf_tex(conv2d_18_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
#define g_6 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_18 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_20 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.09549911, 0.37316352, -0.04671274, 0.022156661, -0.099851176, -0.016477318, -0.15647866, 0.3075032, -0.41206098, -0.10546171, 0.040359724, 0.13995685, -0.37928727, -0.017326128, 0.047914587, 0.14423256) * g_0;
result += mat4(0.084515356, 0.006663507, -0.21146557, 0.26029226, -0.25549483, 0.06314179, 0.0009546878, 0.011714899, -0.20285705, -0.09633961, 0.044988878, 0.010919512, 0.11979154, -0.35923663, -0.33764264, 0.24825361) * g_1;
result += mat4(-0.13476388, 0.20931306, 0.06758379, -0.24818432, -0.014518509, -0.19829272, 0.20000297, -0.22848319, -0.07284091, 0.14168872, -0.10349599, -0.038411904, -0.1296637, -0.033355676, -0.019598074, 0.037219126) * g_2;
result += mat4(0.05446092, -0.15814775, -0.051778644, -0.04556046, -0.05707862, 0.05894901, 0.30567068, -0.34205344, 0.07921361, 0.018968029, -0.217382, 0.12733924, 0.16229834, 0.25780123, -0.095756724, -0.068911575) * g_3;
result += mat4(-0.13599817, -0.11680487, 0.07268368, 0.21054786, -0.14810202, 0.12554282, 0.21146035, -0.023012314, 0.14020249, -0.1214641, -0.11742288, 0.062001504, 0.02912684, 0.008054588, 0.020715035, 0.115733996) * g_4;
result += mat4(-0.10301303, -0.20502062, -0.020675663, 0.04069118, 0.27905715, 0.19296066, -0.16847864, -0.085301064, 0.20787837, 0.07654023, -0.05522329, -0.076257445, -0.25044343, -0.43387407, -0.068221375, 0.11907199) * g_5;
result += mat4(0.066475466, -0.17091195, -0.013050041, 0.05297836, 0.37009987, -0.12823582, 0.19216327, 0.16380179, -0.058420453, -0.15365978, -0.14184836, 0.10372518, 0.124301985, 0.019163188, 0.0068595526, -0.14791846) * g_6;
result += mat4(-0.17540008, -0.07897177, 0.031282343, 0.1203962, 0.1185166, -0.03167777, -0.07604457, -0.1384773, -0.4286709, -0.32054543, 0.17831656, 0.104549386, 0.13248782, -0.048322544, 0.23582847, -0.03182922) * g_7;
result += mat4(0.16559057, 0.14952078, -0.153311, -0.14549127, 0.06029146, 0.13079861, -0.20099011, 0.111981146, 0.26113033, 0.16972302, 0.17616469, -0.06314989, 0.28278658, 0.039805803, -0.035618275, 0.029560173) * g_8;
result += mat4(-0.07657932, -0.22380318, 0.2373389, 0.22987534, 0.23404339, 0.019233508, -0.2622599, -0.4245506, -0.050316285, -0.096794784, -0.22926746, 0.19520392, 0.05983981, 0.05918882, -0.023647195, -0.2528051) * g_9;
result += mat4(-0.05170879, 0.036037747, -0.07416669, 0.0359808, -0.31013575, -0.05018038, 0.12777044, 0.00060244696, -0.08604466, 0.44220653, -0.13737565, -0.20205748, 0.26324764, 0.09860818, -0.124673955, 0.20514517) * g_10;
result += mat4(-0.32772323, -0.106489114, 0.26368877, -0.14325057, 0.050906926, 0.34152874, 0.05805066, -0.036700435, -0.013218071, -0.048243362, 0.19560795, -0.18726018, 0.20994471, 0.11561842, -0.02017441, -0.0816956) * g_11;
result += mat4(0.022519596, 0.13739026, 0.24774754, -0.060937256, 0.25772008, 0.28999618, -0.13695791, -0.088689476, 0.028487388, 0.07854702, 0.12198411, 0.016715651, 0.14221917, -0.035250396, -0.025666341, 0.10188678) * g_12;
result += mat4(0.08483084, -0.046606388, 0.05214152, -0.0794586, -0.31594074, -0.18887727, 0.038710102, 0.07454813, 0.104813755, -0.011655456, -0.17008287, -0.17740634, -0.13157463, 0.15785204, 0.19256103, -0.14532489) * g_13;
result += mat4(-0.20306674, 0.1292239, -0.28123298, -0.18613516, 0.24752474, 0.14401013, 0.06234358, 0.31490028, -0.071559936, 0.015407359, -0.009575451, -0.14955868, -0.084203295, -0.12973298, 0.007254705, 0.14774777) * g_14;
result += mat4(0.08610954, -0.11005577, 0.31825662, 0.10915726, 0.021506164, -0.09548129, -0.0313006, 0.10486949, -0.19896136, -0.1046353, 0.026411569, 0.030561283, -0.07856321, -0.053018767, -0.056160312, 0.08518151) * g_15;
result += mat4(0.056912024, -0.113755904, 0.21678402, 0.0047052423, 0.2992955, 0.0425172, 0.18385644, -0.112410665, -0.03510993, 0.05937854, -0.17551777, -0.0066648335, -0.20076093, 0.024946915, 0.15961152, 0.085359626) * g_16;
result += mat4(-0.20451596, 0.15053003, -0.024022756, -0.14673562, 0.20152482, 0.073144756, -0.05883982, 0.09941695, -0.124058485, 0.2529782, 0.18737115, 0.057465617, 0.23198842, -0.03696399, -0.010907207, -0.019168029) * g_17;
result += mat4(0.22507596, -0.031345993, -0.037750687, 0.25322357, 0.16381021, 0.059297476, -0.2563697, -0.002998937, -0.14249223, 0.008298676, 0.09520146, 0.2786267, 0.14549607, 0.067360066, 0.016998664, 0.046272833) * g_18;
result += mat4(-0.13654792, 0.011035229, 0.20823318, -0.0048796176, -0.011389315, -0.25957406, -0.04244137, -0.03109198, 0.02487866, 0.18223195, 0.008499495, -0.25806475, 0.0005713295, 0.09914737, 0.104602136, 0.10642613) * g_19;
result += mat4(0.08935836, -0.046523742, 0.028143274, 0.10530491, -0.2550387, 0.12701567, 0.044246152, 0.20321028, 0.015860397, -0.089859016, 0.24590254, -0.2112368, 0.16364408, 0.029709993, 0.13556595, -0.010670673) * g_20;
result += mat4(-0.09306708, -0.038163673, 0.11326007, 0.04958378, 0.10383473, -0.12534077, 0.038890462, -0.2463075, -0.22917604, -0.20793879, -0.20209685, 0.056477755, -0.030611562, 0.44527152, -0.110011935, -0.27335247) * g_21;
result += vec4(0.030681891, -0.017473118, -0.034582928, 0.0316943);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x88
//!HOOK MAIN
//!BIND conv2d_18_tf
//!BIND conv2d_18_tf1
//!BIND conv2d_18_tf2
//!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_tf_tex(conv2d_18_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
#define g_6 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_18 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_20 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.26941684, 0.036219094, -0.07560285, -0.26895636, 0.044311106, -0.05137545, -0.2322296, -0.03678458, -0.1297458, -0.05439981, 0.20655335, 0.21557501, -0.15205787, 0.17939065, -0.23068883, 0.2923722) * g_0;
result += mat4(-0.18076229, 0.026389921, 0.24002524, 0.13083115, 0.101710886, 0.15513568, 0.11232542, -0.10519931, -0.020665402, 0.17358172, 0.008605432, -0.20540753, -0.16048996, -0.117280565, 0.29549748, 0.09058516) * g_1;
result += mat4(0.25597388, 0.082029305, -0.10319984, -0.22495286, -0.27525312, -0.2427153, -0.04050147, 0.19406061, -0.15651433, 0.1356335, -0.043527655, -0.16124776, -0.036669318, -0.0032990375, -0.085704334, 0.22756006) * g_2;
result += mat4(0.051867485, -0.24008298, -0.17850713, 0.025297651, -0.3650358, -0.2176735, 0.2021243, 0.15193781, 0.19604576, 0.1891993, 0.037731584, -0.052179646, 0.11834566, -0.1379031, -0.2373384, 0.014617894) * g_3;
result += mat4(0.09285297, -0.11562465, -0.12399718, 0.13007185, -0.17964637, 0.014563686, -0.074939504, -0.026646245, -0.07532688, -0.22010872, 0.003612656, 0.10351008, 0.04961115, 0.20100375, -0.22187702, -0.17823507) * g_4;
result += mat4(-0.12011126, 0.09486046, 0.0086389035, -0.10428294, 0.06444772, 0.0023705198, 0.019175975, -0.01996667, -0.12081064, -0.22708468, -0.038654026, 0.27200446, 0.3914547, 0.2632333, 0.40427366, 0.10581144) * g_5;
result += mat4(-0.04486948, 0.015250527, -0.011455859, -0.01188025, 0.20036544, -0.11762138, -0.31135175, 0.124225006, -0.036055125, -0.42933324, -0.08072662, 0.003972841, 0.042441923, -0.12717016, 0.08839082, 0.053717572) * g_6;
result += mat4(0.13684005, -0.05297912, -0.026370518, -0.09088581, -0.094107635, 0.20296267, -0.18902333, -0.26307258, -0.068126924, 0.10832254, -0.066805795, 0.03337222, -0.053696163, 0.18476287, -0.089606225, 0.013725743) * g_7;
result += mat4(-0.043879077, -0.040578876, 0.06594204, -0.020670997, 0.13122465, 0.075165644, -0.010130328, 0.24178858, 0.06730869, 0.113522425, 0.19904599, 0.0073498543, 0.42964056, 0.17178564, 0.084659666, -0.24664184) * g_8;
result += mat4(-0.12285546, -0.1358985, -0.11090004, -0.11844171, 0.09297483, -0.22406663, 0.047864, 0.03641851, 0.0365943, 0.100511536, -0.22012307, -0.016841182, 0.08523964, 0.15804283, -0.05356537, 0.21060708) * g_9;
result += mat4(0.19209427, -0.13248959, -0.07607655, 0.051149122, 0.11642458, 0.099497885, -0.26437026, -0.324092, 0.043865014, -0.05075767, -0.19902268, 0.22255316, -0.017222278, -0.16437344, 0.13457586, -0.0018609265) * g_10;
result += mat4(-0.000601963, 0.020355195, 0.18065485, 0.12808195, -0.117500536, -0.08638299, 0.08601238, 0.14027888, 0.075331904, -0.11529773, -0.1415374, -0.17192268, 0.26774237, 0.32726994, 0.019540906, -0.048459146) * g_11;
result += mat4(0.13638663, -0.24208723, 0.097826414, -0.15800993, -0.042421468, -0.09006148, -0.037229672, 0.14824185, -0.17421173, 0.25361627, 0.019297253, 0.006751278, 0.3832628, -0.2272271, 0.110637285, -0.055976037) * g_12;
result += mat4(-0.004539398, 0.095810585, 0.16587941, 0.07004706, -0.2715203, 0.19236542, 0.34606242, 0.10482813, 0.045676876, -0.00715472, 0.051209465, 0.14672725, -0.12688708, -0.004962278, -0.09647747, 0.032963306) * g_13;
result += mat4(-0.10475787, -0.07177458, 0.08670406, -0.07522681, 0.034563806, 0.09974455, -0.0766157, -0.15083836, -0.18490194, -0.24109948, 0.08864707, -0.06437733, -0.028089454, -0.039389037, -0.10697504, -0.15656655) * g_14;
result += mat4(-0.13425583, 0.081750415, -0.10361864, 0.08273783, -0.111270554, 0.11590486, -0.15661974, 0.05408825, -0.0718009, 0.30851424, 0.02040609, 0.1636755, 0.07446875, -0.17443664, 0.15280458, 0.1481998) * g_15;
result += mat4(-0.284261, 0.05864242, -0.06124804, 0.22360328, 0.21680816, -0.008231985, -0.17734775, -0.001956721, -0.13693857, -0.012719592, 0.045048296, 0.08310407, 0.04783058, -0.17998756, 0.1645331, -0.09859071) * g_16;
result += mat4(0.048696257, -0.13751513, -0.0047537195, -0.14069663, -0.03338046, 0.070993476, 0.10792572, -0.129749, -0.0044776825, -0.2988422, 0.22649752, -0.06848238, -0.029648019, -0.063617565, -0.024357993, -0.113194376) * g_17;
result += mat4(-0.11811312, 0.011456743, -0.2775974, 4.4019973e-05, 0.09702063, -0.19398709, -0.13290964, -0.030809943, -0.0614852, -0.30568314, 0.22979493, 0.019983308, 0.14955766, -0.13779299, 0.20106222, 0.25381064) * g_18;
result += mat4(-0.04759845, 0.2240889, 0.25071913, 0.023906428, -0.084556535, -0.026651192, -0.078656286, 0.10334545, 0.1696217, 0.17458726, -0.053354427, -0.048202634, -0.104181975, -0.16721416, -0.12434673, -0.015573024) * g_19;
result += mat4(0.052810643, -0.110003166, 0.13987248, -0.26855007, -0.077974305, -0.051788885, 0.15868334, -0.25068295, -0.22068459, -0.04198552, -0.024428006, -0.00417208, -0.12136332, 0.1832669, -0.061507918, -0.12375168) * g_20;
result += mat4(-0.024210382, 0.08638061, -0.05814393, 0.061041117, 0.2061646, -0.037258796, -0.0017197772, 0.14881982, 0.18087907, 0.03670567, 0.1891443, -0.16923326, -0.17485145, -0.07395503, -0.058735035, 0.21229668) * g_21;
result += vec4(0.034866143, 0.034214873, -0.0020411036, 0.006542157);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x88
//!HOOK MAIN
//!BIND conv2d_18_tf
//!BIND conv2d_18_tf1
//!BIND conv2d_18_tf2
//!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_tf_tex(conv2d_18_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_18_tf1_tex(conv2d_18_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_18_tf2_tex(conv2d_18_tf2_pos)), 0.0))
#define g_6 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_18 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_20 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.27361542, -0.082130425, 0.20547335, 0.16596498, -0.14146517, 0.18249078, 0.011518224, 0.11089219, -0.07630722, -0.054221917, -0.08349243, -0.028766789, -0.1906754, -0.108578265, 0.16413508, 0.13962057) * g_0;
result += mat4(-0.02704147, -0.05976295, -0.12531951, 0.28034255, -0.17998871, 0.21086335, -0.04899309, -0.06144566, 0.06704049, -0.20967261, -0.03849724, -0.1063394, -0.040219773, -0.278173, 0.17341371, -0.011255667) * g_1;
result += mat4(0.11230826, 0.022198819, -0.07899587, -0.0996965, -0.17873608, 0.13698925, -0.07870312, 0.1263333, 0.06711576, 0.07580918, 0.09481, 0.0825171, 0.11062839, -0.074613, 0.14020012, 0.2198393) * g_2;
result += mat4(0.0028868434, -0.14465499, 0.18715319, 0.04548598, -0.0548704, 0.026883353, 0.08329182, -0.013520626, 0.08103766, 0.15715094, 0.13981456, -0.045514885, 0.112214044, -0.086184554, 0.014993669, 0.025903665) * g_3;
result += mat4(0.12547491, -0.059728432, 0.17963155, -0.10817097, -0.100438006, -0.20602228, -0.15391783, 0.18270193, 0.08778924, -0.01655036, -0.18359496, -0.08576666, 0.109551124, 0.052976392, -0.16009195, 0.16581026) * g_4;
result += mat4(-0.14505734, -0.0042488463, 0.17690867, -0.065921634, 0.23016429, 0.025626905, 0.11722592, -0.23542455, 0.12642547, 0.2802526, -0.09389537, -0.15698028, -0.1603324, -0.06829095, 0.10116497, -0.13783391) * g_5;
result += mat4(0.15477929, -0.30527925, 0.15042041, 0.20866217, 0.13238567, -0.112839095, 0.15069273, -0.03174599, 0.24253696, 0.55339885, 0.033312403, -0.0016563814, 0.10960435, -0.0046957172, -0.24474236, -0.39900017) * g_6;
result += mat4(-0.13976818, 0.15527318, -0.27346796, -0.15548058, 0.06493512, 0.08048214, -0.136374, -0.08525939, 0.27204737, -0.1013713, 0.1346666, 0.045041572, -0.12573871, -0.02424908, -0.14287473, 0.01571419) * g_7;
result += mat4(-0.06758758, -0.20439683, -0.18058217, 0.0014974873, 0.04916309, 0.062314447, -0.2727905, 0.026782978, -0.005523231, 0.27266318, -0.16010733, -0.108470164, -0.15430328, -0.19484589, -0.3256893, -0.076337814) * g_8;
result += mat4(-0.046945795, 0.0489837, -0.37631997, -0.206914, -0.031842437, 0.03959601, 0.054311134, -0.27745926, -0.2616194, 0.015333021, 0.1562857, -0.09994365, 0.1625487, -0.22026569, -0.01425276, 0.11845421) * g_9;
result += mat4(-0.07944464, 0.038867, -0.29721326, -0.08270903, 0.03819214, -0.22673243, -0.019076617, -0.082782984, 0.15610558, 0.15448374, 0.08024717, -0.026800446, -0.2867148, 0.11126167, 0.21778513, 0.0803098) * g_10;
result += mat4(-0.16599156, 0.029314978, 0.06395618, 0.06147069, 0.3273304, -0.15791246, -0.18337882, 0.22403763, 0.0038289267, -0.11374167, 0.019104691, -0.03859104, 0.06862462, 0.08082749, -0.11613864, 0.03697278) * g_11;
result += mat4(0.007748403, 0.08750577, 0.07155799, -0.045760393, 0.055088032, 0.040909674, -0.21044537, -0.006774753, 0.041435767, -0.21444651, 0.11146028, -0.015305192, 0.1736952, 0.08569524, -0.11013171, 0.20451164) * g_12;
result += mat4(0.060957868, -0.030028345, -0.032370888, 0.009256305, 0.085932784, 0.07008612, -0.12535034, 0.02922682, 0.068161115, 0.10938504, 0.14336275, -0.15049717, -0.105244614, -0.06773861, 0.16236088, -0.10205375) * g_13;
result += mat4(0.22060202, 0.12885413, -0.06610741, -0.054895487, 0.27707383, -0.17114922, -0.17298199, -0.14735572, 0.121042944, 0.17805979, 0.24409181, -0.1536033, -0.2114284, 0.18976912, 0.19461404, -0.15320121) * g_14;
result += mat4(0.04362077, 0.067338824, 0.13164803, 0.088066556, -0.055310402, 0.006420305, -0.019129515, 0.104561836, -0.0177281, -0.05549579, -0.05083655, 0.118114345, -0.0325892, 0.14835551, 0.09986534, -0.1493018) * g_15;
result += mat4(0.13353525, -0.018843373, -0.38207877, -0.056904096, 0.0043200236, 0.33000615, -0.08322631, 0.16492364, -0.022802876, 0.011855873, -0.02483137, -0.0648857, 0.02270555, 0.009097881, -0.010122987, 0.12883057) * g_16;
result += mat4(0.12964436, -0.0793745, -0.1326546, -0.06956091, -0.21922931, 0.05091461, -0.27575865, 0.09199549, 0.09375192, 0.047268208, 0.05267489, 0.30156332, 0.14469145, -0.06455131, 0.087691374, 0.046157785) * g_17;
result += mat4(-0.21176293, -0.08989047, 0.03180079, 0.06659217, -0.1453242, 0.06772006, 0.017562179, -0.11958127, -0.034170456, 0.21188316, 0.117544524, 0.007319009, -0.09175878, 0.042179152, -0.15155235, 0.0072725313) * g_18;
result += mat4(0.27448505, 0.219317, -0.027090587, -0.110271394, 0.15367448, -0.22380124, -0.18359132, -0.07701026, 0.0387728, -0.20798631, -0.15410027, -0.13094926, 0.11535367, 0.16782966, 0.26729038, 0.06455724) * g_19;
result += mat4(-0.46956277, -0.2555739, -0.06807893, 0.15456976, -0.16843104, -0.18085335, -0.17501417, 0.3328664, 0.13444093, 0.20759131, -0.44945636, -0.28116164, -0.04072912, -0.097071156, 0.24616174, 0.192637) * g_20;
result += mat4(0.055160224, -0.09051332, -0.23766883, -0.029569078, -0.008335112, 0.14387378, 0.25602153, 0.039339148, 0.006418962, -0.1502487, 0.1705312, -0.020727253, 0.087699726, -0.058968496, 0.35786387, -0.30345708) * g_21;
result += vec4(0.01591211, -0.027196284, -0.033567958, 6.241704e-05);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x24
//!HOOK MAIN
//!BIND conv2d_21_tf
//!BIND conv2d_21_tf1
//!BIND conv2d_21_tf2
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_4(x_off, y_off) (max(-(conv2d_21_tf1_texOff(vec2(x_off, y_off))), 0.0))
#define go_5(x_off, y_off) (max(-(conv2d_21_tf2_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
vec4 result = mat4(0.031316917, 0.055358253, -0.059691224, -0.058461506, 0.077250145, -0.07364057, -0.10518189, 0.112195216, 0.03121863, 0.072129, -0.116529875, -0.02127299, -0.0747185, 0.05839623, 0.09422041, -0.021784699) * go_0(-1.0, -1.0);
result += mat4(0.25166854, -0.008625688, -0.04425555, -0.091405906, -0.023770982, 0.016987871, 0.041109882, 0.120431535, 0.18311475, -0.054788496, 0.007988929, -0.016128276, -0.09077874, -0.051521078, -0.004544904, -0.024871618) * go_0(-1.0, 0.0);
result += mat4(-0.13663131, 0.16812679, 0.0006700389, 0.06922647, -0.016814431, -0.08860312, -0.079845324, 0.06357931, -0.0596218, -0.095261894, -0.037728492, 0.11741466, 0.0019240101, 0.027670836, 0.000890017, -0.16907042) * go_0(-1.0, 1.0);
result += mat4(-0.21833417, 0.061925672, -0.18782657, -0.19532952, -0.00912622, 0.14018449, -0.10945325, -0.02950384, -0.16849437, -0.0076949564, 0.100851074, -0.082224175, 0.12784874, -0.17894457, 0.05620182, 0.035290208) * go_0(0.0, -1.0);
result += mat4(-0.05108994, 0.109306075, 0.14979306, 0.16477607, 0.16004218, -0.14184445, -0.30903235, 0.27424207, -0.07285219, -0.16365135, 0.34021953, -0.23102704, 0.11835473, -0.25337514, 0.0052347463, 0.10160299) * go_0(0.0, 0.0);
result += mat4(-0.16926225, -0.013712374, -0.18937722, -0.10156829, -0.009109288, -0.043202236, -0.0327246, 0.107926905, -0.08266265, -0.019426635, 0.060156412, 0.04271223, 0.0038364576, -0.045978215, -0.06626878, -0.04433795) * go_0(0.0, 1.0);
result += mat4(-0.04918198, -0.10372164, -0.0039985343, -0.020138506, 0.10314664, -0.054435257, -0.059677728, -0.020854775, 0.045955054, -0.15811364, 0.0070372946, 0.10885263, 0.051628623, 0.14220117, 0.106984384, -0.06612432) * go_0(1.0, -1.0);
result += mat4(0.13287504, -0.115076, -0.15511775, -0.09540606, 0.15684459, -0.1370648, -0.15184137, -0.0039252765, -0.14576407, 0.093048885, 0.18031888, -0.14460911, -0.15849206, 0.1972077, 0.11407181, -0.018500103) * go_0(1.0, 0.0);
result += mat4(-0.04217163, -0.025539394, 0.06704235, 0.076216355, 0.18605524, -0.1370854, -0.10180904, 0.011179888, -0.09474736, 0.0034552328, 0.04530927, 0.089433156, -0.16656926, 0.13428316, -0.015525457, -0.104443006) * go_0(1.0, 1.0);
result += mat4(0.02413726, 0.04394302, -0.028785303, 0.022377724, -0.123303704, -0.10872632, -0.053274784, -0.083956674, -0.16501826, 0.19426544, -0.11229554, 0.024616906, 0.0653296, -0.13529897, -0.13195585, 0.11819911) * go_1(-1.0, -1.0);
result += mat4(0.040253572, 0.01010995, 0.010347668, -0.28872684, -0.037531905, 0.07847681, 0.12006034, -0.09047226, -0.06932386, -0.06724459, 0.061352998, 0.18294126, -0.10063913, -0.12972213, -0.076570146, 0.23981462) * go_1(-1.0, 0.0);
result += mat4(0.042499546, 0.031286567, 0.026158767, -0.06068849, 0.099651836, -0.09539429, -0.110728405, 0.0760506, -0.010541737, 0.082582936, 0.046757225, -0.103296146, 0.004013901, -0.1014948, -0.1685043, -0.035571042) * go_1(-1.0, 1.0);
result += mat4(0.022223305, -0.061652564, 0.056427244, -0.09028095, -0.16896683, 0.041667704, -0.14397033, -0.08130564, 0.115296, -0.024847167, 0.0058116, 0.15893951, -0.2738465, 0.042260613, -0.117963664, -0.16502824) * go_1(0.0, -1.0);
result += mat4(0.04814996, -0.035689, 0.025145225, 0.10137466, -0.19973788, 0.024747686, -0.15837969, 0.10456767, 0.22748837, -0.1904696, -0.032640085, 0.08598887, 0.094741136, 0.11022798, 0.0002977174, -0.17315625) * go_1(0.0, 0.0);
result += mat4(0.040722214, -0.16523767, 0.029437022, 0.02843903, -0.03970792, 0.16811173, 0.026779372, -0.049595866, -0.09061197, 0.08569013, -0.025070464, -0.09025825, 0.06887124, -0.16063505, 0.016551314, 0.1326577) * go_1(0.0, 1.0);
result += mat4(0.0032056272, -0.059174597, -0.031335425, -0.046658054, 0.09825097, -0.09559033, -0.13008277, 0.046893913, 0.12513055, 0.025147412, 0.21053335, -0.012531429, 0.0062698903, -0.22287934, -0.11374548, -0.025798466) * go_1(1.0, -1.0);
result += mat4(0.12628217, 0.00018834685, 0.079633944, 0.009799097, 0.04411112, -0.14502676, -0.0783995, -0.052239668, -0.029784216, -0.06674819, 0.014998281, -0.019396728, 0.0056628133, 0.09424033, 0.08938559, -0.09192038) * go_1(1.0, 0.0);
result += mat4(-0.08482142, 0.01968406, 0.12547927, 0.0031358562, -0.079086006, -0.1962375, -0.11982329, 0.008725796, 0.04062859, -0.0076902336, -0.070755616, -0.046958208, -0.13330258, 0.019709444, 0.07424033, -0.10704354) * go_1(1.0, 1.0);
result += mat4(-0.0726743, 0.016794393, 0.1326206, 0.0085637225, 0.047887824, 0.22520815, 0.009255687, -0.08072321, 0.078593105, -0.12484226, -0.20670934, 0.24915585, -0.13554399, -0.20776859, 0.055789966, 0.0427338) * go_2(-1.0, -1.0);
result += mat4(-0.1327555, -0.20873688, 0.17099003, 0.14251556, -0.008884553, 0.09596802, -0.047991227, -0.10255803, -0.059658058, 0.08851393, -0.24644794, 0.08961623, -0.20254774, 0.0027665214, 0.014628907, 0.18626846) * go_2(-1.0, 0.0);
result += mat4(0.042417303, 0.123508334, -0.13196877, -0.08144321, -0.089141674, -0.03184074, 0.08510928, -0.08890633, -0.032581408, -0.09855755, -0.20814818, 0.07401967, -0.06562728, -0.1093993, 0.046248462, -0.22533655) * go_2(-1.0, 1.0);
result += mat4(-0.2325245, -0.15549012, -0.049078442, -0.026926108, -0.13648824, 0.030876573, -0.22113933, 0.009498426, 0.15341131, 0.09483785, -0.26695177, 0.13678575, -0.08784451, 0.07720089, 0.14846897, -0.27349517) * go_2(0.0, -1.0);
result += mat4(-0.10061963, 0.036637623, 0.16528973, 0.22039798, -0.11590498, -0.043130502, 0.24396291, -0.022675464, 0.20230116, 0.06387496, 0.16946751, 0.05934715, 0.115272254, -0.014139645, 0.12694168, 0.20699124) * go_2(0.0, 0.0);
result += mat4(-0.025382666, -0.18561147, 0.09778576, -0.06534745, -0.16456783, -0.05287837, -0.07822378, 0.12268287, 0.31948078, 0.09489003, -0.085089676, -0.10850915, 0.01368474, 0.02013271, 0.06625116, -0.087387055) * go_2(0.0, 1.0);
result += mat4(-0.089555725, 0.059100505, 0.005319662, -0.09245959, 0.08520457, 0.052162867, -0.15606946, -0.08597345, 0.11222487, 0.1490915, -0.12664682, -0.024624687, 0.025410015, -0.23502131, 0.05423758, -0.013779449) * go_2(1.0, -1.0);
result += mat4(0.019360267, 0.053673334, 0.09964559, 0.09418452, 0.16046648, 0.18196031, -0.02892911, 0.030112473, 0.2265571, 0.25671738, -0.12887779, 0.071995094, -0.026335748, 0.0055704936, 0.073666155, 0.038696487) * go_2(1.0, 0.0);
result += mat4(-0.21537472, 0.0039957003, 0.11367757, 0.12847088, -0.0316418, -0.031137334, 0.0388792, 0.04074573, 0.0008135187, -0.07565012, 0.007960915, 0.12286165, -0.2160576, 0.1157934, -0.024741393, -0.05249619) * go_2(1.0, 1.0);
result += mat4(0.11482547, -0.06704897, 0.08984799, 0.11604779, 0.007870084, 0.18740594, 0.030316649, 0.05281012, -0.07633286, -0.017784607, -0.06491812, 0.1883724, -0.090130515, 0.076494336, -0.05229608, -0.017145146) * go_3(-1.0, -1.0);
result += mat4(-0.02724162, 0.04343736, -0.14983661, 0.04529306, -0.0530941, 0.3585206, -0.12962782, 0.19270414, -0.12522137, 0.098893546, 0.12003933, -0.26596075, -0.042230368, -0.18507534, 0.028228233, 0.10164971) * go_3(-1.0, 0.0);
result += mat4(-0.008910258, -0.06709946, 0.021396104, -0.063704215, -0.14500582, 0.11283557, -0.03203624, 0.13098063, 0.05550978, 0.11646853, 0.0033793827, 0.043268356, 0.0038723578, -0.036042333, -0.010387592, -0.10592774) * go_3(-1.0, 1.0);
result += mat4(0.17740269, 0.030029152, 0.14428648, -0.008383262, -0.04784034, 0.030878028, -0.08498646, 0.1554172, 0.26086214, -0.15676983, -0.20969455, 0.1663833, 0.26925182, 0.19262621, -0.109978184, -0.025719997) * go_3(0.0, -1.0);
result += mat4(0.052129734, 0.05429712, -0.2612653, -0.0116027435, 0.03902767, 0.06572257, -0.12309975, -0.09354552, -0.030087318, 0.034715295, 0.026238892, -0.114287496, -0.14456746, 0.3077932, 0.08505123, -0.23568068) * go_3(0.0, 0.0);
result += mat4(0.026248954, 0.04342331, 0.06469738, 0.13034233, 0.101745486, -0.101457745, -0.10393351, 0.1897209, -0.082242265, -0.118752226, 0.10310823, 0.09471486, -0.06821482, 0.12854955, -0.024803007, -0.11299552) * go_3(0.0, 1.0);
result += mat4(0.0015938855, -0.036448684, -0.09952072, -0.04816277, -0.0125188865, 0.045270916, -0.05308358, -0.11208837, -0.012225314, 0.14685513, -0.06671965, -0.08157342, -0.005418967, -0.19780649, -0.14013553, -0.017747555) * go_3(1.0, -1.0);
result += mat4(0.021970674, 0.052635167, 0.0065296288, 0.20368727, 0.27736542, 0.06792544, -0.048659563, 0.15651211, -0.006997429, 0.071756855, -0.086019404, -0.16638358, -0.042769007, 0.1964747, -0.12206784, 0.015088922) * go_3(1.0, 0.0);
result += mat4(-0.07219877, 0.16996285, 0.026215157, 0.06458364, 0.1807283, 0.030117897, -0.077016085, 0.27835876, -0.1640463, -0.16446309, 0.075324625, -0.14967552, -0.13331027, 0.09998406, -0.044504005, 0.011792608) * go_3(1.0, 1.0);
result += mat4(0.049299285, -0.15224954, 0.016829029, -0.2107016, -0.046318967, 0.07213664, 0.2330576, 0.07486253, 0.08777096, 0.10943015, 0.028446004, 0.050621547, -0.14293596, -0.038319986, 0.08490357, 0.06641438) * go_4(-1.0, -1.0);
result += mat4(0.13142867, -0.04241908, 0.1822789, -0.07854039, -0.13797145, 0.066803694, 0.02247845, -0.13906519, 0.04984245, -0.18625471, -0.20272128, -0.28476176, -0.058039606, -0.18360521, 0.09687105, 0.018828757) * go_4(-1.0, 0.0);
result += mat4(-0.16784632, -0.06145757, -0.055866536, 0.011348464, 0.13568886, -0.07582401, 0.026461827, 0.11732485, 0.23222442, -0.06859946, 0.07079616, -0.08028384, -0.09886033, 0.16983582, 0.08413449, -0.121099345) * go_4(-1.0, 1.0);
result += mat4(-0.28284705, 0.024767123, 0.20576967, -0.4978678, 0.075958885, -0.10133812, 0.038184177, 0.13781957, 0.18831879, -0.15269713, 0.057505332, -0.13640139, 0.08916083, 0.0699946, -0.060844768, -0.014270356) * go_4(0.0, -1.0);
result += mat4(-0.23525201, 0.18978925, 0.088951595, -0.06914491, 0.1528044, -0.026248025, 0.17158231, -0.13070598, 0.09750263, -0.09294438, 0.051349573, 0.11587769, 0.0155769205, -0.18000023, -0.0003776821, 0.19002606) * go_4(0.0, 0.0);
result += mat4(0.047854267, 0.09143093, 0.052313805, 0.2391469, 0.11455435, 0.12660562, 0.19646555, -0.09760176, 0.19417326, 0.009909135, -0.05288948, -0.17419948, -0.041569944, 0.02919045, 0.15562747, -0.17877397) * go_4(0.0, 1.0);
result += mat4(-0.06796333, 0.12729923, 0.11317857, 0.0015406283, -0.07694605, 0.19436257, 0.1654557, -0.06629621, -0.07756138, 0.011961589, -0.06775192, -0.1626003, 0.11971597, 0.037453942, 0.04487742, 0.0043538823) * go_4(1.0, -1.0);
result += mat4(-0.2932746, -0.1809002, 0.034019336, -0.027657146, 0.123765245, -0.016828476, 0.019045379, 0.057645924, 0.10630708, -0.0501721, -0.023064025, 0.10537342, 0.22191636, -0.17226441, 0.107975595, -0.085091874) * go_4(1.0, 0.0);
result += mat4(0.23682559, -0.1539297, -0.021399427, 0.03696311, -0.016845006, -0.1470282, 0.15760666, -0.08606362, -0.08767031, 0.10511046, -0.0016947712, -0.085582115, 0.25379023, -0.16707833, 0.021698073, 0.084808946) * go_4(1.0, 1.0);
result += mat4(-0.035465956, -0.12231401, 0.0012244973, -0.085085034, -0.11690235, 0.10113623, -0.008192939, -0.03407758, 0.15522347, -0.0066894926, 0.14404987, -0.05126941, 0.22453183, -0.1873154, 0.061736204, -0.20466337) * go_5(-1.0, -1.0);
result += mat4(-0.097998515, -0.043527473, 0.14050394, 0.088333085, 0.048787523, -0.1539165, -0.15570241, 0.043640707, 0.126556, 0.14527045, -0.039885264, 0.06996844, 0.22064541, -0.028108185, -0.03281, -0.16324279) * go_5(-1.0, 0.0);
result += mat4(0.073120564, -0.1891726, 0.07063325, 0.062421504, -0.13767453, -0.13034251, -0.009543011, 0.18065831, 0.10094918, 0.03626179, -0.019968862, -0.06167735, 0.12796699, 0.033228975, -0.04698753, 0.07353928) * go_5(-1.0, 1.0);
result += mat4(-0.11506799, 0.29229516, 0.0052742194, -0.13735871, 0.14876513, -0.119496346, 0.08121958, 0.013827838, 0.11419154, 0.14505816, 0.2398584, 0.0065053343, -0.013405139, 0.16274847, 0.12519057, -0.032919746) * go_5(0.0, -1.0);
result += mat4(0.025276287, -0.26041627, 0.035208203, -0.0063892705, 0.28808814, -0.16364133, 0.029798066, -0.08123619, -0.09107237, -0.075676076, -0.09543362, 0.25521338, -0.15578145, 0.28374904, 0.12906694, -0.20701703) * go_5(0.0, 0.0);
result += mat4(0.0056150462, 0.14710209, 0.15482463, -0.14352167, -0.09956302, 0.23498844, -0.08980836, -0.25655353, 0.10541379, 0.2272969, -0.1983986, -0.03758488, -0.051088374, -0.009599584, -0.024446761, 0.14956763) * go_5(0.0, 1.0);
result += mat4(0.10804217, -0.09008922, -0.056697227, 0.054219972, -0.11262774, -0.04436177, 0.023657754, 0.04683233, -0.053896014, -0.04415657, 0.03503888, 0.01594262, 0.14296247, 0.012207454, -0.007110091, -0.10440715) * go_5(1.0, -1.0);
result += mat4(0.11242054, -0.36215845, -0.067844905, -0.112087294, 0.031834792, -0.02632766, -0.048991356, -0.08337759, -0.18798992, -0.058804397, -0.03797642, 0.03431596, -0.22444338, 0.22153437, 0.03792731, -0.061027475) * go_5(1.0, 0.0);
result += mat4(-0.2296771, -0.03690635, 0.029593892, -0.1316428, -0.0015457191, -0.023119774, -0.087284, 0.0779484, 0.013689198, 0.06545557, -0.08265829, 0.008496508, 0.017779253, -0.089485206, 0.0856277, -0.042287562) * go_5(1.0, 1.0);
result += vec4(-0.020976502, 0.028490033, 0.0031703995, -0.062209535);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x96
//!HOOK MAIN
//!BIND conv2d_21_tf
//!BIND conv2d_21_tf1
//!BIND conv2d_21_tf2
//!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
//!BIND conv2d_22_tf
//!SAVE conv0ups
//!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_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_6 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_18 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_20 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_22 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.084550284, 0.28695974, -0.18845658, 0.036873333, -0.03702915, 0.20106933, -0.013779231, -0.09064196, 0.2650543, -0.23769681, -0.025090849, 0.112004876, 0.02858812, -0.33468688, 0.015218963, -0.009193985) * g_0;
result += mat4(0.019986125, 0.03711447, -0.072495684, -0.18489611, 0.10276208, 0.22991183, 0.024009978, -0.11783073, -0.19585772, 0.13150191, 0.08316458, -0.074719064, 0.10288155, -0.39512005, -0.14987002, 0.0050115753) * g_1;
result += mat4(0.022747586, 0.00711762, -0.19764912, 0.02849651, 0.034982137, -0.15019011, -0.23275712, 0.015071641, -0.12003277, 0.07394686, 0.0016380423, -0.07764185, -0.027983893, -0.11473845, -0.076731786, 0.17937833) * g_2;
result += mat4(-0.13547164, 0.014350364, -0.0680784, 0.015241785, -0.019645115, 0.1367833, 0.018514454, 0.061408024, 0.05381124, 0.008636759, -0.05929157, -0.045654505, 0.29703617, -0.14939637, 0.017480306, 0.03320388) * g_3;
result += mat4(0.16749536, -0.5068873, -0.054959137, 0.5028366, -0.22012903, -0.18610893, 0.03606436, 0.16536428, -0.18980072, -0.035605285, 0.22413859, -0.05201868, 0.032878175, 0.14102045, 0.09135491, 0.028493756) * g_4;
result += mat4(-0.08715977, -0.0069041327, 0.13424577, -0.15170926, -0.12459944, 0.139362, 0.23367397, 0.06992671, 0.10383856, 0.12649116, -0.10238732, 0.022956299, 0.10903374, -0.1060183, 0.0012752792, 0.09608246) * g_5;
result += mat4(0.07170078, 0.097870566, 0.18391322, 0.16910231, -0.1267208, 0.261178, 0.049107287, 0.032856256, 0.04621799, 0.14521311, 0.30777922, 0.07517666, 0.13072045, -0.07817935, -0.0057332893, 0.042636685) * g_6;
result += mat4(-0.14621416, -0.24651968, 0.12061317, -0.05200859, 0.014879963, -0.1331666, -0.21076989, 0.047090866, 0.108966425, -0.1072571, -0.04034989, 0.17689784, -0.30637997, 0.1334576, -0.09599567, -0.16958676) * g_7;
result += mat4(-0.15277179, 0.3040327, 0.33014333, 0.09105886, 0.0946242, 0.06878733, -0.022571186, 0.012422955, -0.014575288, -0.014345794, 0.13639238, -0.2948898, -0.09921163, -0.090119295, 0.43447036, -0.1519424) * g_8;
result += mat4(0.055695374, -0.018237038, -0.03149495, -0.26079783, -0.13239612, 0.08098567, 0.010524064, 0.2580244, 0.019125992, -0.11228541, 0.2497276, -0.1600721, 0.04776844, 0.074449435, -0.2169092, 0.22888823) * g_9;
result += mat4(0.1993489, 0.16312787, 0.17672649, 0.06839388, -0.12656055, 0.2534753, -0.22719325, -0.15975192, 0.18121919, -0.02482891, -0.1758899, -0.06285482, -0.062030714, -0.030519357, 0.08887617, 0.033442013) * g_10;
result += mat4(0.09227225, -0.22740443, -0.011862239, 0.10482141, 0.015177834, 0.15367627, 0.15005216, 0.282921, -0.09772425, 0.10730146, -0.06640197, 0.07101983, 0.14829135, 0.083728194, -0.0743765, -0.09980271) * g_11;
result += mat4(0.085638225, -0.1827499, 0.06827563, 0.019491995, -0.0011983203, 0.022348093, 0.10796647, -0.07942398, 0.13093562, -0.08755021, -0.01282162, -0.12193386, -0.07074474, 0.025357427, 0.09938728, -0.14343725) * g_12;
result += mat4(0.015263603, 0.07848516, 0.06398182, -0.1281127, 0.011302997, -0.1424875, 0.03465649, 0.05781734, -0.019214824, 0.07257173, -0.19007434, -0.013839539, -0.088996276, -0.06987128, -0.14060202, 0.07935333) * g_13;
result += mat4(0.089654885, 0.18821386, -0.10908745, -0.1945955, 0.28777096, -0.27091888, -0.117128626, 0.13311313, -0.15800829, -0.031426586, -0.09576625, -0.045514874, -0.05638241, 0.22475603, 0.19451538, 0.06693039) * g_14;
result += mat4(0.108449794, 0.03863312, 0.09138021, 0.024396805, -0.20986842, 0.09761748, 0.08867459, -0.15282214, -0.08067849, -0.016950522, 0.26711652, 0.085504845, 0.060858846, 0.01342649, 0.075316414, -0.024188342) * g_15;
result += mat4(0.0010497145, -0.1259321, 0.057801772, -0.035549402, -0.11513258, -0.018429652, -0.10117708, 0.11573959, 0.1427766, -0.032213476, -0.01586306, 0.017653462, -0.041694127, 0.1393299, 0.14011054, -0.038647145) * g_16;
result += mat4(-0.22414106, -0.13671458, -0.07397391, -0.09691265, -0.110350996, 0.061211936, 0.19481628, -0.06409933, 0.136633, -0.04669014, 0.058727175, 0.043561198, 0.07559326, -0.0040795025, 0.087900914, -0.020880874) * g_17;
result += mat4(0.02741521, -0.07276462, 0.15752992, 0.061364397, 0.07611034, 0.32745734, -0.16256663, -0.15516974, 0.04587384, -0.10178523, 0.09862578, 0.086561374, 0.2331702, -0.16688296, -0.07780254, 0.079894625) * g_18;
result += mat4(-0.012604072, 0.14701019, -0.1202553, 0.0007438331, 0.09805167, -0.12829433, 0.10536026, 0.044031054, -0.01909643, 0.08925314, -0.029631758, -0.0843997, -0.098011285, 0.2326875, -0.0059059164, 0.054862864) * g_19;
result += mat4(-0.26984945, 0.21170485, 0.016418483, 0.05436341, -0.13604105, -0.015747178, 0.21282208, -0.084069654, -0.1519696, 0.07782159, -0.0767402, 0.049681228, -0.17597915, -0.033314597, 0.19277339, -0.15969992) * g_20;
result += mat4(0.011572451, -0.040921126, 0.06736629, -0.05296152, 0.0750723, 0.15619396, -0.33569458, -0.045480207, 0.052975655, -0.019853046, -0.1586733, -0.0971954, 0.12981664, -0.23612434, -0.065897234, 0.09027556) * g_21;
result += mat4(0.2591393, -0.21753159, 0.012262199, 0.17810525, 0.0437195, 0.13112774, -0.27936146, 0.16000053, 0.16150814, 0.0060378034, 0.011343986, 0.0711386, 0.10716892, -0.018265475, 0.117098734, -0.042729706) * g_22;
result += mat4(-0.12928756, 0.13401757, -0.28467083, -0.09971548, -0.02296809, -0.124093436, 0.17238498, -0.07679452, 0.020145075, -0.1027165, -0.100577906, -0.022585977, -0.14362176, -0.3100744, -0.030349141, 0.08573548) * g_23;
result += vec4(0.04458631, 0.05340509, 0.02098219, -0.060097195);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x96
//!HOOK MAIN
//!BIND conv2d_21_tf
//!BIND conv2d_21_tf1
//!BIND conv2d_21_tf2
//!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
//!BIND conv2d_22_tf
//!SAVE conv0ups1
//!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_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_6 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_18 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_20 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_22 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.19633518, 0.06885309, -0.20043527, 0.035509795, -0.10401743, -0.21588884, -0.102477305, 0.011876971, -0.056948267, 0.25264382, -0.15101993, -0.15266001, 0.010933664, 0.09011232, 0.09345315, 0.006623116) * g_0;
result += mat4(0.27567336, 0.032350313, -0.19810209, -0.21658543, -0.0659062, -0.3352386, 0.07164577, -0.012328946, -0.17325617, -0.10731732, -0.0677151, -0.09058453, -0.044920623, 0.13278453, 0.218302, 0.06825565) * g_1;
result += mat4(0.028230175, 0.0018616526, -0.21906042, -0.07338764, -0.023010844, -0.014972394, -0.020508962, 0.058636636, 0.12617883, -0.19870517, 0.11696488, 0.065536946, -0.03026256, 0.023291413, 0.14201568, 0.06143288) * g_2;
result += mat4(0.025846066, -0.090636976, -0.07404494, -0.090020634, 0.008514354, 0.109184064, 0.05742023, 0.12586315, 0.083378665, -0.13951068, 0.045261055, 0.345901, 0.02675545, 0.095778815, 0.076500334, 0.14780305) * g_3;
result += mat4(0.00470463, 0.018870084, -0.32943425, 0.16893233, 0.019939557, 0.21623498, -0.18504573, 0.10291846, 0.091479525, -0.16171393, -0.07914371, -0.12615843, 0.06589903, 0.15675966, -0.10883045, 0.02186343) * g_4;
result += mat4(0.20796785, 0.009986704, 0.057757147, 0.030481182, -0.0036845834, -0.11120154, 0.15609682, -0.038438197, 0.12596935, -0.06617715, -0.109660454, -0.07545557, 0.046646334, 0.08662475, -0.14833032, -0.13950638) * g_5;
result += mat4(-0.060464397, -0.012758383, 0.02772358, -0.11097607, 0.046997264, -0.124745354, -0.24724343, -0.23114161, -0.09586756, -0.04930659, 0.2014008, 0.31652108, 0.074047916, -0.11001771, 0.019132676, 0.08412601) * g_6;
result += mat4(0.050371062, 0.08204854, 0.039742008, 0.076570585, 0.05938661, -0.06386326, 0.09085278, 0.076653615, -0.07528917, 0.09379596, 0.021202901, 0.0059685786, 0.34758928, -0.26862696, -0.124089494, -0.13643466) * g_7;
result += mat4(0.32158887, -0.34527287, 0.25377008, -0.13895594, 0.0054988973, -0.24181193, -0.40868145, -0.0022963625, -0.06266895, 0.0030860363, -0.020924645, -0.18905482, 0.141399, 0.008508758, 0.115678936, -0.43306655) * g_8;
result += mat4(0.057700455, 0.17643234, -0.09683699, 0.0057190154, 0.07252213, 0.15004468, 0.37618238, 0.13903357, 0.218705, -0.060630042, 0.11694831, -0.00048630088, -0.0134587595, 0.076368295, -0.1325984, -0.10201561) * g_9;
result += mat4(0.012976455, -0.29424316, -0.14308581, 0.049230546, -0.07200477, -0.13733308, 0.25564528, 0.08696407, 0.14173195, -0.4262995, 0.20581593, 0.22764574, -0.23969811, -0.021570327, 0.07481749, 0.1941362) * g_10;
result += mat4(-0.17857735, 0.112538725, 0.19362856, -0.06760973, 0.06499711, -0.005863579, -0.30760095, 0.05362555, -0.08302696, 0.021682503, -0.09627604, -0.00945931, -0.07492733, -0.02935675, -0.10610068, -0.09772539) * g_11;
result += mat4(0.06233666, 0.0509348, 0.006487371, -0.006774608, -0.04553992, 0.03091619, -0.023414508, 0.06836573, 0.072267964, -0.011354451, -0.0025099765, -0.23190095, -0.20676394, -0.061777104, 0.013524417, 0.21478185) * g_12;
result += mat4(-0.008408447, 0.05689985, 0.16880135, 0.11134194, 0.0058967494, 0.28136337, 0.11531701, -0.15612614, 0.13670067, 0.06262395, -0.0943045, -0.0937771, -0.105943695, -0.13124335, -0.13190243, -0.0259559) * g_13;
result += mat4(0.13609879, 0.1420789, -0.0102266455, 0.027917469, 0.18166769, -0.04157506, -0.17849353, -0.10579488, -0.016188206, -0.09247544, 0.115879655, -0.005531635, 0.123433806, -0.0477944, -0.118518375, -0.21525477) * g_14;
result += mat4(0.09320673, 0.024231741, 0.14889163, -0.16015185, -0.051729757, -0.07560833, 0.032730922, 0.01543164, 0.007215127, 0.096069746, -0.13138555, -0.08324462, -0.14087589, -0.13676994, 0.040817242, 0.19880508) * g_15;
result += mat4(0.08556744, 0.11995626, -0.12598105, 0.07094707, -0.030116409, -0.13692346, -0.10617047, 0.1170125, 0.0635618, 0.015630903, 0.033283047, 0.027908718, -0.16022116, 0.05379484, 0.1643671, 0.08461423) * g_16;
result += mat4(0.027346484, -0.04373988, 0.14366151, 0.021193424, -0.020020869, 0.08702033, 0.067230165, -0.13468166, -0.06336041, 0.19826981, 0.09957918, 0.0019007461, 0.11597447, -0.11684592, -0.052715372, 0.009431231) * g_17;
result += mat4(0.1160723, 0.13518505, -0.07323529, -0.102813244, -0.05717617, 0.22344513, -0.09574202, 0.030326243, -0.11634749, -0.09885759, -0.0041502435, -0.114238635, 0.05903762, -0.042631276, 0.07528514, 0.018450156) * g_18;
result += mat4(-0.080062985, 0.12060534, 0.108948626, 0.2663645, 0.015359482, -0.18093999, 0.02191666, -0.019032517, 0.082503706, 0.0037899283, 0.0038726546, 0.06054277, 0.034015723, 0.07618506, -0.025927188, -0.10678223) * g_19;
result += mat4(0.00035550856, -0.20764709, 0.013300498, -0.35849246, 0.12688975, -0.11437089, -0.02337497, -0.21238862, 0.46495908, -0.11521313, 0.049601704, 0.14637932, -0.25788313, -0.17036532, -0.020144291, -0.0016756164) * g_20;
result += mat4(0.14395922, 0.029118493, -0.08014281, 0.094050094, -0.062834464, -0.025796665, 0.15015388, 0.28717938, -0.2570273, 0.10900227, -0.15873776, 0.13343036, 0.2544096, 0.32181814, -0.15404758, -0.22983788) * g_21;
result += mat4(0.048919182, 0.26769882, 0.04733999, -0.016210597, 0.2571225, -0.19034678, -0.16507657, -0.033483442, 0.25795573, 0.09645708, -0.1332106, 0.077412024, -0.030721905, -0.19939502, 0.041621, -0.04823887) * g_22;
result += mat4(0.3016378, -0.26046696, -0.10701948, -0.0042546196, -0.24555147, 0.10042819, 0.11718351, 0.13214561, 0.016662005, 0.15979412, 0.033659726, 0.06328732, 0.08410991, 0.17246136, 0.019442663, -0.08638967) * g_23;
result += vec4(-0.017773768, 0.0060332157, 0.0007953922, -0.012296271);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x96
//!HOOK MAIN
//!BIND conv2d_21_tf
//!BIND conv2d_21_tf1
//!BIND conv2d_21_tf2
//!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
//!BIND conv2d_22_tf
//!SAVE conv0ups2
//!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_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_6 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_18 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_20 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_22 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.29116806, 0.0051992643, -0.06692716, 0.28666902, -0.10336563, -0.19727555, 0.11084616, 0.025079565, 0.20502086, 0.0099646095, 0.009126803, 0.17547005, 0.058746554, 0.30771896, -0.0902547, 0.028172184) * g_0;
result += mat4(-0.28205237, -0.036779154, 0.17233336, -0.13251382, 0.07100408, -0.051303998, 0.012103571, -0.121839024, -0.14955266, -0.011649629, 0.08549354, 0.18840949, -0.022462592, 0.021153163, 0.08049452, -0.15091342) * g_1;
result += mat4(-0.2800372, 0.0042544575, -0.22374953, 0.201632, 0.22182395, 0.3408344, 0.03178537, -0.15618719, 0.0068062274, 0.14605409, 0.09106621, 0.05914199, 0.19480406, 0.044590045, -0.13806386, -0.14847448) * g_2;
result += mat4(0.1505132, -0.027588725, 0.04962834, -0.11202418, 0.00049648335, -0.010397765, -0.08091891, -0.01213487, -0.24162677, -0.08179791, -0.037871603, 0.014869897, 0.21078886, -0.10133107, -0.11659543, 0.017790101) * g_3;
result += mat4(0.41658482, -0.040856514, -0.054670364, -0.24993257, -0.007376621, -0.100203015, -0.19632444, 0.16588823, 0.11921404, 0.13566074, 0.1355261, 0.18513525, -0.03692965, 0.019232113, 0.021070294, -0.09910185) * g_4;
result += mat4(-0.11130964, 0.068555534, -0.022549039, 0.20459346, 0.08735778, -0.2480742, 0.26074892, -0.06515858, -0.15426315, -0.20087741, 0.066354685, 0.16262609, 0.094984494, -0.09765662, 0.17054209, -0.25639787) * g_5;
result += mat4(-0.088716365, -0.15923837, 0.07887449, 0.029613947, -0.07766362, 0.20016782, 0.07279328, 0.1514442, -0.051125146, 0.008917033, 0.15708658, 0.24593906, 0.1713729, 0.22876453, -0.06126321, 0.080008015) * g_6;
result += mat4(0.10178238, 0.17811838, 0.14818382, 0.17277409, 0.120473444, -0.1943933, -0.07498233, -0.11512788, -0.06924987, 0.04548284, -0.008307158, 0.017101327, -0.038810693, -0.12316993, -0.34380746, 0.053759247) * g_7;
result += mat4(-0.046007603, 0.26564816, -0.06891516, 3.1265055e-05, 0.061298724, 0.1925087, -0.15881963, 0.06479692, -0.1409332, 0.12286923, -0.053091913, -0.07207155, -0.11055874, 0.21104714, 0.094566196, 0.23457485) * g_8;
result += mat4(-0.10533191, 0.09174932, -0.19229935, -0.26465586, 0.024089642, -0.353841, 0.032621946, 0.1661062, -0.091028884, 0.026411142, 0.23693994, 0.08054671, 0.13986488, -0.20758727, -0.15448147, -0.03494388) * g_9;
result += mat4(-0.17668007, -0.02661902, 0.270635, 0.06442596, 0.053869188, -0.0075128167, -0.12906162, 0.1310764, -0.05808231, 0.14813021, -0.061848663, 0.16322616, 0.16354714, -0.1766021, 0.034994338, -0.365292) * g_10;
result += mat4(0.2769774, 0.0903162, -0.153144, -0.0714264, -0.15604417, -0.02184839, -0.14195657, -0.0299081, 0.030514874, -0.13219188, 0.07739793, -0.094843924, -0.15415892, 0.08821149, -0.09969291, 0.11553133) * g_11;
result += mat4(-0.024756059, 0.02924473, -0.11059422, -0.23357926, -0.14310671, -0.039102048, -0.14977954, 0.15673035, -0.2435825, -0.05197057, -0.075606585, -0.014227886, -0.15609197, 0.033796865, -0.11727036, 0.21573412) * g_12;
result += mat4(-0.0034791795, -0.015750842, 0.21795836, 0.06755854, 0.21003358, 0.18348697, 0.007344055, 0.007894167, -0.031829726, -0.13820398, -0.024139944, -0.06376093, 0.16212739, -0.14601658, 0.011433787, -0.21962811) * g_13;
result += mat4(-0.19470121, 0.07634093, 0.084294625, -0.1930676, -0.04052925, -0.07640723, 0.048489477, -0.067031436, 0.018694758, -0.051234454, -0.09647271, -0.05313391, -0.033016447, -0.30730128, 0.05531499, 0.24194908) * g_14;
result += mat4(0.11188614, -0.0942737, 0.045266267, 0.02038586, 0.09011196, 0.15573163, -0.066437334, 0.09889085, -0.080061264, 0.037342984, 0.16573298, 0.12220635, -0.026486188, 0.25633007, 0.11129816, -0.2026236) * g_15;
result += mat4(0.04242307, 0.112535976, -0.19269057, -0.23816746, -0.052621387, 0.0633971, -0.19528675, -0.042162407, 0.199502, 0.05493077, -0.088709444, 0.08472976, 0.054185133, 0.06422858, -0.039366808, -0.18133119) * g_16;
result += mat4(-0.0053883283, 0.07370045, 0.17995751, 0.10520973, 0.06260075, -0.124870464, 0.071332276, 0.14470188, -0.038855236, 0.09279109, 0.10985604, -0.12241432, -0.20250633, 0.072249405, 0.06563947, 0.25110915) * g_17;
result += mat4(-0.037988666, -0.02077325, 0.12789832, 0.03384976, -0.014303905, -0.087816834, -0.056331955, -0.1313604, 0.09380784, -0.14247838, 0.10469246, -0.122811496, 0.18130052, 0.04213147, -0.012292052, -0.19898601) * g_18;
result += mat4(-0.12018575, 0.09009986, 0.025285363, -0.115545176, 0.1733185, 0.13020052, -0.057739727, 0.2317158, -0.012717598, -0.045057297, -0.23039842, 0.02120572, -0.047350824, -0.09068979, -0.029076718, 0.019612556) * g_19;
result += mat4(0.13583413, -0.009503754, 0.02945625, 0.13004698, 0.20902146, -0.066765055, -0.016790587, -0.022145504, 0.115125865, 0.062911294, 0.009492768, -0.17444436, -0.06236797, -0.015372606, 0.11708899, -0.012473567) * g_20;
result += mat4(0.03781474, -0.037127525, 0.0018324303, -0.025154835, -0.1573021, -0.094748974, 0.2049456, -0.0011915033, -0.27289516, -0.13360178, -0.19483006, 0.028352307, -0.16590592, -0.24364805, -0.17105217, -0.09763515) * g_21;
result += mat4(-0.085604936, 0.1410735, 0.006653563, 0.1621681, -0.007415839, -0.13190715, 0.0072195483, 0.011567912, -0.23232964, -0.0045645055, -0.4088787, 0.15016212, 0.11169541, -0.024033517, 0.33648142, -0.05467641) * g_22;
result += mat4(0.19473903, -0.41680276, -0.06333307, -0.39555615, 0.12667467, 0.323478, -0.08860081, 0.0018358243, 0.18223375, -0.040291768, -0.12997696, 0.011956389, 0.07855676, -0.04246141, -0.18503502, -0.2871073) * g_23;
result += vec4(-0.0067077694, 0.046750613, -0.02120649, 0.0037727654);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x1x1x96
//!HOOK MAIN
//!BIND conv2d_21_tf
//!BIND conv2d_21_tf1
//!BIND conv2d_21_tf2
//!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
//!BIND conv2d_22_tf
//!SAVE conv0ups3
//!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_tf_tex(conv2d_21_tf_pos)), 0.0))
#define g_4 (max(-(conv2d_21_tf1_tex(conv2d_21_tf1_pos)), 0.0))
#define g_5 (max(-(conv2d_21_tf2_tex(conv2d_21_tf2_pos)), 0.0))
#define g_6 (max((conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_20_tf_tex(conv2d_20_tf_pos)), 0.0))
#define g_8 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_10 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_12 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0))
#define g_14 (max((conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_15 (max(-(conv2d_10_tf_tex(conv2d_10_tf_pos)), 0.0))
#define g_16 (max((conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_17 (max(-(conv2d_13_tf_tex(conv2d_13_tf_pos)), 0.0))
#define g_18 (max((conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_19 (max(-(conv2d_16_tf_tex(conv2d_16_tf_pos)), 0.0))
#define g_20 (max((conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_21 (max(-(conv2d_19_tf_tex(conv2d_19_tf_pos)), 0.0))
#define g_22 (max((conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
#define g_23 (max(-(conv2d_22_tf_tex(conv2d_22_tf_pos)), 0.0))
vec4 hook() {
vec4 result = mat4(0.19771652, 0.054560076, -0.018467195, 0.17260106, -0.04713744, 0.005960446, -0.15811634, 0.12638375, -0.20130037, -0.2361124, 0.15739627, 0.07660247, 0.008880481, 0.09471094, -0.1340188, -0.0603885) * g_0;
result += mat4(0.018275172, 0.02949308, 0.16530277, -0.08129835, -0.017484661, 0.08206879, 0.05372496, 0.027559277, -0.07266388, 0.14723828, -0.019852815, -0.124051854, 0.19641098, -0.19842927, -0.02707376, 0.18565983) * g_1;
result += mat4(0.0152915055, -0.025145184, -0.14171547, 0.11287294, 0.03981024, -0.283831, 0.08403579, -0.022620574, 0.097417176, -0.015617099, -0.0749846, 0.11501153, 0.07712399, -0.17645292, -0.18069206, 0.30625495) * g_2;
result += mat4(0.11910245, -0.014835673, 0.016234221, -0.17016123, -0.12874368, 0.028920865, 0.0015389418, -0.0396468, 0.058122113, 0.06308889, -0.11089211, 0.07629556, 0.14638005, 0.15483578, -0.009679061, 0.028340086) * g_3;
result += mat4(-0.18488705, -0.09046926, 0.3086096, 0.28608966, 0.07914294, -0.18663022, -0.18758698, -0.010628958, 0.11284831, -0.024477161, -0.34357247, -0.110528395, 0.11260746, -0.16653295, -0.333203, -0.028419986) * g_4;
result += mat4(0.14164338, 0.0116197225, -0.09517204, 0.018433275, -0.11906503, 0.12618221, -0.14154993, 0.11922271, -0.25966203, 0.13593048, -0.12451744, -0.12732752, -0.17531879, -0.059646163, 0.08191489, -0.023034088) * g_5;
result += mat4(0.060834974, -0.17094417, -0.12378968, 0.20129171, 0.10589014, 0.27925324, -0.0760502, -0.19307284, 0.1918753, 0.06295021, -0.117325544, -0.032219686, 0.08970859, 0.10133687, 0.07045942, -0.043928903) * g_6;
result += mat4(0.06141528, -0.1155439, 0.07150852, -0.017323446, 0.14442965, -0.16464208, 0.053869866, -0.0066738073, -0.26015645, 0.25578022, -0.12132279, 0.15647876, 0.0766546, -0.08933414, 0.09379291, 0.06804614) * g_7;
result += mat4(0.14762619, 0.052262735, 0.06740719, -0.029300386, -0.19549088, -0.21684435, -0.085099526, -0.055771094, 0.010171737, -0.14868538, 0.115141615, -0.051683053, -0.044367358, -0.18520084, -0.06393748, 0.0010731925) * g_8;
result += mat4(-0.14650695, 0.08601589, 0.12697595, 0.13276917, 0.108520165, 0.1912617, 0.019971784, 0.14559254, -0.028546251, 0.08042131, -0.09087924, -0.02770981, 0.15391286, 0.05714011, 0.04471975, 0.037705023) * g_9;
result += mat4(-0.12902713, 0.28093, -0.29668728, -0.09586236, 0.11485171, -0.06694571, 0.16276729, -0.2492834, 0.022340612, 0.09901862, -0.172989, 0.16625328, -0.10677142, -0.19990413, 0.16999872, 0.31516576) * g_10;
result += mat4(0.05200403, -0.17484799, -0.09285037, 0.22709143, 0.14310056, 0.20167555, 0.07357741, 0.04894263, -0.18580721, 0.0037048862, 0.07984998, 0.109460205, -0.1658866, 0.0067397184, 0.10205478, -0.30009425) * g_11;
result += mat4(0.01906955, -0.01307976, -0.054768458, 0.10404966, 0.023302928, 0.1506304, -0.24312226, 0.09407256, 0.14547575, -0.09326737, 0.05963468, -0.17096291, -0.03973353, -0.012859634, -0.011132303, -0.23727575) * g_12;
result += mat4(0.018458707, -0.08093601, -0.084748484, -0.032792903, 0.023445344, 0.0038735385, -0.047041256, 0.031227939, 0.016863292, 0.022734966, 0.000798652, 0.20134626, 0.10911789, -0.2571384, 0.12569575, 0.12899989) * g_13;
result += mat4(-0.02005358, -0.13560984, 0.16960412, 0.07813574, 0.14358784, 0.114273846, -0.06344754, -0.022004206, 0.048542615, -0.21317734, 0.06406535, -0.116627425, -0.016013943, -0.080993414, 0.15286861, -0.0021789172) * g_14;
result += mat4(-0.051536534, 0.085252315, -0.12893482, 0.19260244, -0.087101154, -0.08621803, -0.0064267796, -0.013781654, -0.0952192, 0.11305202, -0.23815015, -0.033821765, -0.059584074, 0.1069189, -0.21070237, -0.034997597) * g_15;
result += mat4(0.08561619, 0.0930155, 0.33753118, -0.031700823, 0.09551905, 0.080744945, 0.011288477, 0.061302166, 0.056226872, -0.10404533, -0.055435713, 0.004116961, -0.14561117, 0.17033315, 0.12503803, -0.07372825) * g_16;
result += mat4(-0.09182204, -0.09104942, 0.041599516, 0.16590819, 0.00983582, 0.10518859, -0.113934346, -0.104463175, -0.00079954404, 0.034999546, 0.13909996, 0.0493524, 0.19881092, -0.096706204, 0.14631568, -0.008105569) * g_17;
result += mat4(-0.00929841, 0.03932664, -0.054535374, 0.07319642, -0.09397188, 0.078899324, 0.1951339, -0.07413376, -0.0461229, -0.09307032, -0.039535936, 0.1277176, -0.1613869, 0.06263851, -0.19089746, 0.07733326) * g_18;
result += mat4(-0.116017684, 0.17785975, -0.08255256, -0.017906634, 0.079656884, 0.1062068, -0.07560774, 0.05632323, 0.06347149, -0.0038651915, 0.18395548, -0.018724794, 0.06897179, -0.017391736, -0.09945868, 0.007462038) * g_19;
result += mat4(0.09895682, 0.0008542192, 0.040768873, 0.0739274, 0.04401002, -0.17797345, 0.108511046, -0.1596793, -0.3202953, 0.25767303, 0.114281945, 0.10362787, -0.010467758, -0.040315267, 0.03151773, -0.18630013) * g_20;
result += mat4(-0.16360605, -0.11041179, 0.08405035, 0.11882953, -0.061490558, -0.06537877, -0.039295603, -0.085139036, 0.13128738, 0.093954295, 0.17564337, 0.0050902218, 0.057772268, 0.03324601, 0.02978617, 0.045452252) * g_21;
result += mat4(0.009214316, 0.2615397, -0.32527506, 0.0049241674, -0.12779853, -0.009896386, -0.063335165, 0.014920392, -0.012698124, 0.053253584, 0.21158943, 0.047342606, -0.0747987, 0.018429412, -0.09028407, -0.0753332) * g_22;
result += mat4(-0.21073934, -0.39829832, 0.5173677, -0.016563633, 0.17195706, 0.13737291, 0.0993746, -0.019057626, -0.09700681, -0.05018698, 0.017614022, 0.22466557, -0.08776291, -0.41851798, 0.063330576, 0.15770285) * g_23;
result += vec4(-0.00083234225, 0.029220644, -0.021711512, -0.010490012);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv0ups
//!BIND conv0ups1
//!BIND conv0ups2
//!BIND conv0ups3
//!SAVE conv1ups
//!WIDTH conv0ups.w 3 *
//!HEIGHT conv0ups.h 3 *
//!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.6666666666666666)), 0.0))
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_4(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_5(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_6(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_7(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
vec4 hook() {
vec4 result = mat4(0.013302941, -0.012109221, -0.06313667, 0.09708466, -0.061930988, -0.17332557, -0.044160333, -0.045447584, 0.04980775, -0.0770489, -0.019508807, 0.05925226, 0.023843545, -0.009858849, 0.12557454, 0.061080087) * go_0(-1.0, -1.0);
result += mat4(-0.049381237, -0.04050252, 0.007745774, 0.018472156, 0.064121254, 0.10730991, -0.026749168, -0.20549676, 0.02111079, -0.04714038, 0.061985523, 0.059314404, 0.056193776, 0.05460613, -0.05048156, -0.037642002) * go_0(-1.0, 0.0);
result += mat4(-0.05243881, -0.11460298, 0.06347575, 0.034983244, -0.07240566, 0.0077540586, 0.062388044, 0.061501957, -0.02154012, -0.31468394, -0.2113008, -0.026369544, 0.022035569, 0.06545593, 0.045535706, -0.051696356) * go_0(-1.0, 1.0);
result += mat4(0.03909915, 0.04560666, -0.060659245, 0.009675541, 0.02234295, -0.16511336, 0.019792031, -0.072006695, -0.05174611, -0.08620188, 0.006188406, -0.1319623, -0.0060644588, -0.02393468, 0.112303495, 0.020241998) * go_0(0.0, -1.0);
result += mat4(0.07232408, 0.040370155, -0.082784384, -0.017102133, -0.12151326, 0.10356652, -0.08922711, 0.3347708, 0.03863442, 0.0055784183, -0.042502668, -0.08173994, -0.12469258, -0.13697472, 0.16401985, 0.23741859) * go_0(0.0, 0.0);
result += mat4(-0.07384484, -0.15330909, 0.02873694, 0.098877445, -0.08014638, -0.3273885, 0.031516522, -0.12096309, 0.036241468, -0.1335509, -0.011663839, 0.09570681, 0.08264948, -0.06310915, -0.092751674, -0.015709676) * go_0(0.0, 1.0);
result += mat4(0.006247492, 0.00461466, -0.008895174, 0.0060241744, -0.061306674, -0.14361435, -0.011478359, -0.03232262, 0.08014461, -0.005829564, -0.044880565, 0.08709057, -0.04303573, -0.10923612, 0.12544714, 0.020221673) * go_0(1.0, -1.0);
result += mat4(-0.12337789, -0.010765891, -0.018776434, -0.0024736745, 0.02569967, -0.14181122, -0.115160815, -0.03887438, -0.030257745, -0.027906833, 0.035361852, 0.018330969, -0.025505567, 0.04050716, 0.024523402, -0.090780504) * go_0(1.0, 0.0);
result += mat4(0.120609745, -0.084908605, -0.034662176, -0.023245517, 0.02722118, -0.089459956, 0.015492279, -0.08203262, 0.002386625, -0.00928232, -0.0571666, -0.008234634, 0.07422278, -0.03094113, -0.0141155105, -0.06636182) * go_0(1.0, 1.0);
result += mat4(0.011082948, -0.058803063, 0.024828104, 0.059398144, -0.007348608, -0.050983507, -0.05401309, -0.020016963, -0.034054358, -0.007618273, 0.13229546, -0.016255377, 0.109534, -0.03596513, -0.028141145, 0.09585966) * go_1(-1.0, -1.0);
result += mat4(0.008277244, -0.09203936, -0.11599702, 0.03232159, 0.070328124, -0.16420361, -0.16313204, -0.054277748, 0.002922495, -0.020103376, 0.17503816, 0.024415495, -0.021941114, -0.19877355, 0.06335682, -0.030403662) * go_1(-1.0, 0.0);
result += mat4(-0.11055535, -0.11391272, -0.056144655, 0.075731516, -0.02628106, 0.16784728, -0.11808693, -0.026273083, -0.043469157, 0.031772617, 0.00937826, 0.14148627, 0.030202564, 0.1280365, -0.010620431, -0.02047345) * go_1(-1.0, 1.0);
result += mat4(-0.0104838675, 0.016618986, -0.009782691, 0.06283955, 0.0031849968, -0.17475526, -0.0080999555, 0.05982882, -0.0452169, -0.053171888, -0.14011732, 0.06907014, 0.03619321, -0.041850798, -0.045879535, 0.032479163) * go_1(0.0, -1.0);
result += mat4(0.025500499, 0.027577246, 0.025213921, -0.008017244, 0.02781052, -0.013167181, -0.4103526, 0.17850031, 0.16433816, 0.079108596, 0.21011126, -0.20257612, -0.033543546, -0.0678866, 0.013160764, 0.02026467) * go_1(0.0, 0.0);
result += mat4(-0.07155754, 0.0013978203, 0.011611807, -0.09917595, -0.111368425, 0.0033274605, -0.15162435, -0.011835687, -0.09026789, -0.08395621, 0.2153951, 0.08362553, 0.016216682, -0.15161297, 0.021178178, 0.013977836) * go_1(0.0, 1.0);
result += mat4(-0.042056683, 0.045064047, 0.039709255, -0.007281443, -0.0083612, -0.21972413, 0.17280287, -0.040411394, -0.033877213, -0.031675044, 0.15172487, -0.16823475, 0.011251, -0.10751146, -0.03703622, -0.0015994076) * go_1(1.0, -1.0);
result += mat4(-0.10160262, -0.085398495, 0.030651808, 0.0383625, 0.090408884, 0.0559912, -0.09584017, 0.021680398, 0.0020458086, -0.04230424, -0.045559246, -0.05657164, -0.021027206, -0.11491259, 0.017873693, 0.07012374) * go_1(1.0, 0.0);
result += mat4(0.06746937, 0.06177675, -0.0069657834, 0.17145541, -0.11660231, -0.09986818, -0.05313927, -0.02293038, 0.067609206, 0.024575058, 0.2045605, -0.02894548, -0.01402746, -0.037871428, -0.026082579, 0.1496422) * go_1(1.0, 1.0);
result += mat4(0.078850545, -0.089004256, 0.03264684, 0.0501401, -0.051582705, 0.13331461, -0.04854971, -0.056578197, -0.22619192, 0.035058744, 0.029899048, -0.007877467, 0.013764741, 0.07651721, -0.018574424, 0.017737282) * go_2(-1.0, -1.0);
result += mat4(0.039094422, -0.004039775, 0.07236476, 0.003665929, -0.10906161, -0.01206319, -0.06806159, 0.03218018, -0.16351025, -0.088042565, 0.06665855, 0.049080636, 0.17470343, 0.10616311, -0.004475735, 0.048703376) * go_2(-1.0, 0.0);
result += mat4(-0.1152178, 0.0014156736, -0.019587241, 0.060342357, -0.043316048, 0.099263184, 0.028288733, 0.039652467, 0.08970648, -0.10041962, -0.03238429, -0.104765356, 0.052427232, 0.17590371, 0.004267056, 0.12794496) * go_2(-1.0, 1.0);
result += mat4(-0.094192885, -0.114988096, -0.1360759, -0.098745346, 0.18817306, -0.0015580812, -0.08784492, 0.03697599, 0.12092391, -0.10114108, 0.14371401, 0.029552504, 0.010409395, -0.01989149, -0.04604743, -0.04340521) * go_2(0.0, -1.0);
result += mat4(-0.12453975, -0.19952826, -0.27039337, 0.2360734, 0.00678138, 0.02095393, 0.100797586, -0.10189031, -0.063709445, 0.17529346, -0.062517226, -0.13606744, -0.084416196, -0.0055361073, -0.05210923, 0.09984934) * go_2(0.0, 0.0);
result += mat4(-0.12885356, -0.16880307, -0.0001863282, -0.0793993, 0.060133148, -0.19816521, 0.045271244, -0.13431291, 0.16515693, 0.032550003, 0.077373095, -0.03247844, -0.045571126, 0.021893652, -0.09743241, -0.06921362) * go_2(0.0, 1.0);
result += mat4(-0.008643703, -0.046968583, 0.06146367, 0.08677877, 0.019170603, 0.10999073, -0.11692821, 0.04721949, -0.06677058, 0.037462547, -0.016399851, -0.054998178, 0.0010376096, -0.012338041, -0.12463497, -0.035169076) * go_2(1.0, -1.0);
result += mat4(-0.04090923, -0.14220549, 0.020020986, 0.056473326, 0.042374853, -0.006250005, -0.13552494, 0.13658978, 0.03867219, -0.22706173, -0.059060037, 0.058993474, -0.009761021, 0.0649011, 0.021675201, -0.07276663) * go_2(1.0, 0.0);
result += mat4(-0.09555326, -0.025236163, -0.023861893, 0.033659693, 0.06791347, 0.0038955666, -0.0035532173, 0.053630196, -0.041177604, 0.07108558, 0.02016919, -0.021497505, 0.029573523, -0.09735415, -0.0048350454, 0.15181093) * go_2(1.0, 1.0);
result += mat4(0.045933276, -0.13515158, 0.009228187, -0.023743628, 0.06935336, -0.09187734, 0.09560265, 0.018566938, 0.0056412164, 0.078544505, -0.0434581, 0.050385367, 0.03622581, -0.03934777, -0.0720889, 0.029343527) * go_3(-1.0, -1.0);
result += mat4(-0.016562965, -0.12820166, 0.187874, 0.052941903, -0.06391782, -0.05377054, -0.03781532, 0.097536914, -0.037013177, 0.01989198, -0.11597446, 0.049370047, -0.054080885, -0.028636862, 0.11394634, -0.023754608) * go_3(-1.0, 0.0);
result += mat4(-0.03802489, -0.12530291, 0.06871729, 0.06918327, -0.019695487, -0.023304746, 0.060946856, -0.0049567944, 0.106213786, 0.058396086, 0.05231142, -0.0024309857, 0.12408028, 0.070039384, 0.035425793, 0.03330205) * go_3(-1.0, 1.0);
result += mat4(0.043777816, -0.10805039, 0.078217655, -0.030811466, -0.03608898, -0.2795718, 0.012454856, 0.07049292, -0.025119923, -0.19395687, -0.04589363, 0.13516338, 0.030751783, -0.009450481, 0.048920903, -0.00737198) * go_3(0.0, -1.0);
result += mat4(-0.014000674, -0.04759161, 0.12826595, -0.0017642565, 0.098676436, -0.09442378, -0.01646663, -0.1617878, 0.00297917, 0.08397787, -0.13660042, 0.005527846, -0.049080744, -0.0055450965, -0.0064818114, 0.2587199) * go_3(0.0, 0.0);
result += mat4(-0.16226773, -0.043329936, 0.083710335, -0.15756485, -0.066259176, -0.060702555, -0.027182754, -0.029777676, 0.01748842, -0.026523704, 0.06930076, -0.023998197, 0.1211762, -0.13004777, -0.011516853, -0.13729261) * go_3(0.0, 1.0);
result += mat4(-0.040247727, -0.07228051, -0.10298301, 0.040875547, -0.065911025, 0.078728564, 0.091330856, 0.03677556, -0.02498122, 0.06769627, 0.07218384, 0.0014566458, -0.0061442303, 0.0086917095, -0.03522804, -0.048330314) * go_3(1.0, -1.0);
result += mat4(-0.085488304, 0.045127705, 0.056196738, -0.008514246, 0.03025027, -0.06269085, 0.05313679, 0.0559912, 0.10766719, -0.03209936, -0.16946507, 0.29393998, -0.031926937, -0.07863495, -0.030471357, 0.055307366) * go_3(1.0, 0.0);
result += mat4(-0.012295731, -0.06375684, -0.03832078, -0.094785616, -0.04646916, -0.015403718, -0.026596554, 0.021867264, -0.0046984944, -0.13694204, 0.02145514, 0.03470416, 0.008190091, -0.10182426, -0.03259911, 0.1075029) * go_3(1.0, 1.0);
result += mat4(-0.0650494, -0.18079701, -0.14010891, -0.004066129, -0.05072928, 0.0018696968, 0.03767962, -0.07010998, -0.018155852, -0.029851597, 0.008525998, 0.059236698, 0.060635366, -0.13664672, -0.054963786, 0.073119365) * go_4(-1.0, -1.0);
result += mat4(-0.051663123, -0.09044231, -0.03534349, -0.15994835, 0.024488913, 0.0584757, 0.09839963, -0.07536733, 0.0044920277, -0.10165498, 0.03752505, 0.029572235, -0.0023792398, 0.06688532, 0.043044716, -0.01899362) * go_4(-1.0, 0.0);
result += mat4(0.07849525, -0.119271405, -0.042811632, -0.041626964, 0.07545159, 0.09997577, 0.038823277, 0.016443461, -0.0266621, 0.010088829, 0.07879706, -0.038422294, -0.02001026, 0.026069399, 0.031395063, -0.05815041) * go_4(-1.0, 1.0);
result += mat4(-0.10023367, -0.15057774, 0.11619864, 0.04397611, 0.05037631, -0.031356625, 0.03666611, -0.02845634, -0.01911539, 0.11408594, 0.0028843323, 0.00953394, -0.055057246, -0.025956526, -0.061221384, -0.017955333) * go_4(0.0, -1.0);
result += mat4(0.26597527, -0.058314674, -0.0962066, 0.0329729, 0.07357752, 0.03271384, -0.21533425, 0.003768839, -0.057712875, 0.07121388, 0.013715649, -0.0831189, -0.0714431, 0.15299971, 0.064914055, 0.015535985) * go_4(0.0, 0.0);
result += mat4(-0.04039884, 0.037581284, -0.05443885, 0.08152066, -0.12128733, -0.008086967, -0.014204756, -0.11120005, 0.041684013, 0.03309785, -0.034556545, -0.06864393, -0.0022722657, -0.028678812, -0.08264872, 0.0701991) * go_4(0.0, 1.0);
result += mat4(-0.10624094, -0.19902161, -0.0005582792, -0.067009926, -0.018467264, -0.02690888, -0.0667423, -0.10409132, -0.077332675, -0.011604726, 0.009276279, -0.08974004, 0.118050486, 0.021480683, -0.08997368, 0.07959985) * go_4(1.0, -1.0);
result += mat4(0.09592302, -0.034064777, -0.048709914, 0.07789593, -0.007592094, -0.14113013, 0.0022574468, 0.019824523, -0.0081383325, -0.052283287, -0.064616494, 0.058260158, 0.033303212, 0.11416393, -0.008896697, 0.056191042) * go_4(1.0, 0.0);
result += mat4(-0.09941444, 0.17776787, 0.08561235, 0.15629978, 0.029634742, 0.045361564, 0.069890365, 0.0502319, 0.0067809476, 0.002047603, 0.11407937, 0.070114724, -0.05679617, -0.013912256, 0.013542715, 0.009444194) * go_4(1.0, 1.0);
result += mat4(-0.09517508, 0.12489528, -0.09313998, 0.084405266, -0.012441074, -0.022242859, 0.066346034, 0.00423023, 0.07987826, 0.07892257, -0.04575329, 0.19474448, -0.026493892, 0.24483079, -0.06354224, -0.03634207) * go_5(-1.0, -1.0);
result += mat4(-0.20302604, -0.039948568, 0.07857904, 0.11902675, -0.1203945, -0.1137728, 0.11020989, 0.019995924, -0.08365092, 0.011009447, 0.057313416, -0.030036483, -0.09064193, -0.032565292, -0.017696097, -0.011385602) * go_5(-1.0, 0.0);
result += mat4(0.10052054, 0.05342487, 0.009398622, 0.054070834, 0.101007484, -0.006665345, 0.1355569, 0.08262319, 0.031365715, 0.0012569521, -0.15938771, 0.09937696, 0.016955657, 0.1656698, -0.08221579, -0.0028464093) * go_5(-1.0, 1.0);
result += mat4(-0.046993867, -0.0022476215, -0.0197642, -0.10299419, 0.11698557, 0.06490302, -0.10495608, -0.019674003, 0.01826878, -0.014951087, -0.115536615, 0.015294204, 0.07070401, 0.033796053, 0.07290711, 0.057128504) * go_5(0.0, -1.0);
result += mat4(0.14300628, 0.033920567, -0.03373897, -0.11916015, -0.11102183, 0.10348178, -0.062176403, -0.011974135, -0.042116582, -0.05768072, -0.08173329, 0.044289242, 0.07154812, -0.06653242, 0.1222195, -0.027933054) * go_5(0.0, 0.0);
result += mat4(0.011026182, 0.1474295, 0.044019394, -0.03795345, -0.03516014, -0.11315762, 0.1868038, -0.006420206, 0.08232553, 0.07102735, -0.0747307, -0.054918274, -0.14558811, -0.13853562, -0.061922804, -0.00053793436) * go_5(0.0, 1.0);
result += mat4(-0.04198045, -0.013528373, -0.06373842, -0.05723647, -0.003746356, -0.09432193, -0.07273958, 0.008901301, 0.05507108, 0.015500663, -0.030242283, -0.041867077, 0.014223666, 0.09469508, 0.14336528, -0.034044564) * go_5(1.0, -1.0);
result += mat4(-0.0063387724, 0.08452984, -0.264555, 0.033493947, -0.17020273, -0.078654096, -0.15834045, 0.038642615, 0.012779747, -0.12424039, -0.023711318, 0.009101309, 0.00013816432, 0.12049601, 0.009272076, -0.05309427) * go_5(1.0, 0.0);
result += mat4(0.037508354, -0.2442116, 0.021651942, 0.07430792, 0.21032251, -0.06076358, -0.028722458, 0.07380247, 0.050493255, 0.08592788, -0.11068984, 0.049933717, 0.015327649, 0.045943547, 0.1052948, -0.12438453) * go_5(1.0, 1.0);
result += mat4(0.033120137, 0.09498402, -0.0062918505, -0.047866907, 0.054291245, 0.08793476, 0.09881014, 0.057913892, -0.014999754, -0.0022956284, -0.028194167, -0.032369655, -0.062466048, 0.05508422, -0.03297725, -0.0712404) * go_6(-1.0, -1.0);
result += mat4(-0.027029142, 0.006814352, -0.12207318, -0.0837586, 0.045617107, -0.19415045, -0.007876237, -0.09544452, -0.06238176, -0.16177872, 0.020406803, -0.045421902, 0.040982667, 0.22643211, -0.09372224, -0.13222997) * go_6(-1.0, 0.0);
result += mat4(0.042335346, 0.051937085, -0.048556026, -0.080059804, -0.009402667, 0.07920275, -0.10520585, -0.007990247, 0.04183933, 0.003921662, -0.110800825, -0.01207025, -0.06777714, -0.09229314, 0.027066117, 0.005739622) * go_6(-1.0, 1.0);
result += mat4(0.11718687, 0.0014740648, 0.0014242693, 0.032715335, -0.10010754, 0.0032826837, 0.17515422, -0.056723364, -0.0028685564, -0.09708139, 0.048960317, 0.024024323, 0.07038842, -0.07588745, -0.07245765, 0.044466607) * go_6(0.0, -1.0);
result += mat4(0.014662583, -0.12738252, 0.020766586, 0.0048829406, 0.054304354, -0.24371675, 0.0069901417, 0.15611398, 0.08597663, -0.020829398, 0.08081248, 0.020133939, -0.047713336, -0.07476831, -0.19282238, -0.054291427) * go_6(0.0, 0.0);
result += mat4(0.11392736, 0.11086032, 0.042832635, 0.024812821, -0.07461503, 0.059356652, -0.0024148151, 0.056102235, -0.08269376, -0.042141598, -0.016610144, 0.17488524, -0.05575371, 0.016265644, -0.089853615, -0.10817013) * go_6(0.0, 1.0);
result += mat4(0.010313293, -0.080664426, -0.04608331, 0.0012904583, 0.008532067, -0.09848448, 0.10097231, -0.016924951, 0.07665192, -0.027563078, -0.06378092, 0.10343629, -0.036384467, -0.053149298, -0.05503227, -0.033580408) * go_6(1.0, -1.0);
result += mat4(0.0102611305, 0.06236239, 0.038469147, -0.02564957, -0.049344275, -0.11265859, 0.13378103, -0.14377357, -0.00529987, -0.123281956, 0.074118905, 0.07079952, -0.0033021853, -0.15583162, -0.044389617, -0.062361106) * go_6(1.0, 0.0);
result += mat4(-0.004327561, 0.0012946475, 0.07154309, -0.077916645, 0.0007642713, 0.046212055, 0.0002446218, -0.12240067, -0.016727991, -0.023611335, 0.019070385, -0.017550457, -0.014729117, -0.08566113, -0.04489458, -0.12663332) * go_6(1.0, 1.0);
result += mat4(-0.04067448, -0.06376398, 0.020526867, 0.048773874, -0.046569902, 0.06464818, 0.056337003, 0.059694003, 0.065464124, -0.05376251, 0.05192921, -0.06261051, 0.048732128, -0.21190256, 0.15265064, -0.10474625) * go_7(-1.0, -1.0);
result += mat4(-0.0060280073, -0.061969724, -0.13169117, -0.1065949, 0.012384613, -0.03140488, -0.14643228, -0.06445609, 0.03988464, 0.04069182, 0.11866323, -0.19688562, -0.022739897, -0.21755488, -0.26377398, 0.06296565) * go_7(-1.0, 0.0);
result += mat4(-0.038920067, 0.058767352, 0.04357755, -0.056931626, -0.11520747, 0.030253679, 0.0422195, 0.0006937393, 0.0026942384, -0.017490983, -0.04594496, -0.018090999, -0.014340467, -0.053819276, -0.064896226, 0.22955441) * go_7(-1.0, 1.0);
result += mat4(-0.10237155, -0.14842659, -0.10546103, -0.055438522, -0.003674975, 0.022769332, 0.034824487, -0.099618606, -0.037216857, -0.0075835097, -0.07321481, 0.005553139, -0.049160898, -0.35594824, -0.0024691792, -0.0859826) * go_7(0.0, -1.0);
result += mat4(0.09589093, -0.36798313, -0.02544282, 0.09927271, 0.12121946, 0.06693128, -0.29467553, 0.1289274, -0.17023526, 0.1666999, 0.040806666, 0.06447546, 0.01383325, 0.1211838, -0.058053695, -0.11778658) * go_7(0.0, 0.0);
result += mat4(-0.18717405, -0.052822214, -0.16398504, -0.03264915, -0.17919281, -0.11834617, -0.049907073, 0.030273635, -0.004461265, 0.04638514, -0.05242928, 0.037246257, 0.0018656829, -0.033204567, -0.15611818, -0.08455959) * go_7(0.0, 1.0);
result += mat4(0.086630985, -0.057505272, -0.05761554, -0.076787725, 0.06376212, 0.070872895, -0.07744048, -0.1004346, -0.008703667, 0.08795953, 0.057223864, -0.030474983, -0.019109305, -0.26056463, -0.026397053, 0.055543657) * go_7(1.0, -1.0);
result += mat4(0.08602437, -0.16896045, -0.014315812, -0.0025012635, 0.015201334, -0.02628133, 0.1048174, 0.11787258, 0.020329308, -0.09259717, 0.022915883, -0.0073836856, 0.053537913, 0.16166794, 0.06464622, -0.05345328) * go_7(1.0, 0.0);
result += mat4(-0.10102555, -0.061532248, -0.0020540385, 0.07147, 0.0032743628, -0.041727625, 0.040523455, 0.10719813, -0.002222984, -0.022821166, -0.0136224665, -0.045646656, 0.028015751, 0.04479589, 0.09885242, 0.09787546) * go_7(1.0, 1.0);
result += vec4(-0.0060217623, 0.041483153, 0.0048249145, -0.017846024);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv0ups
//!BIND conv0ups1
//!BIND conv0ups2
//!BIND conv0ups3
//!SAVE conv1ups1
//!WIDTH conv0ups.w 3 *
//!HEIGHT conv0ups.h 3 *
//!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.6666666666666666)), 0.0))
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_4(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_5(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_6(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_7(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
vec4 hook() {
vec4 result = mat4(-0.031008404, -0.011465885, 0.028804773, 0.08732154, 0.14858758, -0.06855531, 0.08654593, 0.08536834, -0.0021101234, -0.042634897, 0.028098369, -0.06972104, 0.011399145, -0.0014535368, 0.13077526, 0.07995592) * go_0(-1.0, -1.0);
result += mat4(0.010890346, -0.06969674, 0.0076265433, -0.040633325, -0.12110143, -0.056799456, -0.0205289, 0.08947316, -0.012298458, -0.01051004, 0.039724167, 0.088776864, -0.040965777, 0.045863073, 0.026792718, 0.039780125) * go_0(-1.0, 0.0);
result += mat4(-0.0340985, 0.05213031, -0.002855445, -0.05174458, 0.058242504, -0.15634227, 0.098159306, -0.10653778, 0.0016934654, -0.029484536, -0.040153738, -0.06573923, -0.18439578, -0.1180248, 0.028968213, 0.10975639) * go_0(-1.0, 1.0);
result += mat4(-0.034522086, 0.1852845, -0.04576851, -0.015495429, -0.046609726, 0.102509156, -0.06131082, 0.018652035, 0.117570154, 0.023014406, -0.07642013, 0.0005472012, 0.07815475, 0.112316325, -0.16485958, 0.14599887) * go_0(0.0, -1.0);
result += mat4(-0.016921889, 0.04045604, 0.033173054, -0.072843954, 0.060644727, 0.12849148, 0.09025381, -0.15483984, 0.12790702, -0.09211152, -0.10658567, 0.004824856, 0.134074, -0.20682883, -0.0085312035, -0.045595698) * go_0(0.0, 0.0);
result += mat4(0.013238752, -0.014482704, -0.0109714605, 0.038535867, 0.037316132, -0.05308324, 0.017015684, 0.018103467, 0.005436139, -0.19934523, 0.09792159, 0.018661212, -0.08748789, 0.44144687, -0.0136271035, 0.11021046) * go_0(0.0, 1.0);
result += mat4(-0.0035254008, -0.0065662623, -0.018577693, 0.10395831, 0.028003007, -0.072180696, -0.04154409, 0.047752302, -0.02166001, 0.110732704, -0.16691324, 0.007526681, 0.011662007, -0.06613109, -0.14197223, -0.021485122) * go_0(1.0, -1.0);
result += mat4(0.028545767, 0.024394669, 0.0475819, 0.010204303, 0.0365447, 0.059255905, 0.060434323, -0.001578529, 0.00048043136, -0.010875573, -0.061176434, -0.028864788, -0.011236091, 0.07505333, -0.13191745, -0.07800606) * go_0(1.0, 0.0);
result += mat4(-0.044323623, 0.078716405, -0.010331392, 0.032246176, -0.01249593, -0.08949986, -0.118050285, 0.035310894, -0.10616151, 0.07004332, -0.13434112, 0.0022753936, 0.041931115, 0.010988529, -0.013373345, -0.07067911) * go_0(1.0, 1.0);
result += mat4(-0.14712968, 0.1303748, -0.053401075, -0.023067327, 0.07157392, 0.083951645, 0.06708938, -0.035423923, -0.13326603, -0.07072154, -0.18883637, -0.006823134, -0.17648292, 0.012428894, -0.08602724, 0.018545955) * go_1(-1.0, -1.0);
result += mat4(0.06221596, 0.09295542, -0.045385316, 0.07151344, 0.12789287, -0.012532345, 0.061951842, 0.059415627, 0.12539576, -0.08936331, 0.017873151, 0.12734255, 0.20109344, -0.21870106, -0.084215574, -0.07280641) * go_1(-1.0, 0.0);
result += mat4(-0.06738234, 0.09147441, 0.041747097, -0.11318767, 0.12008906, -0.08196032, 0.2298444, -0.013110108, 0.028941683, 0.12892896, -0.18524298, -0.0054568923, -0.0733691, 0.06493855, -0.026495539, -0.13440488) * go_1(-1.0, 1.0);
result += mat4(-0.07081254, -0.105720386, -0.029545268, 0.02414829, 0.10516828, -0.12950762, -0.088243686, -0.015089033, -0.14964604, -0.04668208, -0.026110154, -0.07517621, 0.024665853, 0.019628176, 0.0060402313, -0.060436286) * go_1(0.0, -1.0);
result += mat4(-0.08785425, 0.22962672, -0.12026621, 0.10627598, -0.3047981, 0.51479566, -0.17230198, 0.2026062, -0.0379354, 0.012929606, -0.22320692, -0.06296055, 0.16262105, 0.1315961, -0.10810794, -0.19850464) * go_1(0.0, 0.0);
result += mat4(-0.009786277, -0.024214577, 0.02804766, 0.014877924, -0.057604343, 0.012398648, 0.083221175, -0.051111076, 0.09313298, -0.19954021, -0.07838303, -0.14760832, -0.15472609, 0.0016322685, 0.014124812, 0.019143919) * go_1(0.0, 1.0);
result += mat4(-0.1327438, 0.034639187, -0.07155029, -0.05428827, -0.0060247434, -0.019542854, -0.08956798, -0.046781395, 0.03547983, -0.045186084, -0.06544417, 0.028352752, 0.081525125, -0.04527624, -0.042973306, 0.0133456215) * go_1(1.0, -1.0);
result += mat4(0.082099594, -0.003517408, -0.10405705, -0.004880443, -0.018541284, -0.08050822, -0.07433882, 0.007555451, 0.18573646, -0.07627161, -0.19172893, 0.031078884, -0.07604259, -0.067458645, -0.040240597, 0.016424658) * go_1(1.0, 0.0);
result += mat4(-0.09285982, 0.03702614, 0.05502789, 0.089517176, 0.14276125, -0.066872776, 0.016766513, 0.0032915426, -0.009963559, 0.009266318, -0.21723224, 0.034167703, -0.06856292, 0.031691033, 0.004908423, 0.07134705) * go_1(1.0, 1.0);
result += mat4(-0.042145792, -0.10246125, -0.18380879, 0.103197545, 0.047554307, 0.025613371, -0.057588324, 0.06244151, -0.23517399, -0.0020249686, -0.13443345, 0.05500381, -0.035253894, 0.011858585, -0.05196646, 0.027936863) * go_2(-1.0, -1.0);
result += mat4(0.04582865, 0.03387131, -0.0066644573, 0.045029428, -0.11422369, -0.056692857, -0.0753103, -0.13071376, -0.08764278, -0.094083555, 0.002910678, -0.052890077, 0.020475945, 0.018347086, -0.073296964, -0.054450788) * go_2(-1.0, 0.0);
result += mat4(0.06461033, -0.073843196, 0.09765554, -0.037457455, 0.0062603327, -0.051824745, -0.07597401, 0.020344062, 0.09807387, -0.12680094, 0.021457015, 0.04032044, 0.026994463, 0.0040843, -0.06258326, -0.07865831) * go_2(-1.0, 1.0);
result += mat4(0.06398405, 0.061654173, -0.0928112, -0.024058253, 0.069616415, -0.04526044, 0.022841258, -0.016704313, 0.047107253, 0.0035107392, 0.07093496, -0.19753708, 0.07726589, -0.0035802037, 0.032700732, -0.10351143) * go_2(0.0, -1.0);
result += mat4(-0.1883097, 0.7686166, -0.17206053, 0.16430104, -0.043986835, 0.053507116, -0.035720207, 0.022487193, 0.0048673707, 0.06604675, -0.19849421, 0.37677363, -0.04760138, 0.058882833, 0.046481196, -0.090708144) * go_2(0.0, 0.0);
result += mat4(-0.08256388, -0.009658597, 0.11603224, 0.08182191, -0.049587876, 0.08696885, -0.021588787, 0.06389069, -0.044780742, -0.11804188, 0.07203591, -0.10631222, -0.12557079, 0.33360577, -0.20704676, 0.2573384) * go_2(0.0, 1.0);
result += mat4(-0.14224637, -0.037939772, -0.031396743, 0.020173592, 0.0012089742, -0.11998399, 0.08884611, -0.015090299, 0.041187376, -0.103968844, -0.013064329, -0.010832061, 0.10114273, -0.047685403, 0.05036981, 0.09274703) * go_2(1.0, -1.0);
result += mat4(-0.08130449, 0.014743827, 0.008584026, -0.07025528, 0.038753156, -0.04853088, 0.010250739, -0.017090026, 0.101440206, -0.008712098, 0.006890931, -0.05716923, -0.045884974, 0.059291344, 0.11988196, -0.054974318) * go_2(1.0, 0.0);
result += mat4(0.04417951, -0.018678278, 0.07733477, 0.0067202407, 0.06177814, -0.13700502, 0.029271573, -0.017253505, 0.0212933, -0.10743522, -0.030371934, -0.053786937, 0.06649077, -0.05904024, -0.045880776, 0.053040594) * go_2(1.0, 1.0);
result += mat4(0.071562596, 0.0599166, -0.11720189, -0.014309535, -0.071373016, -0.016130127, -0.023780769, -0.001997018, -0.047778614, 0.029659528, -0.07897074, 0.050803836, 0.089349575, -0.08217411, -0.024224421, -0.024255265) * go_3(-1.0, -1.0);
result += mat4(0.006486515, -0.0658084, 0.022323247, 0.028965151, -0.012854999, -0.042212423, -0.008945042, 0.023361161, -0.03675071, 0.14935836, -0.22781968, -0.014056356, 0.08634443, 0.05687153, -0.052160293, 0.043717593) * go_3(-1.0, 0.0);
result += mat4(0.034421425, -0.104020424, 0.03797237, -0.03182555, 0.015753355, -0.046845365, 0.12137585, -0.093341276, -0.05402398, -0.079497576, -0.039373532, -0.04817569, 0.00938727, -0.027714383, -0.17566422, 0.02621762) * go_3(-1.0, 1.0);
result += mat4(-0.037846185, -0.053527895, -0.01955246, 0.0072346497, 0.1365148, -0.019329185, -0.12526068, -0.067949176, -0.107519604, 0.25747687, 0.04999606, -0.09500717, 0.18016966, -0.07374666, 0.0367582, -0.02093543) * go_3(0.0, -1.0);
result += mat4(0.046785537, -0.11026977, -0.05605464, -0.06209614, -0.04510055, 0.33856943, -0.18717079, 0.18384393, 0.06757486, 0.047074385, -0.36588484, 0.44135252, 0.06773761, 0.028485816, 0.12253952, -0.22326814) * go_3(0.0, 0.0);
result += mat4(-0.16639298, -0.07726947, -0.2069561, 0.12912624, -0.047143582, -0.11922356, -0.04531498, 0.016899964, -0.087376475, -0.01820976, 0.036773693, -0.015254593, -0.0029660047, 0.086795226, -0.16820423, 0.10935757) * go_3(0.0, 1.0);
result += mat4(0.055851273, 0.023897754, -0.18374673, 0.05872144, -0.072863765, -0.06460372, -0.054022614, 0.025372153, -0.19265196, -0.13349138, -0.027415652, -0.024564927, 0.071687825, -0.0447081, 0.017670501, -0.037018225) * go_3(1.0, -1.0);
result += mat4(-0.034506638, 0.111800216, -0.056136444, 0.009130966, -0.008260899, -0.03986616, -0.008006292, -0.020072196, -0.05764171, 0.21278518, 0.010525654, -0.04605175, -0.0444743, -0.010333986, -0.11199592, 0.11432997) * go_3(1.0, 0.0);
result += mat4(-0.07349431, 0.085572414, -0.014262764, 0.03399024, -0.08379838, 0.023632318, -0.0047551957, -0.013593632, -0.05024371, 0.08246164, -0.039576717, 0.031761006, -0.08950343, 0.07214142, 0.04231203, 0.008964006) * go_3(1.0, 1.0);
result += mat4(0.10519713, -0.12181931, -0.044800512, -0.0975902, 0.022226086, -0.07705521, -0.005750007, -0.081744365, 0.09161395, -0.057876665, 0.04768033, -0.0021973122, 0.115828395, 0.117363855, -0.06433652, -0.06858771) * go_4(-1.0, -1.0);
result += mat4(0.10305197, 0.059339043, -0.009076516, 0.15241532, -0.023003059, -0.039116282, 0.007089471, 0.029722707, -0.12735485, 0.18283232, -0.008489334, -0.012340658, 0.012051598, 0.15442379, 0.0063788225, 0.040199857) * go_4(-1.0, 0.0);
result += mat4(0.031345658, -0.03299968, -0.02227589, 0.06350165, -0.094423585, 0.02391686, -0.03692, -0.01623574, 0.009499508, -0.044783738, 0.08103209, 0.13681574, -0.10161464, -0.0049570557, -0.004671283, 0.06324168) * go_4(-1.0, 1.0);
result += mat4(0.06973929, -0.08125205, 0.039238486, 0.008494621, -0.03362637, -0.13971058, -0.08779752, -0.04247522, -0.099697195, -0.10650161, 0.03173315, 0.0675486, -0.12178111, -0.06946877, 0.12116126, -0.12293393) * go_4(0.0, -1.0);
result += mat4(-0.11153587, 0.17274657, 0.25114337, -0.024364363, -0.28806034, 0.5905429, -0.21663332, -0.04236629, -0.06033586, 0.0979595, -0.05407545, -0.006356241, -0.058945447, -0.046933945, -0.0051267073, 0.05030332) * go_4(0.0, 0.0);
result += mat4(0.036083777, -0.12136545, 0.016119994, -0.17773823, -0.10501043, -0.15533139, -0.09568148, 0.095158465, 0.11572994, -0.06980699, -0.09450004, 0.12020959, 0.091611065, 0.047535863, -0.021822795, -0.08473378) * go_4(0.0, 1.0);
result += mat4(-0.006276857, -0.07919089, 0.037926722, -0.06551658, -0.06413601, 0.089460276, 0.055634685, -0.016767453, 0.019613141, -0.041047532, 0.13762267, 0.038212962, -0.039029744, 0.07851155, 0.024156535, -0.031414095) * go_4(1.0, -1.0);
result += mat4(0.01696545, -0.06862619, -0.05076128, 0.056593467, -0.031035822, 0.012779944, -0.10558284, 0.069119655, -0.027278284, -0.045623723, 0.10541084, -0.105388716, -0.0031919298, 0.027849128, -0.020345552, 0.05059751) * go_4(1.0, 0.0);
result += mat4(0.023966562, -0.11092116, -0.15836681, 0.07327251, 0.03193834, -0.10829199, -0.008094687, 0.01985965, 0.013845133, 0.041301657, -0.024273552, -0.01684502, -0.10236365, 0.09499202, 0.077759326, 0.02580412) * go_4(1.0, 1.0);
result += mat4(-0.15272804, 0.03605143, 0.024180673, -0.045909654, -0.02811938, -0.02902313, -0.007802541, -0.0007955463, -0.011438571, 0.027032603, -0.034869343, 0.0362012, 0.13182172, -0.06486951, 0.0481704, -0.02153055) * go_5(-1.0, -1.0);
result += mat4(-0.108471416, -0.18573213, 0.17924283, -0.13284327, -0.078454465, -0.15354046, -0.019610127, 0.02049554, -0.037968334, -0.040843084, 0.07908988, -0.07928059, -0.11305105, -0.016429799, 0.011323485, -0.012159079) * go_5(-1.0, 0.0);
result += mat4(0.04628693, 0.032325752, -0.11833712, -0.08622061, 0.054224003, 0.009549531, -0.15820543, -0.05318651, 0.017258435, 0.019506872, -0.047184687, -0.025512999, -0.014390608, 0.18302508, 0.08423897, 0.105141826) * go_5(-1.0, 1.0);
result += mat4(0.20094486, -0.10344139, -0.0816851, 0.03548702, 0.10059125, -0.025172016, 0.025312323, 0.035228524, 0.24204572, -0.0020250736, 0.090121426, -0.08913212, -0.05302668, -0.055286966, 0.045870047, 0.054198977) * go_5(0.0, -1.0);
result += mat4(0.028196108, -0.108475365, 0.30534136, -0.060468867, -0.028125746, 0.08913541, -0.16427155, -0.1438726, -0.076729536, 0.12067497, 0.10610023, -0.13761236, -0.14798948, 0.008888801, -0.0709601, 0.18086153) * go_5(0.0, 0.0);
result += mat4(0.032356992, -0.09507882, 0.04416305, 0.1702381, 0.022765236, -0.03384779, -0.18818499, -0.0009667982, -0.08211374, 0.056179576, 0.11203229, 0.032677874, 0.023131043, 0.017385522, 0.038859185, 0.07689254) * go_5(0.0, 1.0);
result += mat4(-0.19946569, 0.10223578, -0.011007075, -0.012054017, -0.04111069, 0.045821026, 0.091568366, -0.010135607, -0.06486816, -0.0150876, -0.0038319398, -0.013001018, 0.06501192, -0.05501628, -0.06579173, 0.0627125) * go_5(1.0, -1.0);
result += mat4(-0.08876346, -0.21195786, 0.10352787, -0.17021365, -0.006207832, 0.0028155188, 0.020609817, 0.11699775, 0.0052554943, 0.023174284, 0.08324736, 0.10552884, -0.10677746, -0.022280341, -0.14452647, -0.16428481) * go_5(1.0, 0.0);
result += mat4(0.06881423, 0.01654907, -0.043833572, -0.12763122, -0.07845995, 0.061439924, -0.04598429, -0.021198804, 0.024270453, -0.1110317, 0.12623245, -0.073741674, 0.009267273, 0.072253376, -0.068827786, -0.04491686) * go_5(1.0, 1.0);
result += mat4(-0.043868385, -0.014294971, 0.061818495, -0.016603304, -0.12991363, -0.077007964, -0.01579917, 0.031680174, 0.02590703, -0.044807542, 0.05999355, 0.0062399143, -0.031505365, 0.06474619, -0.03626056, 0.048004076) * go_6(-1.0, -1.0);
result += mat4(0.038369924, -0.03947042, -0.016183259, -0.11240926, 0.0008569211, 0.062523685, 0.022099469, -0.027852431, 0.010759101, 0.061643828, 0.14736107, -0.012628838, -0.042291123, -0.028651314, -0.012728941, 0.030505417) * go_6(-1.0, 0.0);
result += mat4(0.019744126, 0.03155705, -0.049746685, 0.06542934, 0.02858851, -0.2151479, 0.036535185, 0.043711018, 0.046170764, 0.23783721, 0.040217318, 0.116410784, 0.025489636, 0.15418963, 0.060821977, -0.20146777) * go_6(-1.0, 1.0);
result += mat4(0.040525097, -0.17018317, 0.08478497, 0.101141945, -0.094823174, -0.04014186, -0.20789629, 0.13119611, 0.04872673, 0.038843364, 0.068146, -0.017992882, -0.09282702, -0.08551181, 0.17525405, -0.07220005) * go_6(0.0, -1.0);
result += mat4(0.109676786, -0.12872697, -0.05436481, -0.11297899, -0.3476076, 0.05067064, 0.030256622, -0.30482042, -0.032375194, 0.027036665, 0.01133723, 0.13354962, 0.18458062, 0.26173958, -0.1249422, 0.11495221) * go_6(0.0, 0.0);
result += mat4(-0.009070609, -0.05915893, 0.04994127, -0.033699673, -0.19568527, 0.08026953, -0.0058027157, 5.710049e-05, 0.07458601, 0.059805725, -0.012785105, -0.057371218, -0.021203447, -0.0831785, -0.059901994, 0.021137169) * go_6(0.0, 1.0);
result += mat4(0.13914044, 0.08213803, -0.046812594, -0.051657073, 0.055824798, 0.019892078, -0.13527681, 0.04723963, -0.025625791, 0.12068978, 0.02892825, 0.01725807, -0.040226247, 0.008963409, -0.081254825, 0.030524898) * go_6(1.0, -1.0);
result += mat4(-0.096388586, -0.09470215, -0.031716563, -0.02802906, 0.056972828, -0.11674046, -0.13467172, 0.02885707, 0.0010936497, 0.20470308, -0.04868091, -0.046199847, -0.17659225, 0.0016437034, 0.09892104, -0.045414075) * go_6(1.0, 0.0);
result += mat4(0.102783784, -0.058230758, -0.03910727, 0.008618775, 0.111812234, -0.042372532, -0.1602116, 0.06516997, 0.042304363, -0.047125086, -0.007799068, -0.0026155375, -0.021414453, -0.15102598, 0.08804141, -0.025863212) * go_6(1.0, 1.0);
result += mat4(0.0461152, 0.068066984, 0.054625124, 0.020383677, -0.047841873, 0.0016214666, 0.16666421, -0.019880379, 0.04783381, 0.070898876, -0.003605519, 0.010822775, -0.13464326, -0.044939514, -0.030663107, -0.04876943) * go_7(-1.0, -1.0);
result += mat4(-0.1099557, -0.0035630472, -0.027051058, 0.019699687, -0.03816215, -0.12261269, -0.112815104, 0.021155255, 0.109936185, -0.0036407611, 0.16894779, -0.103013456, -0.10129641, -0.106872186, 0.09342769, 0.09902944) * go_7(-1.0, 0.0);
result += mat4(0.04047511, -0.13067627, 0.025302676, 0.0095386235, 0.045809217, -0.05629087, 0.0057874685, 0.0128096, -0.03240341, 0.19302836, -0.010918225, 0.078637995, 0.06271552, 0.1079944, 0.16571811, 0.044243533) * go_7(-1.0, 1.0);
result += mat4(-0.08516292, -0.13506281, 0.016411733, -0.037751447, 0.08214346, -0.04948113, -0.009616542, 0.018149093, -0.16575205, -0.009300949, 0.0027886638, -0.034679346, -0.0794298, 0.15937836, -0.034461062, 0.08001157) * go_7(0.0, -1.0);
result += mat4(-0.17600851, 0.09873957, 0.08284445, -0.015754513, -0.17487402, 0.53612226, -0.042821396, 0.06933355, 0.11381474, -0.21294361, 0.113365375, -0.013826238, 0.091339335, 0.24697854, -0.018973138, -0.036277413) * go_7(0.0, 0.0);
result += mat4(-0.012352867, 0.10416108, 0.041876342, -0.042264193, -0.0018209369, -0.00015610301, 0.09828008, -0.08931842, 0.09973317, 0.017358495, -0.0067921923, -0.1913181, 0.10408541, -0.14452516, -0.24339683, -0.229857) * go_7(0.0, 1.0);
result += mat4(0.11225237, 0.09031479, -0.029238584, 0.04946851, 0.027025592, 0.06579225, 0.06403362, 0.015332076, -0.035474565, -0.027897194, 0.14082736, 0.016864734, -0.020415042, 0.008544985, 0.1300136, -0.13145682) * go_7(1.0, -1.0);
result += mat4(-0.13369688, 0.044651154, -0.064976804, 0.040835142, 0.15221307, -0.13437937, 0.0407457, -0.035302322, 0.02344516, 0.039198324, 0.060809214, 0.0068535395, 0.097570136, -0.083958484, -0.105391674, 0.037805457) * go_7(1.0, 0.0);
result += mat4(-0.14296855, 0.055651464, -0.035387635, 0.018673616, 0.076377265, -0.084642775, -0.04023962, -0.029588478, 0.019257369, -0.037873138, 0.0959468, 0.009150044, 0.07325122, -0.0314821, -0.15528563, 0.026186097) * go_7(1.0, 1.0);
result += vec4(0.005299386, -0.027750058, -0.023926897, 0.035113588);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-Conv-4x3x3x32
//!HOOK MAIN
//!BIND conv0ups
//!BIND conv0ups1
//!BIND conv0ups2
//!BIND conv0ups3
//!SAVE conv1ups2
//!WIDTH conv0ups.w 3 *
//!HEIGHT conv0ups.h 3 *
//!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.6666666666666666)), 0.0))
#define go_1(x_off, y_off) (max((conv0ups1_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_2(x_off, y_off) (max((conv0ups2_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_3(x_off, y_off) (max((conv0ups3_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_4(x_off, y_off) (max(-(conv0ups_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_5(x_off, y_off) (max(-(conv0ups1_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_6(x_off, y_off) (max(-(conv0ups2_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
#define go_7(x_off, y_off) (max(-(conv0ups3_texOff(vec2(x_off, y_off) * 0.6666666666666666)), 0.0))
vec4 hook() {
vec4 result = mat4(0.010773379, -0.13325028, 0.018346136, -0.1528716, -0.008146797, -0.06865242, 0.026818737, -0.09192424, -0.013648478, -0.0063683107, 0.093234375, 0.023920773, 0.02764375, 0.06564008, -0.01728772, -0.060859874) * go_0(-1.0, -1.0);
result += mat4(-0.12984093, 0.04984877, -0.21090752, 0.11165147, 0.124122895, 0.03448219, -0.09239323, 0.05502295, 0.17123832, -0.11718176, 0.013252649, -0.11461373, -0.056559496, 0.065270536, -0.05776972, -0.15349244) * go_0(-1.0, 0.0);
result += mat4(-0.107380085, -0.0113808615, 0.034637388, -0.048696794, -0.020139214, 0.00511338, 0.07097862, 0.0276873, -0.16981296, 0.047338087, 0.034067165, 0.092465065, 0.05999313, -0.07313168, 0.037693758, -0.0136288805) * go_0(-1.0, 1.0);
result += mat4(0.06796589, 0.14916262, -0.014025722, 0.066943124, 0.07855196, -0.08027092, -0.028968493, -0.010354844, 0.010685491, 0.04052424, 0.01975656, 0.03735782, -0.050862215, -0.05990837, -0.06510049, -0.2621827) * go_0(0.0, -1.0);
result += mat4(-0.037818376, 0.019700428, -0.002068841, 0.109060474, -0.10419003, -0.05105347, -0.048809715, -0.08464524, 0.034123164, 0.08841003, 0.07322615, -0.15412502, -0.28987047, 0.09626004, -0.0020555016, -0.015246429) * go_0(0.0, 0.0);
result += mat4(-0.10053273, 0.025809454, -0.041451488, -0.0069105863, 0.040212274, -0.04725307, -0.019760838, 0.010779229, -0.23969308, 0.023900993, 0.109835714, 0.10725643, -0.0040658796, -0.03961479, 0.02375363, -0.033095315) * go_0(0.0, 1.0);
result += mat4(0.007179336, -0.082703255, -0.1074364, -0.055340555, -0.029045733, -0.017448, -0.18798883, -0.0032630584, -0.010201595, -0.0048396504, 0.077003516, 0.065719225, 0.12778524, -0.06626283, -0.017082622, -0.0078512095) * go_0(1.0, -1.0);
result += mat4(-0.014353138, -0.006521591, -0.06909371, 0.012736149, -0.09435836, 0.1356958, -0.10366593, -0.0041438877, 0.009628175, 0.0040859925, -0.011165481, -0.033345588, -0.15237702, -0.0312087, 0.015260385, 0.0444127) * go_0(1.0, 0.0);
result += mat4(-0.014442371, 0.07676754, 0.022262538, -0.054716088, 0.030293861, -0.052963722, -0.021812383, -0.08621222, 0.14342898, 0.045112547, -0.060227357, 0.023352282, 0.16399784, -0.0672968, -0.0042051235, -0.1532131) * go_0(1.0, 1.0);
result += mat4(-0.020918218, 0.027395459, 0.0034248426, 0.08012823, -0.028371952, 0.036689103, 0.037822366, -0.16905384, -0.017041866, 0.06836204, -0.082468145, 0.07333768, -0.037686534, 0.017951455, -0.0018828547, 0.11055776) * go_1(-1.0, -1.0);
result += mat4(0.053536154, 0.05730052, -0.0054992423, -0.18550403, -0.023312157, -0.013950997, 0.009165346, 0.008073371, 0.05624439, 0.0014130961, 0.016543431, 0.06241809, 0.13670938, 0.00073126826, 0.001624247, 0.038753796) * go_1(-1.0, 0.0);
result += mat4(-0.0034311383, 0.007116817, 0.07452105, 0.011659134, -0.039772984, 0.059292104, 0.013225541, -0.04408646, 0.045066684, 0.048012637, 0.0011449073, 0.066179775, 0.028537784, 0.033542667, 0.099778004, 0.070685156) * go_1(-1.0, 1.0);
result += mat4(-0.0055496367, 0.08168228, -0.06103792, -0.078700975, 0.06955946, -0.009078723, 0.060624007, 0.057150934, 0.08676531, 0.0018657611, -0.06831008, -0.05569419, 0.08463942, 0.031226939, -0.04730966, -0.011964031) * go_1(0.0, -1.0);
result += mat4(0.12260423, 0.032514203, 0.008911303, -0.096912995, -0.03747238, -0.16325665, 0.1038572, -0.07069152, 0.15991132, -0.12686451, 0.14852794, 0.07974434, 0.037139475, -0.04096373, 0.042356372, -0.10029258) * go_1(0.0, 0.0);
result += mat4(-0.143151, -0.011595066, -0.068581596, 0.04138238, 0.08284006, -0.11732088, -0.0722425, -0.09281078, -0.23166539, 0.014771085, -0.10103986, 0.13934317, -0.17696716, 0.07486307, 0.055908978, -0.033082455) * go_1(0.0, 1.0);
result += mat4(0.05647076, -0.03206714, 0.07350139, -0.021267304, -0.116772406, 0.087762445, -0.03098456, 0.08932057, 0.025874196, -0.05827575, 0.020726373, -0.016715106, -0.069426864, -0.07060441, 0.056842018, -0.0679174) * go_1(1.0, -1.0);
result += mat4(-0.020990308, 0.15429191, 0.019629922, -0.030022325, -0.031660795, -0.0202408, -0.15422063, -0.026117325, -0.047787428, 0.08214524, 0.06016401, 0.16167365, 0.007815569, 0.076847136, 0.108483985, -0.07652778) * go_1(1.0, 0.0);
result += mat4(0.036064994, 0.038581718, 0.054312762, 0.040499184, 0.057826247, 0.051615417, -0.021165349, 0.022500448, 0.12059116, -0.13938737, 0.037203502, -0.096839115, 0.06128667, 0.016831718, -0.00871193, 0.0029930167) * go_1(1.0, 1.0);
result += mat4(-0.03706134, -0.023336586, 0.0048238738, 0.052703153, -0.06411955, -0.022989376, 0.084334195, 0.0030104967, -0.059048247, 0.0007168811, 0.018406779, -0.08931013, 0.015542656, 0.067232944, -0.12162123, 0.09243458) * go_2(-1.0, -1.0);
result += mat4(0.09631325, -0.05062902, -0.032008, -0.03494745, 0.03680838, -0.016007978, 0.1681059, 0.031155972, 0.1804909, -0.025729256, 0.025354143, -0.23486479, -0.03127292, -0.10423701, -0.0015036232, 0.017207187) * go_2(-1.0, 0.0);
result += mat4(0.050898142, -0.0066546467, 0.022708563, -0.08773856, -0.10027636, -0.04240748, 0.06386405, 0.13314565, 0.16859622, -0.105117716, 0.06399669, 0.032869946, 0.062459636, 0.06715258, 0.008070547, -0.022548271) * go_2(-1.0, 1.0);
result += mat4(0.116793595, 0.01273089, 0.022750624, -0.11072361, -0.009085662, 0.025767995, -0.012590074, 0.017745938, -0.023533886, -0.091529116, -0.005602433, 0.043459848, 0.09943287, -0.053660534, 0.14189643, 0.023697853) * go_2(0.0, -1.0);
result += mat4(-0.29917693, 0.023385998, -0.18892145, -0.08375141, 0.11016133, 0.092272624, -0.1946611, 0.09891922, 0.20492458, 0.12035902, 0.00074596977, -0.19037278, -0.067086115, 0.02135167, -0.054288723, 0.06540246) * go_2(0.0, 0.0);
result += mat4(0.054839212, -0.032581944, -0.026213324, -0.13856673, 0.09290412, 0.15453708, -0.14585601, -0.040790234, -0.022451773, -0.07595546, -0.0025928882, -0.003461436, 0.034573015, -0.012333621, -0.1586153, -0.06915793) * go_2(0.0, 1.0);
result += mat4(0.013772437, -0.019608572, -0.045185592, -0.16802783, 0.037788764, -0.049791697, 0.013531896, 0.10313015, -0.009065438, 0.11559135, -0.006117876, 0.064848155, -0.014022131, -0.034237325, -0.057020474, 0.0037476006) * go_2(1.0, -1.0);
result += mat4(-0.037832692, 0.026490564, -0.046946067, -0.14422522, 0.07729811, 0.044882588, 0.015131054, 0.008922788, 0.059674583, 0.040521197, -0.0483585, 0.03644257, -0.12222551, 0.038388293, -0.014869171, 0.006056235) * go_2(1.0, 0.0);
result += mat4(0.014899785, -0.00705499, 0.022272158, -0.03823196, -0.056899805, 0.008232538, 0.12835112, 0.007890736, -0.17642817, -0.13865739, -0.0008863866, -0.020847151, 0.07195754, 0.006228823, 0.0020501765, -0.033757832) * go_2(1.0, 1.0);
result += mat4(-0.019454308, 0.041543886, -0.10635596, 0.041844036, -0.07532158, 0.0015970292, -0.04835291, 0.0031403354, -0.0031588126, 0.0018797811, -0.012941282, 0.042755254, 0.06927625, -0.0029895287, -0.08432762, 0.08883082) * go_3(-1.0, -1.0);
result += mat4(0.04124189, -0.17871232, 0.029984072, -0.11300213, -0.08678469, -0.08368963, 0.07457151, -0.16380833, 0.054542996, 0.068214625, 0.05323982, -0.08397058, 0.05747041, -0.077369794, -0.062131416, -0.06138352) * go_3(-1.0, 0.0);
result += mat4(-0.0007387199, 0.0005401213, 0.030776624, -0.02367931, 0.048268933, -0.10748841, -0.015453994, -0.045566984, -0.022275386, -0.06585294, 0.068738, -0.04186048, 0.013701639, 0.025698824, 0.042036224, -0.03185016) * go_3(-1.0, 1.0);
result += mat4(-0.13094874, -0.0560659, -0.063632995, -0.089430586, -0.034798793, -0.055078138, 0.07083631, -0.07542177, -0.25205824, 0.18131877, -0.06970177, 0.059663247, 0.008941054, -0.0749315, 0.10443532, -0.014879092) * go_3(0.0, -1.0);
result += mat4(0.060569935, -0.0074758953, -0.055940595, 0.15320498, 0.055529255, 0.07498688, -0.24275857, -0.086847514, -0.10211266, -0.024097167, -0.20594142, -0.02878009, -0.2029714, -0.10487691, 0.03185034, -0.025810733) * go_3(0.0, 0.0);
result += mat4(-0.12118787, -0.10833348, -0.10401609, -0.08601061, -0.041819055, -0.07175898, 0.002354427, 0.02531539, -0.028673707, -0.124353334, 0.030226748, -0.033797923, 0.03136095, -0.04378527, 0.06578015, 0.06883648) * go_3(0.0, 1.0);
result += mat4(0.022786876, -0.106178455, -0.029356318, -0.070022464, 0.00922158, -0.024296954, 0.057507113, -0.13781165, 0.016173026, 0.05787189, 0.05150099, -0.05949634, 0.022618655, -0.01956636, -0.033876557, -0.072419226) * go_3(1.0, -1.0);
result += mat4(-0.08856093, 0.03388579, -0.086664826, -0.050871532, 0.00043561612, 0.14029606, 0.05862929, -0.05623749, 0.017565114, 0.011839109, 0.013828233, -0.18454114, -0.050516702, 0.087137595, 0.040252656, -0.01677913) * go_3(1.0, 0.0);
result += mat4(-0.03991627, 0.01261972, 0.054937847, -0.08364099, -0.05622806, 0.0047415774, 0.0048039337, 0.01480692, -0.0132515095, -0.004070498, 0.047340598, -0.041554607, 0.013471688, -0.0012447956, -0.039093062, -0.10907795) * go_3(1.0, 1.0);
result += mat4(0.021189118, -0.05241465, 0.042976, 0.034264904, -0.14510728, 0.02873931, 0.01845405, 0.12381923, -0.061601758, 0.014426877, -0.06421808, -0.028817724, -0.03168036, -0.035064895, 0.048245188, 0.03154415) * go_4(-1.0, -1.0);
result += mat4(-0.046921793, 0.12729059, 0.051400434, 0.12739788, -0.027870914, 0.06689444, 0.12776418, 0.018720536, -0.18006173, -0.026558192, -0.10393907, -0.06653183, 0.0386169, -0.02420454, -0.0069407905, -0.10674485) * go_4(-1.0, 0.0);
result += mat4(-0.06974602, 0.030878898, 0.035664577, 0.09163117, -0.03385263, -0.013981724, -0.05417749, 0.078872174, 0.077933654, -0.053969186, -0.075152665, -0.097501524, 0.007359103, -0.0055170334, -0.035784382, -0.011149727) * go_4(-1.0, 1.0);
result += mat4(-0.12600738, 0.112411655, 0.021003474, 0.08394408, -0.0068660914, -0.0070775487, -0.032542247, 0.06220799, 0.081130326, -0.020583797, 0.022266936, 0.02321497, -0.008355328, 0.042265356, -0.07767447, 0.094145864) * go_4(0.0, -1.0);
result += mat4(0.22157232, 0.07980892, 0.17811519, -0.3948419, -0.18386054, -0.012668223, -0.10646584, -0.103671126, 0.15824732, -0.019695727, -0.013494174, 0.111227505, -0.0058521237, 0.14865461, 0.18566546, 0.069290616) * go_4(0.0, 0.0);
result += mat4(0.070055425, -0.1583035, 0.016645938, -0.009720748, 0.09576679, -0.019951109, 0.044518013, -0.06335425, 0.08379782, 0.06047332, -0.16433978, -0.0034642057, 0.013061672, -0.007918953, -0.0049442975, 0.04942921) * go_4(0.0, 1.0);
result += mat4(-0.08114284, -0.018856885, 0.11689622, 0.06909917, -0.027572189, 0.016203558, 0.051501397, -0.034298997, 0.05772637, 0.019343115, -0.102042474, -0.037319086, -0.0630886, 0.0006934294, 0.08860384, 0.026380517) * go_4(1.0, -1.0);
result += mat4(0.16596714, 0.14505897, -0.04155494, 0.014704244, 0.07104893, 0.14335804, 0.0692165, -0.025348278, -0.014616563, 0.02670063, -0.01949867, -0.015292871, 0.070823014, -0.049257036, -0.0008982118, -0.008689293) * go_4(1.0, 0.0);
result += mat4(-0.046763286, 0.011514989, -0.122827835, 0.120339476, -0.019439874, -0.021164281, -0.03043122, 0.09880198, -0.02856512, -0.08784067, 0.088063225, -0.072501145, -0.17521285, 0.049274176, 0.030654777, 0.03219053) * go_4(1.0, 1.0);
result += mat4(0.010774123, 0.07244017, -0.027567, -0.3042531, 0.013650298, -0.033108883, -0.006992217, 0.078730345, 0.02122525, 0.01613853, 0.13223703, 0.022128796, 0.06624568, 0.0015342244, 0.0050394353, 0.014934483) * go_5(-1.0, -1.0);
result += mat4(-0.068451814, 0.04524881, 0.13098826, -0.047229577, -0.089810416, 0.05024813, -0.023596698, 0.019852864, -0.09382708, 0.047823515, 0.046208918, 0.038787603, -0.18016998, 0.041748315, 0.04991817, 0.14533369) * go_5(-1.0, 0.0);
result += mat4(0.007943992, -0.035991993, -0.021322006, -0.023561362, 0.03333043, -0.1209179, 0.019207314, 0.0375389, 0.06877566, 0.11280428, 0.01314338, 0.07742383, 0.026820341, 0.03379967, -0.06119831, -0.14328238) * go_5(-1.0, 1.0);
result += mat4(-0.10927233, -0.060229287, 0.028159766, 0.07981562, -0.034203906, 0.02898321, -0.08962518, -0.026310142, -0.019359693, 0.08630387, -0.062503956, 0.107800014, -0.077233255, -0.013736811, 0.06765195, -0.111615986) * go_5(0.0, -1.0);
result += mat4(0.056070946, -0.1673722, -0.068222955, 0.14344302, 0.008550983, 0.109370075, -0.0718237, -0.21439798, 0.087295316, -0.02002976, 0.0492294, 0.07230409, 0.10336873, -0.028268235, -0.04916943, -0.09327968) * go_5(0.0, 0.0);
result += mat4(0.07781267, 0.048755344, 0.10299425, -0.10144247, -0.02797835, 0.045273103, -0.03212181, -0.058474842, -0.08691153, -0.081011154, 0.09422595, -0.045192823, 0.020862237, 0.0037564635, -0.06350643, 0.10690313) * go_5(0.0, 1.0);
result += mat4(-0.049739495, 0.06048482, -0.08281123, -0.028578287, -0.03144295, -0.10446834, -0.0053704865, -0.17024766, -0.058496293, -0.051011022, 0.011326107, 0.061208814, 0.11980172, -0.055324163, -0.14052723, 0.053606875) * go_5(1.0, -1.0);
result += mat4(0.05487482, -0.18271531, 0.05642448, -0.1504291, 0.059293207, -0.011658486, 0.025785489, -0.09553413, -0.05519662, -0.05105145, -0.09886545, -0.02784561, -0.09035061, -0.014003552, -0.06263171, 0.17187388) * go_5(1.0, 0.0);
result += mat4(-0.11630435, -0.07242824, 0.09471105, -0.04403716, 0.056197144, 0.017389454, 0.050121296, -0.023262395, -0.07639264, 0.12836945, -0.03693076, 0.026727198, -0.045340326, -0.024228575, 0.046175115, -0.0023615584) * go_5(1.0, 1.0);
result += mat4(0.045673423, 0.029376771, 0.0058960076, -0.011690486, 0.040948313, 0.00033566428, -0.078610085, -0.1923095, 0.015124016, 0.03504836, 0.10945228, -0.04973195, -0.035196844, -0.002643685, 0.02339453, -0.092498146) * go_6(-1.0, -1.0);
result += mat4(-9.175144e-05, 0.033409104, 0.040829856, 0.04208305, 0.03220207, 0.08722399, -0.07321389, 0.08655354, 0.007852992, -0.08140217, -0.05744028, 0.1130556, 0.11585877, 0.033027284, 0.08954412, 0.09637844) * go_6(-1.0, 0.0);
result += mat4(0.009810212, -0.004692366, 0.016258111, 0.060675208, -0.0061935033, 0.060017355, -0.10624005, -0.103517056, -0.016645217, 0.06108931, -0.08404053, -0.052237418, -0.05495817, -0.041707195, -0.005650813, 0.10455568) * go_6(-1.0, 1.0);
result += mat4(-0.013510583, -0.0015044374, 0.023143407, -0.029222352, 0.04133373, -0.17958635, -0.004044454, -0.13689542, 0.044074584, -0.0022727505, -0.050793514, -0.0014197935, -0.012874273, 0.07767363, -0.0056788926, -0.060549226) * go_6(0.0, -1.0);
result += mat4(-0.20708455, 0.19714263, -0.047439054, 0.061314642, -0.13908294, -0.03564585, 0.18844455, -0.07656319, -0.027228372, -0.0003504338, -0.0876453, -0.16153371, -0.20206393, -0.0824074, 0.07426116, -0.03313524) * go_6(0.0, 0.0);
result += mat4(0.14003715, -0.04489994, 0.11727284, -0.02034374, 0.09415694, -0.09790171, 0.017811516, 0.004945408, 0.011151917, 0.0065421355, 0.0650504, 0.030591844, 0.023743728, 0.080276124, 0.03329977, -0.021011258) * go_6(0.0, 1.0);
result += mat4(0.033209547, -0.064974785, 0.037238188, 0.084603265, -0.07237624, 0.022390625, -0.03781584, -0.034842096, -0.14621674, 0.084718555, -0.0033507666, -0.002409852, -0.0334208, 0.038279716, 0.04241758, -0.007934263) * go_6(1.0, -1.0);
result += mat4(0.09260781, -0.03533289, 0.03948036, 0.0033985232, -0.061207756, 0.034610566, -0.021232948, 0.18351275, 0.0135108875, 0.023678917, -0.033803303, -0.03424109, 0.09098361, 0.044532146, 0.11310433, -0.13387783) * go_6(1.0, 0.0);
result += mat4(0.035433106, -0.013315172, -0.09899418, 0.010384595, 0.013123027, 0.13166636, -0.12113552, 0.07023188, -0.08677719, 0.10380258, -0.06491381, 0.088339224, 0.028492138, -0.013855274, 0.042146087, 0.037210286) * go_6(1.0, 1.0);
result += mat4(0.0118551655, 0.011881825, 0.0012513773, -0.29842687, 0.015152467, -0.012379885, 0.007491827, 0.04672621, -0.039018527, 0.063113146, -0.018338528, 0.08606183, 0.040836196, -0.014706618, 0.08505284, -0.053019464) * go_7(-1.0, -1.0);
result += mat4(0.085957885, -0.057026774, -0.10680372, -0.054673444, -0.044920642, -0.02150639, -0.19568424, -0.012167548, 0.0094547, -0.12740794, -0.09753801, 0.18647175, -0.011587946, 0.009045976, -0.055947494, -0.08864113) * go_7(-1.0, 0.0);
result += mat4(-0.10643029, 0.023644416, -0.042127535, 0.02908656, 0.07169349, 0.03850818, 0.059762653, -0.02633128, 0.054261427, 0.078785546, -0.047817495, -0.04075799, -0.12432041, -0.13646565, -0.07101156, -0.066338435) * go_7(-1.0, 1.0);
result += mat4(-0.0036060396, -0.0027861246, -0.038555164, -0.05322004, 0.10128716, 0.024530249, 0.013425216, 0.046541795, -0.0016057328, -0.0141123505, 0.032346413, -0.018870756, -0.00469762, -0.009107471, -0.14014857, 0.034257863) * go_7(0.0, -1.0);
result += mat4(0.032631207, -0.0023102923, 0.005430841, -0.2713018, -0.05554147, -0.050293513, -0.16733491, 0.072879665, -0.012097781, -0.047060948, 0.09123701, -0.044434346, -0.025493262, 0.24324937, -0.22666596, -0.007906154) * go_7(0.0, 0.0);
result += mat4(-0.06685568, 0.13164215, -0.1528712, 0.031538565, -0.08007672, 0.038792517, 0.02615036, 0.055107627, 0.044818852, 0.04285147, 0.014062777, -0.0074646017, 0.008171892, 0.018163204, -0.17619182, -0.04108532) * go_7(0.0, 1.0);
result += mat4(-0.015660536, -0.018938752, -0.005833929, -0.0035848632, 0.006549891, -0.021335827, -0.03022379, 0.14764309, 0.0432558, -0.044752058, -0.025852531, -0.024714898, -0.02366237, -0.05103176, 0.00095822517, 0.106250785) * go_7(1.0, -1.0);
result += mat4(-0.16938297, -0.057609215, -0.073838405, -0.20301907, -0.014371799, 0.10703029, -0.050330624, 0.056260847, -0.010663833, 0.029461538, 0.039329972, 0.03691592, 0.15988533, -0.14160618, -0.13238208, 0.055504102) * go_7(1.0, 0.0);
result += mat4(0.09897868, 0.094456755, -0.001765962, 0.074587665, 0.08853994, 0.090077385, -0.036821872, 0.023791702, 0.0013655893, -0.010292126, -0.006655838, 0.014772215, -0.1274574, 0.041696858, 0.027986838, 0.037936773) * go_7(1.0, 1.0);
result += vec4(0.0046476824, 0.027375836, 0.016970862, 0.011731038);
return result;
}
//!DESC Anime4K-v4.1-Upscale-GAN-x3-(VL)-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.005254592, -0.018757867, -0.015085193, 0.0, 0.09495985, -0.16238034, -0.0053182673, 0.0, 0.05130886, -0.019089784, 0.0021606977, 0.0, -0.0050884252, -0.0148408925, -0.0039073024, 0.0) * go_0(-1.0, -1.0);
result += mat4(-0.0027982686, -0.0180415, -0.01787786, 0.0, 0.04666108, -0.16439973, 0.13316426, 0.0, -0.11120306, 0.065285176, 0.047622934, 0.0, -0.0004775587, 0.0035521288, 0.0008400152, 0.0) * go_0(-1.0, 0.0);
result += mat4(-0.017746428, -0.014509182, -0.010984747, 0.0, 0.06505376, 0.20612718, -0.03806855, 0.0, -0.01527659, -0.03466789, -0.020361444, 0.0, 0.011079114, 0.014947587, 0.008495816, 0.0) * go_0(-1.0, 1.0);
result += mat4(0.07831245, 0.09598534, 0.08608037, 0.0, 0.008052521, 0.17842343, 0.15529382, 0.0, 0.15771978, -0.039439585, -0.012488644, 0.0, -0.007574169, -0.0015686441, -0.003389103, 0.0) * go_0(0.0, -1.0);
result += mat4(0.010234201, 0.039374817, 0.027153295, 0.0, -0.067681186, -0.120320305, 0.013762433, 0.0, -0.19075067, -0.020968745, 0.00012614117, 0.0, -0.004527889, -0.017591938, -0.008411707, 0.0) * go_0(0.0, 0.0);
result += mat4(-0.0030420967, -0.001558541, 6.965576e-05, 0.0, -0.033608887, -0.09474971, -0.2262944, 0.0, -0.07190869, 0.020280447, 0.09521507, 0.0, 0.005413933, 0.008795136, 0.008203193, 0.0) * go_0(0.0, 1.0);
result += mat4(0.0015108645, 0.012904016, 0.016192287, 0.0, -0.064128086, 0.13379082, -0.35676238, 0.0, 0.05369797, -0.009161115, -0.054337718, 0.0, 0.018602658, 0.015447565, 0.016165644, 0.0) * go_0(1.0, -1.0);
result += mat4(0.008233469, -0.0154424505, -0.0029020428, 0.0, 0.04368308, 0.011088607, -0.0438222, 0.0, 0.108082294, 0.018478753, -0.06098108, 0.0, -0.010249234, 0.0012413476, -0.009973051, 0.0) * go_0(1.0, 0.0);
result += mat4(-0.010265514, -0.0116993105, -0.017459782, 0.0, -0.08879862, 0.03483122, 0.35975364, 0.0, 0.0033217808, 0.017610483, 0.017924132, 0.0, 0.0043708533, -0.0005878419, 0.0020788403, 0.0) * go_0(1.0, 1.0);
result += mat4(0.013100638, 0.060279634, 0.05250057, 0.0, -0.0010344542, -0.00186081, -0.0039032432, 0.0, 0.02386054, -0.017394792, -0.011023623, 0.0, 0.0024469923, -0.011567568, -0.0060674627, 0.0) * go_1(-1.0, -1.0);
result += mat4(-0.008273639, -0.08614229, -0.08208723, 0.0, 0.0038485574, 0.0068076635, 0.008062351, 0.0, -0.041637324, -0.012542969, 0.039497502, 0.0, 0.0038057968, 0.011786499, 0.0063744723, 0.0) * go_1(-1.0, 0.0);
result += mat4(-0.020105148, -0.007642187, -0.030856, 0.0, -0.003524435, -0.00735857, -0.0053208256, 0.0, 0.03263318, -0.003193644, -0.014232393, 0.0, -5.833118e-05, 0.0017830055, 0.0030096706, 0.0) * go_1(-1.0, 1.0);
result += mat4(0.016909711, -0.004058973, -0.014199138, 0.0, 0.0068232864, 0.004693168, 0.004873514, 0.0, -0.13790038, 0.08352342, -0.0324787, 0.0, 0.00041656455, 0.008086727, 0.0030545967, 0.0) * go_1(0.0, -1.0);
result += mat4(-0.023683438, -0.09624147, -0.06831003, 0.0, -0.008321081, -0.0113018975, -0.008104185, 0.0, 0.050059218, 0.089206725, -0.09422268, 0.0, -0.009555781, -0.008833004, -0.0062801726, 0.0) * go_1(0.0, 0.0);
result += mat4(0.0006993997, 0.032285403, 0.0590182, 0.0, -0.0014223646, 0.008005577, 0.00064186833, 0.0, 0.21587205, -0.048408728, -0.09674616, 0.0, -0.0096332785, -0.01844816, -0.009809878, 0.0) * go_1(0.0, 1.0);
result += mat4(-0.0017698067, -0.011536847, -0.032046486, 0.0, 0.005225725, 0.006681489, 0.0057289354, 0.0, -0.027070515, 0.009334237, 0.08355905, 0.0, 0.009699363, 0.02103018, 0.020502198, 0.0) * go_1(1.0, -1.0);
result += mat4(-0.0068307347, 0.06917021, 0.039881486, 0.0, 0.0045612897, 0.0073527456, 0.0027704758, 0.0, -0.07681857, -0.024538197, 0.066249035, 0.0, 0.018884921, 0.0024185115, 0.008488438, 0.0) * go_1(1.0, 0.0);
result += mat4(0.0030933758, -0.0036962985, 0.016858855, 0.0, 0.0031607682, -0.0016671033, 0.0054770466, 0.0, 0.041883804, -0.05856681, 0.052265577, 0.0, -0.0034462444, 0.007220778, -0.0049047135, 0.0) * go_1(1.0, 1.0);
result += mat4(-0.008796289, -0.0024576676, -0.004595136, 0.0, -0.01892227, -0.02289196, -0.022207217, 0.0, 0.026002366, 0.00527656, -0.01178999, 0.0, -0.081901155, 0.092980735, 0.06647905, 0.0) * go_2(-1.0, -1.0);
result += mat4(0.013699341, -0.022251487, 0.00212006, 0.0, 0.0022527578, 0.005115263, 0.0024595936, 0.0, 0.06802264, 0.04361523, 0.011463202, 0.0, -0.08293379, -0.037324883, -0.014784007, 0.0) * go_2(-1.0, 0.0);
result += mat4(-0.050218523, 0.0035854764, -0.034595665, 0.0, -0.009185596, -0.008213256, -0.0063013337, 0.0, 0.051666725, 0.002519945, 0.020391578, 0.0, 0.003138411, 0.0067758807, -0.012770092, 0.0) * go_2(-1.0, 1.0);
result += mat4(0.032333378, 0.02466946, 0.022505494, 0.0, -0.0083795525, -0.008804619, -0.008356948, 0.0, 0.038903773, -0.016370708, -0.016763346, 0.0, -0.12162343, -0.08718591, -0.016114233, 0.0) * go_2(0.0, -1.0);
result += mat4(0.14274949, 0.14927898, 0.15043736, 0.0, 0.0155599965, 0.01959499, 0.01897414, 0.0, 0.1270164, 0.06282633, -0.04108991, 0.0, 0.13393795, 0.055132177, 0.0011949918, 0.0) * go_2(0.0, 0.0);
result += mat4(-0.092501506, -0.13535453, -0.09822756, 0.0, -0.011943714, -0.014657381, -0.01672645, 0.0, -0.086055554, -0.094672106, 0.045871347, 0.0, 0.041400526, 0.017499585, -0.019431707, 0.0) * go_2(0.0, 1.0);
result += mat4(0.026763977, 0.014384241, 0.017063811, 0.0, -0.011180287, -0.0056468076, -0.01378504, 0.0, 0.023430727, 0.00082399184, -0.017604599, 0.0, 0.019577585, -0.042885717, -0.0019262027, 0.0) * go_2(1.0, -1.0);
result += mat4(-0.03158236, -0.011085954, 0.0062921573, 0.0, 0.0070171887, -0.0040961946, 0.008240083, 0.0, -0.16102828, -0.03115285, -0.032626532, 0.0, 0.048951775, 0.022836884, 0.0022947567, 0.0) * go_2(1.0, 0.0);
result += mat4(-0.02446834, -0.01722671, -0.04932979, 0.0, -0.018479923, -0.016315645, -0.014568363, 0.0, -0.08584075, 0.013530463, 0.02634945, 0.0, 0.03166419, -0.0038847823, 0.006631584, 0.0) * go_2(1.0, 1.0);
result += mat4(0.0046903454, -0.0078145955, -0.002881733, 0.0, -0.0032192532, -0.0023766425, -0.005304056, 0.0, 0.002075086, 0.001346401, 0.003119866, 0.0, 0.046239153, 0.0316365, 0.021611348, 0.0) * go_3(-1.0, -1.0);
result += mat4(0.0038853723, 0.026791377, 0.016439585, 0.0, 0.0029055811, 0.0021269377, 0.002880523, 0.0, 0.002842519, 0.003125611, 0.004247331, 0.0, -0.15446155, -0.11018698, -0.108689025, 0.0) * go_3(-1.0, 0.0);
result += mat4(0.009707763, 0.0062886328, 0.0095384335, 0.0, -0.0033002114, -0.0045184703, 0.00094776496, 0.0, 0.0074377013, 0.007007375, 0.0064297393, 0.0, -0.06333744, -0.063041285, -0.07653862, 0.0) * go_3(-1.0, 1.0);
result += mat4(-0.017742136, -0.015275463, -0.012908959, 0.0, -0.00021009381, -0.0070606046, -0.0011363884, 0.0, -0.0017327431, -0.007043264, 0.0009548218, 0.0, -0.0073412512, 0.017348787, -0.009653418, 0.0) * go_3(0.0, -1.0);
result += mat4(-0.024081307, -0.030407947, -0.022509713, 0.0, 0.00895745, 0.016481094, 0.011516272, 0.0, -0.0058401483, 0.0010116898, -0.0028305475, 0.0, 0.11353651, 0.05044185, 0.14216848, 0.0) * go_3(0.0, 0.0);
result += mat4(0.0006503813, -0.00843029, -0.010461295, 0.0, 0.002523751, 0.006565067, 0.00063075445, 0.0, 0.005178493, 0.000379669, 0.0020746172, 0.0, -0.025654146, 0.0088300295, -0.055120986, 0.0) * go_3(0.0, 1.0);
result += mat4(0.01604027, 0.017836839, 0.01756045, 0.0, -0.000653784, 0.0071525937, 0.0035807702, 0.0, -0.003669385, 0.0007951296, -0.0037883278, 0.0, -0.021026582, -0.030122342, -0.019120207, 0.0) * go_3(1.0, -1.0);
result += mat4(-0.0075783534, -0.017179204, -0.02404258, 0.0, 0.010827431, 0.003507088, 0.012902122, 0.0, -0.0054161274, -0.0057888385, -0.0051716617, 0.0, 0.05137473, 0.005526086, 0.04326977, 0.0) * go_3(1.0, 0.0);
result += mat4(-0.0031085038, -0.0028056738, 0.010588121, 0.0, 0.0028965238, 0.004071662, 0.000101293066, 0.0, 0.00040031073, -0.00041478255, -0.004495397, 0.0, -0.003207949, 0.031456985, -0.009085761, 0.0) * go_3(1.0, 1.0);
result += mat4(0.010081116, 0.002063289, 0.009083497, 0.0, 0.008646563, 0.0033220204, 0.021598583, 0.0, -0.0010274828, 0.008802747, 0.004317745, 0.0, 0.0038647072, 0.011780735, 0.012522434, 0.0) * go_4(-1.0, -1.0);
result += mat4(0.0057788608, 0.013678763, 0.0035954867, 0.0, 0.079623915, 0.064366356, 0.08500603, 0.0, 0.0037097908, -0.0040775114, -0.0030950457, 0.0, -0.00033510555, -0.007889699, 0.00041357763, 0.0) * go_4(-1.0, 0.0);
result += mat4(0.0032172403, 0.0019201472, 0.0013542707, 0.0, 0.022996396, 0.030808633, 0.021855233, 0.0, -0.006251132, -0.0006679484, -0.003631441, 0.0, 0.004161011, 0.00307829, 0.0055197086, 0.0) * go_4(-1.0, 1.0);
result += mat4(-0.00532508, -0.003511613, -0.007755409, 0.0, 0.060700998, 0.06649411, 0.061377708, 0.0, -0.0025372675, -0.004137292, -0.007275044, 0.0, -0.021939326, -0.005733262, -0.0047699506, 0.0) * go_4(0.0, -1.0);
result += mat4(0.009173537, 0.014304193, 0.010216183, 0.0, -0.31371036, -0.29929778, -0.32710865, 0.0, -0.006829652, 9.268505e-05, -0.0014750211, 0.0, 0.053703837, 0.06144078, 0.038678754, 0.0) * go_4(0.0, 0.0);
result += mat4(0.0048204805, 0.0030749908, 0.009710859, 0.0, 0.11020071, 0.09086675, 0.10684794, 0.0, -9.168709e-05, -0.011415532, -0.0067179725, 0.0, 0.014402705, 0.02327388, 0.012822647, 0.0) * go_4(0.0, 1.0);
result += mat4(0.002633879, 0.0151467025, 0.009785409, 0.0, 0.003971507, 0.020577636, 0.013059014, 0.0, 0.0015010595, -0.003990951, -0.0039251777, 0.0, -0.087732576, -0.1220461, -0.105398156, 0.0) * go_4(1.0, -1.0);
result += mat4(1.9667075e-05, -0.014126217, 0.0005683502, 0.0, 0.05864391, 0.08626182, 0.08147204, 0.0, -0.004497728, -0.009753341, -0.007827621, 0.0, -0.009917512, -0.0011731245, -0.011392064, 0.0) * go_4(1.0, 0.0);
result += mat4(-0.0009837402, 0.0006529726, -0.007407727, 0.0, -0.0009069719, -0.017210206, -0.021216527, 0.0, 0.0026864838, 0.0074854055, 0.011746227, 0.0, 0.015880473, -0.00025867054, 0.011937394, 0.0) * go_4(1.0, 1.0);
result += mat4(0.020672686, 0.024725065, 0.01964096, 0.0, 0.039276525, 0.034113694, 0.027934633, 0.0, -0.017184, -0.005851089, -0.004547797, 0.0, 0.0028518494, 0.0031415436, 0.00052153034, 0.0) * go_5(-1.0, -1.0);
result += mat4(-0.012319041, -0.00870564, -0.011336498, 0.0, 0.025565468, 0.07941423, 0.053138573, 0.0, -0.018912384, -0.027336033, -0.017181158, 0.0, -0.0049842624, -0.000989833, -0.0019915537, 0.0) * go_5(-1.0, 0.0);
result += mat4(0.0020394358, -0.0052042226, 0.0034736954, 0.0, 0.03258947, -0.0371258, 0.020906823, 0.0, -0.0013788573, -0.0031019335, -0.010819204, 0.0, 0.0012025153, -0.004350207, -0.0020159793, 0.0) * go_5(-1.0, 1.0);
result += mat4(-0.0034382, 0.0023128714, -0.0008744751, 0.0, -0.013170037, -0.004509947, -0.019914357, 0.0, -0.00392815, -0.00992706, -0.0051185694, 0.0, 0.004265402, 0.013595216, 0.003271742, 0.0) * go_5(0.0, -1.0);
result += mat4(-0.014518558, -0.02355717, -0.018948758, 0.0, 2.4407313e-05, -0.013244339, 0.0058093998, 0.0, 0.005873005, -0.0031970814, -0.0028208676, 0.0, 0.0060333544, -0.0013712785, 0.00630574, 0.0) * go_5(0.0, 0.0);
result += mat4(0.0010533057, 0.00064965064, -0.0041747424, 0.0, -0.0060379826, 0.013578647, 0.0025568828, 0.0, 0.021508852, 0.03151479, 0.03111494, 0.0, -0.009153297, -0.009173591, -0.011134595, 0.0) * go_5(0.0, 1.0);
result += mat4(-0.009181927, -0.013954441, -0.005982601, 0.0, -0.0044402024, -0.008755557, 0.003751448, 0.0, -0.0004215054, -0.013358171, -0.00969154, 0.0, 0.0007070342, -0.005016411, 0.0002690561, 0.0) * go_5(1.0, -1.0);
result += mat4(0.0021662863, -0.0071886997, -0.0042919647, 0.0, 0.0033834674, -0.0035246345, -0.007832887, 0.0, -0.010165766, 0.018209103, -0.0024470524, 0.0, -0.012310371, -0.015656961, -0.017626433, 0.0) * go_5(1.0, 0.0);
result += mat4(-0.0037462846, 0.005297534, 0.0028267305, 0.0, 0.0052644913, 0.018711697, 0.0070290607, 0.0, 0.013766243, 0.007410459, 0.0067783133, 0.0, -0.016693022, -0.0140022505, -0.009408555, 0.0) * go_5(1.0, 1.0);
result += vec4(0.0016032922, 0.0018567948, 0.001717782, 0.0);
return result + MAIN_tex(MAIN_pos);
}