dashboard
repositories
filestore
activity
search
login
speedprog
/
mtg/mtg_card_detector
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
Better imagenet distributed training
Joseph Redmon
2014-12-11
79fffcce3ce495bd415dc1284224c915d7194d4c
[~speedprog/mtg/mtg_card_detector.git]
/
src
/
dropout_layer.cl
1
2
3
4
5
__kernel void forward(__global float *input, __global float *rand, float prob)
{
int id = get_global_id(0);
input[id] = (rand[id] < prob) ? 0 : input[id]/(1.-prob);
}