#pragma OPENCL EXTENSION cl_khr_fp16 : enable
__kernel void E_240_360_4_4(write_only image2d_t data0_240_2880_4, __global uchar* data1_1382400) {
const sampler_t smp = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST;
  int idx0 = get_global_id(0); /* 4 */
  int idx1 = get_global_id(1); /* 360 */
  int idx2 = get_global_id(2); /* 240 */
  int alu0 = ((idx0*1440)+(idx2*5760)+(idx1<<2));
  uchar val0 = (*(data1_1382400+(alu0+1)));
  uchar val1 = (*(data1_1382400+(alu0+2)));
  uchar val2 = (*(data1_1382400+(alu0+3)));
  uchar val3 = (*(data1_1382400+alu0));
  write_imagef(data0_240_2880_4, (int2)((idx0+(idx1<<3)),idx2), (float4)(((float)((((half)(val3))*((half)(0.0039215087890625f))))),((float)((((half)(val0))*((half)(0.0039215087890625f))))),((float)((((half)(val1))*((half)(0.0039215087890625f))))),((float)((((half)(val2))*((half)(0.0039215087890625f)))))));
}

__kernel void r_120_60_8_4_3_4_3_3_4(write_only image2d_t data0_120_2880_4, read_only image2d_t data1_240_2880_4, read_only image2d_t data2_1_1728_4, read_only image2d_t data3_1_8_4) {
  float buf0[12];
  int idx0 = get_global_id(0); /* 8 */
  int idx1 = get_global_id(1); /* 60 */
  int idx2 = get_global_id(2); /* 120 */
  int alu0 = (idx1*48);
  *(buf0+0) = 0.0f;
  *(buf0+1) = 0.0f;
  *(buf0+2) = 0.0f;
  *(buf0+3) = 0.0f;
  *(buf0+4) = 0.0f;
  *(buf0+5) = 0.0f;
  *(buf0+6) = 0.0f;
  *(buf0+7) = 0.0f;
  *(buf0+8) = 0.0f;
  *(buf0+9) = 0.0f;
  *(buf0+10) = 0.0f;
  *(buf0+11) = 0.0f;
  for (int Ridx0 = 0; Ridx0 < 4; Ridx0++) {
    for (int Ridx2 = 0; Ridx2 < 3; Ridx2++) {
      int alu13 = ((idx2<<1)+Ridx2+-1);
      for (int Ridx3 = 0; Ridx3 < 3; Ridx3++) {
        int alu14 = (alu0+(Ridx3<<3)+Ridx0);
        float4 val0 = read_imagef(data1_240_2880_4, smp, (int2)((alu14+-8),alu13));
        float4 val1 = read_imagef(data1_240_2880_4, smp, (int2)((alu14+8),alu13));
        float4 val2 = read_imagef(data1_240_2880_4, smp, (int2)((alu14+24),alu13));
        int alu15 = ((Ridx0*12)+(Ridx3<<2)+(Ridx2*72)+(idx0*216));
        float4 val3 = read_imagef(data2_1_1728_4, smp, (int2)((alu15+1),0));
        float4 val4 = read_imagef(data2_1_1728_4, smp, (int2)((alu15+2),0));
        float4 val5 = read_imagef(data2_1_1728_4, smp, (int2)((alu15+3),0));
        float4 val6 = read_imagef(data2_1_1728_4, smp, (int2)(alu15,0));
        *(buf0+0) = ((*(buf0+0))+(val0.x*val6.x)+(val0.y*val3.x)+(val0.z*val4.x)+(val0.w*val5.x));
        *(buf0+1) = ((*(buf0+1))+(val0.x*val6.y)+(val0.y*val3.y)+(val0.z*val4.y)+(val0.w*val5.y));
        *(buf0+2) = ((*(buf0+2))+(val0.x*val6.z)+(val0.y*val3.z)+(val0.z*val4.z)+(val0.w*val5.z));
        *(buf0+3) = ((*(buf0+3))+(val0.x*val6.w)+(val0.y*val3.w)+(val0.z*val4.w)+(val0.w*val5.w));
        *(buf0+4) = ((*(buf0+4))+(val1.x*val6.x)+(val1.y*val3.x)+(val1.z*val4.x)+(val1.w*val5.x));
        *(buf0+5) = ((*(buf0+5))+(val1.x*val6.y)+(val1.y*val3.y)+(val1.z*val4.y)+(val1.w*val5.y));
        *(buf0+6) = ((*(buf0+6))+(val1.x*val6.z)+(val1.y*val3.z)+(val1.z*val4.z)+(val1.w*val5.z));
        *(buf0+7) = ((*(buf0+7))+(val1.x*val6.w)+(val1.y*val3.w)+(val1.z*val4.w)+(val1.w*val5.w));
        *(buf0+8) = ((*(buf0+8))+(val2.x*val6.x)+(val2.y*val3.x)+(val2.z*val4.x)+(val2.w*val5.x));
        *(buf0+9) = ((*(buf0+9))+(val2.x*val6.y)+(val2.y*val3.y)+(val2.z*val4.y)+(val2.w*val5.y));
        *(buf0+10) = ((*(buf0+10))+(val2.x*val6.z)+(val2.y*val3.z)+(val2.z*val4.z)+(val2.w*val5.z));
        *(buf0+11) = ((*(buf0+11))+(val2.x*val6.w)+(val2.y*val3.w)+(val2.z*val4.w)+(val2.w*val5.w));
      }
    }
  }
  float4 val7 = read_imagef(data3_1_8_4, smp, (int2)(idx0,0));
  float alu31 = ((*(buf0+0))+val7.x);
  float alu32 = ((*(buf0+1))+val7.y);
  float alu33 = ((*(buf0+2))+val7.z);
  float alu34 = ((*(buf0+3))+val7.w);
  float alu35 = ((*(buf0+4))+val7.x);
  float alu36 = ((*(buf0+5))+val7.y);
  float alu37 = ((*(buf0+6))+val7.z);
  float alu38 = ((*(buf0+7))+val7.w);
  float alu39 = ((*(buf0+8))+val7.x);
  float alu40 = ((*(buf0+9))+val7.y);
  float alu41 = ((*(buf0+10))+val7.z);
  float alu42 = ((*(buf0+11))+val7.w);
  int alu43 = (idx0+alu0);
  write_imagef(data0_120_2880_4, (int2)(alu43,idx2), (float4)(((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31),((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34)));
  write_imagef(data0_120_2880_4, (int2)((alu43+16),idx2), (float4)(((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38)));
  write_imagef(data0_120_2880_4, (int2)((alu43+32),idx2), (float4)(((1/(1.0f+exp2(((alu39+(0.044708251953125f*alu39*alu39*alu39))*-2.3021130561828613f))))*alu39),((1/(1.0f+exp2(((alu40+(0.044708251953125f*alu40*alu40*alu40))*-2.3021130561828613f))))*alu40),((1/(1.0f+exp2(((alu41+(0.044708251953125f*alu41*alu41*alu41))*-2.3021130561828613f))))*alu41),((1/(1.0f+exp2(((alu42+(0.044708251953125f*alu42*alu42*alu42))*-2.3021130561828613f))))*alu42)));
}

__kernel void r_60_30_8_4_3_8_3_3_4(write_only image2d_t data0_60_2880_4, read_only image2d_t data1_120_2880_4, read_only image2d_t data2_1_2880_4, read_only image2d_t data3_1_8_4) {
  int idx1 = get_global_id(1); /* 30 */
  int idx2 = get_global_id(2); /* 60 */
  int alu0 = (idx1*96);
  for (int Ridx0 = 0; Ridx0 < 8; Ridx0++) {
        int alu14 = (alu0+(Ridx3<<4)+Ridx0);
        float4 val0 = read_imagef(data1_120_2880_4, smp, (int2)((alu14+-16),alu13));
        float4 val1 = read_imagef(data1_120_2880_4, smp, (int2)((alu14+16),alu13));
        float4 val2 = read_imagef(data1_120_2880_4, smp, (int2)((alu14+48),alu13));
        int alu15 = ((Ridx0*12)+(Ridx3<<2)+(Ridx2*120)+(idx0*360));
        float4 val3 = read_imagef(data2_1_2880_4, smp, (int2)((alu15+1),0));
        float4 val4 = read_imagef(data2_1_2880_4, smp, (int2)((alu15+2),0));
        float4 val5 = read_imagef(data2_1_2880_4, smp, (int2)((alu15+3),0));
        float4 val6 = read_imagef(data2_1_2880_4, smp, (int2)(alu15,0));
      }
    }
  }
  write_imagef(data0_60_2880_4, (int2)(alu43,idx2), (float4)(((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31),((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34)));
  write_imagef(data0_60_2880_4, (int2)((alu43+32),idx2), (float4)(((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38)));
  write_imagef(data0_60_2880_4, (int2)((alu43+64),idx2), (float4)(((1/(1.0f+exp2(((alu39+(0.044708251953125f*alu39*alu39*alu39))*-2.3021130561828613f))))*alu39),((1/(1.0f+exp2(((alu40+(0.044708251953125f*alu40*alu40*alu40))*-2.3021130561828613f))))*alu40),((1/(1.0f+exp2(((alu41+(0.044708251953125f*alu41*alu41*alu41))*-2.3021130561828613f))))*alu41),((1/(1.0f+exp2(((alu42+(0.044708251953125f*alu42*alu42*alu42))*-2.3021130561828613f))))*alu42)));
}

__kernel void r_1800_8_4_3_8_4(write_only image2d_t data0_900_192_4, read_only image2d_t data1_900_192_4, read_only image2d_t data2_1_320_4, read_only image2d_t data3_1_8_4) {
  int3 cast0 = (int3)(900,192,4);
  int idx1 = get_global_id(1); /* 1800 */
  int alu0 = ((idx1&1)*96);
  int alu1 = (idx1>>1);
    int alu14 = (alu0+Ridx0);
    float4 val0 = read_imagef(data1_900_192_4, smp, (int2)((alu14+32),alu1));
    float4 val1 = read_imagef(data1_900_192_4, smp, (int2)((alu14+64),alu1));
    float4 val2 = read_imagef(data1_900_192_4, smp, (int2)(alu14,alu1));
    int alu15 = ((idx0*40)+(Ridx0<<2));
    float4 val3 = read_imagef(data2_1_320_4, smp, (int2)((alu15+1),0));
    float4 val4 = read_imagef(data2_1_320_4, smp, (int2)((alu15+2),0));
    float4 val5 = read_imagef(data2_1_320_4, smp, (int2)((alu15+3),0));
    float4 val6 = read_imagef(data2_1_320_4, smp, (int2)(alu15,0));
    *(buf0+0) = ((*(buf0+0))+(val2.x*val6.x)+(val2.y*val3.x)+(val2.z*val4.x)+(val2.w*val5.x));
    *(buf0+1) = ((*(buf0+1))+(val2.x*val6.y)+(val2.y*val3.y)+(val2.z*val4.y)+(val2.w*val5.y));
    *(buf0+2) = ((*(buf0+2))+(val2.x*val6.z)+(val2.y*val3.z)+(val2.z*val4.z)+(val2.w*val5.z));
    *(buf0+3) = ((*(buf0+3))+(val2.x*val6.w)+(val2.y*val3.w)+(val2.z*val4.w)+(val2.w*val5.w));
    *(buf0+4) = ((*(buf0+4))+(val0.x*val6.x)+(val0.y*val3.x)+(val0.z*val4.x)+(val0.w*val5.x));
    *(buf0+5) = ((*(buf0+5))+(val0.x*val6.y)+(val0.y*val3.y)+(val0.z*val4.y)+(val0.w*val5.y));
    *(buf0+6) = ((*(buf0+6))+(val0.x*val6.z)+(val0.y*val3.z)+(val0.z*val4.z)+(val0.w*val5.z));
    *(buf0+7) = ((*(buf0+7))+(val0.x*val6.w)+(val0.y*val3.w)+(val0.z*val4.w)+(val0.w*val5.w));
    *(buf0+8) = ((*(buf0+8))+(val1.x*val6.x)+(val1.y*val3.x)+(val1.z*val4.x)+(val1.w*val5.x));
    *(buf0+9) = ((*(buf0+9))+(val1.x*val6.y)+(val1.y*val3.y)+(val1.z*val4.y)+(val1.w*val5.y));
    *(buf0+10) = ((*(buf0+10))+(val1.x*val6.z)+(val1.y*val3.z)+(val1.z*val4.z)+(val1.w*val5.z));
    *(buf0+11) = ((*(buf0+11))+(val1.x*val6.w)+(val1.y*val3.w)+(val1.z*val4.w)+(val1.w*val5.w));
  }
  float alu29 = ((*(buf0+0))+val7.x);
  float alu30 = ((*(buf0+1))+val7.y);
  float alu31 = ((*(buf0+2))+val7.z);
  float alu32 = ((*(buf0+3))+val7.w);
  float alu33 = ((*(buf0+4))+val7.x);
  float alu34 = ((*(buf0+5))+val7.y);
  float alu35 = ((*(buf0+6))+val7.z);
  float alu36 = ((*(buf0+7))+val7.w);
  float alu37 = ((*(buf0+8))+val7.x);
  float alu38 = ((*(buf0+9))+val7.y);
  float alu39 = ((*(buf0+10))+val7.z);
  float alu40 = ((*(buf0+11))+val7.w);
  int alu41 = (idx0+alu0);
  write_imagef(data0_900_192_4, (int2)(alu41,alu1), (float4)(((1/(1.0f+exp2(((alu29+(0.044708251953125f*alu29*alu29*alu29))*-2.3021130561828613f))))*alu29),((1/(1.0f+exp2(((alu30+(0.044708251953125f*alu30*alu30*alu30))*-2.3021130561828613f))))*alu30),((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31),((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32)));
  write_imagef(data0_900_192_4, (int2)((alu41+32),alu1), (float4)(((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34),((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36)));
  write_imagef(data0_900_192_4, (int2)((alu41+64),alu1), (float4)(((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38),((1/(1.0f+exp2(((alu39+(0.044708251953125f*alu39*alu39*alu39))*-2.3021130561828613f))))*alu39),((1/(1.0f+exp2(((alu40+(0.044708251953125f*alu40*alu40*alu40))*-2.3021130561828613f))))*alu40)));
}

__kernel void r_30_15_24_4_3_8_3_3_4(write_only image2d_t data0_30_1152_4, read_only image2d_t data1_60_2880_4, read_only image2d_t data2_1_8640_4, read_only image2d_t data3_1_24_4) {
  int idx0 = get_global_id(0); /* 24 */
  int idx1 = get_global_id(1); /* 15 */
  int idx2 = get_global_id(2); /* 30 */
      int alu12 = ((idx2<<1)+Ridx2+-1);
        int alu13 = ((idx1*192)+(Ridx3<<5)+Ridx0);
        float4 val0 = read_imagef(data1_60_2880_4, smp, (int2)((alu13+-32),alu12));
        float4 val1 = read_imagef(data1_60_2880_4, smp, (int2)((alu13+32),alu12));
        float4 val2 = read_imagef(data1_60_2880_4, smp, (int2)((alu13+96),alu12));
        int alu14 = ((Ridx0*12)+(Ridx3<<2)+(Ridx2*120)+(idx0*360));
        float4 val3 = read_imagef(data2_1_8640_4, smp, (int2)((alu14+1),0));
        float4 val4 = read_imagef(data2_1_8640_4, smp, (int2)((alu14+2),0));
        float4 val5 = read_imagef(data2_1_8640_4, smp, (int2)((alu14+3),0));
        float4 val6 = read_imagef(data2_1_8640_4, smp, (int2)(alu14,0));
      }
    }
  }
  float4 val7 = read_imagef(data3_1_24_4, smp, (int2)(idx0,0));
  float alu30 = ((*(buf0+0))+val7.x);
  float alu31 = ((*(buf0+1))+val7.y);
  float alu32 = ((*(buf0+2))+val7.z);
  float alu33 = ((*(buf0+3))+val7.w);
  float alu34 = ((*(buf0+4))+val7.x);
  float alu35 = ((*(buf0+5))+val7.y);
  float alu36 = ((*(buf0+6))+val7.z);
  float alu37 = ((*(buf0+7))+val7.w);
  float alu38 = ((*(buf0+8))+val7.x);
  float alu39 = ((*(buf0+9))+val7.y);
  float alu40 = ((*(buf0+10))+val7.z);
  float alu41 = ((*(buf0+11))+val7.w);
  int alu42 = (idx0+(idx1*72));
  write_imagef(data0_30_1152_4, (int2)(alu42,idx2), (float4)(((1/(1.0f+exp2(((alu30+(0.044708251953125f*alu30*alu30*alu30))*-2.3021130561828613f))))*alu30),((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31),((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33)));
  write_imagef(data0_30_1152_4, (int2)((alu42+24),idx2), (float4)(((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34),((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37)));
  write_imagef(data0_30_1152_4, (int2)((alu42+48),idx2), (float4)(((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38),((1/(1.0f+exp2(((alu39+(0.044708251953125f*alu39*alu39*alu39))*-2.3021130561828613f))))*alu39),((1/(1.0f+exp2(((alu40+(0.044708251953125f*alu40*alu40*alu40))*-2.3021130561828613f))))*alu40),((1/(1.0f+exp2(((alu41+(0.044708251953125f*alu41*alu41*alu41))*-2.3021130561828613f))))*alu41)));
}

__kernel void r_30_15_16_4_3_24_4(write_only image2d_t data0_30_768_4, read_only image2d_t data1_30_1152_4, read_only image2d_t data2_1_1536_4, read_only image2d_t data3_1_16_4) {
  int idx0 = get_global_id(0); /* 16 */
  for (int Ridx0 = 0; Ridx0 < 24; Ridx0++) {
    int alu12 = ((idx1*72)+Ridx0);
    float4 val0 = read_imagef(data1_30_1152_4, smp, (int2)((alu12+24),idx2));
    float4 val1 = read_imagef(data1_30_1152_4, smp, (int2)((alu12+48),idx2));
    float4 val2 = read_imagef(data1_30_1152_4, smp, (int2)(alu12,idx2));
    int alu13 = ((idx0*96)+(Ridx0<<2));
    float4 val3 = read_imagef(data2_1_1536_4, smp, (int2)((alu13+1),0));
    float4 val4 = read_imagef(data2_1_1536_4, smp, (int2)((alu13+2),0));
    float4 val5 = read_imagef(data2_1_1536_4, smp, (int2)((alu13+3),0));
    float4 val6 = read_imagef(data2_1_1536_4, smp, (int2)(alu13,0));
  }
  float4 val7 = read_imagef(data3_1_16_4, smp, (int2)(idx0,0));
  float alu27 = ((*(buf0+0))+val7.x);
  float alu28 = ((*(buf0+1))+val7.y);
  float alu29 = ((*(buf0+2))+val7.z);
  float alu30 = ((*(buf0+3))+val7.w);
  float alu31 = ((*(buf0+4))+val7.x);
  float alu32 = ((*(buf0+5))+val7.y);
  float alu33 = ((*(buf0+6))+val7.z);
  float alu34 = ((*(buf0+7))+val7.w);
  float alu35 = ((*(buf0+8))+val7.x);
  float alu36 = ((*(buf0+9))+val7.y);
  float alu37 = ((*(buf0+10))+val7.z);
  float alu38 = ((*(buf0+11))+val7.w);
  int alu39 = (idx0+(idx1*48));
  write_imagef(data0_30_768_4, (int2)(alu39,idx2), (float4)(((1/(1.0f+exp2(((alu27+(0.044708251953125f*alu27*alu27*alu27))*-2.3021130561828613f))))*alu27),((1/(1.0f+exp2(((alu28+(0.044708251953125f*alu28*alu28*alu28))*-2.3021130561828613f))))*alu28),((1/(1.0f+exp2(((alu29+(0.044708251953125f*alu29*alu29*alu29))*-2.3021130561828613f))))*alu29),((1/(1.0f+exp2(((alu30+(0.044708251953125f*alu30*alu30*alu30))*-2.3021130561828613f))))*alu30)));
  write_imagef(data0_30_768_4, (int2)((alu39+16),idx2), (float4)(((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31),((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34)));
  write_imagef(data0_30_768_4, (int2)((alu39+32),idx2), (float4)(((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38)));
}

__kernel void r_30_15_16_4_3_5_5(write_only image2d_t data0_30_2880_4, read_only image2d_t data1_30_768_4, read_only image2d_t data2_1_640_4, read_only image2d_t data3_1_16_4) {
  float4 cast0 = (float4)(0.0f,0.0f,0.0f,0.0f);
  int alu0 = (idx0+(idx1*48));
  bool alu1 = (idx1<14);
  for (int Ridx0 = 0; Ridx0 < 5; Ridx0++) {
    int alu14 = (idx2+Ridx0+-2);
    float4 val0 = read_imagef(data1_30_768_4, smp, (int2)(alu0,alu14));
    float4 val1 = read_imagef(data1_30_768_4, smp, (int2)((alu0+-32),alu14));
    float4 val2 = read_imagef(data1_30_768_4, smp, (int2)((alu0+-16),alu14));
    float4 val3 = read_imagef(data1_30_768_4, smp, (int2)((alu0+16),alu14));
    float4 val4 = read_imagef(data1_30_768_4, smp, (int2)((alu0+32),alu14));
    float4 val5 = (alu1?read_imagef(data1_30_768_4, smp, (int2)((alu0+48),alu14)):cast0);
    float4 val6 = (alu1?read_imagef(data1_30_768_4, smp, (int2)((alu0+64),alu14)):cast0);
    int alu15 = ((idx0*40)+(Ridx0*5));
    float4 val7 = read_imagef(data2_1_640_4, smp, (int2)((alu15+1),0));
    float4 val8 = read_imagef(data2_1_640_4, smp, (int2)((alu15+2),0));
    float4 val9 = read_imagef(data2_1_640_4, smp, (int2)((alu15+3),0));
    float4 val10 = read_imagef(data2_1_640_4, smp, (int2)((alu15+4),0));
    float4 val11 = read_imagef(data2_1_640_4, smp, (int2)(alu15,0));
    *(buf0+0) = ((*(buf0+0))+(val1.x*val11.x)+(val2.x*val7.x)+(val0.x*val8.x)+(val3.x*val9.x)+(val4.x*val10.x));
    *(buf0+1) = ((*(buf0+1))+(val1.y*val11.y)+(val2.y*val7.y)+(val0.y*val8.y)+(val3.y*val9.y)+(val4.y*val10.y));
    *(buf0+2) = ((*(buf0+2))+(val1.z*val11.z)+(val2.z*val7.z)+(val0.z*val8.z)+(val3.z*val9.z)+(val4.z*val10.z));
    *(buf0+3) = ((*(buf0+3))+(val1.w*val11.w)+(val2.w*val7.w)+(val0.w*val8.w)+(val3.w*val9.w)+(val4.w*val10.w));
    *(buf0+4) = ((*(buf0+4))+(val2.x*val11.x)+(val0.x*val7.x)+(val3.x*val8.x)+(val4.x*val9.x)+(val5.x*val10.x));
    *(buf0+5) = ((*(buf0+5))+(val2.y*val11.y)+(val0.y*val7.y)+(val3.y*val8.y)+(val4.y*val9.y)+(val5.y*val10.y));
    *(buf0+6) = ((*(buf0+6))+(val2.z*val11.z)+(val0.z*val7.z)+(val3.z*val8.z)+(val4.z*val9.z)+(val5.z*val10.z));
    *(buf0+7) = ((*(buf0+7))+(val2.w*val11.w)+(val0.w*val7.w)+(val3.w*val8.w)+(val4.w*val9.w)+(val5.w*val10.w));
    *(buf0+8) = ((*(buf0+8))+(val0.x*val11.x)+(val3.x*val7.x)+(val4.x*val8.x)+(val5.x*val9.x)+(val6.x*val10.x));
    *(buf0+9) = ((*(buf0+9))+(val0.y*val11.y)+(val3.y*val7.y)+(val4.y*val8.y)+(val5.y*val9.y)+(val6.y*val10.y));
    *(buf0+10) = ((*(buf0+10))+(val0.z*val11.z)+(val3.z*val7.z)+(val4.z*val8.z)+(val5.z*val9.z)+(val6.z*val10.z));
    *(buf0+11) = ((*(buf0+11))+(val0.w*val11.w)+(val3.w*val7.w)+(val4.w*val8.w)+(val5.w*val9.w)+(val6.w*val10.w));
  }
  float4 val12 = read_imagef(data3_1_16_4, smp, (int2)(idx0,0));
  int alu29 = (idx0+(idx1*192));
  write_imagef(data0_30_2880_4, (int2)(alu29,idx2), (float4)(((*(buf0+0))+val12.x),((*(buf0+1))+val12.y),((*(buf0+2))+val12.z),((*(buf0+3))+val12.w)));
  write_imagef(data0_30_2880_4, (int2)((alu29+64),idx2), (float4)(((*(buf0+4))+val12.x),((*(buf0+5))+val12.y),((*(buf0+6))+val12.z),((*(buf0+7))+val12.w)));
  write_imagef(data0_30_2880_4, (int2)((alu29+128),idx2), (float4)(((*(buf0+8))+val12.x),((*(buf0+9))+val12.y),((*(buf0+10))+val12.z),((*(buf0+11))+val12.w)));
}

__kernel void r_30_15_48_4_3_16_4(write_only image2d_t data0_30_2304_4, read_only image2d_t data1_30_2880_4, read_only image2d_t data2_1_3456_4, read_only image2d_t data3_1_48_4) {
  int idx0 = get_global_id(0); /* 48 */
  for (int Ridx0 = 0; Ridx0 < 16; Ridx0++) {
    int alu12 = ((idx1*192)+Ridx0);
    float4 val0 = read_imagef(data1_30_2880_4, smp, (int2)((alu12+64),idx2));
    float4 val1 = read_imagef(data1_30_2880_4, smp, (int2)((alu12+128),idx2));
    float4 val2 = read_imagef(data1_30_2880_4, smp, (int2)(alu12,idx2));
    int alu13 = ((idx0*72)+(Ridx0<<2));
    float4 val3 = read_imagef(data2_1_3456_4, smp, (int2)((alu13+1),0));
    float4 val4 = read_imagef(data2_1_3456_4, smp, (int2)((alu13+2),0));
    float4 val5 = read_imagef(data2_1_3456_4, smp, (int2)((alu13+3),0));
    float4 val6 = read_imagef(data2_1_3456_4, smp, (int2)(alu13,0));
  }
  float4 val7 = read_imagef(data3_1_48_4, smp, (int2)(idx0,0));
  int alu39 = (idx0+(idx1*144));
  write_imagef(data0_30_2304_4, (int2)(alu39,idx2), (float4)(((1/(1.0f+exp2(((alu27+(0.044708251953125f*alu27*alu27*alu27))*-2.3021130561828613f))))*alu27),((1/(1.0f+exp2(((alu28+(0.044708251953125f*alu28*alu28*alu28))*-2.3021130561828613f))))*alu28),((1/(1.0f+exp2(((alu29+(0.044708251953125f*alu29*alu29*alu29))*-2.3021130561828613f))))*alu29),((1/(1.0f+exp2(((alu30+(0.044708251953125f*alu30*alu30*alu30))*-2.3021130561828613f))))*alu30)));
  write_imagef(data0_30_2304_4, (int2)((alu39+48),idx2), (float4)(((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31),((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34)));
  write_imagef(data0_30_2304_4, (int2)((alu39+96),idx2), (float4)(((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38)));
}

__kernel void r_5_23_48_4_3_5_5(write_only image2d_t data0_5_3456_4, read_only image2d_t data1_30_2304_4, read_only image2d_t data2_1_1920_4, read_only image2d_t data3_1_48_4) {
  int idx1 = get_global_id(1); /* 23 */
  int idx2 = get_global_id(2); /* 5 */
  int alu0 = (idx0+(idx1*96));
  int alu1 = (alu0+-96);
  int alu2 = (alu0+-48);
  int alu3 = (alu0+48);
  int alu4 = (alu0+96);
  bool alu5 = (idx1<22);
    int alu18 = ((idx2*6)+Ridx0);
    int alu19 = (alu18+-2);
    float4 val0 = read_imagef(data1_30_2304_4, smp, (int2)(alu0,alu19));
    float4 val1 = read_imagef(data1_30_2304_4, smp, (int2)(alu1,alu19));
    float4 val2 = read_imagef(data1_30_2304_4, smp, (int2)(alu2,alu19));
    float4 val3 = (alu5?read_imagef(data1_30_2304_4, smp, (int2)(alu3,alu19)):cast0);
    float4 val4 = (alu5?read_imagef(data1_30_2304_4, smp, (int2)(alu4,alu19)):cast0);
    int alu20 = (alu18+2);
    float4 val5 = read_imagef(data1_30_2304_4, smp, (int2)(alu0,alu20));
    float4 val6 = read_imagef(data1_30_2304_4, smp, (int2)(alu1,alu20));
    float4 val7 = read_imagef(data1_30_2304_4, smp, (int2)(alu2,alu20));
    float4 val8 = (alu5?read_imagef(data1_30_2304_4, smp, (int2)(alu3,alu20)):cast0);
    float4 val9 = (alu5?read_imagef(data1_30_2304_4, smp, (int2)(alu4,alu20)):cast0);
    float4 val10 = read_imagef(data1_30_2304_4, smp, (int2)(alu0,alu18));
    float4 val11 = read_imagef(data1_30_2304_4, smp, (int2)(alu1,alu18));
    float4 val12 = read_imagef(data1_30_2304_4, smp, (int2)(alu2,alu18));
    float4 val13 = (alu5?read_imagef(data1_30_2304_4, smp, (int2)(alu3,alu18)):cast0);
    float4 val14 = (alu5?read_imagef(data1_30_2304_4, smp, (int2)(alu4,alu18)):cast0);
    int alu21 = ((idx0*40)+(Ridx0*5));
    float4 val15 = read_imagef(data2_1_1920_4, smp, (int2)((alu21+1),0));
    float4 val16 = read_imagef(data2_1_1920_4, smp, (int2)((alu21+2),0));
    float4 val17 = read_imagef(data2_1_1920_4, smp, (int2)((alu21+3),0));
    float4 val18 = read_imagef(data2_1_1920_4, smp, (int2)((alu21+4),0));
    float4 val19 = read_imagef(data2_1_1920_4, smp, (int2)(alu21,0));
    *(buf0+0) = ((*(buf0+0))+(val1.x*val19.x)+(val2.x*val15.x)+(val0.x*val16.x)+(val3.x*val17.x)+(val4.x*val18.x));
    *(buf0+1) = ((*(buf0+1))+(val11.x*val19.x)+(val12.x*val15.x)+(val10.x*val16.x)+(val13.x*val17.x)+(val14.x*val18.x));
    *(buf0+2) = ((*(buf0+2))+(val6.x*val19.x)+(val7.x*val15.x)+(val5.x*val16.x)+(val8.x*val17.x)+(val9.x*val18.x));
    *(buf0+3) = ((*(buf0+3))+(val1.y*val19.y)+(val2.y*val15.y)+(val0.y*val16.y)+(val3.y*val17.y)+(val4.y*val18.y));
    *(buf0+4) = ((*(buf0+4))+(val11.y*val19.y)+(val12.y*val15.y)+(val10.y*val16.y)+(val13.y*val17.y)+(val14.y*val18.y));
    *(buf0+5) = ((*(buf0+5))+(val6.y*val19.y)+(val7.y*val15.y)+(val5.y*val16.y)+(val8.y*val17.y)+(val9.y*val18.y));
    *(buf0+6) = ((*(buf0+6))+(val1.z*val19.z)+(val2.z*val15.z)+(val0.z*val16.z)+(val3.z*val17.z)+(val4.z*val18.z));
    *(buf0+7) = ((*(buf0+7))+(val11.z*val19.z)+(val12.z*val15.z)+(val10.z*val16.z)+(val13.z*val17.z)+(val14.z*val18.z));
    *(buf0+8) = ((*(buf0+8))+(val6.z*val19.z)+(val7.z*val15.z)+(val5.z*val16.z)+(val8.z*val17.z)+(val9.z*val18.z));
    *(buf0+9) = ((*(buf0+9))+(val1.w*val19.w)+(val2.w*val15.w)+(val0.w*val16.w)+(val3.w*val17.w)+(val4.w*val18.w));
    *(buf0+10) = ((*(buf0+10))+(val11.w*val19.w)+(val12.w*val15.w)+(val10.w*val16.w)+(val13.w*val17.w)+(val14.w*val18.w));
    *(buf0+11) = ((*(buf0+11))+(val6.w*val19.w)+(val7.w*val15.w)+(val5.w*val16.w)+(val8.w*val17.w)+(val9.w*val18.w));
  }
  float4 val20 = read_imagef(data3_1_48_4, smp, (int2)(idx0,0));
  float alu35 = ((*(buf0+0))+val20.x);
  float alu36 = ((*(buf0+3))+val20.y);
  float alu37 = ((*(buf0+6))+val20.z);
  float alu38 = ((*(buf0+9))+val20.w);
  float alu39 = ((*(buf0+1))+val20.x);
  float alu40 = ((*(buf0+4))+val20.y);
  float alu41 = ((*(buf0+7))+val20.z);
  float alu42 = ((*(buf0+10))+val20.w);
  float alu43 = ((*(buf0+2))+val20.x);
  float alu44 = ((*(buf0+5))+val20.y);
  float alu45 = ((*(buf0+8))+val20.z);
  float alu46 = ((*(buf0+11))+val20.w);
  int alu47 = (idx0+(idx1*48));
  write_imagef(data0_5_3456_4, (int2)(alu47,idx2), (float4)(((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38)));
  write_imagef(data0_5_3456_4, (int2)((alu47+1152),idx2), (float4)(((1/(1.0f+exp2(((alu39+(0.044708251953125f*alu39*alu39*alu39))*-2.3021130561828613f))))*alu39),((1/(1.0f+exp2(((alu40+(0.044708251953125f*alu40*alu40*alu40))*-2.3021130561828613f))))*alu40),((1/(1.0f+exp2(((alu41+(0.044708251953125f*alu41*alu41*alu41))*-2.3021130561828613f))))*alu41),((1/(1.0f+exp2(((alu42+(0.044708251953125f*alu42*alu42*alu42))*-2.3021130561828613f))))*alu42)));
  write_imagef(data0_5_3456_4, (int2)((alu47+2304),idx2), (float4)(((1/(1.0f+exp2(((alu43+(0.044708251953125f*alu43*alu43*alu43))*-2.3021130561828613f))))*alu43),((1/(1.0f+exp2(((alu44+(0.044708251953125f*alu44*alu44*alu44))*-2.3021130561828613f))))*alu44),((1/(1.0f+exp2(((alu45+(0.044708251953125f*alu45*alu45*alu45))*-2.3021130561828613f))))*alu45),((1/(1.0f+exp2(((alu46+(0.044708251953125f*alu46*alu46*alu46))*-2.3021130561828613f))))*alu46)));
}

__kernel void r_5_23_24_4_3_48_4(write_only image2d_t data0_1_8280_4, read_only image2d_t data1_5_3456_4, read_only image2d_t data2_1_4608_4, read_only image2d_t data3_1_24_4) {
  for (int Ridx0 = 0; Ridx0 < 48; Ridx0++) {
    int alu12 = ((idx1*48)+Ridx0);
    float4 val0 = read_imagef(data1_5_3456_4, smp, (int2)((alu12+1152),idx2));
    float4 val1 = read_imagef(data1_5_3456_4, smp, (int2)((alu12+2304),idx2));
    float4 val2 = read_imagef(data1_5_3456_4, smp, (int2)(alu12,idx2));
    int alu13 = ((idx0*192)+(Ridx0<<2));
    float4 val3 = read_imagef(data2_1_4608_4, smp, (int2)((alu13+1),0));
    float4 val4 = read_imagef(data2_1_4608_4, smp, (int2)((alu13+2),0));
    float4 val5 = read_imagef(data2_1_4608_4, smp, (int2)((alu13+3),0));
    float4 val6 = read_imagef(data2_1_4608_4, smp, (int2)(alu13,0));
    *(buf0+1) = ((*(buf0+1))+(val0.x*val6.x)+(val0.y*val3.x)+(val0.z*val4.x)+(val0.w*val5.x));
    *(buf0+2) = ((*(buf0+2))+(val1.x*val6.x)+(val1.y*val3.x)+(val1.z*val4.x)+(val1.w*val5.x));
    *(buf0+3) = ((*(buf0+3))+(val2.x*val6.y)+(val2.y*val3.y)+(val2.z*val4.y)+(val2.w*val5.y));
    *(buf0+4) = ((*(buf0+4))+(val0.x*val6.y)+(val0.y*val3.y)+(val0.z*val4.y)+(val0.w*val5.y));
    *(buf0+5) = ((*(buf0+5))+(val1.x*val6.y)+(val1.y*val3.y)+(val1.z*val4.y)+(val1.w*val5.y));
    *(buf0+6) = ((*(buf0+6))+(val2.x*val6.z)+(val2.y*val3.z)+(val2.z*val4.z)+(val2.w*val5.z));
    *(buf0+7) = ((*(buf0+7))+(val0.x*val6.z)+(val0.y*val3.z)+(val0.z*val4.z)+(val0.w*val5.z));
    *(buf0+8) = ((*(buf0+8))+(val1.x*val6.z)+(val1.y*val3.z)+(val1.z*val4.z)+(val1.w*val5.z));
    *(buf0+9) = ((*(buf0+9))+(val2.x*val6.w)+(val2.y*val3.w)+(val2.z*val4.w)+(val2.w*val5.w));
    *(buf0+10) = ((*(buf0+10))+(val0.x*val6.w)+(val0.y*val3.w)+(val0.z*val4.w)+(val0.w*val5.w));
  }
  int alu27 = (idx0+(idx1*24)+(idx2*1656));
  write_imagef(data0_1_8280_4, (int2)(alu27,0), (float4)(((*(buf0+0))+val7.x),((*(buf0+3))+val7.y),((*(buf0+6))+val7.z),((*(buf0+9))+val7.w)));
  write_imagef(data0_1_8280_4, (int2)((alu27+552),0), (float4)(((*(buf0+1))+val7.x),((*(buf0+4))+val7.y),((*(buf0+7))+val7.z),((*(buf0+10))+val7.w)));
  write_imagef(data0_1_8280_4, (int2)((alu27+1104),0), (float4)(((*(buf0+2))+val7.x),((*(buf0+5))+val7.y),((*(buf0+8))+val7.z),((*(buf0+11))+val7.w)));
}

__kernel void r_5_23_48_4_3_24_4(write_only image2d_t data0_5_3456_4, read_only image2d_t data1_1_8280_4, read_only image2d_t data2_1_4608_4, read_only image2d_t data3_1_48_4) {
    int alu12 = ((idx1*24)+Ridx0+(idx2*1656));
    float4 val0 = read_imagef(data1_1_8280_4, smp, (int2)((alu12+552),0));
    float4 val1 = read_imagef(data1_1_8280_4, smp, (int2)((alu12+1104),0));
    float4 val2 = read_imagef(data1_1_8280_4, smp, (int2)(alu12,0));
  }
  float alu28 = ((*(buf0+3))+val7.y);
  float alu29 = ((*(buf0+6))+val7.z);
  float alu30 = ((*(buf0+9))+val7.w);
  float alu31 = ((*(buf0+1))+val7.x);
  float alu32 = ((*(buf0+4))+val7.y);
  float alu33 = ((*(buf0+7))+val7.z);
  float alu34 = ((*(buf0+10))+val7.w);
  float alu35 = ((*(buf0+2))+val7.x);
  float alu37 = ((*(buf0+8))+val7.z);
  write_imagef(data0_5_3456_4, (int2)(alu39,idx2), (float4)(((1/(1.0f+exp2(((alu27+(0.044708251953125f*alu27*alu27*alu27))*-2.3021130561828613f))))*alu27),((1/(1.0f+exp2(((alu28+(0.044708251953125f*alu28*alu28*alu28))*-2.3021130561828613f))))*alu28),((1/(1.0f+exp2(((alu29+(0.044708251953125f*alu29*alu29*alu29))*-2.3021130561828613f))))*alu29),((1/(1.0f+exp2(((alu30+(0.044708251953125f*alu30*alu30*alu30))*-2.3021130561828613f))))*alu30)));
  write_imagef(data0_5_3456_4, (int2)((alu39+1152),idx2), (float4)(((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31),((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34)));
  write_imagef(data0_5_3456_4, (int2)((alu39+2304),idx2), (float4)(((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38)));
}

__kernel void r_5_23_48_4_3_3_3(write_only image2d_t data0_5_3456_4, read_only image2d_t data1_15_1152_4, read_only image2d_t data2_1_1152_4, read_only image2d_t data3_1_48_4) {
  int alu1 = (idx2*3);
  int alu2 = (alu1+-1);
  float4 val0 = read_imagef(data1_15_1152_4, smp, (int2)(alu0,alu2));
  int alu3 = (alu0+-48);
  float4 val1 = read_imagef(data1_15_1152_4, smp, (int2)(alu3,alu2));
  int alu4 = (alu0+48);
  float4 val2 = (alu5?read_imagef(data1_15_1152_4, smp, (int2)(alu4,alu2)):cast0);
  int alu6 = (alu1+1);
  float4 val3 = read_imagef(data1_15_1152_4, smp, (int2)(alu0,alu6));
  float4 val4 = read_imagef(data1_15_1152_4, smp, (int2)(alu3,alu6));
  float4 val5 = (alu5?read_imagef(data1_15_1152_4, smp, (int2)(alu4,alu6)):cast0);
  int alu7 = (alu1+2);
  float4 val6 = read_imagef(data1_15_1152_4, smp, (int2)(alu0,alu7));
  float4 val7 = read_imagef(data1_15_1152_4, smp, (int2)(alu3,alu7));
  float4 val8 = (alu5?read_imagef(data1_15_1152_4, smp, (int2)(alu4,alu7)):cast0);
  int alu8 = (alu1+3);
  float4 val9 = read_imagef(data1_15_1152_4, smp, (int2)(alu0,alu8));
  float4 val10 = read_imagef(data1_15_1152_4, smp, (int2)(alu3,alu8));
  float4 val11 = (alu5?read_imagef(data1_15_1152_4, smp, (int2)(alu4,alu8)):cast0);
  float4 val12 = read_imagef(data1_15_1152_4, smp, (int2)(alu0,alu1));
  float4 val13 = read_imagef(data1_15_1152_4, smp, (int2)(alu3,alu1));
  float4 val14 = (alu5?read_imagef(data1_15_1152_4, smp, (int2)(alu4,alu1)):cast0);
  int alu9 = (idx0*24);
  float4 val15 = read_imagef(data2_1_1152_4, smp, (int2)((alu9+1),0));
  float4 val16 = read_imagef(data2_1_1152_4, smp, (int2)((alu9+2),0));
  float4 val17 = read_imagef(data2_1_1152_4, smp, (int2)((alu9+3),0));
  float4 val18 = read_imagef(data2_1_1152_4, smp, (int2)((alu9+4),0));
  float4 val19 = read_imagef(data2_1_1152_4, smp, (int2)((alu9+5),0));
  float4 val20 = read_imagef(data2_1_1152_4, smp, (int2)((alu9+6),0));
  float4 val21 = read_imagef(data2_1_1152_4, smp, (int2)((alu9+7),0));
  float4 val22 = read_imagef(data2_1_1152_4, smp, (int2)((alu9+8),0));
  float4 val23 = read_imagef(data2_1_1152_4, smp, (int2)(alu9,0));
  float4 val24 = read_imagef(data3_1_48_4, smp, (int2)(idx0,0));
  float alu10 = ((val1.x*val23.x)+(val0.x*val15.x)+(val2.x*val16.x)+(val13.x*val17.x)+(val12.x*val18.x)+(val14.x*val19.x)+(val4.x*val20.x)+(val3.x*val21.x)+(val5.x*val22.x)+val24.x);
  float alu11 = ((val1.y*val23.y)+(val0.y*val15.y)+(val2.y*val16.y)+(val13.y*val17.y)+(val12.y*val18.y)+(val14.y*val19.y)+(val4.y*val20.y)+(val3.y*val21.y)+(val5.y*val22.y)+val24.y);
  float alu12 = ((val1.z*val23.z)+(val0.z*val15.z)+(val2.z*val16.z)+(val13.z*val17.z)+(val12.z*val18.z)+(val14.z*val19.z)+(val4.z*val20.z)+(val3.z*val21.z)+(val5.z*val22.z)+val24.z);
  float alu13 = ((val1.w*val23.w)+(val0.w*val15.w)+(val2.w*val16.w)+(val13.w*val17.w)+(val12.w*val18.w)+(val14.w*val19.w)+(val4.w*val20.w)+(val3.w*val21.w)+(val5.w*val22.w)+val24.w);
  float alu14 = ((val4.x*val23.x)+(val3.x*val15.x)+(val5.x*val16.x)+(val7.x*val17.x)+(val6.x*val18.x)+(val8.x*val19.x)+(val10.x*val20.x)+(val9.x*val21.x)+(val11.x*val22.x)+val24.x);
  float alu15 = ((val4.y*val23.y)+(val3.y*val15.y)+(val5.y*val16.y)+(val7.y*val17.y)+(val6.y*val18.y)+(val8.y*val19.y)+(val10.y*val20.y)+(val9.y*val21.y)+(val11.y*val22.y)+val24.y);
  float alu16 = ((val4.z*val23.z)+(val3.z*val15.z)+(val5.z*val16.z)+(val7.z*val17.z)+(val6.z*val18.z)+(val8.z*val19.z)+(val10.z*val20.z)+(val9.z*val21.z)+(val11.z*val22.z)+val24.z);
  float alu17 = ((val4.w*val23.w)+(val3.w*val15.w)+(val5.w*val16.w)+(val7.w*val17.w)+(val6.w*val18.w)+(val8.w*val19.w)+(val10.w*val20.w)+(val9.w*val21.w)+(val11.w*val22.w)+val24.w);
  float alu18 = ((val13.x*val23.x)+(val12.x*val15.x)+(val14.x*val16.x)+(val4.x*val17.x)+(val3.x*val18.x)+(val5.x*val19.x)+(val7.x*val20.x)+(val6.x*val21.x)+(val8.x*val22.x)+val24.x);
  float alu19 = ((val13.y*val23.y)+(val12.y*val15.y)+(val14.y*val16.y)+(val4.y*val17.y)+(val3.y*val18.y)+(val5.y*val19.y)+(val7.y*val20.y)+(val6.y*val21.y)+(val8.y*val22.y)+val24.y);
  float alu20 = ((val13.z*val23.z)+(val12.z*val15.z)+(val14.z*val16.z)+(val4.z*val17.z)+(val3.z*val18.z)+(val5.z*val19.z)+(val7.z*val20.z)+(val6.z*val21.z)+(val8.z*val22.z)+val24.z);
  float alu21 = ((val13.w*val23.w)+(val12.w*val15.w)+(val14.w*val16.w)+(val4.w*val17.w)+(val3.w*val18.w)+(val5.w*val19.w)+(val7.w*val20.w)+(val6.w*val21.w)+(val8.w*val22.w)+val24.w);
  write_imagef(data0_5_3456_4, (int2)(alu0,idx2), (float4)(((1/(1.0f+exp2(((alu10+(0.044708251953125f*alu10*alu10*alu10))*-2.3021130561828613f))))*alu10),((1/(1.0f+exp2(((alu11+(0.044708251953125f*alu11*alu11*alu11))*-2.3021130561828613f))))*alu11),((1/(1.0f+exp2(((alu12+(0.044708251953125f*alu12*alu12*alu12))*-2.3021130561828613f))))*alu12),((1/(1.0f+exp2(((alu13+(0.044708251953125f*alu13*alu13*alu13))*-2.3021130561828613f))))*alu13)));
  write_imagef(data0_5_3456_4, (int2)((alu0+1152),idx2), (float4)(((1/(1.0f+exp2(((alu18+(0.044708251953125f*alu18*alu18*alu18))*-2.3021130561828613f))))*alu18),((1/(1.0f+exp2(((alu19+(0.044708251953125f*alu19*alu19*alu19))*-2.3021130561828613f))))*alu19),((1/(1.0f+exp2(((alu20+(0.044708251953125f*alu20*alu20*alu20))*-2.3021130561828613f))))*alu20),((1/(1.0f+exp2(((alu21+(0.044708251953125f*alu21*alu21*alu21))*-2.3021130561828613f))))*alu21)));
  write_imagef(data0_5_3456_4, (int2)((alu0+2304),idx2), (float4)(((1/(1.0f+exp2(((alu14+(0.044708251953125f*alu14*alu14*alu14))*-2.3021130561828613f))))*alu14),((1/(1.0f+exp2(((alu15+(0.044708251953125f*alu15*alu15*alu15))*-2.3021130561828613f))))*alu15),((1/(1.0f+exp2(((alu16+(0.044708251953125f*alu16*alu16*alu16))*-2.3021130561828613f))))*alu16),((1/(1.0f+exp2(((alu17+(0.044708251953125f*alu17*alu17*alu17))*-2.3021130561828613f))))*alu17)));
}

__kernel void r_5_23_24_4_3_48_4n1(write_only image2d_t data0_1_8280_4, read_only image2d_t data1_5_3456_4, read_only image2d_t data2_1_4608_4, read_only image2d_t data3_1_24_4, read_only image2d_t data4_1_8280_4) {
  int3 cast0 = (int3)(1,8280,4);
  }
  float4 val8 = read_imagef(data4_1_8280_4, smp, (int2)(alu27,0));
  int alu28 = (alu27+552);
  float4 val9 = read_imagef(data4_1_8280_4, smp, (int2)(alu28,0));
  int alu29 = (alu27+1104);
  float4 val10 = read_imagef(data4_1_8280_4, smp, (int2)(alu29,0));
  write_imagef(data0_1_8280_4, (int2)(alu27,0), (float4)(((*(buf0+0))+val7.x+val8.x),((*(buf0+3))+val7.y+val8.y),((*(buf0+6))+val7.z+val8.z),((*(buf0+9))+val7.w+val8.w)));
  write_imagef(data0_1_8280_4, (int2)(alu28,0), (float4)(((*(buf0+1))+val7.x+val9.x),((*(buf0+4))+val7.y+val9.y),((*(buf0+7))+val7.z+val9.z),((*(buf0+10))+val7.w+val9.w)));
  write_imagef(data0_1_8280_4, (int2)(alu29,0), (float4)(((*(buf0+2))+val7.x+val10.x),((*(buf0+5))+val7.y+val10.y),((*(buf0+8))+val7.z+val10.z),((*(buf0+11))+val7.w+val10.w)));
}

__kernel void r_5_23_24_4_3_3_3(write_only image2d_t data0_1_8280_4, read_only image2d_t data1_1_8280_4, read_only image2d_t data2_1_576_4, read_only image2d_t data3_1_24_4) {
  float4 cast1 = (float4)(0.0f,0.0f,0.0f,0.0f);
  int alu0 = (idx1*24);
  int alu1 = (idx2*1656);
  int alu2 = (idx0+alu0+alu1);
  bool alu3 = (0<idx1);
  float4 val0 = (alu3?read_imagef(data1_1_8280_4, smp, (int2)((alu2+-576),0)):cast1);
  bool alu4 = (idx1<22);
  float4 val1 = ((alu4&(0<idx2))?read_imagef(data1_1_8280_4, smp, (int2)((alu2+-528),0)):cast1);
  int alu5 = (idx0+alu0+alu1);
  float4 val2 = read_imagef(data1_1_8280_4, smp, (int2)(alu5,0));
  float4 val3 = read_imagef(data1_1_8280_4, smp, (int2)((alu5+-552),0));
  float4 val4 = (alu3?read_imagef(data1_1_8280_4, smp, (int2)((alu5+-24),0)):cast1);
  float4 val5 = (alu4?read_imagef(data1_1_8280_4, smp, (int2)((alu5+24),0)):cast1);
  float4 val6 = (alu3?read_imagef(data1_1_8280_4, smp, (int2)((alu5+528),0)):cast1);
  int alu6 = (alu5+552);
  float4 val7 = read_imagef(data1_1_8280_4, smp, (int2)(alu6,0));
  float4 val8 = (alu4?read_imagef(data1_1_8280_4, smp, (int2)((alu5+576),0)):cast1);
  float4 val9 = (alu3?read_imagef(data1_1_8280_4, smp, (int2)((alu5+1080),0)):cast1);
  int alu7 = (alu5+1104);
  float4 val10 = read_imagef(data1_1_8280_4, smp, (int2)(alu7,0));
  float4 val11 = (alu4?read_imagef(data1_1_8280_4, smp, (int2)((alu5+1128),0)):cast1);
  float4 val12 = ((alu3&(idx2<4))?read_imagef(data1_1_8280_4, smp, (int2)((alu5+1632),0)):cast1);
  float4 val13 = read_imagef(data1_1_8280_4, smp, (int2)((alu5+1656),0));
  float4 val14 = (alu4?read_imagef(data1_1_8280_4, smp, (int2)((alu5+1680),0)):cast1);
  int alu8 = (idx0*24);
  float4 val15 = read_imagef(data2_1_576_4, smp, (int2)((alu8+1),0));
  float4 val16 = read_imagef(data2_1_576_4, smp, (int2)((alu8+2),0));
  float4 val17 = read_imagef(data2_1_576_4, smp, (int2)((alu8+3),0));
  float4 val18 = read_imagef(data2_1_576_4, smp, (int2)((alu8+4),0));
  float4 val19 = read_imagef(data2_1_576_4, smp, (int2)((alu8+5),0));
  float4 val20 = read_imagef(data2_1_576_4, smp, (int2)((alu8+6),0));
  float4 val21 = read_imagef(data2_1_576_4, smp, (int2)((alu8+7),0));
  float4 val22 = read_imagef(data2_1_576_4, smp, (int2)((alu8+8),0));
  float4 val23 = read_imagef(data2_1_576_4, smp, (int2)(alu8,0));
  float4 val24 = read_imagef(data3_1_24_4, smp, (int2)(idx0,0));
  write_imagef(data0_1_8280_4, (int2)(alu5,0), (float4)(((val0.x*val23.x)+(val3.x*val15.x)+(val1.x*val16.x)+(val4.x*val17.x)+(val2.x*val18.x)+(val5.x*val19.x)+(val6.x*val20.x)+(val7.x*val21.x)+(val8.x*val22.x)+val24.x),((val0.y*val23.y)+(val3.y*val15.y)+(val1.y*val16.y)+(val4.y*val17.y)+(val2.y*val18.y)+(val5.y*val19.y)+(val6.y*val20.y)+(val7.y*val21.y)+(val8.y*val22.y)+val24.y),((val0.z*val23.z)+(val3.z*val15.z)+(val1.z*val16.z)+(val4.z*val17.z)+(val2.z*val18.z)+(val5.z*val19.z)+(val6.z*val20.z)+(val7.z*val21.z)+(val8.z*val22.z)+val24.z),((val0.w*val23.w)+(val3.w*val15.w)+(val1.w*val16.w)+(val4.w*val17.w)+(val2.w*val18.w)+(val5.w*val19.w)+(val6.w*val20.w)+(val7.w*val21.w)+(val8.w*val22.w)+val24.w)));
  write_imagef(data0_1_8280_4, (int2)(alu6,0), (float4)(((val4.x*val23.x)+(val2.x*val15.x)+(val5.x*val16.x)+(val6.x*val17.x)+(val7.x*val18.x)+(val8.x*val19.x)+(val9.x*val20.x)+(val10.x*val21.x)+(val11.x*val22.x)+val24.x),((val4.y*val23.y)+(val2.y*val15.y)+(val5.y*val16.y)+(val6.y*val17.y)+(val7.y*val18.y)+(val8.y*val19.y)+(val9.y*val20.y)+(val10.y*val21.y)+(val11.y*val22.y)+val24.y),((val4.z*val23.z)+(val2.z*val15.z)+(val5.z*val16.z)+(val6.z*val17.z)+(val7.z*val18.z)+(val8.z*val19.z)+(val9.z*val20.z)+(val10.z*val21.z)+(val11.z*val22.z)+val24.z),((val4.w*val23.w)+(val2.w*val15.w)+(val5.w*val16.w)+(val6.w*val17.w)+(val7.w*val18.w)+(val8.w*val19.w)+(val9.w*val20.w)+(val10.w*val21.w)+(val11.w*val22.w)+val24.w)));
  write_imagef(data0_1_8280_4, (int2)(alu7,0), (float4)(((val6.x*val23.x)+(val7.x*val15.x)+(val8.x*val16.x)+(val9.x*val17.x)+(val10.x*val18.x)+(val11.x*val19.x)+(val12.x*val20.x)+(val13.x*val21.x)+(val14.x*val22.x)+val24.x),((val6.y*val23.y)+(val7.y*val15.y)+(val8.y*val16.y)+(val9.y*val17.y)+(val10.y*val18.y)+(val11.y*val19.y)+(val12.y*val20.y)+(val13.y*val21.y)+(val14.y*val22.y)+val24.y),((val6.z*val23.z)+(val7.z*val15.z)+(val8.z*val16.z)+(val9.z*val17.z)+(val10.z*val18.z)+(val11.z*val19.z)+(val12.z*val20.z)+(val13.z*val21.z)+(val14.z*val22.z)+val24.z),((val6.w*val23.w)+(val7.w*val15.w)+(val8.w*val16.w)+(val9.w*val17.w)+(val10.w*val18.w)+(val11.w*val19.w)+(val12.w*val20.w)+(val13.w*val21.w)+(val14.w*val22.w)+val24.w)));
}

__kernel void r_5_23_96_4_3_24_4(write_only image2d_t data0_5_6912_4, read_only image2d_t data1_1_8280_4, read_only image2d_t data2_1_9216_4, read_only image2d_t data3_1_96_4) {
  int idx0 = get_global_id(0); /* 96 */
    float4 val3 = read_imagef(data2_1_9216_4, smp, (int2)((alu13+1),0));
    float4 val4 = read_imagef(data2_1_9216_4, smp, (int2)((alu13+2),0));
    float4 val5 = read_imagef(data2_1_9216_4, smp, (int2)((alu13+3),0));
    float4 val6 = read_imagef(data2_1_9216_4, smp, (int2)(alu13,0));
  }
  float4 val7 = read_imagef(data3_1_96_4, smp, (int2)(idx0,0));
  int alu39 = (idx0+(idx1*96));
  write_imagef(data0_5_6912_4, (int2)(alu39,idx2), (float4)(((1/(1.0f+exp2(((alu27+(0.044708251953125f*alu27*alu27*alu27))*-2.3021130561828613f))))*alu27),((1/(1.0f+exp2(((alu28+(0.044708251953125f*alu28*alu28*alu28))*-2.3021130561828613f))))*alu28),((1/(1.0f+exp2(((alu29+(0.044708251953125f*alu29*alu29*alu29))*-2.3021130561828613f))))*alu29),((1/(1.0f+exp2(((alu30+(0.044708251953125f*alu30*alu30*alu30))*-2.3021130561828613f))))*alu30)));
  write_imagef(data0_5_6912_4, (int2)((alu39+2304),idx2), (float4)(((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31),((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34)));
  write_imagef(data0_5_6912_4, (int2)((alu39+4608),idx2), (float4)(((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38)));
}

__kernel void r_5_23_24_4_3_96_4(write_only image2d_t data0_1_8280_4, read_only image2d_t data1_5_6912_4, read_only image2d_t data2_1_9216_4, read_only image2d_t data3_1_24_4, read_only image2d_t data4_1_8280_4) {
  for (int Ridx0 = 0; Ridx0 < 96; Ridx0++) {
    int alu12 = ((idx1*96)+Ridx0);
    float4 val0 = read_imagef(data1_5_6912_4, smp, (int2)((alu12+2304),idx2));
    float4 val1 = read_imagef(data1_5_6912_4, smp, (int2)((alu12+4608),idx2));
    float4 val2 = read_imagef(data1_5_6912_4, smp, (int2)(alu12,idx2));
    int alu13 = ((idx0*384)+(Ridx0<<2));
  }
}

__kernel void r_5_23_144_4_3_24_4(write_only image2d_t data0_5_10368_4, read_only image2d_t data1_1_8280_4, read_only image2d_t data2_1_13824_4, read_only image2d_t data3_1_144_4) {
  int idx0 = get_global_id(0); /* 144 */
    float4 val3 = read_imagef(data2_1_13824_4, smp, (int2)((alu13+1),0));
    float4 val4 = read_imagef(data2_1_13824_4, smp, (int2)((alu13+2),0));
    float4 val5 = read_imagef(data2_1_13824_4, smp, (int2)((alu13+3),0));
    float4 val6 = read_imagef(data2_1_13824_4, smp, (int2)(alu13,0));
  }
  float4 val7 = read_imagef(data3_1_144_4, smp, (int2)(idx0,0));
  write_imagef(data0_5_10368_4, (int2)(alu39,idx2), (float4)(((1/(1.0f+exp2(((alu27+(0.044708251953125f*alu27*alu27*alu27))*-2.3021130561828613f))))*alu27),((1/(1.0f+exp2(((alu28+(0.044708251953125f*alu28*alu28*alu28))*-2.3021130561828613f))))*alu28),((1/(1.0f+exp2(((alu29+(0.044708251953125f*alu29*alu29*alu29))*-2.3021130561828613f))))*alu29),((1/(1.0f+exp2(((alu30+(0.044708251953125f*alu30*alu30*alu30))*-2.3021130561828613f))))*alu30)));
  write_imagef(data0_5_10368_4, (int2)((alu39+3456),idx2), (float4)(((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31),((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34)));
  write_imagef(data0_5_10368_4, (int2)((alu39+6912),idx2), (float4)(((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38)));
}

__kernel void r_8_4_144_4_3_3_3(write_only image2d_t data0_1_13824_4, read_only image2d_t data1_15_3456_4, read_only image2d_t data2_1_3456_4, read_only image2d_t data3_1_144_4) {
  int idx1 = get_global_id(1); /* 4 */
  int idx2 = get_global_id(2); /* 8 */
  int alu0 = (idx0+(idx1*864));
  int alu1 = (idx2<<1);
  float4 val0 = read_imagef(data1_15_3456_4, smp, (int2)(alu0,alu2));
  int alu3 = (alu0+-144);
  float4 val1 = read_imagef(data1_15_3456_4, smp, (int2)(alu3,alu2));
  int alu4 = (alu0+144);
  float4 val2 = read_imagef(data1_15_3456_4, smp, (int2)(alu4,alu2));
  int alu5 = (alu0+288);
  float4 val3 = read_imagef(data1_15_3456_4, smp, (int2)(alu5,alu2));
  int alu6 = (alu0+432);
  float4 val4 = read_imagef(data1_15_3456_4, smp, (int2)(alu6,alu2));
  int alu7 = (alu0+576);
  float4 val5 = read_imagef(data1_15_3456_4, smp, (int2)(alu7,alu2));
  int alu8 = (alu0+720);
  bool alu9 = (idx1<3);
  float4 val6 = (alu9?read_imagef(data1_15_3456_4, smp, (int2)(alu8,alu2)):cast0);
  int alu10 = (alu1+1);
  float4 val7 = read_imagef(data1_15_3456_4, smp, (int2)(alu0,alu10));
  float4 val8 = read_imagef(data1_15_3456_4, smp, (int2)(alu3,alu10));
  float4 val9 = read_imagef(data1_15_3456_4, smp, (int2)(alu4,alu10));
  float4 val10 = read_imagef(data1_15_3456_4, smp, (int2)(alu5,alu10));
  float4 val11 = read_imagef(data1_15_3456_4, smp, (int2)(alu6,alu10));
  float4 val12 = read_imagef(data1_15_3456_4, smp, (int2)(alu7,alu10));
  float4 val13 = (alu9?read_imagef(data1_15_3456_4, smp, (int2)(alu8,alu10)):cast0);
  float4 val14 = read_imagef(data1_15_3456_4, smp, (int2)(alu0,alu1));
  float4 val15 = read_imagef(data1_15_3456_4, smp, (int2)(alu3,alu1));
  float4 val16 = read_imagef(data1_15_3456_4, smp, (int2)(alu4,alu1));
  float4 val17 = read_imagef(data1_15_3456_4, smp, (int2)(alu5,alu1));
  float4 val18 = read_imagef(data1_15_3456_4, smp, (int2)(alu6,alu1));
  float4 val19 = read_imagef(data1_15_3456_4, smp, (int2)(alu7,alu1));
  float4 val20 = (alu9?read_imagef(data1_15_3456_4, smp, (int2)(alu8,alu1)):cast0);
  int alu11 = (idx0*24);
  float4 val21 = read_imagef(data2_1_3456_4, smp, (int2)((alu11+1),0));
  float4 val22 = read_imagef(data2_1_3456_4, smp, (int2)((alu11+2),0));
  float4 val23 = read_imagef(data2_1_3456_4, smp, (int2)((alu11+3),0));
  float4 val24 = read_imagef(data2_1_3456_4, smp, (int2)((alu11+4),0));
  float4 val25 = read_imagef(data2_1_3456_4, smp, (int2)((alu11+5),0));
  float4 val26 = read_imagef(data2_1_3456_4, smp, (int2)((alu11+6),0));
  float4 val27 = read_imagef(data2_1_3456_4, smp, (int2)((alu11+7),0));
  float4 val28 = read_imagef(data2_1_3456_4, smp, (int2)((alu11+8),0));
  float4 val29 = read_imagef(data2_1_3456_4, smp, (int2)(alu11,0));
  float4 val30 = read_imagef(data3_1_144_4, smp, (int2)(idx0,0));
  float alu12 = ((val1.x*val29.x)+(val0.x*val21.x)+(val2.x*val22.x)+(val15.x*val23.x)+(val14.x*val24.x)+(val16.x*val25.x)+(val8.x*val26.x)+(val7.x*val27.x)+(val9.x*val28.x)+val30.x);
  float alu13 = ((val1.y*val29.y)+(val0.y*val21.y)+(val2.y*val22.y)+(val15.y*val23.y)+(val14.y*val24.y)+(val16.y*val25.y)+(val8.y*val26.y)+(val7.y*val27.y)+(val9.y*val28.y)+val30.y);
  float alu14 = ((val1.z*val29.z)+(val0.z*val21.z)+(val2.z*val22.z)+(val15.z*val23.z)+(val14.z*val24.z)+(val16.z*val25.z)+(val8.z*val26.z)+(val7.z*val27.z)+(val9.z*val28.z)+val30.z);
  float alu15 = ((val1.w*val29.w)+(val0.w*val21.w)+(val2.w*val22.w)+(val15.w*val23.w)+(val14.w*val24.w)+(val16.w*val25.w)+(val8.w*val26.w)+(val7.w*val27.w)+(val9.w*val28.w)+val30.w);
  float alu16 = ((val2.x*val29.x)+(val3.x*val21.x)+(val4.x*val22.x)+(val16.x*val23.x)+(val17.x*val24.x)+(val18.x*val25.x)+(val9.x*val26.x)+(val10.x*val27.x)+(val11.x*val28.x)+val30.x);
  float alu17 = ((val2.y*val29.y)+(val3.y*val21.y)+(val4.y*val22.y)+(val16.y*val23.y)+(val17.y*val24.y)+(val18.y*val25.y)+(val9.y*val26.y)+(val10.y*val27.y)+(val11.y*val28.y)+val30.y);
  float alu18 = ((val2.z*val29.z)+(val3.z*val21.z)+(val4.z*val22.z)+(val16.z*val23.z)+(val17.z*val24.z)+(val18.z*val25.z)+(val9.z*val26.z)+(val10.z*val27.z)+(val11.z*val28.z)+val30.z);
  float alu19 = ((val2.w*val29.w)+(val3.w*val21.w)+(val4.w*val22.w)+(val16.w*val23.w)+(val17.w*val24.w)+(val18.w*val25.w)+(val9.w*val26.w)+(val10.w*val27.w)+(val11.w*val28.w)+val30.w);
  float alu20 = ((val4.x*val29.x)+(val5.x*val21.x)+(val6.x*val22.x)+(val18.x*val23.x)+(val19.x*val24.x)+(val20.x*val25.x)+(val11.x*val26.x)+(val12.x*val27.x)+(val13.x*val28.x)+val30.x);
  float alu21 = ((val4.y*val29.y)+(val5.y*val21.y)+(val6.y*val22.y)+(val18.y*val23.y)+(val19.y*val24.y)+(val20.y*val25.y)+(val11.y*val26.y)+(val12.y*val27.y)+(val13.y*val28.y)+val30.y);
  float alu22 = ((val4.z*val29.z)+(val5.z*val21.z)+(val6.z*val22.z)+(val18.z*val23.z)+(val19.z*val24.z)+(val20.z*val25.z)+(val11.z*val26.z)+(val12.z*val27.z)+(val13.z*val28.z)+val30.z);
  float alu23 = ((val4.w*val29.w)+(val5.w*val21.w)+(val6.w*val22.w)+(val18.w*val23.w)+(val19.w*val24.w)+(val20.w*val25.w)+(val11.w*val26.w)+(val12.w*val27.w)+(val13.w*val28.w)+val30.w);
  int alu24 = (idx0+(idx1*432)+(idx2*1728));
  write_imagef(data0_1_13824_4, (int2)(alu24,0), (float4)(((1/(1.0f+exp2(((alu12+(0.044708251953125f*alu12*alu12*alu12))*-2.3021130561828613f))))*alu12),((1/(1.0f+exp2(((alu13+(0.044708251953125f*alu13*alu13*alu13))*-2.3021130561828613f))))*alu13),((1/(1.0f+exp2(((alu14+(0.044708251953125f*alu14*alu14*alu14))*-2.3021130561828613f))))*alu14),((1/(1.0f+exp2(((alu15+(0.044708251953125f*alu15*alu15*alu15))*-2.3021130561828613f))))*alu15)));
  write_imagef(data0_1_13824_4, (int2)((alu24+144),0), (float4)(((1/(1.0f+exp2(((alu16+(0.044708251953125f*alu16*alu16*alu16))*-2.3021130561828613f))))*alu16),((1/(1.0f+exp2(((alu17+(0.044708251953125f*alu17*alu17*alu17))*-2.3021130561828613f))))*alu17),((1/(1.0f+exp2(((alu18+(0.044708251953125f*alu18*alu18*alu18))*-2.3021130561828613f))))*alu18),((1/(1.0f+exp2(((alu19+(0.044708251953125f*alu19*alu19*alu19))*-2.3021130561828613f))))*alu19)));
  write_imagef(data0_1_13824_4, (int2)((alu24+288),0), (float4)(((1/(1.0f+exp2(((alu20+(0.044708251953125f*alu20*alu20*alu20))*-2.3021130561828613f))))*alu20),((1/(1.0f+exp2(((alu21+(0.044708251953125f*alu21*alu21*alu21))*-2.3021130561828613f))))*alu21),((1/(1.0f+exp2(((alu22+(0.044708251953125f*alu22*alu22*alu22))*-2.3021130561828613f))))*alu22),((1/(1.0f+exp2(((alu23+(0.044708251953125f*alu23*alu23*alu23))*-2.3021130561828613f))))*alu23)));
}

__kernel void r_32_32_4_3_144_4(write_only image2d_t data0_1_3072_4, read_only image2d_t data1_1_13824_4, read_only image2d_t data2_32_576_4, read_only image2d_t data3_1_32_4) {
  int idx0 = get_global_id(0); /* 32 */
  int idx1 = get_global_id(1); /* 32 */
  for (int Ridx0 = 0; Ridx0 < 144; Ridx0++) {
    int alu12 = ((idx1*432)+Ridx0);
    float4 val0 = read_imagef(data1_1_13824_4, smp, (int2)((alu12+144),0));
    float4 val1 = read_imagef(data1_1_13824_4, smp, (int2)((alu12+288),0));
    float4 val2 = read_imagef(data1_1_13824_4, smp, (int2)(alu12,0));
    int alu13 = (Ridx0<<2);
    float4 val3 = read_imagef(data2_32_576_4, smp, (int2)((alu13+1),idx0));
    float4 val4 = read_imagef(data2_32_576_4, smp, (int2)((alu13+2),idx0));
    float4 val5 = read_imagef(data2_32_576_4, smp, (int2)((alu13+3),idx0));
    float4 val6 = read_imagef(data2_32_576_4, smp, (int2)(alu13,idx0));
  }
  float4 val7 = read_imagef(data3_1_32_4, smp, (int2)(idx0,0));
  int alu27 = (idx0+(idx1*96));
  write_imagef(data0_1_3072_4, (int2)(alu27,0), (float4)(((*(buf0+0))+val7.x),((*(buf0+1))+val7.y),((*(buf0+2))+val7.z),((*(buf0+3))+val7.w)));
  write_imagef(data0_1_3072_4, (int2)((alu27+32),0), (float4)(((*(buf0+4))+val7.x),((*(buf0+5))+val7.y),((*(buf0+6))+val7.z),((*(buf0+7))+val7.w)));
  write_imagef(data0_1_3072_4, (int2)((alu27+64),0), (float4)(((*(buf0+8))+val7.x),((*(buf0+9))+val7.y),((*(buf0+10))+val7.z),((*(buf0+11))+val7.w)));
}

__kernel void r_8_4_32_4_3_5_5(write_only image2d_t data0_1_3264_4, read_only image2d_t data1_8_384_4, read_only image2d_t data2_1_1280_4, read_only image2d_t data3_1_32_4) {
    int alu13 = (idx2+Ridx0+-2);
    float4 val0 = read_imagef(data1_8_384_4, smp, (int2)(alu0,alu13));
    float4 val1 = read_imagef(data1_8_384_4, smp, (int2)((alu0+-64),alu13));
    float4 val2 = read_imagef(data1_8_384_4, smp, (int2)((alu0+-32),alu13));
    float4 val3 = read_imagef(data1_8_384_4, smp, (int2)((alu0+32),alu13));
    float4 val4 = read_imagef(data1_8_384_4, smp, (int2)((alu0+64),alu13));
    float4 val5 = read_imagef(data1_8_384_4, smp, (int2)((alu0+96),alu13));
    float4 val6 = read_imagef(data1_8_384_4, smp, (int2)((alu0+128),alu13));
    int alu14 = ((idx0*40)+(Ridx0*5));
    float4 val7 = read_imagef(data2_1_1280_4, smp, (int2)((alu14+1),0));
    float4 val8 = read_imagef(data2_1_1280_4, smp, (int2)((alu14+2),0));
    float4 val9 = read_imagef(data2_1_1280_4, smp, (int2)((alu14+3),0));
    float4 val10 = read_imagef(data2_1_1280_4, smp, (int2)((alu14+4),0));
    float4 val11 = read_imagef(data2_1_1280_4, smp, (int2)(alu14,0));
  }
  float4 val12 = read_imagef(data3_1_32_4, smp, (int2)(idx0,0));
  int alu28 = (idx0+(idx1*102)+(idx2*408));
  write_imagef(data0_1_3264_4, (int2)(alu28,0), (float4)(((*(buf0+0))+val12.x),((*(buf0+1))+val12.y),((*(buf0+2))+val12.z),((*(buf0+3))+val12.w)));
  write_imagef(data0_1_3264_4, (int2)((alu28+34),0), (float4)(((*(buf0+4))+val12.x),((*(buf0+5))+val12.y),((*(buf0+6))+val12.z),((*(buf0+7))+val12.w)));
  write_imagef(data0_1_3264_4, (int2)((alu28+68),0), (float4)(((*(buf0+8))+val12.x),((*(buf0+9))+val12.y),((*(buf0+10))+val12.z),((*(buf0+11))+val12.w)));
}

__kernel void r_32_128_4_3_32_4(write_only image2d_t data0_1_12288_4, read_only image2d_t data1_1_3264_4, read_only image2d_t data2_128_192_4, read_only image2d_t data3_1_128_4) {
  int idx0 = get_global_id(0); /* 128 */
  for (int Ridx0 = 0; Ridx0 < 32; Ridx0++) {
    int alu12 = ((idx1*102)+Ridx0);
    float4 val0 = read_imagef(data1_1_3264_4, smp, (int2)((alu12+34),0));
    float4 val1 = read_imagef(data1_1_3264_4, smp, (int2)((alu12+68),0));
    float4 val2 = read_imagef(data1_1_3264_4, smp, (int2)(alu12,0));
    float4 val3 = read_imagef(data2_128_192_4, smp, (int2)((alu13+1),idx0));
    float4 val4 = read_imagef(data2_128_192_4, smp, (int2)((alu13+2),idx0));
    float4 val5 = read_imagef(data2_128_192_4, smp, (int2)((alu13+3),idx0));
    float4 val6 = read_imagef(data2_128_192_4, smp, (int2)(alu13,idx0));
  }
  float4 val7 = read_imagef(data3_1_128_4, smp, (int2)(idx0,0));
  int alu39 = (idx0+(idx1*384));
  write_imagef(data0_1_12288_4, (int2)(alu39,0), (float4)(((1/(1.0f+exp2(((alu27+(0.044708251953125f*alu27*alu27*alu27))*-2.3021130561828613f))))*alu27),((1/(1.0f+exp2(((alu28+(0.044708251953125f*alu28*alu28*alu28))*-2.3021130561828613f))))*alu28),((1/(1.0f+exp2(((alu29+(0.044708251953125f*alu29*alu29*alu29))*-2.3021130561828613f))))*alu29),((1/(1.0f+exp2(((alu30+(0.044708251953125f*alu30*alu30*alu30))*-2.3021130561828613f))))*alu30)));
  write_imagef(data0_1_12288_4, (int2)((alu39+128),0), (float4)(((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31),((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34)));
  write_imagef(data0_1_12288_4, (int2)((alu39+256),0), (float4)(((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38)));
}

__kernel void r_8_4_128_4_3_5_5(write_only image2d_t data0_1_12480_4, read_only image2d_t data1_8_1536_4, read_only image2d_t data2_1_5120_4, read_only image2d_t data3_1_128_4) {
  int alu0 = (idx0+(idx1*384));
    float4 val0 = read_imagef(data1_8_1536_4, smp, (int2)(alu0,alu13));
    float4 val1 = read_imagef(data1_8_1536_4, smp, (int2)((alu0+-256),alu13));
    float4 val2 = read_imagef(data1_8_1536_4, smp, (int2)((alu0+-128),alu13));
    float4 val3 = read_imagef(data1_8_1536_4, smp, (int2)((alu0+128),alu13));
    float4 val4 = read_imagef(data1_8_1536_4, smp, (int2)((alu0+256),alu13));
    float4 val5 = read_imagef(data1_8_1536_4, smp, (int2)((alu0+384),alu13));
    float4 val6 = read_imagef(data1_8_1536_4, smp, (int2)((alu0+512),alu13));
    float4 val7 = read_imagef(data2_1_5120_4, smp, (int2)((alu14+1),0));
    float4 val8 = read_imagef(data2_1_5120_4, smp, (int2)((alu14+2),0));
    float4 val9 = read_imagef(data2_1_5120_4, smp, (int2)((alu14+3),0));
    float4 val10 = read_imagef(data2_1_5120_4, smp, (int2)((alu14+4),0));
    float4 val11 = read_imagef(data2_1_5120_4, smp, (int2)(alu14,0));
  }
  float4 val12 = read_imagef(data3_1_128_4, smp, (int2)(idx0,0));
  float alu28 = ((*(buf0+0))+val12.x);
  float alu29 = ((*(buf0+1))+val12.y);
  float alu30 = ((*(buf0+2))+val12.z);
  float alu31 = ((*(buf0+3))+val12.w);
  float alu32 = ((*(buf0+4))+val12.x);
  float alu33 = ((*(buf0+5))+val12.y);
  float alu34 = ((*(buf0+6))+val12.z);
  float alu35 = ((*(buf0+7))+val12.w);
  float alu36 = ((*(buf0+8))+val12.x);
  float alu37 = ((*(buf0+9))+val12.y);
  float alu38 = ((*(buf0+10))+val12.z);
  float alu39 = ((*(buf0+11))+val12.w);
  int alu40 = (idx0+(idx1*390)+(idx2*1560));
  write_imagef(data0_1_12480_4, (int2)(alu40,0), (float4)(((1/(1.0f+exp2(((alu28+(0.044708251953125f*alu28*alu28*alu28))*-2.3021130561828613f))))*alu28),((1/(1.0f+exp2(((alu29+(0.044708251953125f*alu29*alu29*alu29))*-2.3021130561828613f))))*alu29),((1/(1.0f+exp2(((alu30+(0.044708251953125f*alu30*alu30*alu30))*-2.3021130561828613f))))*alu30),((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31)));
  write_imagef(data0_1_12480_4, (int2)((alu40+130),0), (float4)(((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34),((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35)));
  write_imagef(data0_1_12480_4, (int2)((alu40+260),0), (float4)(((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38),((1/(1.0f+exp2(((alu39+(0.044708251953125f*alu39*alu39*alu39))*-2.3021130561828613f))))*alu39)));
}

__kernel void r_32_32_4_3_128_4(write_only image2d_t data0_1_3264_4, read_only image2d_t data1_1_12480_4, read_only image2d_t data2_32_576_4, read_only image2d_t data3_1_32_4, read_only image2d_t data4_1_3072_4) {
  for (int Ridx0 = 0; Ridx0 < 128; Ridx0++) {
    int alu12 = ((idx1*390)+Ridx0);
    float4 val0 = read_imagef(data1_1_12480_4, smp, (int2)((alu12+130),0));
    float4 val1 = read_imagef(data1_1_12480_4, smp, (int2)((alu12+260),0));
    float4 val2 = read_imagef(data1_1_12480_4, smp, (int2)(alu12,0));
  }
  float4 val8 = read_imagef(data4_1_3072_4, smp, (int2)(alu27,0));
  float4 val9 = read_imagef(data4_1_3072_4, smp, (int2)((alu27+32),0));
  float4 val10 = read_imagef(data4_1_3072_4, smp, (int2)((alu27+64),0));
  int alu28 = (idx0+(idx1*102));
  write_imagef(data0_1_3264_4, (int2)(alu28,0), (float4)(((*(buf0+0))+val7.x+val8.x),((*(buf0+1))+val7.y+val8.y),((*(buf0+2))+val7.z+val8.z),((*(buf0+3))+val7.w+val8.w)));
  write_imagef(data0_1_3264_4, (int2)((alu28+34),0), (float4)(((*(buf0+4))+val7.x+val9.x),((*(buf0+5))+val7.y+val9.y),((*(buf0+6))+val7.z+val9.z),((*(buf0+7))+val7.w+val9.w)));
  write_imagef(data0_1_3264_4, (int2)((alu28+68),0), (float4)(((*(buf0+8))+val7.x+val10.x),((*(buf0+9))+val7.y+val10.y),((*(buf0+10))+val7.z+val10.z),((*(buf0+11))+val7.w+val10.w)));
}

__kernel void r_32_32_4_3_128_4n1(write_only image2d_t data0_1_3264_4, read_only image2d_t data1_1_12480_4, read_only image2d_t data2_32_576_4, read_only image2d_t data3_1_32_4, read_only image2d_t data4_1_3264_4) {
  int3 cast0 = (int3)(1,3264,4);
  }
  int alu27 = (idx0+(idx1*102));
  float4 val8 = read_imagef(data4_1_3264_4, smp, (int2)(alu27,0));
  int alu28 = (alu27+34);
  float4 val9 = read_imagef(data4_1_3264_4, smp, (int2)(alu28,0));
  int alu29 = (alu27+68);
  float4 val10 = read_imagef(data4_1_3264_4, smp, (int2)(alu29,0));
  write_imagef(data0_1_3264_4, (int2)(alu27,0), (float4)(((*(buf0+0))+val7.x+val8.x),((*(buf0+1))+val7.y+val8.y),((*(buf0+2))+val7.z+val8.z),((*(buf0+3))+val7.w+val8.w)));
  write_imagef(data0_1_3264_4, (int2)(alu28,0), (float4)(((*(buf0+4))+val7.x+val9.x),((*(buf0+5))+val7.y+val9.y),((*(buf0+6))+val7.z+val9.z),((*(buf0+7))+val7.w+val9.w)));
  write_imagef(data0_1_3264_4, (int2)(alu29,0), (float4)(((*(buf0+8))+val7.x+val10.x),((*(buf0+9))+val7.y+val10.y),((*(buf0+10))+val7.z+val10.z),((*(buf0+11))+val7.w+val10.w)));
}

__kernel void r_32_96_4_3_32_4(write_only image2d_t data0_1_9216_4, read_only image2d_t data1_1_3264_4, read_only image2d_t data2_1_13056_4, read_only image2d_t data3_1_96_4) {
    int alu13 = ((idx0*136)+(Ridx0<<2));
    float4 val3 = read_imagef(data2_1_13056_4, smp, (int2)((alu13+1),0));
    float4 val4 = read_imagef(data2_1_13056_4, smp, (int2)((alu13+2),0));
    float4 val5 = read_imagef(data2_1_13056_4, smp, (int2)((alu13+3),0));
    float4 val6 = read_imagef(data2_1_13056_4, smp, (int2)(alu13,0));
  }
  int alu39 = (idx0+(idx1*288));
  write_imagef(data0_1_9216_4, (int2)(alu39,0), (float4)(((1/(1.0f+exp2(((alu27+(0.044708251953125f*alu27*alu27*alu27))*-2.3021130561828613f))))*alu27),((1/(1.0f+exp2(((alu28+(0.044708251953125f*alu28*alu28*alu28))*-2.3021130561828613f))))*alu28),((1/(1.0f+exp2(((alu29+(0.044708251953125f*alu29*alu29*alu29))*-2.3021130561828613f))))*alu29),((1/(1.0f+exp2(((alu30+(0.044708251953125f*alu30*alu30*alu30))*-2.3021130561828613f))))*alu30)));
  write_imagef(data0_1_9216_4, (int2)((alu39+96),0), (float4)(((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31),((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34)));
  write_imagef(data0_1_9216_4, (int2)((alu39+192),0), (float4)(((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35),((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38)));
}

__kernel void r_8_4_96_4_3_5_5(write_only image2d_t data0_1_9216_4, read_only image2d_t data1_8_1152_4, read_only image2d_t data2_1_3840_4, read_only image2d_t data3_1_96_4) {
  int alu0 = (idx0+(idx1*288));
    float4 val0 = read_imagef(data1_8_1152_4, smp, (int2)(alu0,alu13));
    float4 val1 = read_imagef(data1_8_1152_4, smp, (int2)((alu0+-192),alu13));
    float4 val2 = read_imagef(data1_8_1152_4, smp, (int2)((alu0+-96),alu13));
    float4 val3 = read_imagef(data1_8_1152_4, smp, (int2)((alu0+96),alu13));
    float4 val4 = read_imagef(data1_8_1152_4, smp, (int2)((alu0+192),alu13));
    float4 val5 = read_imagef(data1_8_1152_4, smp, (int2)((alu0+288),alu13));
    float4 val6 = read_imagef(data1_8_1152_4, smp, (int2)((alu0+384),alu13));
    float4 val7 = read_imagef(data2_1_3840_4, smp, (int2)((alu14+1),0));
    float4 val8 = read_imagef(data2_1_3840_4, smp, (int2)((alu14+2),0));
    float4 val9 = read_imagef(data2_1_3840_4, smp, (int2)((alu14+3),0));
    float4 val10 = read_imagef(data2_1_3840_4, smp, (int2)((alu14+4),0));
    float4 val11 = read_imagef(data2_1_3840_4, smp, (int2)(alu14,0));
  }
  float4 val12 = read_imagef(data3_1_96_4, smp, (int2)(idx0,0));
  int alu40 = (alu0+(idx2*1152));
  write_imagef(data0_1_9216_4, (int2)(alu40,0), (float4)(((1/(1.0f+exp2(((alu28+(0.044708251953125f*alu28*alu28*alu28))*-2.3021130561828613f))))*alu28),((1/(1.0f+exp2(((alu29+(0.044708251953125f*alu29*alu29*alu29))*-2.3021130561828613f))))*alu29),((1/(1.0f+exp2(((alu30+(0.044708251953125f*alu30*alu30*alu30))*-2.3021130561828613f))))*alu30),((1/(1.0f+exp2(((alu31+(0.044708251953125f*alu31*alu31*alu31))*-2.3021130561828613f))))*alu31)));
  write_imagef(data0_1_9216_4, (int2)((alu40+96),0), (float4)(((1/(1.0f+exp2(((alu32+(0.044708251953125f*alu32*alu32*alu32))*-2.3021130561828613f))))*alu32),((1/(1.0f+exp2(((alu33+(0.044708251953125f*alu33*alu33*alu33))*-2.3021130561828613f))))*alu33),((1/(1.0f+exp2(((alu34+(0.044708251953125f*alu34*alu34*alu34))*-2.3021130561828613f))))*alu34),((1/(1.0f+exp2(((alu35+(0.044708251953125f*alu35*alu35*alu35))*-2.3021130561828613f))))*alu35)));
  write_imagef(data0_1_9216_4, (int2)((alu40+192),0), (float4)(((1/(1.0f+exp2(((alu36+(0.044708251953125f*alu36*alu36*alu36))*-2.3021130561828613f))))*alu36),((1/(1.0f+exp2(((alu37+(0.044708251953125f*alu37*alu37*alu37))*-2.3021130561828613f))))*alu37),((1/(1.0f+exp2(((alu38+(0.044708251953125f*alu38*alu38*alu38))*-2.3021130561828613f))))*alu38),((1/(1.0f+exp2(((alu39+(0.044708251953125f*alu39*alu39*alu39))*-2.3021130561828613f))))*alu39)));
}

__kernel void r_32_32_4_3_96_4(write_only image2d_t data0_1_3264_4, read_only image2d_t data1_1_9216_4, read_only image2d_t data2_1_12288_4, read_only image2d_t data3_1_32_4, read_only image2d_t data4_1_3264_4) {
    int alu12 = ((idx1*288)+Ridx0);
    float4 val0 = read_imagef(data1_1_9216_4, smp, (int2)((alu12+96),0));
    float4 val1 = read_imagef(data1_1_9216_4, smp, (int2)((alu12+192),0));
    float4 val2 = read_imagef(data1_1_9216_4, smp, (int2)(alu12,0));
    float4 val3 = read_imagef(data2_1_12288_4, smp, (int2)((alu13+1),0));
    float4 val4 = read_imagef(data2_1_12288_4, smp, (int2)((alu13+2),0));
    float4 val5 = read_imagef(data2_1_12288_4, smp, (int2)((alu13+3),0));
    float4 val6 = read_imagef(data2_1_12288_4, smp, (int2)(alu13,0));
  }
}

__kernel void r_8_4_128_4_3_3_3(write_only image2d_t data0_1_12480_4, read_only image2d_t data1_8_1536_4, read_only image2d_t data2_1_3072_4, read_only image2d_t data3_1_128_4) {
  float4 val0 = read_imagef(data1_8_1536_4, smp, (int2)(alu0,idx2));
  int alu1 = (alu0+-128);
  float4 val1 = read_imagef(data1_8_1536_4, smp, (int2)(alu1,idx2));
  int alu2 = (alu0+128);
  float4 val2 = read_imagef(data1_8_1536_4, smp, (int2)(alu2,idx2));
  int alu3 = (alu0+256);
  float4 val3 = read_imagef(data1_8_1536_4, smp, (int2)(alu3,idx2));
  int alu4 = (alu0+384);
  float4 val4 = read_imagef(data1_8_1536_4, smp, (int2)(alu4,idx2));
  int alu5 = (idx2+-1);
  float4 val5 = read_imagef(data1_8_1536_4, smp, (int2)(alu0,alu5));
  float4 val6 = read_imagef(data1_8_1536_4, smp, (int2)(alu1,alu5));
  float4 val7 = read_imagef(data1_8_1536_4, smp, (int2)(alu2,alu5));
  float4 val8 = read_imagef(data1_8_1536_4, smp, (int2)(alu3,alu5));
  float4 val9 = read_imagef(data1_8_1536_4, smp, (int2)(alu4,alu5));
  int alu6 = (idx2+1);
  float4 val10 = read_imagef(data1_8_1536_4, smp, (int2)(alu0,alu6));
  float4 val11 = read_imagef(data1_8_1536_4, smp, (int2)(alu1,alu6));
  float4 val12 = read_imagef(data1_8_1536_4, smp, (int2)(alu2,alu6));
  float4 val13 = read_imagef(data1_8_1536_4, smp, (int2)(alu3,alu6));
  float4 val14 = read_imagef(data1_8_1536_4, smp, (int2)(alu4,alu6));
  int alu7 = (idx0*24);
  float4 val15 = read_imagef(data2_1_3072_4, smp, (int2)((alu7+1),0));
  float4 val16 = read_imagef(data2_1_3072_4, smp, (int2)((alu7+2),0));
  float4 val17 = read_imagef(data2_1_3072_4, smp, (int2)((alu7+3),0));
  float4 val18 = read_imagef(data2_1_3072_4, smp, (int2)((alu7+4),0));
  float4 val19 = read_imagef(data2_1_3072_4, smp, (int2)((alu7+5),0));
  float4 val20 = read_imagef(data2_1_3072_4, smp, (int2)((alu7+6),0));
  float4 val21 = read_imagef(data2_1_3072_4, smp, (int2)((alu7+7),0));
  float4 val22 = read_imagef(data2_1_3072_4, smp, (int2)((alu7+8),0));
  float4 val23 = read_imagef(data2_1_3072_4, smp, (int2)(alu7,0));
  float4 val24 = read_imagef(data3_1_128_4, smp, (int2)(idx0,0));
  float alu8 = ((val5.x*val23.x)+(val7.x*val15.x)+(val8.x*val16.x)+(val0.x*val17.x)+(val2.x*val18.x)+(val3.x*val19.x)+(val10.x*val20.x)+(val12.x*val21.x)+(val13.x*val22.x)+val24.x);
  float alu9 = ((val5.y*val23.y)+(val7.y*val15.y)+(val8.y*val16.y)+(val0.y*val17.y)+(val2.y*val18.y)+(val3.y*val19.y)+(val10.y*val20.y)+(val12.y*val21.y)+(val13.y*val22.y)+val24.y);
  float alu10 = ((val5.z*val23.z)+(val7.z*val15.z)+(val8.z*val16.z)+(val0.z*val17.z)+(val2.z*val18.z)+(val3.z*val19.z)+(val10.z*val20.z)+(val12.z*val21.z)+(val13.z*val22.z)+val24.z);
  float alu11 = ((val5.w*val23.w)+(val7.w*val15.w)+(val8.w*val16.w)+(val0.w*val17.w)+(val2.w*val18.w)+(val3.w*val19.w)+(val10.w*val20.w)+(val12.w*val21.w)+(val13.w*val22.w)+val24.w);
  float alu12 = ((val6.x*val23.x)+(val5.x*val15.x)+(val7.x*val16.x)+(val1.x*val17.x)+(val0.x*val18.x)+(val2.x*val19.x)+(val11.x*val20.x)+(val10.x*val21.x)+(val12.x*val22.x)+val24.x);
  float alu13 = ((val6.y*val23.y)+(val5.y*val15.y)+(val7.y*val16.y)+(val1.y*val17.y)+(val0.y*val18.y)+(val2.y*val19.y)+(val11.y*val20.y)+(val10.y*val21.y)+(val12.y*val22.y)+val24.y);
  float alu14 = ((val6.z*val23.z)+(val5.z*val15.z)+(val7.z*val16.z)+(val1.z*val17.z)+(val0.z*val18.z)+(val2.z*val19.z)+(val11.z*val20.z)+(val10.z*val21.z)+(val12.z*val22.z)+val24.z);
  float alu15 = ((val6.w*val23.w)+(val5.w*val15.w)+(val7.w*val16.w)+(val1.w*val17.w)+(val0.w*val18.w)+(val2.w*val19.w)+(val11.w*val20.w)+(val10.w*val21.w)+(val12.w*val22.w)+val24.w);
  float alu16 = ((val7.x*val23.x)+(val8.x*val15.x)+(val9.x*val16.x)+(val2.x*val17.x)+(val3.x*val18.x)+(val4.x*val19.x)+(val12.x*val20.x)+(val13.x*val21.x)+(val14.x*val22.x)+val24.x);
  float alu17 = ((val7.y*val23.y)+(val8.y*val15.y)+(val9.y*val16.y)+(val2.y*val17.y)+(val3.y*val18.y)+(val4.y*val19.y)+(val12.y*val20.y)+(val13.y*val21.y)+(val14.y*val22.y)+val24.y);
  float alu18 = ((val7.z*val23.z)+(val8.z*val15.z)+(val9.z*val16.z)+(val2.z*val17.z)+(val3.z*val18.z)+(val4.z*val19.z)+(val12.z*val20.z)+(val13.z*val21.z)+(val14.z*val22.z)+val24.z);
  float alu19 = ((val7.w*val23.w)+(val8.w*val15.w)+(val9.w*val16.w)+(val2.w*val17.w)+(val3.w*val18.w)+(val4.w*val19.w)+(val12.w*val20.w)+(val13.w*val21.w)+(val14.w*val22.w)+val24.w);
  int alu20 = (idx0+(idx1*390)+(idx2*1560));
  write_imagef(data0_1_12480_4, (int2)(alu20,0), (float4)(((1/(1.0f+exp2(((alu12+(0.044708251953125f*alu12*alu12*alu12))*-2.3021130561828613f))))*alu12),((1/(1.0f+exp2(((alu13+(0.044708251953125f*alu13*alu13*alu13))*-2.3021130561828613f))))*alu13),((1/(1.0f+exp2(((alu14+(0.044708251953125f*alu14*alu14*alu14))*-2.3021130561828613f))))*alu14),((1/(1.0f+exp2(((alu15+(0.044708251953125f*alu15*alu15*alu15))*-2.3021130561828613f))))*alu15)));
  write_imagef(data0_1_12480_4, (int2)((alu20+130),0), (float4)(((1/(1.0f+exp2(((alu8+(0.044708251953125f*alu8*alu8*alu8))*-2.3021130561828613f))))*alu8),((1/(1.0f+exp2(((alu9+(0.044708251953125f*alu9*alu9*alu9))*-2.3021130561828613f))))*alu9),((1/(1.0f+exp2(((alu10+(0.044708251953125f*alu10*alu10*alu10))*-2.3021130561828613f))))*alu10),((1/(1.0f+exp2(((alu11+(0.044708251953125f*alu11*alu11*alu11))*-2.3021130561828613f))))*alu11)));
  write_imagef(data0_1_12480_4, (int2)((alu20+260),0), (float4)(((1/(1.0f+exp2(((alu16+(0.044708251953125f*alu16*alu16*alu16))*-2.3021130561828613f))))*alu16),((1/(1.0f+exp2(((alu17+(0.044708251953125f*alu17*alu17*alu17))*-2.3021130561828613f))))*alu17),((1/(1.0f+exp2(((alu18+(0.044708251953125f*alu18*alu18*alu18))*-2.3021130561828613f))))*alu18),((1/(1.0f+exp2(((alu19+(0.044708251953125f*alu19*alu19*alu19))*-2.3021130561828613f))))*alu19)));
}

__kernel void r_240_16_4_32_6_4(write_only image2d_t data0_1_240_4, read_only image2d_t data1_1_3264_4, read_only image2d_t data2_240_192_4, read_only image2d_t data3_1_240_4) {
  int3 cast0 = (int3)(1,240,4);
  float buf0[4];
  float buf1[4];
  float buf2[4];
  __attribute__ ((aligned (16))) __local float buf3[64];
  int gidx0 = get_group_id(0); /* 240 */
  float4 val0 = read_imagef(data3_1_240_4, smp, (int2)(gidx0,0));
  int lidx0 = get_local_id(0); /* 16 */
  *(buf1+0) = 0.0f;
  *(buf1+1) = 0.0f;
  *(buf1+2) = 0.0f;
  *(buf1+3) = 0.0f;
  for (int Ridx2 = 0; Ridx2 < 6; Ridx2++) {
    *(buf0+0) = 0.0f;
    *(buf0+1) = 0.0f;
    *(buf0+2) = 0.0f;
    *(buf0+3) = 0.0f;
    for (int Ridx0 = 0; Ridx0 < 32; Ridx0++) {
      float4 val1 = read_imagef(data1_1_3264_4, smp, (int2)(((lidx0*204)+(Ridx2*34)+Ridx0),0));
      int alu8 = (Ridx0<<2);
      float4 val2 = read_imagef(data2_240_192_4, smp, (int2)((alu8+1),gidx0));
      float4 val3 = read_imagef(data2_240_192_4, smp, (int2)((alu8+2),gidx0));
      float4 val4 = read_imagef(data2_240_192_4, smp, (int2)((alu8+3),gidx0));
      float4 val5 = read_imagef(data2_240_192_4, smp, (int2)(alu8,gidx0));
      *(buf0+0) = ((*(buf0+0))+(val1.x*val5.x)+(val1.y*val2.x)+(val1.z*val3.x)+(val1.w*val4.x));
      *(buf0+1) = ((*(buf0+1))+(val1.x*val5.y)+(val1.y*val2.y)+(val1.z*val3.y)+(val1.w*val4.y));
      *(buf0+2) = ((*(buf0+2))+(val1.x*val5.z)+(val1.y*val2.z)+(val1.z*val3.z)+(val1.w*val4.z));
      *(buf0+3) = ((*(buf0+3))+(val1.x*val5.w)+(val1.y*val2.w)+(val1.z*val3.w)+(val1.w*val4.w));
    }
    float alu14 = ((*(buf0+0))+val0.x);
    float alu15 = ((*(buf0+1))+val0.y);
    float alu16 = ((*(buf0+2))+val0.z);
    float alu17 = ((*(buf0+3))+val0.w);
    *(buf1+0) = ((*(buf1+0))+((1/(1.0f+exp2(((alu14+(0.044708251953125f*alu14*alu14*alu14))*-2.3021130561828613f))))*alu14));
    *(buf1+1) = ((*(buf1+1))+((1/(1.0f+exp2(((alu15+(0.044708251953125f*alu15*alu15*alu15))*-2.3021130561828613f))))*alu15));
    *(buf1+2) = ((*(buf1+2))+((1/(1.0f+exp2(((alu16+(0.044708251953125f*alu16*alu16*alu16))*-2.3021130561828613f))))*alu16));
    *(buf1+3) = ((*(buf1+3))+((1/(1.0f+exp2(((alu17+(0.044708251953125f*alu17*alu17*alu17))*-2.3021130561828613f))))*alu17));
  }
  *((__local float4*)((buf3+(lidx0<<2)))) = (float4)((*(buf1+0)),(*(buf1+1)),(*(buf1+2)),(*(buf1+3)));
  barrier(CLK_LOCAL_MEM_FENCE);
  *(buf2+0) = 0.0f;
  *(buf2+1) = 0.0f;
  *(buf2+2) = 0.0f;
  *(buf2+3) = 0.0f;
  for (int Ridx107 = 0; Ridx107 < 16; Ridx107++) {
    float4 val6 = (*((__local float4*)((buf3+(Ridx107<<2)))));
    *(buf2+0) = ((*(buf2+0))+val6.x);
    *(buf2+1) = ((*(buf2+1))+val6.y);
    *(buf2+2) = ((*(buf2+2))+val6.z);
    *(buf2+3) = ((*(buf2+3))+val6.w);
  }
  if ((lidx0==0)) {
    write_imagef(data0_1_240_4, (int2)(gidx0,0), (float4)(((*(buf2+0))*0.010416666977107525f),((*(buf2+1))*0.010416666977107525f),((*(buf2+2))*0.010416666977107525f),((*(buf2+3))*0.010416666977107525f)));
  }
}

__kernel void r_320_4_240_4(write_only image2d_t data0_1_320_4, read_only image2d_t data1_1_240_4, read_only image2d_t data2_320_960_4, read_only image2d_t data3_1_320_4) {
  int3 cast0 = (int3)(1,320,4);
  int idx0 = get_global_id(0); /* 320 */
  for (int Ridx0 = 0; Ridx0 < 240; Ridx0++) {
    float4 val0 = read_imagef(data1_1_240_4, smp, (int2)(Ridx0,0));
    int alu4 = (Ridx0<<2);
    float4 val1 = read_imagef(data2_320_960_4, smp, (int2)((alu4+1),idx0));
    float4 val2 = read_imagef(data2_320_960_4, smp, (int2)((alu4+2),idx0));
    float4 val3 = read_imagef(data2_320_960_4, smp, (int2)((alu4+3),idx0));
    float4 val4 = read_imagef(data2_320_960_4, smp, (int2)(alu4,idx0));
    *(buf0+0) = ((*(buf0+0))+(val0.x*val4.x)+(val0.y*val4.y)+(val0.z*val4.z)+(val0.w*val4.w));
    *(buf0+1) = ((*(buf0+1))+(val0.x*val1.x)+(val0.y*val1.y)+(val0.z*val1.z)+(val0.w*val1.w));
    *(buf0+2) = ((*(buf0+2))+(val0.x*val2.x)+(val0.y*val2.y)+(val0.z*val2.z)+(val0.w*val2.w));
    *(buf0+3) = ((*(buf0+3))+(val0.x*val3.x)+(val0.y*val3.y)+(val0.z*val3.z)+(val0.w*val3.w));
  }
  float4 val5 = read_imagef(data3_1_320_4, smp, (int2)(idx0,0));
  float alu10 = ((*(buf0+0))+val5.x);
  float alu11 = ((*(buf0+1))+val5.y);
  float alu12 = ((*(buf0+2))+val5.z);
  float alu13 = ((*(buf0+3))+val5.w);
  write_imagef(data0_1_320_4, (int2)(idx0,0), (float4)(((1/(1.0f+exp2(((alu10+(0.044708251953125f*alu10*alu10*alu10))*-2.3021130561828613f))))*alu10),((1/(1.0f+exp2(((alu11+(0.044708251953125f*alu11*alu11*alu11))*-2.3021130561828613f))))*alu11),((1/(1.0f+exp2(((alu12+(0.044708251953125f*alu12*alu12*alu12))*-2.3021130561828613f))))*alu12),((1/(1.0f+exp2(((alu13+(0.044708251953125f*alu13*alu13*alu13))*-2.3021130561828613f))))*alu13)));
}

__kernel void r_128_16_4_20_4(write_only image2d_t data0_1_128_4, read_only image2d_t data1_1_320_4, read_only image2d_t data2_128_1280_4, read_only image2d_t data3_1_128_4) {
  int3 cast0 = (int3)(1,128,4);
  __attribute__ ((aligned (16))) __local float buf2[64];
  int gidx0 = get_group_id(0); /* 128 */
  for (int Ridx0 = 0; Ridx0 < 20; Ridx0++) {
    float4 val0 = read_imagef(data1_1_320_4, smp, (int2)(((lidx0*20)+Ridx0),0));
    int alu4 = ((lidx0*80)+(Ridx0<<2));
    float4 val1 = read_imagef(data2_128_1280_4, smp, (int2)((alu4+1),gidx0));
    float4 val2 = read_imagef(data2_128_1280_4, smp, (int2)((alu4+2),gidx0));
    float4 val3 = read_imagef(data2_128_1280_4, smp, (int2)((alu4+3),gidx0));
    float4 val4 = read_imagef(data2_128_1280_4, smp, (int2)(alu4,gidx0));
  }
  *((__local float4*)((buf2+(lidx0<<2)))) = (float4)((*(buf0+0)),(*(buf0+1)),(*(buf0+2)),(*(buf0+3)));
  for (int Ridx105 = 0; Ridx105 < 16; Ridx105++) {
    float4 val5 = (*((__local float4*)((buf2+(Ridx105<<2)))));
    *(buf1+0) = ((*(buf1+0))+val5.x);
    *(buf1+1) = ((*(buf1+1))+val5.y);
    *(buf1+2) = ((*(buf1+2))+val5.z);
    *(buf1+3) = ((*(buf1+3))+val5.w);
  }
  float4 val6 = read_imagef(data3_1_128_4, smp, (int2)(gidx0,0));
    write_imagef(data0_1_128_4, (int2)(gidx0,0), (float4)(((*(buf1+0))+val6.x),((*(buf1+1))+val6.y),((*(buf1+2))+val6.z),((*(buf1+3))+val6.w)));
  }
}

__kernel void E_128_4(write_only image2d_t data0_1_136_4, read_only image2d_t data1_1_128_4) {
  float4 val0 = read_imagef(data1_1_128_4, smp, (int2)(idx0,0));
  write_imagef(data0_1_136_4, (int2)(idx0,0), val0);
}

__kernel void E_129_4(write_only image2d_t data0_1_1032_4, read_only image2d_t data1_1_128_4, __global float* data2_3, __global half* data3_3, __global half* data4_3) {
  int idx0 = get_global_id(0); /* 129 */
  bool alu0 = (127<idx0);
  half val0 = (alu0?*(data3_3+2):((half)(0.0f)));
  half val1 = (alu0?*(data4_3+2):((half)(0.0f)));
  half2 cast0 = (half2)(((half)(0.0f)),((half)(0.0f)));
  half2 val2 = (alu0?*((__global half2*)((data3_3+0))):cast0);
  half2 val3 = (alu0?*((__global half2*)((data4_3+0))):cast0);
  float4 val4 = read_imagef(data1_1_128_4, smp, (int2)(idx0,0));
  float val5 = (alu0?*(data2_3+2):0.0f);
  float2 val6 = (alu0?*((__global float2*)((data2_3+0))):(float2)(0.0f,0.0f));
  bool alu1 = (idx0<128);
  float alu2 = (alu1?((float)(((half)(val4.x)))):((float)(((((half)(val6.x))-val2.x)*val3.x*((half)(0.56494140625f))))));
  float alu3 = (alu1?((float)(((half)(val4.y)))):((float)(((((half)(val6.y))-val2.y)*val3.y*((half)(0.56494140625f))))));
  float alu4 = (alu1?((float)(((half)(val4.z)))):((float)(((((half)(val5))-val0)*val1*((half)(0.56494140625f))))));
  float alu5 = (alu1?((float)(((half)(val4.w)))):0.0f);
  write_imagef(data0_1_1032_4, (int2)(idx0,0), (float4)(alu2,alu3,alu4,alu5));
}

__kernel void r_16_16_4_8_4(write_only image2d_t data0_1_24_4, read_only image2d_t data1_1_136_4, read_only image2d_t data2_1_8320_4, read_only image2d_t data3_1_16_4) {
  int gidx0 = get_group_id(0); /* 16 */
    float4 val0 = read_imagef(data1_1_136_4, smp, (int2)(((lidx0<<3)+Ridx0),0));
    int alu4 = ((lidx0<<5)+(Ridx0<<2)+(gidx0*520));
    float4 val1 = read_imagef(data2_1_8320_4, smp, (int2)((alu4+1),0));
    float4 val2 = read_imagef(data2_1_8320_4, smp, (int2)((alu4+2),0));
    float4 val3 = read_imagef(data2_1_8320_4, smp, (int2)((alu4+3),0));
    float4 val4 = read_imagef(data2_1_8320_4, smp, (int2)(alu4,0));
  }
  for (int Ridx106 = 0; Ridx106 < 16; Ridx106++) {
    float4 val5 = (*((__local float4*)((buf2+(Ridx106<<2)))));
  }
  float4 val6 = read_imagef(data3_1_16_4, smp, (int2)(gidx0,0));
  float alu21 = ((*(buf1+0))+val6.x);
  float alu22 = ((*(buf1+1))+val6.y);
  float alu23 = ((*(buf1+2))+val6.z);
  float alu24 = ((*(buf1+3))+val6.w);
  float alu25 = ((0.0f<alu21)?((float)(((half)(alu21)))):0.0f);
  float alu26 = ((0.0f<alu22)?((float)(((half)(alu22)))):0.0f);
  float alu27 = ((0.0f<alu23)?((float)(((half)(alu23)))):0.0f);
  float alu28 = ((0.0f<alu24)?((float)(((half)(alu24)))):0.0f);
    write_imagef(data0_1_24_4, (int2)(gidx0,0), (float4)(alu25,alu26,alu27,alu28));
  }
}

__kernel void r_8_16_4_8_4(write_only image2d_t data0_1_16_4, read_only image2d_t data1_1_136_4, read_only image2d_t data2_1_4160_4, read_only image2d_t data3_1_8_4) {
  int gidx0 = get_group_id(0); /* 8 */
    float4 val1 = read_imagef(data2_1_4160_4, smp, (int2)((alu4+1),0));
    float4 val2 = read_imagef(data2_1_4160_4, smp, (int2)((alu4+2),0));
    float4 val3 = read_imagef(data2_1_4160_4, smp, (int2)((alu4+3),0));
    float4 val4 = read_imagef(data2_1_4160_4, smp, (int2)(alu4,0));
  }
  }
  float4 val6 = read_imagef(data3_1_8_4, smp, (int2)(gidx0,0));
    write_imagef(data0_1_16_4, (int2)(gidx0,0), (float4)(alu25,alu26,alu27,alu28));
  }
}

__kernel void r_12_16_4_8_4(write_only image2d_t data0_1_24_4, read_only image2d_t data1_1_136_4, read_only image2d_t data2_1_6240_4, __global half* data3_48) {
  int gidx0 = get_group_id(0); /* 12 */
    float4 val1 = read_imagef(data2_1_6240_4, smp, (int2)((alu4+1),0));
    float4 val2 = read_imagef(data2_1_6240_4, smp, (int2)((alu4+2),0));
    float4 val3 = read_imagef(data2_1_6240_4, smp, (int2)((alu4+3),0));
    float4 val4 = read_imagef(data2_1_6240_4, smp, (int2)(alu4,0));
  }
  }
  half4 val6 = (*((__global half4*)((data3_48+(gidx0<<2)))));
  float alu21 = ((*(buf1+0))+((float)(val6.x)));
  float alu22 = ((*(buf1+1))+((float)(val6.y)));
  float alu23 = ((*(buf1+2))+((float)(val6.z)));
  float alu24 = ((*(buf1+3))+((float)(val6.w)));
  }
}

__kernel void r_12_4_129_4(write_only image2d_t data0_1_24_4, read_only image2d_t data1_1_1032_4, read_only image2d_t data2_1_12384_4, __global half* data3_48) {
  int idx0 = get_global_id(0); /* 12 */
  for (int Ridx0 = 0; Ridx0 < 129; Ridx0++) {
    float4 val0 = read_imagef(data1_1_1032_4, smp, (int2)(Ridx0,0));
    int alu4 = ((idx0*1032)+(Ridx0<<2));
    float4 val1 = read_imagef(data2_1_12384_4, smp, (int2)((alu4+1),0));
    float4 val2 = read_imagef(data2_1_12384_4, smp, (int2)((alu4+2),0));
    float4 val3 = read_imagef(data2_1_12384_4, smp, (int2)((alu4+3),0));
    float4 val4 = read_imagef(data2_1_12384_4, smp, (int2)(alu4,0));
  }
  half4 val5 = (*((__global half4*)((data3_48+(idx0<<2)))));
  float alu10 = ((*(buf0+0))+((float)(val5.x)));
  float alu11 = ((*(buf0+1))+((float)(val5.y)));
  float alu12 = ((*(buf0+2))+((float)(val5.z)));
  float alu13 = ((*(buf0+3))+((float)(val5.w)));
  float alu14 = ((0.0f<alu10)?((float)(((half)(alu10)))):0.0f);
  float alu15 = ((0.0f<alu11)?((float)(((half)(alu11)))):0.0f);
  float alu16 = ((0.0f<alu12)?((float)(((half)(alu12)))):0.0f);
  float alu17 = ((0.0f<alu13)?((float)(((half)(alu13)))):0.0f);
  write_imagef(data0_1_24_4, (int2)(idx0,0), (float4)(alu14,alu15,alu16,alu17));
}

__kernel void r_12_16_4_4(write_only image2d_t data0_1_24_4, read_only image2d_t data1_1_24_4, read_only image2d_t data2_1_864_4, __global half* data3_48) {
  int3 cast0 = (int3)(1,24,4);
  __attribute__ ((aligned (16))) __local float buf1[64];
  float4 val0 = read_imagef(data1_1_24_4, smp, (int2)(lidx0,0));
  int alu0 = (lidx0<<2);
  int alu1 = ((gidx0*72)+alu0);
  float4 val1 = read_imagef(data2_1_864_4, smp, (int2)((alu1+1),0));
  float4 val2 = read_imagef(data2_1_864_4, smp, (int2)((alu1+2),0));
  float4 val3 = read_imagef(data2_1_864_4, smp, (int2)((alu1+3),0));
  float4 val4 = read_imagef(data2_1_864_4, smp, (int2)(alu1,0));
  *((__local float4*)((buf1+alu0))) = (float4)(((val0.x*val4.x)+(val0.y*val4.y)+(val0.z*val4.z)+(val0.w*val4.w)),((val0.x*val1.x)+(val0.y*val1.y)+(val0.z*val1.z)+(val0.w*val1.w)),((val0.x*val2.x)+(val0.y*val2.y)+(val0.z*val2.z)+(val0.w*val2.w)),((val0.x*val3.x)+(val0.y*val3.y)+(val0.z*val3.z)+(val0.w*val3.w)));
    float4 val5 = (*((__local float4*)((buf1+(Ridx106<<2)))));
    *(buf0+0) = ((*(buf0+0))+val5.x);
    *(buf0+1) = ((*(buf0+1))+val5.y);
    *(buf0+2) = ((*(buf0+2))+val5.z);
    *(buf0+3) = ((*(buf0+3))+val5.w);
  }
  float alu13 = ((*(buf0+0))+((float)(val6.x)));
  float alu14 = ((*(buf0+1))+((float)(val6.y)));
  float alu15 = ((*(buf0+2))+((float)(val6.z)));
  float alu16 = ((*(buf0+3))+((float)(val6.w)));
  float alu18 = ((0.0f<alu14)?((float)(((half)(alu14)))):0.0f);
  float alu19 = ((0.0f<alu15)?((float)(((half)(alu15)))):0.0f);
  float alu20 = ((0.0f<alu16)?((float)(((half)(alu16)))):0.0f);
    write_imagef(data0_1_24_4, (int2)(gidx0,0), (float4)(alu17,alu18,alu19,alu20));
  }
}

__kernel void r_6_4_8_4(write_only image2d_t data0_1_24_4, read_only image2d_t data1_1_16_4, read_only image2d_t data2_1_240_4, __global half* data3_24) {
  int idx0 = get_global_id(0); /* 6 */
    float4 val0 = read_imagef(data1_1_16_4, smp, (int2)(Ridx0,0));
    int alu4 = ((idx0*40)+(Ridx0<<2));
    float4 val1 = read_imagef(data2_1_240_4, smp, (int2)((alu4+1),0));
    float4 val2 = read_imagef(data2_1_240_4, smp, (int2)((alu4+2),0));
    float4 val3 = read_imagef(data2_1_240_4, smp, (int2)((alu4+3),0));
    float4 val4 = read_imagef(data2_1_240_4, smp, (int2)(alu4,0));
  }
  half4 val5 = (*((__global half4*)((data3_24+(idx0<<2)))));
}

__kernel void r_8_4_12_4(write_only image2d_t data0_1_16_4, read_only image2d_t data1_1_24_4, read_only image2d_t data2_1_384_4, read_only image2d_t data3_1_8_4) {
  for (int Ridx0 = 0; Ridx0 < 12; Ridx0++) {
    float4 val0 = read_imagef(data1_1_24_4, smp, (int2)(Ridx0,0));
    int alu4 = ((idx0*48)+(Ridx0<<2));
    float4 val1 = read_imagef(data2_1_384_4, smp, (int2)((alu4+1),0));
    float4 val2 = read_imagef(data2_1_384_4, smp, (int2)((alu4+2),0));
    float4 val3 = read_imagef(data2_1_384_4, smp, (int2)((alu4+3),0));
    float4 val4 = read_imagef(data2_1_384_4, smp, (int2)(alu4,0));
  }
  float4 val5 = read_imagef(data3_1_8_4, smp, (int2)(idx0,0));
  write_imagef(data0_1_16_4, (int2)(idx0,0), (float4)(alu14,alu15,alu16,alu17));
}

__kernel void r_4_4_6_4(write_only image2d_t data0_1_8_4, read_only image2d_t data1_1_24_4, read_only image2d_t data2_1_96_4, __global half* data3_16) {
  for (int Ridx0 = 0; Ridx0 < 6; Ridx0++) {
    int alu4 = ((idx0*24)+(Ridx0<<2));
    float4 val1 = read_imagef(data2_1_96_4, smp, (int2)((alu4+1),0));
    float4 val2 = read_imagef(data2_1_96_4, smp, (int2)((alu4+2),0));
    float4 val3 = read_imagef(data2_1_96_4, smp, (int2)((alu4+3),0));
    float4 val4 = read_imagef(data2_1_96_4, smp, (int2)(alu4,0));
  }
  half4 val5 = (*((__global half4*)((data3_16+(idx0<<2)))));
  write_imagef(data0_1_8_4, (int2)(idx0,0), (float4)(alu14,alu15,alu16,alu17));
}

__kernel void r_4_4_8_4(write_only image2d_t data0_1_8_4, read_only image2d_t data1_1_16_4, read_only image2d_t data2_1_160_4, __global half* data3_16) {
    float4 val1 = read_imagef(data2_1_160_4, smp, (int2)((alu4+1),0));
    float4 val2 = read_imagef(data2_1_160_4, smp, (int2)((alu4+2),0));
    float4 val3 = read_imagef(data2_1_160_4, smp, (int2)((alu4+3),0));
    float4 val4 = read_imagef(data2_1_160_4, smp, (int2)(alu4,0));
  }
}

__kernel void r_551_8_4_4_4_6_8_4_4_4_6_4_4_4_4_4_4_4_4_4_4_4_4(__global float* data0_551, read_only image2d_t data1_1_16_4, read_only image2d_t data2_1_120_4, __global half* data3_12, read_only image2d_t data4_1_8_4, read_only image2d_t data5_1_24_4, __global half* data6_1, read_only image2d_t data7_1_8_4, read_only image2d_t data8_1_24_4, __global half* data9_3, read_only image2d_t data10_1_8_4, read_only image2d_t data11_1_24_4, __global half* data12_2, read_only image2d_t data13_1_24_4, read_only image2d_t data14_1_24_4, __global half* data15_1, read_only image2d_t data16_1_16_4, read_only image2d_t data17_1_120_4, __global half* data18_12, read_only image2d_t data19_1_8_4, read_only image2d_t data20_1_24_4, __global half* data21_1, read_only image2d_t data22_1_8_4, read_only image2d_t data23_1_24_4, __global half* data24_3, read_only image2d_t data25_1_8_4, read_only image2d_t data26_1_24_4, __global half* data27_2, read_only image2d_t data28_1_24_4, read_only image2d_t data29_1_24_4, __global half* data30_1, read_only image2d_t data31_1_8_4, read_only image2d_t data32_1_24_4, __global half* data33_1, __global float* data34_512) {
  int3 cast0 = (int3)(1,16,4);
  int3 cast1 = (int3)(1,120,4);
  int3 cast2 = (int3)(1,8,4);
  int3 cast3 = (int3)(1,24,4);
  float buf0[1];
  float buf1[1];
  float buf2[1];
  float buf3[1];
  float buf4[1];
  float buf5[1];
  float buf6[1];
  float buf7[1];
  float buf8[1];
  float buf9[1];
  float buf10[1];
  int idx0 = get_global_id(0); /* 551 */
  *(buf10+0) = 0.0f;
    float4 val1 = read_imagef(data2_1_120_4, smp, (int2)(((Ridx0<<2)+(idx0&3)+((idx0>>2)*40)),0));
    *(buf10+0) = ((*(buf10+0))+(val0.x*val1.x)+(val0.y*val1.y)+(val0.z*val1.z)+(val0.w*val1.w));
  }
  for (int Ridx2 = 0; Ridx2 < 4; Ridx2++) {
    float4 val2 = read_imagef(data4_1_8_4, smp, (int2)(Ridx2,0));
    float4 val3 = read_imagef(data5_1_24_4, smp, (int2)((Ridx2<<2),0));
    *(buf0+0) = ((*(buf0+0))+(val2.x*val3.x)+(val2.y*val3.y)+(val2.z*val3.z)+(val2.w*val3.w));
  }
  float4 cast4 = (float4)(0.0f,0.0f,0.0f,0.0f);
  bool alu6 = ((12<idx0)&(idx0<16));
  *(buf9+0) = 0.0f;
  for (int Ridx4 = 0; Ridx4 < 4; Ridx4++) {
    float4 val4 = read_imagef(data7_1_8_4, smp, (int2)(Ridx4,0));
    float4 val5 = (alu6?read_imagef(data8_1_24_4, smp, (int2)((idx0+(Ridx4<<2)+-13),0)):cast4);
    *(buf9+0) = ((*(buf9+0))+(val4.x*val5.x)+(val4.y*val5.y)+(val4.z*val5.z)+(val4.w*val5.w));
  }
  bool alu10 = ((15<idx0)&(idx0<18));
  *(buf8+0) = 0.0f;
  for (int Ridx6 = 0; Ridx6 < 4; Ridx6++) {
    float4 val6 = read_imagef(data10_1_8_4, smp, (int2)(Ridx6,0));
    float4 val7 = (alu10?read_imagef(data11_1_24_4, smp, (int2)((idx0+(Ridx6<<2)+-16),0)):cast4);
    *(buf8+0) = ((*(buf8+0))+(val6.x*val7.x)+(val6.y*val7.y)+(val6.z*val7.z)+(val6.w*val7.w));
  }
  for (int Ridx8 = 0; Ridx8 < 6; Ridx8++) {
    float4 val8 = read_imagef(data13_1_24_4, smp, (int2)(Ridx8,0));
    float4 val9 = read_imagef(data14_1_24_4, smp, (int2)((Ridx8<<2),0));
    *(buf1+0) = ((*(buf1+0))+(val8.x*val9.x)+(val8.y*val9.y)+(val8.z*val9.z)+(val8.w*val9.w));
  }
  int alu17 = (idx0+1);
  *(buf7+0) = 0.0f;
  for (int Ridx10 = 0; Ridx10 < 8; Ridx10++) {
    float4 val10 = read_imagef(data16_1_16_4, smp, (int2)(Ridx10,0));
    float4 val11 = read_imagef(data17_1_120_4, smp, (int2)(((Ridx10<<2)+(alu17&3)+((alu17>>2)*40)+-200),0));
    *(buf7+0) = ((*(buf7+0))+(val10.x*val11.x)+(val10.y*val11.y)+(val10.z*val11.z)+(val10.w*val11.w));
  }
  for (int Ridx12 = 0; Ridx12 < 4; Ridx12++) {
    float4 val12 = read_imagef(data19_1_8_4, smp, (int2)(Ridx12,0));
    float4 val13 = read_imagef(data20_1_24_4, smp, (int2)((Ridx12<<2),0));
    *(buf2+0) = ((*(buf2+0))+(val12.x*val13.x)+(val12.y*val13.y)+(val12.z*val13.z)+(val12.w*val13.w));
  }
  bool alu24 = ((31<idx0)&(idx0<35));
  *(buf6+0) = 0.0f;
  for (int Ridx14 = 0; Ridx14 < 4; Ridx14++) {
    float4 val14 = read_imagef(data22_1_8_4, smp, (int2)(Ridx14,0));
    float4 val15 = (alu24?read_imagef(data23_1_24_4, smp, (int2)((idx0+(Ridx14<<2)+-32),0)):cast4);
    *(buf6+0) = ((*(buf6+0))+(val14.x*val15.x)+(val14.y*val15.y)+(val14.z*val15.z)+(val14.w*val15.w));
  }
  bool alu28 = ((34<idx0)&(idx0<37));
  *(buf5+0) = 0.0f;
  for (int Ridx16 = 0; Ridx16 < 4; Ridx16++) {
    float4 val16 = read_imagef(data25_1_8_4, smp, (int2)(Ridx16,0));
    float4 val17 = (alu28?read_imagef(data26_1_24_4, smp, (int2)((idx0+(Ridx16<<2)+-35),0)):cast4);
    *(buf5+0) = ((*(buf5+0))+(val16.x*val17.x)+(val16.y*val17.y)+(val16.z*val17.z)+(val16.w*val17.w));
  }
  *(buf3+0) = 0.0f;
  for (int Ridx18 = 0; Ridx18 < 6; Ridx18++) {
    float4 val18 = read_imagef(data28_1_24_4, smp, (int2)(Ridx18,0));
    float4 val19 = read_imagef(data29_1_24_4, smp, (int2)((Ridx18<<2),0));
    *(buf3+0) = ((*(buf3+0))+(val18.x*val19.x)+(val18.y*val19.y)+(val18.z*val19.z)+(val18.w*val19.w));
  }
  *(buf4+0) = 0.0f;
  for (int Ridx20 = 0; Ridx20 < 4; Ridx20++) {
    float4 val20 = read_imagef(data31_1_8_4, smp, (int2)(Ridx20,0));
    float4 val21 = read_imagef(data32_1_24_4, smp, (int2)((Ridx20<<2),0));
    *(buf4+0) = ((*(buf4+0))+(val20.x*val21.x)+(val20.y*val21.y)+(val20.z*val21.z)+(val20.w*val21.w));
  }
  bool alu38 = (idx0<12);
  half val22 = (alu38?*(data3_12+idx0):((half)(0.0f)));
  bool alu39 = (idx0==12);
  half val23 = (alu39?*(data6_1+0):((half)(0.0f)));
  half val24 = (alu6?*(data9_3+(idx0+-13)):((half)(0.0f)));
  half val25 = (alu10?*(data12_2+(idx0+-16)):((half)(0.0f)));
  bool alu40 = (idx0==18);
  half val26 = (alu40?*(data15_1+0):((half)(0.0f)));
  bool alu41 = ((18<idx0)&(idx0<31));
  half val27 = (alu41?*(data18_12+(idx0+-19)):((half)(0.0f)));
  bool alu42 = (idx0==31);
  half val28 = (alu42?*(data21_1+0):((half)(0.0f)));
  half val29 = (alu24?*(data24_3+(idx0+-32)):((half)(0.0f)));
  half val30 = (alu28?*(data27_2+(idx0+-35)):((half)(0.0f)));
  bool alu43 = (idx0==37);
  half val31 = (alu43?*(data30_1+0):((half)(0.0f)));
  bool alu44 = (idx0==38);
  half val32 = (alu44?*(data33_1+0):((half)(0.0f)));
  float val33 = ((38<idx0)?*(data34_512+(idx0+-39)):0.0f);
  float alu45 = (alu38?((*(buf10+0))+((float)(val22))):0.0f);
  float alu46 = (alu39?((*(buf0+0))+((float)(val23))):0.0f);
  float alu47 = (alu6?((*(buf9+0))+((float)(val24))):0.0f);
  float alu48 = (alu10?((*(buf8+0))+((float)(val25))):0.0f);
  float alu49 = (alu40?((*(buf1+0))+((float)(val26))):0.0f);
  float alu50 = (alu41?((*(buf7+0))+((float)(val27))):0.0f);
  float alu51 = (alu42?((*(buf2+0))+((float)(val28))):0.0f);
  float alu52 = (alu24?((*(buf6+0))+((float)(val29))):0.0f);
  float alu53 = (alu28?((*(buf5+0))+((float)(val30))):0.0f);
  float alu54 = (alu43?((*(buf3+0))+((float)(val31))):0.0f);
  float alu55 = (alu44?((*(buf4+0))+((float)(val32))):0.0f);
  *(data0_551+idx0) = (alu45+alu46+alu47+alu48+alu49+alu50+alu51+alu52+alu53+alu54+alu55+val33);
}