Searched refs:prob (Results 1 – 1 of 1) sorted by relevance
128 float prob = 0.1f; in generateGraph() local129 if (getBernoulli(prob)) { in generateGraph()143 static bool asConstant(const std::shared_ptr<RandomOperand>& operand, float prob = 0.5f) { in asConstant() argument148 if (getBernoulli(prob)) return true; in asConstant()181 float prob = 0.5f; in generateValue() local182 if (asConstant(operand, prob) && numInputs > 1) { in generateValue()