Joseph Redmon
2014-12-22 4ab366a805a7678642539465d68ef906b4599aeb
1
2
3
4
5
__kernel void yoloswag420blazeit360noscope(__global float *input, __global float *rand, float prob, float scale, __global float *output)
{
    int id = get_global_id(0);
    output[id] = (rand[id] < prob) ? 0 : input[id]*scale;
}