Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_constant_select.cc66 bool cond_value = cond_data[0]; in Run() local
68 if (cond_data[i] != cond_value) { in Run()
79 RemoveTrivialPassthroughOp(this, model, op_index, cond_value ? 1 : 2); in Run()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_control_flow.cc87 auto cond_value = builder.create<mlir::tensor::ExtractOp>(loc, if_op.pred()); in LowerIfOp() local
88 builder.create<mlir::CondBranchOp>(loc, cond_value, true_block, in LowerIfOp()
170 auto cond_value = in LowerWhileOp() local
176 builder.create<mlir::CondBranchOp>(loc, cond_value, body_block, in LowerWhileOp()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize_functional_ops.cc110 bool cond_value = (*cond.int_value_begin()).getSExtValue(); in matchAndRewrite() local
111 FuncOp func = cond_value ? then_func : else_func; in matchAndRewrite()
/external/tensorflow/tensorflow/lite/kernels/
Dif.cc142 bool cond_value = cond->data.b[0]; in Eval() local
151 cond_value ? op_data->then_subgraph_index : op_data->else_subgraph_index; in Eval()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_alias_analysis.cc292 const HloValue& cond_value = dataflow_.GetUniqueValueAt( in ComputeConditionalAliasedBuffers() local
298 << cond_value.ToShortString(); in ComputeConditionalAliasedBuffers()
299 aliased_buffers->push_back(GetBufferForValue(cond_value)); in ComputeConditionalAliasedBuffers()