Searched refs:prob (Results 1 – 1 of 1) sorted by relevance
139 float prob = 0.1f; in generateGraph() local140 if (getBernoulli(prob)) { in generateGraph()154 static bool asConstant(const std::shared_ptr<RandomOperand>& operand, float prob = 0.5f) { in asConstant() argument159 if (getBernoulli(prob)) return true; in asConstant()197 float prob = 0.5f; in generateValue() local198 if (asConstant(operand, prob) && numInputs > 1) { in generateValue()