Searched refs:kThenBranch (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/ |
D | cond_builder.cc | 51 graph_->AddEdge(switch_pred, kThenBranch, switch_t_, 0); in CondBuilder() 58 graph_->AddEdge(switch_t_, 0, merge_pred, kThenBranch); in CondBuilder()
|
D | cond_builder.h | 39 enum Branch { kElseBranch = 0, kThenBranch = 1 }; enumerator
|
D | distributed_tpu_rewrite_pass.cc | 2672 graph->AddEdge(switch_var, CondBuilder::kThenBranch, write_node, 0); in BuildVariableWrites() 2673 graph->AddEdge(switch_val, CondBuilder::kThenBranch, write_node, 1); in BuildVariableWrites()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | lower_if_op.cc | 37 enum Branch { kElseBranch = 0, kThenBranch = 1 }; enumerator 169 .Input(switch_pred, kThenBranch) in CreatePivotNodes() 203 then_call_builder_.Input(input, kThenBranch); in AddInput()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | functionalize_cond.cc | 96 case BranchType::kThenBranch: in Branch_Name() 443 for (auto branch : {BranchType::kElseBranch, BranchType::kThenBranch}) { in BuildArgumentNodes() 480 for (auto branch : {BranchType::kElseBranch, BranchType::kThenBranch}) { in BuildArgumentNodes() 531 for (auto b : {BranchType::kElseBranch, BranchType::kThenBranch}) { in ExtractBodies() 550 TF_RET_CHECK(branch == BranchType::kThenBranch || in ExtractBodies() 566 for (auto branch : {BranchType::kElseBranch, BranchType::kThenBranch}) { in ExtractBodies() 720 for (auto branch : {BranchType::kElseBranch, BranchType::kThenBranch}) { in ExtractBodies() 755 for (auto branch : {BranchType::kElseBranch, BranchType::kThenBranch}) { in BuildIfNode() 933 for (auto branch : {BranchType::kElseBranch, BranchType::kThenBranch}) { in BuildAndReplace() 1119 (diff[0].second == BranchType::kThenBranch || in JoinCondStatesMerge() [all …]
|
D | functionalize_cond.h | 52 kThenBranch = 1, enumerator
|
D | functionalize_cond_test.cc | 86 ss.insert(std::make_pair(OutputTensor(pred, 0), BranchType::kThenBranch)); in TEST_F()
|