Searched refs:cond_value (Results 1 – 5 of 5) sorted by relevance
62 const float cond_value = cond_value_pair_it->second; in evaluate() local67 return cond_value < cond.threshold; in evaluate()71 return cond_value <= cond.threshold; in evaluate()75 return cond_value > cond.threshold; in evaluate()79 return cond_value >= cond.threshold; in evaluate()84 return std::abs(cond_value - cond.threshold) < eps; in evaluate()
66 bool cond_value = cond_data[0]; in Run() local68 if (cond_data[i] != cond_value) { in Run()79 RemoveTrivialPassthroughOp(this, model, op_index, cond_value ? 1 : 2); in Run()
119 bool cond_value = (*cond.value_begin<APInt>()).getSExtValue(); in matchAndRewrite() local120 func::FuncOp func = cond_value ? then_func : else_func; in matchAndRewrite()
145 bool cond_value = cond->data.b[0]; in Eval() local154 cond_value ? op_data->then_subgraph_index : op_data->else_subgraph_index; in Eval()
153 const HloValue& cond_value = in ComputeConditionalAliasedValues() local158 << cond_value; in ComputeConditionalAliasedValues()159 aliased_values.insert(&cond_value); in ComputeConditionalAliasedValues()