//!DESC Upscale-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.072145514, 0.00028308097, -0.02246936, 0.024812723, -0.07055249, -0.026193684, 0.06250765, 0.10273287, 0.023989726, 0.059850752, 0.12388443, -0.05610249, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0);
    result += mat4(0.09287214, -0.28751278, 0.16856873, -0.15185986, 0.16519044, 0.4119165, 0.07745975, -0.39149612, 0.13748379, 0.19694383, -0.0066408464, 0.035648603, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0);
    result += mat4(0.046672463, -8.82265e-05, 0.15009816, 0.102355726, -0.032501314, -0.14876123, -0.1941357, 0.11521068, -0.032267876, 0.14113747, -0.07084842, -0.08086943, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0);
    result += mat4(-0.03968421, -0.19019222, -0.07080888, -0.12406084, 0.122626044, 0.15815943, 0.1530841, 0.06688442, 0.1656277, 0.09434839, 0.026673744, 0.030796751, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0);
    result += mat4(0.6921126, 0.095474385, -0.0056551266, 0.05798976, 0.7254942, -0.2543809, -1.0393281, -1.035846, -0.08110214, -0.6830166, -0.15731563, 0.39509445, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0);
    result += mat4(-0.13021441, 0.1503607, 0.20657627, -0.0663681, 0.033763044, -0.066993274, 0.6008725, -0.1464296, -0.06528626, 0.09392874, 0.061711833, -0.069615036, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0);
    result += mat4(-0.30076998, -0.14036414, -0.16433552, -0.08016163, 0.10318603, -0.03843068, -0.09866994, 0.14631474, 0.05388223, 0.034318227, 0.052106798, -0.057668205, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0);
    result += mat4(-0.23786129, 0.3727822, -0.36011657, 0.047483545, 0.055704113, -0.20353787, 0.08237646, 0.17585282, -0.02251169, -0.10484316, 0.027232561, -0.13464582, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0);
    result += mat4(0.108914025, 0.02642652, 0.107908495, 0.118661806, -0.051034376, 0.0048822667, 0.10991195, 0.08074561, -0.067566656, 0.070840575, -0.04906773, -0.116966926, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0);
    result += vec4(-0.2894205, -0.030624738, 0.3073097, 0.16633725);
    return result;
}
//!DESC Upscale-Conv-4x3x3x8
//!HOOK MAIN
//!BIND conv2d_tf
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
    vec4 result = mat4(0.06147661, 0.08833126, 0.046938453, -0.06018922, 0.018930146, 0.17391251, 0.0968089, 0.16006882, 0.046476644, -0.120067514, 0.00928321, -0.1123082, 0.09198358, -0.113103606, 0.09203268, 0.10243458) * go_0(-1.0, -1.0);
    result += mat4(0.03423173, 0.2505715, 0.031599615, -0.09511331, 0.1426214, -0.15313806, 0.12848975, 0.023286961, 0.11289028, -0.08757947, -0.43745708, 0.06928223, 0.3181391, 0.057651803, 0.026929406, 0.03803578) * go_0(-1.0, 0.0);
    result += mat4(-0.1292945, 0.042583257, -0.2004356, 0.32660207, 0.1276197, -0.056887686, -0.24774489, -0.13177316, -0.081318446, -0.06493321, -0.07007088, -0.055146568, -0.023784764, 0.11433824, -0.3040935, -0.027778838) * go_0(-1.0, 1.0);
    result += mat4(-0.044498716, 0.42280948, 0.062070623, 0.2148611, -0.123194054, -0.25048327, 0.19733655, -0.13551375, -0.009461302, -0.5631941, -0.08607164, 0.13850448, -0.08990211, -0.14915596, -0.066133216, -0.19829673) * go_0(0.0, -1.0);
    result += mat4(0.21967943, -0.25121883, 0.37952, -0.45724368, -0.2076556, -0.28931007, 0.3471786, 0.122488834, -0.012703499, 0.31451723, 0.21664213, 0.21074998, 0.3702994, 0.15678592, -0.21367137, 0.8268485) * go_0(0.0, 0.0);
    result += mat4(-0.22125253, -0.110753976, 0.047768846, -0.27023393, 0.13471258, 0.14345424, -0.13693272, 0.038446166, -0.06620079, -0.05445717, 0.039801225, -0.046015315, 0.11203161, 0.26460502, -0.023194747, -0.039629303) * go_0(0.0, 1.0);
    result += mat4(0.069432564, -0.09272574, 0.12253827, 0.1291694, -0.11224104, 0.16809909, -0.06915314, -0.17369248, 0.05969406, -0.14640228, -0.0057935934, -0.08471993, -0.02034365, 0.29337114, 0.14110939, 0.0361152) * go_0(1.0, -1.0);
    result += mat4(-0.27787417, 0.009200061, -0.08835913, -0.056134365, -0.21587728, 0.21017273, -0.31632778, -0.25002062, 0.29224077, 0.40650958, 0.1681141, -0.23782323, -0.16064619, -0.19453338, -0.34186718, -0.053081196) * go_0(1.0, 0.0);
    result += mat4(-0.24282049, -0.11873012, -0.11440592, -0.008417438, -0.034035943, -0.18256468, -0.16165936, 0.03052503, -0.08246184, 0.06311742, 0.04626973, 0.040066913, -0.10866987, -0.04512457, 0.09514122, 0.038252804) * go_0(1.0, 1.0);
    result += mat4(-0.03537035, -0.13365282, 0.0019187316, 0.039242424, -0.06117977, -0.092283174, -0.13210632, -0.17939499, -0.066161625, 0.13690484, -0.005225468, 0.2245015, -0.13621947, -0.026488775, -0.050598588, -0.14804119) * go_1(-1.0, -1.0);
    result += mat4(-0.107831135, -0.22277409, -0.02657944, -0.038208194, -0.24297678, -0.018400285, -0.26537237, 0.022952996, -0.10555939, 0.261099, 0.43923762, -0.013036105, -0.28890732, -0.0063598123, 0.025646267, -0.013443436) * go_1(-1.0, 0.0);
    result += mat4(0.054750264, -0.016597766, 0.32688782, -0.2769158, -0.09020083, 0.04267472, 0.2602852, 0.08283018, 0.043695193, 0.0037251178, 0.006281472, 0.05668816, -0.030066907, 0.055234175, 0.2986416, 0.16619839) * go_1(-1.0, 1.0);
    result += mat4(0.018525071, -0.4757674, 0.04003113, -0.41883922, 0.107983075, 0.1751906, -0.17759812, 0.08198361, -0.10118877, 0.56437653, -0.010495897, -0.0020253563, 0.08937133, 0.17738473, -0.02704055, -0.24398229) * go_1(0.0, -1.0);
    result += mat4(0.080102555, 0.47490886, -0.8159124, 0.7260771, 0.37928665, 0.037219018, -0.15212315, -0.2146389, -0.2708812, -0.45721346, 0.01860179, -0.1548227, 0.107198894, -0.03666022, -0.46162957, -0.20030443) * go_1(0.0, 0.0);
    result += mat4(0.11108713, 0.063587174, -0.20645106, 0.35211852, -0.024195202, -0.13010001, 0.14576577, -0.11711316, 0.030958494, 0.065396935, 0.0071226587, 0.016234476, -0.18657097, -0.24682587, 0.20031837, 0.061695997) * go_1(0.0, 1.0);
    result += mat4(-0.10664103, 0.21913692, -0.01698097, -0.096373215, 0.07363686, -0.11368008, 0.08352549, 0.11886179, 0.08031944, 0.22339283, -0.040905915, -0.0033878332, 0.03447521, -0.05581082, -0.07779932, 0.005415639) * go_1(1.0, -1.0);
    result += mat4(0.2127241, -0.110704474, 0.03432127, 0.04623661, 0.22938679, -0.03414845, 0.28390107, 0.21659572, -0.23376194, -0.14149353, -0.17764302, 0.32690096, 0.24899793, -0.18892059, 0.009465065, 0.04142101) * go_1(1.0, 0.0);
    result += mat4(0.25251555, 0.13680334, 0.22024646, 0.007084259, -0.07390074, 0.1629211, 0.12988287, -0.03469388, 0.064322144, -0.01900559, -0.06668637, -0.0121769, 0.06270774, 0.03689303, -0.016368631, 0.067921266) * go_1(1.0, 1.0);
    result += vec4(0.27518556, 0.06594818, 0.06889677, 0.32818964);
    return result;
}
//!DESC Upscale-Conv-4x3x3x8
//!HOOK MAIN
//!BIND conv2d_1_tf
//!SAVE conv2d_2_tf
//!WIDTH conv2d_1_tf.w
//!HEIGHT conv2d_1_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_1_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max(-(conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
    vec4 result = mat4(-0.12055435, 0.028174262, -0.01101243, -0.026536943, -0.06556763, -0.0006661467, -0.010659855, 0.090222426, -0.013101601, -0.043220893, -0.0409395, -0.078889154, 0.04819996, 0.08357922, -0.061341837, -0.15148611) * go_0(-1.0, -1.0);
    result += mat4(-0.051552843, 0.04883752, 0.22236107, 0.082210384, -0.10781561, -0.13986887, 0.30802122, 0.08129698, 0.014590004, 0.1744795, -0.008702794, -0.26453918, 0.23859273, 0.27499026, -0.08907096, -0.11396533) * go_0(-1.0, 0.0);
    result += mat4(0.17680302, 0.022539906, -0.12644073, -0.07810667, -0.06440564, -0.1937115, 0.22362083, 0.15877265, -0.035918653, -0.016067287, -0.18339655, 0.1543823, -0.01004357, 0.014796912, -0.059541825, -0.07496525) * go_0(-1.0, 1.0);
    result += mat4(-0.19312991, -0.024564218, 0.17875266, 0.2496253, 0.019069003, -0.09085132, -0.06492089, -0.043645658, 0.25133958, -0.26194933, 0.019492093, 0.10133122, -0.11057951, 0.0636808, -0.054831043, -0.15803578) * go_0(0.0, -1.0);
    result += mat4(0.26223436, -0.16157901, -0.1976137, -0.035051145, 0.21214224, 0.3401372, 0.5216007, 0.6700845, -0.12713583, 0.120234296, 0.04647983, 0.08953485, -0.53825873, 0.2739483, 0.39496818, 0.020643814) * go_0(0.0, 0.0);
    result += mat4(-0.041439362, 0.11358511, 0.07060764, -0.16733532, 0.18871532, -0.18637286, -0.035755362, 0.012733885, 0.042467248, 0.2349043, -0.10918459, -0.21813078, -0.073067755, 0.08488387, 0.09177309, -0.23914938) * go_0(0.0, 1.0);
    result += mat4(-0.042621277, -0.24078824, -0.021424523, -0.007019578, -0.029259302, -0.17231734, -0.027484939, 0.021671435, -0.062107943, 0.10638934, -0.009526606, -0.09798395, 0.11208506, 0.09472034, 0.013034389, -0.19733614) * go_0(1.0, -1.0);
    result += mat4(-0.13013071, -0.14299756, 0.23108183, 0.18999898, 0.05525996, -0.01161137, 0.059769284, 0.024959827, 0.18430766, -0.28173015, -0.11164548, 0.1054962, -0.05249486, -0.07437297, 0.115532555, 0.17630522) * go_0(1.0, 0.0);
    result += mat4(0.05864554, -0.022461498, -0.15162918, 0.07141074, 0.024728106, 0.092160806, -0.004592189, 0.030370867, -0.009048824, 0.028164314, 0.011055046, -0.011112018, 0.112569354, 0.026626568, -0.06660306, 0.003634946) * go_0(1.0, 1.0);
    result += mat4(0.06379041, -0.038249806, -0.06160145, 0.06156178, 0.04683488, -0.05885483, -0.0121804485, -0.03547206, 0.03276355, 0.030431833, -0.015190564, 0.13947055, -0.1223834, -0.067045, 0.065692596, 0.104044564) * go_1(-1.0, -1.0);
    result += mat4(0.019469986, -0.13686319, -0.28933376, -0.17707358, 0.33283707, 0.10433893, -0.12440424, 0.14742821, -0.0010814479, -0.21799791, 0.048757467, 0.2835622, -0.2643379, -0.10806347, 0.12151464, -0.055228937) * go_1(-1.0, 0.0);
    result += mat4(-0.18912427, 0.076117314, 0.10264859, -0.058588713, 0.07278803, -0.04987233, 0.024781132, 0.20415989, -0.048158433, -0.025592465, 0.08732647, -0.19518706, -0.08699652, 0.07888954, -0.06287499, -0.13874468) * go_1(-1.0, 1.0);
    result += mat4(0.23872691, -0.012314145, -0.33459377, -0.1310463, 0.049930844, 0.03124191, 0.14450158, 0.22526416, -0.21537669, -0.056746982, 0.082357325, 0.009039302, 0.48757255, 0.26592538, 0.31403992, 0.1079903) * go_1(0.0, -1.0);
    result += mat4(-0.003156833, 0.14999776, 0.3177266, 0.18880388, 0.2514045, -0.5620437, -0.110633686, 0.085045576, -0.019093752, -0.10633538, -0.07372114, 0.08093257, 0.40297195, -0.42842764, -0.5099368, -0.117902905) * go_1(0.0, 0.0);
    result += mat4(0.054723468, -0.22143371, -0.080170535, 0.11801161, -0.1837477, 0.0115374345, 0.17818123, 0.36469492, 0.012382525, -0.26728615, 0.044464953, 0.28695142, -0.062313966, 0.042640977, -0.19088961, 0.021226598) * go_1(0.0, 1.0);
    result += mat4(-0.09542022, -0.074450545, -0.13662271, 0.0047579734, 0.038643643, 0.0057035317, 0.010948598, 0.11691816, 0.12941894, 0.021103136, -0.09375779, -0.024820587, 0.10518244, 0.11617655, 0.04521192, 0.081855424) * go_1(1.0, -1.0);
    result += mat4(0.038214758, 0.12035451, -0.42161435, -0.25775856, 0.062097635, -0.09038791, 0.039834194, 0.12608735, -0.3059741, 0.11122705, 0.101475306, -0.16488662, -0.08142406, 0.15159576, -0.24148002, -0.25276068) * go_1(1.0, 0.0);
    result += mat4(-0.10014693, -0.120480426, 0.106845155, -0.026614334, -0.036622092, -0.16601749, 0.0443842, 0.14661941, 0.008907851, -0.15375392, -0.00032195396, 0.07091635, -0.08842447, -0.027301233, 0.12642208, -0.05739118) * go_1(1.0, 1.0);
    result += vec4(-0.020053953, -0.08030914, -0.031667113, -0.057931505);
    return result;
}
//!DESC Upscale-Conv-4x3x3x8
//!HOOK MAIN
//!BIND conv2d_2_tf
//!SAVE conv2d_3_tf
//!WIDTH conv2d_2_tf.w
//!HEIGHT conv2d_2_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_2_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
    vec4 result = mat4(0.092348345, 0.011549111, -0.07096583, 0.06318526, -0.34451073, -0.06226293, -0.11486986, -0.28391263, -0.07931199, 0.047377743, 0.11298014, 0.018078646, 0.008847511, -0.085046604, -0.10360512, 0.16585863) * go_0(-1.0, -1.0);
    result += mat4(-0.15492225, 0.066241525, -0.2880374, 0.24267495, -0.1057126, -0.351533, -0.19891146, -0.2209817, 0.2745846, 0.056732643, 0.24722001, -0.025073752, 0.1285598, 0.15161784, 0.22305192, -0.22307764) * go_0(-1.0, 0.0);
    result += mat4(0.043648794, 0.002543572, -0.0053086164, 0.014056233, -0.0025330964, -0.17823894, -0.16875874, -0.22843477, -0.12612578, -0.10728596, 0.1317476, -0.12218237, 0.32138517, 0.012191922, 0.046478216, 0.23892581) * go_0(-1.0, 1.0);
    result += mat4(0.12965497, -0.07608229, -0.10039548, -0.09535607, -0.049215976, -0.018316727, 0.021785105, -0.29035375, -0.062276933, 0.07903935, 0.006138336, -0.17263635, 0.031781826, 0.18434966, 0.17061065, 0.02077058) * go_0(0.0, -1.0);
    result += mat4(0.38750374, -0.38368112, -0.027802546, 0.063279726, -0.6239663, 0.20014192, -0.40209654, -0.3320961, 0.006900858, 0.6090297, -0.07506234, 0.20160931, -0.047854822, 0.021656018, 0.0049554114, 0.14350726) * go_0(0.0, 0.0);
    result += mat4(-0.041821595, 0.021657363, 0.13525978, 0.17162056, -0.19015202, -0.25497964, -0.14035563, 0.13719065, 0.17625289, -0.25994387, 0.084760614, 0.22369596, -0.15136376, -0.1385544, 0.068622775, -0.05381221) * go_0(0.0, 1.0);
    result += mat4(0.028013391, -0.033600815, 0.03991427, 0.07613022, -0.16403502, -0.2936361, -0.2920832, -0.38995817, -0.09273259, 0.2301474, -0.08964003, -0.09027052, 0.12913172, -0.049059182, 0.16466747, 0.15556188) * go_0(1.0, -1.0);
    result += mat4(0.07706466, 0.20295623, -0.13845254, -0.14086933, -0.045054216, -0.15888304, -0.20826185, -0.53498626, -0.20120667, 0.02944775, -0.20645592, 0.14122348, -0.046863936, -0.08029416, 0.094162844, -0.12828223) * go_0(1.0, 0.0);
    result += mat4(-0.007267417, -0.0046080705, -0.07930926, 0.014687774, -0.45307216, -0.24690385, -0.23200984, -0.4180271, 0.124578185, 0.13288634, 0.033508055, 0.118447095, -0.037407, -0.20652232, -0.040319838, -0.08660553) * go_0(1.0, 1.0);
    result += mat4(-0.22856003, 0.08621852, 0.06809734, -0.07325568, 0.01537169, 0.000639635, 0.020709824, -0.07083113, 0.16485776, 0.097905956, -0.006345512, 0.18595028, 0.09344443, -0.3147003, -0.30784383, -0.0057022553) * go_1(-1.0, -1.0);
    result += mat4(0.35297117, -0.07332451, 0.14582145, -0.1953324, -0.26668516, -0.08707401, -0.28034073, 0.13042176, -0.10846176, 0.062066674, -0.12201378, 0.22939827, -0.17046858, -0.075111955, -0.3703659, -0.26530454) * go_1(-1.0, 0.0);
    result += mat4(-0.10224615, 0.091090545, -0.05792418, -0.04401949, -0.21356915, 0.12028008, -0.020852875, -0.054986063, 0.17630918, 0.11274911, -0.03103941, 0.15191038, -0.27852568, -0.053193133, -0.13109528, -0.30675924) * go_1(-1.0, 1.0);
    result += mat4(-0.41568774, 0.27179566, 0.23976654, -0.07440384, 0.10714987, -0.08263661, -0.12746455, -0.08196831, 0.10331742, -0.22144881, -0.14936146, 0.2534529, 0.18653165, -0.031143565, -0.26364815, -0.1777623) * go_1(0.0, -1.0);
    result += mat4(0.16597204, 0.0054389574, -0.819906, -0.4300934, 0.10858059, -0.10608918, -0.059153773, -0.1643999, 0.2057038, -0.43916315, 0.24373738, -0.040487833, 0.21805379, -0.21550594, -0.4369431, -0.22926703) * go_1(0.0, 0.0);
    result += mat4(0.17658432, 0.28409827, -0.14008674, -0.11056963, -0.18818034, 0.029623456, -0.028717186, -0.067016356, -0.40485436, -0.089993626, 0.24655615, -0.04519315, -0.20817767, -0.17945032, -0.30033702, -0.06559305) * go_1(0.0, 1.0);
    result += mat4(0.019520376, -0.042809293, -0.07077904, -0.15429147, 0.15946518, 0.08921542, -0.051255226, 0.1027924, -0.07770598, -0.09715461, 0.21211259, 0.011298821, -0.011093094, -0.021823658, -0.27545053, -0.2373658) * go_1(1.0, -1.0);
    result += mat4(0.015511425, -0.021879502, 0.19077745, 0.11016199, 0.1106167, 0.13150243, 0.008336127, 0.07087111, 0.20369104, 0.04512683, 0.42380115, 0.11048072, 0.041108422, -0.23399702, -0.50051045, -0.14850679) * go_1(1.0, 0.0);
    result += mat4(0.09962276, 0.12795202, 0.03406151, -0.022594294, 0.003382893, 0.14019206, 0.010771717, -0.0504001, -0.15400204, -0.2037712, 0.05653853, 0.04790949, -0.008362585, 0.27567932, -0.03961576, -0.23369862) * go_1(1.0, 1.0);
    result += vec4(0.14959018, 0.02919448, 0.0326669, 0.06768387);
    return result;
}
//!DESC Upscale-Conv-4x3x3x8
//!HOOK MAIN
//!BIND conv2d_3_tf
//!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_tf_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
    vec4 result = mat4(-0.084394485, 0.016493073, 0.016797146, -0.0053561246, 0.053920858, 0.01573839, 0.052421916, -0.027108151, 0.14107837, -0.06431044, -0.06964066, -0.067688584, -0.104633816, 0.02696463, 0.13619483, -0.0029869801) * go_0(-1.0, -1.0);
    result += mat4(0.0046778396, -0.011591918, 0.06420322, -0.023565795, 0.049672235, -0.009634769, -0.22492595, 0.09164804, -0.2790692, 0.117682606, 0.18726623, 0.07687261, -0.12465192, 0.03142656, 0.18775102, 0.091342464) * go_0(-1.0, 0.0);
    result += mat4(-0.113580845, -0.017467966, 0.016541954, -0.024166046, 0.18918575, -0.034905262, -0.11024242, -0.13085513, -0.17789307, 0.041150704, 0.268339, 0.25922203, 0.09019094, -0.062000286, 0.11462383, -0.07963925) * go_0(-1.0, 1.0);
    result += mat4(0.3258164, -0.12108431, -0.31655976, -0.070432335, -0.11392292, 0.058203746, 0.1333354, -0.06024274, 0.022118362, 0.0817773, -0.15476245, 0.27508014, -0.06412502, -0.036618974, 0.032069776, -0.03686787) * go_0(0.0, -1.0);
    result += mat4(0.6528506, -0.030277515, -0.5588472, -0.04408157, 0.093097635, 0.38286957, 0.51352715, -0.23801436, -0.24588928, -0.72285944, -0.14402243, 0.44834173, -0.0668237, -0.20662913, 0.60910714, -0.016656926) * go_0(0.0, 0.0);
    result += mat4(0.18700771, -0.06432143, -0.1335317, 0.07824519, 0.07244991, 0.13448672, -0.07946187, 0.086320214, 0.63916326, 0.30472332, -0.028304817, 0.16940933, -0.1510297, -0.20419174, 0.08564124, -0.11302102) * go_0(0.0, 1.0);
    result += mat4(-0.04591939, 0.11538493, 0.1522626, 0.08873703, 0.00091377087, -0.12730649, -0.011363399, 0.03729583, 0.024664454, 0.10566429, 0.09240334, 0.077509366, 0.09602506, -0.017290076, -0.122802496, 0.026897771) * go_0(1.0, -1.0);
    result += mat4(-0.012308567, 0.17486034, 0.095571116, -0.004873663, -0.26773053, -0.12069487, 0.00240376, 0.21224426, 0.09590006, -0.07113762, 0.49553472, -0.70697355, 0.1082898, -0.40515184, -0.19816537, 0.033929355) * go_0(1.0, 0.0);
    result += mat4(-0.012107104, 0.05848574, 0.038235698, -0.054012705, 0.0047617727, -8.0178164e-05, 0.14021727, 0.09106305, -0.018121002, 0.06846601, -0.0602399, -0.15124476, -0.12827854, -0.12092974, 0.03620283, 0.22423702) * go_0(1.0, 1.0);
    result += mat4(0.047554135, 0.013713998, -0.19877706, 0.20493634, 0.11640787, -0.07232803, -0.14646003, -0.006013356, -0.011176427, 0.032947335, 0.077004775, -0.03560033, 0.024175053, -0.03007514, -0.12503828, 0.0176204) * go_1(-1.0, -1.0);
    result += mat4(0.35598892, -0.129132, -0.16694455, -0.20155169, -0.2970762, 0.005555552, 0.3451364, -0.017626438, 0.11259827, 0.011302529, -0.07223299, 0.0041388487, 0.1399206, -0.03988847, -0.116156444, -0.07081249) * go_1(-1.0, 0.0);
    result += mat4(-0.047312055, -0.07309245, 0.037772585, 0.020345727, -0.11299656, 0.036599513, 0.049321774, 0.11437634, -0.056323104, -0.061282735, -0.020636894, -0.0721359, -0.016392289, 0.040534876, -0.07898183, 0.07670411) * go_1(-1.0, 1.0);
    result += mat4(-0.01614528, -0.010428739, 0.07363855, 0.31304735, 0.020175518, 0.025360018, -0.15698072, 0.18748625, -0.19403012, 0.00050825306, 0.23111546, -0.027805353, 0.032027993, 0.08388896, 0.011589746, -0.03743963) * go_1(0.0, -1.0);
    result += mat4(-0.6464231, -0.4745039, 0.16213289, 0.10013217, -0.15123008, -0.8054472, -0.36683777, 0.31472555, -0.096195586, 0.48154506, 0.62508005, -0.21204728, 0.31178978, 0.18453065, -0.5653493, -0.007459248) * go_1(0.0, 0.0);
    result += mat4(0.37288693, 0.09701015, 0.11216748, 0.016230293, -0.027019959, 0.05083335, -0.027923055, 0.020143913, 0.39570096, -0.18937685, -0.014264976, -0.031576872, -0.28692764, 0.14014132, 0.027101377, 0.079557866) * go_1(0.0, 1.0);
    result += mat4(-0.04016008, -0.02177852, -0.039032266, 0.012764097, 0.026319377, 0.100706704, 0.031527523, -0.026600633, -0.017820677, -0.1284909, -0.14268431, 0.03965332, -0.088624984, 0.058060996, 0.06361163, 0.055537306) * go_1(1.0, -1.0);
    result += mat4(0.22145456, -0.3484864, -0.085450985, 0.07435331, 0.2935538, 0.14172246, -0.039141074, -0.20678422, -0.10138657, -0.263434, -0.13958192, 0.23467793, 0.15134631, 0.11852304, 0.19699298, -0.13204712) * go_1(1.0, 0.0);
    result += mat4(0.1563562, -0.0050778976, -0.2500995, -0.048066173, 0.1618367, -0.0677695, -0.05582334, -0.100746006, -0.320929, -0.0010358171, -0.018679567, 0.28365892, 0.20668015, 0.17990084, 0.081409745, -0.15907615) * go_1(1.0, 1.0);
    result += vec4(-0.088332005, -0.030688623, 0.0075079403, 0.00037059895);
    return result;
}
//!DESC Upscale-Conv-4x3x3x8
//!HOOK MAIN
//!BIND conv2d_4_tf
//!SAVE conv2d_5_tf
//!WIDTH conv2d_4_tf.w
//!HEIGHT conv2d_4_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_4_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
    vec4 result = mat4(-0.045126025, 0.050714225, 0.0125732105, 0.02846407, -0.060089536, -0.034834176, -0.0040735775, 0.052462872, -0.06349833, 0.035765424, -0.016616918, -0.0018578349, 0.013570179, 0.10944321, -0.030015511, 0.027956745) * go_0(-1.0, -1.0);
    result += mat4(-0.12730308, 0.03566323, 0.11001803, 0.15532783, 0.09383734, 0.021051487, 0.061895505, -0.16896167, -0.04920816, 0.07981793, 0.10226323, 0.15644692, -0.1068625, 0.07156015, 0.085769154, 0.16979004) * go_0(-1.0, 0.0);
    result += mat4(0.024430305, 0.019860426, 0.054592874, -0.0084316535, -0.08488101, 0.030014526, -0.12295434, -0.046541102, 0.041157596, -0.009510352, 0.026766898, -0.035353363, 0.16085613, -0.10208919, 0.08546014, -0.058680072) * go_0(-1.0, 1.0);
    result += mat4(0.004408565, -0.11591945, 0.250611, 0.080347836, -0.08632918, -0.026267642, -0.2886495, 0.024631828, 0.19790933, -0.08560785, 0.011915067, 0.053927578, 0.21855202, 0.0815331, 0.29583204, 0.10125018) * go_0(0.0, -1.0);
    result += mat4(0.08520437, -0.23847492, 0.10188593, 0.08718157, -0.10323534, 0.25349405, 0.14276703, 0.8306245, 0.7219559, 0.27170542, 0.0027806691, 0.22671483, -0.03504881, 0.26001468, -0.33698237, -0.08021798) * go_0(0.0, 0.0);
    result += mat4(0.005341523, -0.04316488, 0.010990971, -0.04580816, -0.2011575, -0.12839723, 0.03454423, 0.07033941, 0.2015521, -0.023450239, 0.07495305, 0.060190327, 0.2374915, 0.08314132, 0.1448765, 0.010782365) * go_0(0.0, 1.0);
    result += mat4(-0.2539676, -0.061023794, 0.017386999, -0.16106452, -0.0081275655, -0.026813408, -0.04273378, 0.059856992, 0.10524249, -0.05252324, -0.054779455, -0.13417783, -0.02017702, 0.03993368, 0.08925187, -0.08785317) * go_0(1.0, -1.0);
    result += mat4(-0.2150907, -0.09752493, -0.07819065, 0.118367486, 0.15965632, -0.01911593, 0.09756007, -0.19293915, -0.47118682, -0.02320393, -0.19661823, -0.07426088, 0.114565015, -0.036253266, 0.07992177, 0.31465366) * go_0(1.0, 0.0);
    result += mat4(0.0026737838, -0.014244393, -0.01744674, -0.013864417, -0.08633515, -0.1659503, -0.14300038, -0.08190065, 0.13308053, 0.09437318, 0.057976108, 0.10253313, 0.15059637, 0.08850139, 0.027487176, -0.08374699) * go_0(1.0, 1.0);
    result += mat4(-0.09405149, -0.34007606, -0.089055754, -0.21923012, 0.01680151, -0.021069944, -0.08408347, -0.15109247, 0.104958385, -0.035915416, -0.025164688, 0.015189877, 0.30754042, 0.12916833, 0.08284153, 0.11368843) * go_1(-1.0, -1.0);
    result += mat4(-0.14502743, -0.4974284, -0.2713126, -0.3666665, -0.0029413125, 0.032684244, -0.07021809, 0.1026307, 0.0642739, -0.123929024, -0.08701057, -0.18521209, 0.49029237, 0.046552774, -0.14227879, -0.1992994) * go_1(-1.0, 0.0);
    result += mat4(-0.12557283, -0.14293958, -0.21946761, -0.1387717, 8.083835e-05, -0.02922972, -0.011674403, 0.030726615, -0.13186221, -0.059631154, 0.017142752, 0.055411287, 0.12673274, 0.09713596, -0.08412111, -0.117981605) * go_1(-1.0, 1.0);
    result += mat4(-0.3852806, -0.10279084, -0.3413863, -0.07057451, -0.24884792, -0.033740543, 0.5202652, 0.19363657, 0.006298159, 0.07814635, -0.26607308, -0.3450293, 0.020913104, 0.27751172, 0.16371046, -0.04810517) * go_1(0.0, -1.0);
    result += mat4(-0.39776224, -0.26468077, -0.3712633, -0.4995043, -0.22427292, 0.15806368, 0.12583312, -0.34573475, -0.3879835, -0.74063385, -0.02289026, -0.6869013, -0.10638952, 0.22758023, 0.49369675, 0.31574854) * go_1(0.0, 0.0);
    result += mat4(-0.35703254, -0.2998416, -0.28791642, -0.1461705, -0.14126725, 0.014661143, -0.019008396, -0.037071824, 0.23344654, 0.110609345, -0.01446526, -0.09883566, 0.20432739, 0.21668363, 0.18600217, 0.1599944) * go_1(0.0, 1.0);
    result += mat4(-0.04502004, 0.020007275, -0.27264562, 0.004470462, -0.01151076, 0.0078300135, -0.14619705, 0.010003601, 0.1576979, 0.09199233, -0.052911576, 0.041739505, 0.10981996, 0.12077738, 0.015626527, 0.16059186) * go_1(1.0, -1.0);
    result += mat4(0.03954714, -0.094067276, 0.07555303, -0.025608933, -0.0689886, -0.010123235, 0.2671116, 0.067083225, 0.50753486, -0.26253924, -0.51049423, -0.28097796, 0.28253108, 0.13674913, 0.14408405, -0.03868868) * go_1(1.0, 0.0);
    result += mat4(-0.10005469, -0.12964216, -0.22730994, -0.06401748, -0.11373249, 0.10857882, 0.060836446, 0.083079845, -0.01994219, -0.30618262, -0.21965942, -0.46155962, 0.019577969, 0.047131278, 0.020768244, -0.02240607) * go_1(1.0, 1.0);
    result += vec4(-0.09626135, 0.08572907, 0.07610502, 0.16032846);
    return result;
}
//!DESC Upscale-Conv-4x3x3x8
//!HOOK MAIN
//!BIND conv2d_5_tf
//!SAVE conv2d_6_tf
//!WIDTH conv2d_5_tf.w
//!HEIGHT conv2d_5_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_5_tf_texOff(vec2(x_off, y_off))), 0.0))
#define go_1(x_off, y_off) (max(-(conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0))
vec4 hook() {
    vec4 result = mat4(-0.11283044, -0.013649477, -0.019421967, 0.006565143, 0.10823824, 0.19030023, 0.07156823, 0.024473488, -0.047083624, 0.06672259, 0.007229437, 0.011572557, 0.060731366, -0.041707586, -0.054455467, -0.06050326) * go_0(-1.0, -1.0);
    result += mat4(0.39128456, 0.28495076, 0.16994765, -0.08431057, 0.32349753, 0.16350484, 0.32249597, -0.15476833, -0.0372553, -0.20726503, -0.07509582, -0.055866964, -0.26835552, -0.2888027, -0.25840938, 0.20359063) * go_0(-1.0, 0.0);
    result += mat4(-0.009564484, -0.12518948, -0.07402255, -0.0155140525, -0.055037342, 0.09893796, 0.17675622, 0.1404991, 0.04840018, 0.10003178, -0.122268006, 0.0066550495, -0.041109264, -0.083343655, -0.047279987, -0.057214934) * go_0(-1.0, 1.0);
    result += mat4(0.087393224, -0.24262205, -0.14546157, 0.012720769, -0.26185998, -0.3492204, 0.087170415, 0.055508275, 0.112916835, -0.021071512, -0.08717399, 0.038901046, 0.07165449, -0.12182682, 0.034713216, -0.027062943) * go_0(0.0, -1.0);
    result += mat4(0.1938159, 0.02296587, -0.40469512, -0.08972523, -0.5214429, -0.24444413, -0.24784324, 0.024871845, 0.23072693, 0.07799527, 0.2761894, -0.05362061, 0.5237775, -0.34370264, 0.42938495, -0.0615884) * go_0(0.0, 0.0);
    result += mat4(-0.25135922, 0.34398514, -0.13097152, 0.50502264, 0.06675731, -0.17853314, 0.015865749, -0.14499716, 0.01271855, -0.031905618, 0.090150066, 0.31696916, 0.0974942, 0.0604816, 0.0981407, -0.10030817) * go_0(0.0, 1.0);
    result += mat4(-0.2942046, 0.3371821, 0.055784162, 0.28460097, 0.08670208, 0.30872712, 0.042119164, -0.19730645, -0.029366834, -0.079392135, -0.04880518, 0.045242663, 0.15900402, 0.09247392, 0.1781036, -0.082805544) * go_0(1.0, -1.0);
    result += mat4(-0.23928781, 0.12516917, -0.06923645, 0.42036477, 0.041864343, -0.028095292, 0.05267187, 0.49764788, 0.0058747637, -0.092510335, -0.13487665, -0.02442822, 0.10546383, 0.012073766, 0.14021946, 0.1738348) * go_0(1.0, 0.0);
    result += mat4(-0.22908622, -0.030520018, -0.037626877, -0.028545355, -0.04057567, -0.05031531, -0.07575728, -0.26082054, 0.005577125, 0.07140469, -0.035891753, -0.027718421, -0.055172723, -0.040569693, 0.036204822, -0.005853962) * go_0(1.0, 1.0);
    result += mat4(0.034226943, 0.16486132, 0.09011371, 0.022761948, 0.15949166, -0.08287511, 0.07277687, -0.17158747, 0.14110333, -0.20516108, -0.011551723, 0.051031575, -0.019465653, 0.17198224, 0.022128996, 0.07668109) * go_1(-1.0, -1.0);
    result += mat4(0.17403072, 0.0877173, 0.076412074, -0.03931085, 0.18396425, 0.12625359, 0.044374563, -0.04681122, -0.4707356, -0.24832478, -0.37675288, 0.09399827, -0.059699435, -0.07279629, 0.10709204, -0.01452613) * go_1(-1.0, 0.0);
    result += mat4(-0.012287054, 0.043240163, 0.13432027, 0.016848277, -0.016251257, -0.04498773, -0.064520776, 0.032628447, 0.021948995, 0.08237686, 0.21542545, -0.025794316, -0.020522699, 0.060088117, 0.020946914, 0.010411652) * go_1(-1.0, 1.0);
    result += mat4(-0.071696386, -0.07662451, -0.007301545, 0.016705653, -0.09712441, -0.5909676, 0.025369452, -0.23310408, -0.09923453, 0.16598324, -0.15862101, 0.08138516, -0.04394261, -0.036927376, -0.14534806, 0.24659514) * go_1(0.0, -1.0);
    result += mat4(-0.27326187, -0.44396913, 0.45290014, 0.11851251, 0.37091386, -0.40212852, -0.38454592, -0.27537692, -0.21460232, 0.63972193, -0.07988595, 0.07176707, -0.36231333, 0.041881774, 0.1238989, -0.04679531) * go_1(0.0, 0.0);
    result += mat4(0.013311633, -0.11264601, -0.000334869, -0.040406898, 0.16872448, -0.062339205, 0.033721007, -0.2167214, 0.090755336, 0.25688443, 0.049314357, 0.41296968, 0.028205669, -0.05258211, 0.06585726, 0.16326734) * go_1(0.0, 1.0);
    result += mat4(-0.10017808, -0.048400078, 0.051791072, -0.010662406, 0.2781319, 0.00027611817, 0.046901092, -0.21505776, 0.03867316, 0.047448587, 0.09677218, 0.08187778, -0.25470436, 0.091234475, 0.03072702, 0.08450537) * go_1(1.0, -1.0);
    result += mat4(0.31911144, -0.19473487, -0.08755452, -0.22224784, 0.24446562, 0.24320345, 0.35516587, 0.30172288, -0.16882494, -0.29129937, -0.27510744, 0.03922657, -0.2550607, 0.32496977, 0.020911083, 0.34660512) * go_1(1.0, 0.0);
    result += mat4(0.106634595, -0.06650022, -0.03557048, -0.20013554, 0.059642687, -0.18237995, 0.045294486, -0.13069394, -0.17135487, -0.34176064, -0.2608333, -0.35861385, 0.0810206, 0.042578034, -0.038163207, 0.05271628) * go_1(1.0, 1.0);
    result += vec4(0.03929918, 0.04986752, -0.032747284, -0.05262931);
    return result;
}
//!DESC Upscale-Conv-4x1x1x56
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_1_tf
//!BIND conv2d_2_tf
//!BIND conv2d_3_tf
//!BIND conv2d_4_tf
//!BIND conv2d_5_tf
//!BIND conv2d_6_tf
//!SAVE conv2d_7_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_tf_tex(conv2d_tf_pos)), 0.0))
#define g_2 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_3 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_4 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_6 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_8 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_10 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_12 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
vec4 hook() {
    vec4 result = mat4(0.030445501, -0.052265964, 0.01871345, -0.032196082, -0.08789084, 0.00451594, -0.035013296, 0.049980935, 0.019856643, -0.033371273, -0.012764798, -0.050311647, 0.1016879, 0.26120493, 0.15319104, 0.30260828) * g_0;
    result += mat4(-0.011320103, 0.084351994, -0.013853055, 0.091662854, -0.00022424257, -0.047643784, -0.060312573, -0.1231358, -0.031871304, -0.014136978, 0.0032705222, 0.07787969, -0.031681746, -0.057632104, -0.08574857, -0.12985754) * g_1;
    result += mat4(0.05320602, -0.048404478, 0.10048556, -0.026353268, -0.06601672, -0.064613424, -0.0019030399, -0.040858693, 0.2889084, 0.30683297, 0.28597072, 0.29085115, 0.0894729, 0.04317532, -0.051809974, -0.069235325) * g_2;
    result += mat4(-0.10028094, 0.018571123, -0.11555895, 0.0074250647, 0.08632434, 0.04199708, 0.07014709, 0.0395046, -0.18092953, -0.25615, -0.16059212, -0.2242134, -0.05844784, 0.011175528, 0.022804333, 0.055179488) * g_3;
    result += mat4(-0.0035756915, 0.029555544, -0.057007857, -0.011543149, -0.05260268, -0.13569865, 0.17767961, 0.05763981, 0.08037558, 0.0854749, -0.09117043, -0.028697504, -0.06290819, -0.052024692, 0.01357789, -0.0007758558) * g_4;
    result += mat4(-0.0076591154, -0.054832436, 0.03104537, -0.07229308, 0.044558987, 0.1096424, -0.06388823, -0.03381543, 0.008121961, -0.0071056834, 0.019476276, 0.014538379, 0.0144254705, -0.05443686, 0.05784454, 0.00021147214) * g_5;
    result += mat4(0.024051894, -0.01760832, 0.0828035, 0.06164727, -0.03441998, 0.00198512, 0.018536223, 0.012326052, -0.096829265, -0.09033538, 0.061622098, 0.004497285, 0.078871064, 0.065974824, -0.0076666777, -0.08943216) * g_6;
    result += mat4(-0.0827367, -0.13351539, -0.021332163, -0.07937496, -0.023691114, -0.07576844, 0.034633763, -0.0054157176, 0.04818707, 0.13734294, -0.0491794, -0.040830683, -0.014140617, -0.053490162, 0.01728071, 0.088826664) * g_7;
    result += mat4(0.055253997, -0.016022734, -0.07637242, -0.032335658, -0.0668001, -0.14762713, 0.05597752, 0.014707982, 0.004930473, -0.14050685, -0.028585805, 0.021917267, 0.08642902, 0.04652173, -0.01584847, -0.016214162) * g_8;
    result += mat4(-0.047325704, 0.007658281, 0.1395665, 0.034603175, -0.079251006, 0.082055256, 0.0818267, 0.111324936, 0.09762098, 0.1785905, -0.036907803, -0.14729157, -0.059522513, -0.04754573, 0.053542215, -0.04370413) * g_9;
    result += mat4(-0.13521186, -0.065591395, 0.023284486, 0.09420268, 0.13622068, -0.022057435, -0.042552732, -0.027567035, -0.030387424, -0.07810714, 0.014374227, 0.09920431, 0.048217654, 0.1090012, -0.07694576, -0.02600855) * g_10;
    result += mat4(0.1307021, 0.03766495, -0.10179733, -0.010970625, -0.06020565, 0.050316818, -0.056756098, 0.03114012, 0.028388757, -0.034492534, 0.039500885, -0.08915758, 0.03761112, -0.11821317, 0.043239858, 0.08695215) * g_11;
    result += mat4(0.031210948, 0.08761116, 0.01767844, -0.055869993, 0.19191101, -0.115752295, 0.055158403, -0.078982204, -0.058509402, -0.10978919, 0.06622744, -0.024440672, 0.006510303, 0.09053071, 0.041478187, -0.11237255) * g_12;
    result += mat4(-0.08888559, -0.0175886, -0.07919481, 0.1301304, -0.08967372, 0.013421654, 0.0213782, -0.01923792, -0.07347132, 0.23006114, -0.16629104, 0.14273474, 0.014865724, -0.077135175, 0.046202764, 0.110953994) * g_13;
    result += vec4(-0.09315623, -0.01892607, -0.018664315, 0.05707644);
    return result;
}
//!DESC Upscale-Conv-4x1x1x56
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_1_tf
//!BIND conv2d_2_tf
//!BIND conv2d_3_tf
//!BIND conv2d_4_tf
//!BIND conv2d_5_tf
//!BIND conv2d_6_tf
//!SAVE conv2d_7_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_tf_tex(conv2d_tf_pos)), 0.0))
#define g_2 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_3 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_4 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_6 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_8 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_10 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_12 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
vec4 hook() {
    vec4 result = mat4(-0.03203963, 0.012625379, -0.015731812, 0.01934081, 0.040269192, 0.06355962, 0.026060525, 0.024770064, 0.013291169, 0.036368445, 0.014430322, 0.048174843, -0.04100082, -0.11301496, -0.01512035, -0.12968759) * g_0;
    result += mat4(0.083384864, 0.010284865, 0.0014147769, -0.0058197724, -0.049497265, -0.027643712, -0.02452052, -0.004834419, 0.00024621058, -0.04149765, 0.022549637, 0.01907756, 0.051630385, 0.046271153, 0.06621741, 0.06213355) * g_1;
    result += mat4(0.03592716, 0.06960934, 0.039258648, 0.055528857, 0.039774194, 0.030444575, 0.009556282, -0.049838077, -0.13215798, -0.14297363, -0.1299766, -0.13833381, -0.02354993, -0.05251604, 0.06370487, 0.014982579) * g_2;
    result += mat4(-0.052483108, -0.0465884, -0.05734048, -0.044421416, 0.0022415305, 0.0380222, -0.012731541, 0.05548879, 0.07215888, 0.09319826, 0.08444643, 0.10942869, -0.020208193, 0.022419268, -0.082369365, -0.06718921) * g_3;
    result += mat4(0.085042566, 0.05402874, 0.07109829, 0.012440189, -0.00056668685, 0.077201664, -0.07645562, -0.0065426994, -0.016551742, 0.039741952, -0.08546126, 0.011569358, -0.018029, -0.0708575, -0.0051092226, -0.06613502) * g_4;
    result += mat4(0.014473516, 0.06471411, -0.109876424, -0.10161449, -0.006772723, 0.01944313, 0.05662042, 0.03279107, 0.079842456, -0.03113039, -0.06561014, -0.12358709, -0.04165135, -0.0041241474, 0.013571383, 0.022914797) * g_5;
    result += mat4(-0.004620971, -0.035017263, 0.019463848, 0.022293072, -0.09611277, -0.037571304, 0.025271876, 0.05271664, -0.094556056, -0.08180956, -0.0023080425, -0.08386168, 0.072075345, 0.043343827, 0.029228963, -0.0745529) * g_6;
    result += mat4(-0.08594209, -0.1486261, -0.0033100976, -0.09926667, 0.004597467, -0.06498222, -0.0072805905, -0.046663295, 0.010520682, 0.09522635, 0.047422618, 0.04686724, 0.0049615214, -0.070131496, -0.038736176, 0.027141714) * g_7;
    result += mat4(0.068141095, -0.009222132, -0.09298968, -0.022981714, -0.11794498, -0.24883682, 0.06285758, -0.040530503, 0.023102041, -0.108376004, -0.0947533, 0.011852517, 0.13540526, 0.082098365, -0.017887602, -0.0168834) * g_8;
    result += mat4(-0.056527253, -0.0028296846, 0.17043272, 0.01559117, -0.05693428, 0.17201194, 0.13481094, 0.20069869, 0.07975364, 0.15567626, 0.014267647, -0.1647196, -0.067929946, -0.060350247, 0.04606933, -0.080939464) * g_9;
    result += mat4(-0.12796874, -0.059804168, 0.038161963, 0.11338205, 0.12449382, -0.063439354, -0.027544323, -0.030887483, -0.06469375, -0.13027595, 0.019439653, 0.12102275, 0.10306811, 0.20515186, -0.11600495, -0.017482607) * g_10;
    result += mat4(0.13160959, 0.022079693, -0.12674521, -0.013941859, -0.03285099, 0.10889952, -0.108865075, 0.02437333, 0.05444826, -0.019505689, 0.06490676, -0.10266784, 0.0196239, -0.2045733, 0.08500317, 0.12041114) * g_11;
    result += mat4(0.038999576, 0.11392652, 0.018239606, -0.07527914, 0.2424234, -0.14988343, 0.08443514, -0.09385597, -0.06814398, -0.13903786, 0.07403476, -0.037108265, -0.0139128985, 0.09602558, 0.028035937, -0.15235782) * g_12;
    result += mat4(-0.111720346, -0.017848942, -0.10032179, 0.16303523, -0.1107667, 0.013318661, 0.025533743, -0.030419175, -0.10123028, 0.2987671, -0.1901437, 0.20649679, 0.02757003, -0.092585176, 0.06945392, 0.14909884) * g_13;
    result += vec4(-0.0019922925, -0.031558692, -0.012974283, -0.030921914);
    return result;
}
//!DESC Upscale-Conv-4x1x1x56
//!HOOK MAIN
//!BIND conv2d_tf
//!BIND conv2d_1_tf
//!BIND conv2d_2_tf
//!BIND conv2d_3_tf
//!BIND conv2d_4_tf
//!BIND conv2d_5_tf
//!BIND conv2d_6_tf
//!SAVE conv2d_7_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_tf_tex(conv2d_tf_pos)), 0.0))
#define g_2 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_3 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0))
#define g_4 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_5 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0))
#define g_6 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_7 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0))
#define g_8 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_9 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0))
#define g_10 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_11 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0))
#define g_12 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
#define g_13 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0))
vec4 hook() {
    vec4 result = mat4(0.0078015737, -0.1069858, -0.08214693, -0.19662377, -0.24679859, -0.259798, -0.2825307, -0.3002897, -0.033170536, 0.009037076, -0.06471358, -0.008062548, 0.33933204, 0.35258317, 0.42240462, 0.39983308) * g_0;
    result += mat4(-0.010697483, 0.081293896, 0.036631033, 0.18007624, 0.19054145, 0.24917243, 0.18648013, 0.2489242, -0.017479975, -0.043114778, 0.011919171, 0.025444604, -0.3097963, -0.21695957, -0.27833402, -0.18391538) * g_1;
    result += mat4(-0.25040805, -0.23631427, -0.25025168, -0.24865435, 0.042065173, 0.083157755, 0.061137203, 0.071588814, -0.044977773, 0.008478686, -0.00084282836, 0.049453374, -0.032142013, -0.08026673, -0.08853224, -0.1216394) * g_2;
    result += mat4(0.18268804, 0.17796996, 0.20164566, 0.19135785, -0.035876144, -0.06757642, -0.064864054, -0.090898216, 0.042896114, 0.00054021174, 0.0074260943, -0.035815943, 0.069839485, 0.121482305, 0.09711192, 0.10492122) * g_3;
    result += mat4(0.06319654, 0.09393101, 0.028855225, 0.06821149, -0.08000093, -0.020028021, -0.03671945, 0.017522326, -0.018603487, -0.035996117, -0.0976101, -0.090490334, -0.014328419, -0.030903641, 0.025069723, -0.0035409883) * g_4;
    result += mat4(-0.0020061978, -0.013291817, -0.041149486, -0.10289244, 0.024184963, 0.034944274, 0.014290865, -0.011308398, 0.09837517, 0.0998194, 0.05841568, 0.1001512, -0.027776875, -0.023589013, -0.005636875, -0.0064647263) * g_5;
    result += mat4(-0.029324658, -0.03390079, -0.00022918812, 0.015080682, -0.023656078, -0.013858318, 0.023292018, 0.00061927625, -0.08198919, -0.043944865, 0.018253015, 0.0036559834, 0.08720356, 0.04782466, 0.057039097, -0.039048817) * g_6;
    result += mat4(-9.105729e-05, -0.04331058, 0.038882393, -0.010137616, -0.010911734, -0.03208449, 0.02824511, 0.027689938, 0.052123386, 0.07206957, 0.026071645, -0.023875356, -0.03838205, -0.056557115, -0.03913256, 0.03652393) * g_7;
    result += mat4(0.069563136, -0.0012880678, -0.052812636, -0.022333166, -0.04461301, -0.10861375, 0.07419778, 0.035370655, 0.01702869, -0.05196944, -0.058625046, 0.041409995, 0.07369974, 0.033218417, -0.029440258, -0.028367113) * g_8;
    result += mat4(-0.044799328, -0.0057474473, 0.11498554, 0.019316392, -0.0962131, 0.036443487, 0.04333048, 0.06405375, 0.08939619, 0.082270615, 0.021189885, -0.15693638, -0.05184121, -0.034860216, 0.04559894, -0.021655124) * g_9;
    result += mat4(-0.11721688, -0.05531037, 0.013229716, 0.07984346, 0.15896061, 0.0013449837, 0.0035146866, -0.022993533, -0.04364348, -0.07877339, 0.014994648, 0.093894236, 0.017005067, 0.08363463, -0.10174244, -0.03644556) * g_10;
    result += mat4(0.11331717, 0.043665934, -0.08172703, -0.00242159, -0.11465893, 0.013738912, -0.104767494, 0.015051101, 0.050871555, -0.016916635, 0.03737477, -0.0832486, 0.04717599, -0.09404747, 0.06971056, 0.090383) * g_11;
    result += mat4(0.0304174, 0.08579437, 0.0119016655, -0.046921503, 0.15475388, -0.106115945, 0.046624437, -0.06969833, -0.054273132, -0.103994764, 0.05259161, -0.027331285, -0.006395205, 0.07532883, 0.02790517, -0.09288012) * g_12;
    result += mat4(-0.08568432, -0.0353462, -0.075286664, 0.099043466, -0.06930279, 0.009565153, 0.026108846, -0.016375825, -0.0596071, 0.20451383, -0.13568212, 0.1307245, 0.01610393, -0.06642206, 0.03890225, 0.09259684) * g_13;
    result += vec4(0.10899447, 0.10118224, 0.155225, 0.15036581);
    return result;
}
//!DESC Upscale-Depth-to-Space
//!HOOK MAIN
//!BIND MAIN
//!BIND conv2d_7_tf
//!BIND conv2d_7_tf1
//!BIND conv2d_7_tf2
//!SAVE MAIN
//!WIDTH conv2d_7_tf.w 2 *
//!HEIGHT conv2d_7_tf.h 2 *
//!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > *
vec4 hook() {
    vec2 f0 = fract(conv2d_7_tf_pos * conv2d_7_tf_size);
    ivec2 i0 = ivec2(f0 * vec2(2.0));
    float c0 = conv2d_7_tf_tex((vec2(0.5) - f0) * conv2d_7_tf_pt + conv2d_7_tf_pos)[i0.y * 2 + i0.x];
    vec2 f1 = fract(conv2d_7_tf1_pos * conv2d_7_tf1_size);
    ivec2 i1 = ivec2(f1 * vec2(2.0));
    float c1 = conv2d_7_tf1_tex((vec2(0.5) - f1) * conv2d_7_tf1_pt + conv2d_7_tf1_pos)[i1.y * 2 + i1.x];
    vec2 f2 = fract(conv2d_7_tf2_pos * conv2d_7_tf2_size);
    ivec2 i2 = ivec2(f2 * vec2(2.0));
    float c2 = conv2d_7_tf2_tex((vec2(0.5) - f2) * conv2d_7_tf2_pt + conv2d_7_tf2_pos)[i2.y * 2 + i2.x];
    float c3 = c2;
    return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos);
}
