/external/tensorflow/tensorflow/python/kernel_tests/ |
D | control_flow_util_test.py | 40 self.assertTrue(control_flow_util.IsSwitch(switch)) 45 self.assertTrue(control_flow_util.IsSwitch(ref_switch)) 47 self.assertFalse(control_flow_util.IsSwitch(test_ops.int_output().op)) 112 if control_flow_util.IsSwitch(n): 117 self.assertTrue(control_flow_util.IsSwitch(n)) 134 if control_flow_util.IsSwitch(n): 139 self.assertTrue(control_flow_util.IsSwitch(n))
|
/external/tensorflow/tensorflow/python/ops/ |
D | control_flow_util.py | 79 def IsSwitch(op): function 101 if not IsSwitch(op): 139 if IsSwitch(op): 291 if IsSwitch(op):
|
D | gradients_util.py | 699 if (control_flow_util.IsSwitch(op) and
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | lower_while_op_test.cc | 80 ASSERT_FALSE(op->IsSwitch()); in TEST() 106 if (op->IsSwitch()) { in TEST() 181 ASSERT_FALSE(op->IsSwitch()); in TEST() 201 if (op->IsSwitch()) { in TEST()
|
D | lower_if_op_test.cc | 85 ASSERT_FALSE(op->IsSwitch()); in TEST() 101 if (op->IsSwitch()) { in TEST() 215 if (op->IsSwitch()) ++switch_count; in TEST()
|
D | lower_if_while_test.cc | 271 ASSERT_FALSE(op->IsSwitch()); in TEST()
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph.h | 147 bool IsSwitch() const { return class_ == NC_SWITCH; } in IsSwitch() function 166 (IsSwitch() || IsMerge() || IsEnter() || IsExit() || in IsControlFlow() 736 inline bool IsSwitch(const Node* node) { return node->IsSwitch(); } in IsSwitch() function
|
D | graph_partition.cc | 346 if (IsSwitch(node)) { in OptimizeControlFlowColocation()
|
/external/libchrome/base/ |
D | command_line.cc | 58 bool IsSwitch(const CommandLine::StringType& string, in IsSwitch() function 89 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) { in AppendSwitchesAndArguments() 468 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) { in GetArgumentsStringInternal()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | functionalize_cond.cc | 522 return IsSwitch(e->src()) ? BranchType(e->src_output()) in ExtractBodies() 541 if (IsSwitch(src)) { in ExtractBodies() 607 if (IsSwitch(src)) { in ExtractBodies() 709 if (!IsSwitch(in)) { in ExtractBodies() 1096 if (IsSwitch(src)) { in StateAlongEdge() 1281 if (IsSwitch(dst)) TF_RETURN_IF_ERROR(RemoveRedundantSwitch(dst)); in DetermineStates() 1302 } else if (IsSwitch(src)) { in DetermineAncestorState() 1431 if (IsSwitch(n)) { in FunctionalizeInternal()
|
D | functionalize_while.cc | 350 if (!edge->IsControlEdge() && IsSwitch(edge->dst()) && in FunctionalizeLoop() 418 if (edge->dst_input() == 0 && IsSwitch(edge->dst()) && in FunctionalizeLoop()
|
D | graph_compiler.cc | 143 TF_RET_CHECK(!n->IsRecv() && !n->IsSend() && !n->IsSwitch()) in Compile()
|
/external/v8/src/interpreter/ |
D | bytecode-array-writer.cc | 87 DCHECK(Bytecodes::IsSwitch(node->bytecode())); in WriteSwitch() 427 DCHECK(Bytecodes::IsSwitch(node->bytecode())); in EmitSwitch()
|
D | bytecode-register-optimizer.h | 67 if (Bytecodes::IsJump(bytecode) || Bytecodes::IsSwitch(bytecode) || in NON_EXPORTED_BASE()
|
D | bytecodes.h | 637 static constexpr bool IsSwitch(Bytecode bytecode) { in IsSwitch() function 648 IsJumpWithoutEffects(bytecode) || IsSwitch(bytecode)); in IsWithoutExternalSideEffects()
|
/external/tensorflow/tensorflow/core/grappler/ |
D | mutable_graph_view.cc | 71 return IsSwitch(*input_node); in IsIdentityConsumingSwitch() 624 bool from_is_switch = IsSwitch(*from_node); in SwapNodeNames() 631 bool to_is_switch = IsSwitch(*to_node); in SwapNodeNames() 771 bool to_node_is_switch = IsSwitch(*to_node); in UpdateFanoutsInternal() 956 if (!IsSwitch(*fanin.node)) { in GetControllingFaninToAdd() 1256 if (to_fanin_is_control && IsSwitch(*to_fanin_node)) { in UpdateFanin()
|
D | op_types.h | 171 bool IsSwitch(const NodeDef& node);
|
D | op_types.cc | 504 bool IsSwitch(const NodeDef& node) { in IsSwitch() function
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | dependency_optimizer.cc | 83 if (IsSwitch(*input)) { in SafeToRemoveIdentity() 99 if (IsMerge(node) || IsSwitch(node) || ModifiesFrameInfo(node) || in SafeToConvertToNoOp()
|
D | model_pruner.cc | 43 } else if (IsSwitch(*input.node)) { // Node is driven by switch. in IsTrivialIdentity()
|
D | loop_optimizer.cc | 748 if (!IsSwitch(node)) { in RemoveDeadBranches()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | scheduler.cc | 127 if (IsSwitch(n)) { in ComputeAlap()
|
/external/v8/src/compiler/ |
D | bytecode-analysis.cc | 222 } else if (Bytecodes::IsSwitch(bytecode)) { in UpdateOutLiveness()
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | virtual_scheduler.cc | 710 if (IsSwitch(*node) && node->attr().count(kOutputSlots) > 0 && in AddOutputNodesToReadyQueue()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | deadness_analysis.cc | 1022 if (n->IsSwitch()) { in HandleNode()
|