Searched refs:trueWeight (Results 1 – 3 of 3) sorted by relevance
693 auto trueWeight = in convertOperation() local699 .createBranchWeights(static_cast<uint32_t>(trueWeight), in convertOperation()
158 inline bool getWeightedBool (de::Random& random, float trueWeight) in getWeightedBool() argument160 DE_ASSERT(de::inRange<float>(trueWeight, 0.0f, 1.0f)); in getWeightedBool()161 return (random.getFloat() < trueWeight); in getWeightedBool()
1203 IntegerAttr trueWeight, falseWeight; in parseBranchConditionalOp() local1207 if (parser.parseAttribute(trueWeight, i32Type, "weight", weights) || in parseBranchConditionalOp()1214 builder.getArrayAttr({trueWeight, falseWeight})); in parseBranchConditionalOp()