Home
last modified time | relevance | path

Searched refs:getBernoulli (Results 1 – 6 of 6) sorted by relevance

/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DBroadcast.cpp35 if (getBernoulli(0.5f)) { in broadcastOpConstructor()
39 } else if (getBernoulli(0.5f)) { in broadcastOpConstructor()
50 if (getBernoulli(0.5f)) { in broadcastOpConstructor()
DSelection.cpp292 shrinkMask[i] = getBernoulli(0.2f); in stridedSliceConstructor()
334 beginMask[i] = (begin[i] == 0 && getBernoulli(0.2f)); in stridedSliceFinalizer()
335 endMask[i] = (end[i] == 0 && getBernoulli(0.2f)); in stridedSliceFinalizer()
343 if (getBernoulli(0.2f)) { in stridedSliceFinalizer()
DOperationSignatureUtils.h117 return getBernoulli(0.5f);
DReshape.cpp480 squeeze[i] = getBernoulli(0.5f); in squeezeOmittedConstructor()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGenerator.cpp140 if (getBernoulli(prob)) { in generateGraph()
159 if (getBernoulli(prob)) return true; in asConstant()
DRandomGraphGeneratorUtils.h278 inline bool getBernoulli(double p) { in getBernoulli() function