Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DBroadcast.cpp29 if (getBernoulli(0.9f)) { in broadcastOpConstructor()
34 if (getBernoulli(0.9f)) { in broadcastOpConstructor()
DSelection.cpp286 beginMask[i] = (begin[i] == 0 && getBernoulli(0.2f)); in stridedSliceFinalizer()
287 endMask[i] = (end[i] == 0 && getBernoulli(0.2f)); in stridedSliceFinalizer()
301 if (getBernoulli(0.2f)) { in stridedSliceFinalizer()
DOperationSignatureUtils.h104 for (uint32_t i = 0; i < len; i++) data[i] = getBernoulli(0.5f);
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGenerator.cpp129 if (getBernoulli(prob)) { in generateGraph()
148 if (getBernoulli(prob)) return true; in asConstant()
DRandomGraphGeneratorUtils.h411 inline bool getBernoulli(double p) { in getBernoulli() function