dashboard
repositories
filestore
activity
search
login
speedprog
/
mtg/mtg_card_detector
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
lots of cleaning
Joseph Redmon
2014-12-16
884045091b3a22d4dda3a9d743d076367c840ef7
[~speedprog/mtg/mtg_card_detector.git]
/
src
/
dropout_layer.cl
1
2
3
4
5
__kernel void yoloswag420blazeit360noscope(__global float *input, __global float *rand, float prob, float scale)
{
int id = get_global_id(0);
input[id] = (rand[id] < prob) ? 0 : input[id]*scale;
}