/external/tensorflow/tensorflow/core/grappler/graph_analyzer/ |
D | graph_analyzer_test.cc | 69 GenNode* GetNode(const string& name) { return gran_->nodes_.at(name).get(); } in GetNode() function in tensorflow::grappler::graph_analyzer::test::GraphAnalyzerTest 154 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("add2")})); in TEST_F() 156 ExtendSubgraphPortAllOrNone(root.get(), GetNode("add2"), in TEST_F() 177 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("add2")})); in TEST_F() 179 ExtendSubgraphPortAllOrNone(parent.get(), GetNode("add2"), in TEST_F() 199 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("add2")})); in TEST_F() 201 ExtendSubgraphPortAllOrNone(root.get(), GetNode("add2"), in TEST_F() 221 absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("add2")})); in TEST_F() 223 ExtendSubgraphPortAllOrNone(root.get(), GetNode("add2"), in TEST_F() 239 Subgraph::Identity({GetNode("add2"), GetNode("const2_1"), in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | layout_optimizer_test.cc | 236 auto input_sizes_node = node_map.GetNode(input_name); in TEST_F() 238 auto conv2d_backprop_node = node_map.GetNode("Conv2DBackpropInput"); in TEST_F() 247 TensorShape filter_shape = GetAttrShape(*node_map.GetNode("Filter")); in TEST_F() 270 auto conv2d_backprop_node = node_map.GetNode("Conv2DBackpropInput"); in TEST_F() 274 auto input_sizes_node = node_map.GetNode( in TEST_F() 291 EXPECT_TRUE(node_map.GetNode("Conv2D-0-TransposeNHWCToNCHW-LayoutOptimizer")); in TEST_F() 304 EXPECT_TRUE(node_map.GetNode("Conv2D-0-TransposeNHWCToNCHW-LayoutOptimizer")); in TEST_F() 317 EXPECT_TRUE(node_map.GetNode("Conv2D-0-TransposeNHWCToNCHW-LayoutOptimizer")); in TEST_F() 330 EXPECT_TRUE(node_map.GetNode("Conv2D-0-TransposeNHWCToNCHW-LayoutOptimizer")); in TEST_F() 343 EXPECT_TRUE(node_map.GetNode("Conv2D-0-TransposeNHWCToNCHW-LayoutOptimizer")); in TEST_F() [all …]
|
D | loop_optimizer_test.cc | 112 ASSERT_EQ(frames.Frames(*view.GetNode("InvariantAdd")).size(), 1); in TEST_F() 113 EXPECT_EQ(frames.Frames(*view.GetNode("InvariantAdd")).back(), 0); in TEST_F() 114 ASSERT_EQ(frames.Frames(*view.GetNode("VariantAdd")).size(), 1); in TEST_F() 115 EXPECT_EQ(frames.Frames(*view.GetNode("VariantAdd")).back(), 0); in TEST_F() 124 ASSERT_EQ(frames.Frames(*view.GetNode("InvariantAdd")).size(), 0); in TEST_F() 125 ASSERT_EQ(frames.Frames(*view.GetNode("VariantAdd")).size(), 1); in TEST_F() 126 EXPECT_EQ(frames.Frames(*view.GetNode("VariantAdd")).back(), 0); in TEST_F() 163 ASSERT_EQ(frames.Frames(*view.GetNode("InvariantAdd")).size(), 1); in TEST_F() 164 EXPECT_EQ(frames.Frames(*view.GetNode("InvariantAdd")).back(), 0); in TEST_F() 165 ASSERT_EQ(frames.Frames(*view.GetNode("Const")).size(), 1); in TEST_F() [all …]
|
D | memory_optimizer_test.cc | 56 (*pre_transform_node_map.GetNode("b")->mutable_attr())["_recompute_hint"] in TEST_F() 66 NodeDef* transformed_e = post_transform_node_map.GetNode(e.name()); in TEST_F() 70 NodeDef* recomputed_b = post_transform_node_map.GetNode("Recomputed/b"); in TEST_F() 75 post_transform_node_map.GetNode("RecomputeTrigger/b"); in TEST_F() 96 (*pre_transform_node_map.GetNode("b")->mutable_attr())["_recompute_hint"] in TEST_F() 119 (*pre_transform_node_map.GetNode("a")->mutable_attr())["_recompute_hint"] in TEST_F() 121 (*pre_transform_node_map.GetNode("b")->mutable_attr())["_recompute_hint"] in TEST_F() 133 EXPECT_NE(post_transform_node_map.GetNode("Recomputed/a"), nullptr); in TEST_F() 134 EXPECT_NE(post_transform_node_map.GetNode("Recomputed/b"), nullptr); in TEST_F() 135 EXPECT_NE(post_transform_node_map.GetNode("RecomputeTrigger/a"), nullptr); in TEST_F() [all …]
|
D | arithmetic_optimizer_test.cc | 120 const NodeDef* new_c1 = node_map.GetNode("c1"); in TEST_F() 123 const NodeDef* new_div = node_map.GetNode("div"); in TEST_F() 161 const NodeDef* new_div = node_map.GetNode("div"); in TEST_F() 193 const NodeDef* new_c1 = node_map.GetNode("c1"); in TEST_F() 195 const NodeDef* new_c2 = node_map.GetNode("c2"); in TEST_F() 197 const NodeDef* new_mul1 = node_map.GetNode("mul1"); in TEST_F() 202 const NodeDef* new_div1 = node_map.GetNode("div1"); in TEST_F() 235 const NodeDef* square_node = node_map.GetNode(strings::StrCat(p, "_", "mul")); in TEST_F() 378 const NodeDef* new_const = node_map.GetNode(optimized_const_name); in TEST_F() 384 const NodeDef* new_mul = node_map.GetNode(optimized_mul_name); in TEST_F() [all …]
|
D | constant_folding.cc | 243 const NodeDef* node = node_map->GetNode(input_name); in AddControlDependency() 269 NodeDef* added_node = node_map->GetNode(ctrl_dep_name); in AddControlDependency() 406 const NodeDef* array = CHECK_NOTNULL(node_map_->GetNode(node->input(0))); in MaterializeShapes() 413 CHECK_NOTNULL(node_map_->GetNode(array->input(0))); in MaterializeShapes() 473 if (node_map_->GetNode(const_name) == nullptr) { in MaterializeShapes() 550 const NodeDef* shape_node1 = node_map_->GetNode(node.input(0)); in MaterializeBroadcastGradientArgs() 551 const NodeDef* shape_node2 = node_map_->GetNode(node.input(1)); in MaterializeBroadcastGradientArgs() 641 out[j] = node_map_->GetNode(const_name); in MaterializeBroadcastGradientArgs() 675 const NodeDef* indices = node_map_->GetNode(node->input(1)); in MaterializeReductionIndices() 745 if (node_map_->GetNode(const_name)) { in MaterializeReductionIndices() [all …]
|
D | layout_optimizer.cc | 613 auto input_node = node_map_->GetNode(node_->input(input_index)); in UpdateAttrValueOfInput() 646 auto input_node = node_map_->GetNode(node_->input(pos)); in AddLayoutTransposeToInputs() 722 auto param_node = node_map_->GetNode(node_->input(param_index)); in UpdateOrTransformParamInput() 913 auto input_node = node_map_->GetNode(input); in GetOrAddNodePermNHWCToNCHW() 951 NodeDef* input = node_map_->GetNode(input_name); in IsInputOnHost() 1031 auto input = node_map_->GetNode(node_->input(0)); in ShouldProcess() 1060 NodeDef* node = node_map_->GetNode(node_name); in GetShape() 1211 auto data_input = node_map_->GetNode(node_->input(0)); in ShouldProcess() 1244 auto input_node = node_map_->GetNode(node.input(pos)); in IsNodeAfterNCHWToNHWC() 1264 auto input_node = node_map_->GetNode(current_node->input(pos)); in IsNodeAfterNCHWToNHWC() [all …]
|
D | loop_optimizer.cc | 134 const_node = node_map_->GetNode(const_node_name); in HandleConst() 305 auto* producer = node_map_->GetNode(input); in RevertInvariantNodes() 352 auto* producer = node_map_->GetNode(name); in FindInvariantNodes() 367 auto* producer = node_map_->GetNode(input); in FindInvariantNodes() 471 DfsTraversal(graph_view, {graph_view.GetNode(stack_node_idx)}, in GetStackPushNodesToConvert() 488 const NodeDef* stack_node = graph_view.GetNode(fanout_node.input(0)); in GetStackPushNodesToConvert() 492 stack_node = graph_view.GetNode(stack_node->input(0)); in GetStackPushNodesToConvert() 627 NodeDef* node = node_map.GetNode(switch_predicate->input(i)); in CheckForDeadFanout() 641 NodeDef* node = node_map.GetNode(switch_ctrl_node->input(i)); in CheckForDeadFanout() 657 NodeDef* node = node_map.GetNode(input); in CheckForDeadFanout() [all …]
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textprovider.cpp | 46 CXFA_Node* pElementNode = m_pWidgetAcc->GetNode(); in GetTextNode() 63 CXFA_Node* pBind = m_pWidgetAcc->GetNode()->GetBindData(); in GetTextNode() 81 m_pWidgetAcc->GetNode()->GetChild<CXFA_Caption>(0, XFA_Element::Caption, in GetTextNode() 101 CXFA_Items* pItemNode = m_pWidgetAcc->GetNode()->GetChild<CXFA_Items>( in GetTextNode() 121 return m_pWidgetAcc->GetNode()->GetParaIfExists(); in GetParaIfExists() 123 CXFA_Caption* pNode = m_pWidgetAcc->GetNode()->GetChild<CXFA_Caption>( in GetParaIfExists() 130 return m_pWidgetAcc->GetNode()->GetFontIfExists(); in GetFontIfExists() 132 CXFA_Caption* pNode = m_pWidgetAcc->GetNode()->GetChild<CXFA_Caption>( in GetFontIfExists() 135 return font ? font : m_pWidgetAcc->GetNode()->GetFontIfExists(); in GetFontIfExists() 142 return !m_pWidgetAcc->GetNode()->TryWidth(); in IsCheckButtonAndAutoWidth() [all …]
|
D | cxfa_ffimage.cpp | 25 return !!GetNode()->GetWidgetAcc()->GetImageImage(); in IsLoaded() 29 if (GetNode()->GetWidgetAcc()->GetImageImage()) in LoadWidget() 32 return GetNode()->GetWidgetAcc()->LoadImageImage(GetDoc()) in LoadWidget() 38 GetNode()->GetWidgetAcc()->SetImageImage(nullptr); in UnloadWidget() 53 GetNode()->GetWidgetAcc()->GetImageImage(); in RenderWidget()
|
D | cxfa_fwltheme.cpp | 128 CXFA_Node* pNode = pWidget->GetNode(); in DrawText() 156 CXFA_WidgetAcc* pWidgetAcc = pWidget->GetNode()->GetWidgetAcc(); in GetUIMargin() 158 CXFA_Para* para = pWidgetAcc->GetNode()->GetParaIfExists(); in GetUIMargin() 186 return pWidget->GetNode()->GetFontSize(); in GetFontSize() 193 return pWidget->GetNode()->GetWidgetAcc()->GetFDEFont(pWidget->GetDoc()); in GetFont() 199 return pWidget->GetNode()->GetLineHeight(); in GetLineHeight() 209 return pWidget->GetNode()->GetTextColor(); in GetTextColor() 216 CXFA_Para* para = pWidget->GetNode()->GetParaIfExists(); in GetSpaceAboveBelow() 243 CXFA_Node* pNode = pWidget->GetNode(); in CalcTextRect()
|
D | cxfa_ffdocview.cpp | 225 CXFA_Node* pNode = pWidgetAcc->GetNode(); in ResetSingleWidgetAccData() 247 pFormNode = pWidgetAcc->GetNode(); in ResetWidgetAcc() 259 if (pAcc->GetNode()->GetElementType() == XFA_Element::ExclGroup) in ResetWidgetAcc() 298 CXFA_Node* pNode = pWidgetAcc ? pWidgetAcc->GetNode() : nullptr; in ProcessWidgetEvent() 377 m_pFocusAcc = pNewFocus ? pNewFocus->GetNode()->GetWidgetAcc() : nullptr; in SetFocus() 386 pNewFocus = GetWidgetForNode(pWidgetAcc->GetNode()); in SetFocusWidgetAcc() 399 if (m_pFocusAcc && m_pFocusAcc->GetNode() != pWidget->GetNode()) in DeleteLayoutItem() 415 CXFA_Node* node = pWidgetAcc->GetNode(); in XFA_ProcessEvent() 497 pRefWidget ? pRefWidget->GetNode()->GetWidgetAcc() : nullptr; in GetWidgetByName() 501 return GetWidgetForNode(pAcc->GetNode()); in GetWidgetByName() [all …]
|
D | cxfa_ffnotify.cpp | 74 m_pDoc->GetDocView()->GetWidgetForNode(pSender->GetNode()); in OnWidgetListItemAdded() 91 m_pDoc->GetDocView()->GetWidgetForNode(pSender->GetNode()); in OnWidgetListItemRemoved() 237 pExclude ? pExclude->GetNode() : nullptr); in ExecEventByDeepFirst() 275 if (hWidget->GetNode()->GetWidgetAcc()->GetUIType() != in OpenDropDownList() 329 return pAcc ? pAcc->GetNode() : nullptr; in GetFocusWidgetNode() 382 m_pDoc->GetDocView()->GetWidgetForNode(pWidgetAcc->GetNode()); in OnValueChanging() 446 m_pDoc->GetDocView()->GetWidgetForNode(pWidgetAcc->GetNode()); in OnValueChanged() 507 pWidget, pWidget->GetNode()->GetWidgetAcc()); in OnLayoutItemAdded() 534 pWidget, pWidget->GetNode()->GetWidgetAcc()); in OnLayoutItemRemoving()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | call_graph.cc | 128 const CallGraphNode& CallGraph::GetNode( in GetNode() function in xla::CallGraph 135 CallGraphNode& CallGraph::GetNode(const HloComputation* computation) { in GetNode() function in xla::CallGraph 150 const CallGraphNode& b_node = GetNode(b); in DominatesHelper() 198 CallGraphNode& node = GetNode(computation); in SetCallContexts() 211 CallGraphNode& callee_node = GetNode(callee); in SetCallContexts() 236 CHECK_NE(GetNode(computation).context(), CallContext::kNone); in SetCallContexts() 251 CallGraphNode& node = GetNode(computation); in SetNodeDepths() 262 CallGraphNode& callee_node = GetNode(callee); in SetNodeDepths() 301 call_graph->GetNode(computation).callsites()) { in Build() 304 call_graph->GetNode(callee).AddCallerCallSite(callsite); in Build() [all …]
|
D | call_graph_test.cc | 104 const CallGraphNode& node = call_graph->GetNode(computation); in TEST_F() 126 const CallGraphNode& entry_node = call_graph->GetNode(entry_computation); in TEST_F() 132 call_graph->GetNode(unreachable_computation); in TEST_F() 150 const CallGraphNode& entry_node = call_graph->GetNode(entry_computation); in TEST_F() 159 const CallGraphNode& map_node = call_graph->GetNode(map_computation); in TEST_F() 185 const CallGraphNode& entry_node = call_graph->GetNode(entry_computation); in TEST_F() 193 const CallGraphNode& called_node = call_graph->GetNode(called_computation); in TEST_F() 224 const CallGraphNode& entry_node = call_graph->GetNode(entry_computation); in TEST_F() 242 const CallGraphNode& sub_node = call_graph->GetNode(subcomputation); in TEST_F() 273 const CallGraphNode& entry_node = call_graph->GetNode(entry_computation); in TEST_F() [all …]
|
D | flatten_call_graph_test.cc | 146 const CallGraphNode& c_node = flat_call_graph->GetNode(c_computation); in TEST_F() 181 const CallGraphNode& cond_node = call_graph->GetNode(cond_computation); in TEST_F() 189 const CallGraphNode& cond_node = call_graph->GetNode(cond_computation); in TEST_F() 220 const CallGraphNode& c_node = call_graph->GetNode(c_computation); in TEST_F() 223 const CallGraphNode& b_node = call_graph->GetNode(b_computation); in TEST_F() 253 const CallGraphNode& sub_node = call_graph->GetNode(sub_computation); in TEST_F()
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | traversal.cc | 70 if (predicates.enter && !predicates.enter(graph_view.GetNode(w.node))) { in DfsTraversal() 79 callbacks.post_order(graph_view.GetNode(w.node)); in DfsTraversal() 87 callbacks.on_back_edge(graph_view.GetNode(w.src), in DfsTraversal() 88 graph_view.GetNode(w.node)); in DfsTraversal() 95 callbacks.pre_order(graph_view.GetNode(w.node)); in DfsTraversal() 102 if (predicates.advance && !predicates.advance(graph_view.GetNode(w.node))) { in DfsTraversal()
|
/external/tensorflow/tensorflow/core/grappler/ |
D | graph_view_test.cc | 43 const NodeDef& a_node_def = *graph_view.GetNode("a"); in TEST_F() 44 const NodeDef& b_node_def = *graph_view.GetNode("b"); in TEST_F() 78 const NodeDef& b_node_def = *graph_view.GetNode("b"); in TEST_F() 110 const NodeDef& c_node_def = *graph_view.GetNode("c"); in TEST_F() 160 const NodeDef* add_node = graph.GetNode("AddN"); in TEST_F() 255 const NodeDef* d_node = graph.GetNode("d"); in TEST_F() 277 const NodeDef* b_node = graph.GetNode("b"); in TEST_F() 279 const NodeDef* c_node = graph.GetNode("c"); in TEST_F() 281 const NodeDef* d_node = graph.GetNode("d"); in TEST_F() 345 graph_view.GetNode("out"); in BM_GraphViewGetNode() [all …]
|
D | mutable_graph_view.cc | 70 NodeDef* input_node = graph.GetNode(tensor_id.node()); in IsIdentityConsumingSwitch() 91 NodeDef* control_node = graph.GetNode(control_node_name); in CanDedupControlWithRegularInput() 510 NodeDef* node = GetNode(node_name); in UpdateNode() 558 NodeDef* node = GetNode(from_node_name); in UpdateNodeName() 601 NodeDef* from_node = GetNode(from_node_name); in SwapNodeNames() 606 NodeDef* to_node = GetNode(to_node_name); in SwapNodeNames() 734 NodeDef* from_node = GetNode(from_node_name); in UpdateFanouts() 738 NodeDef* to_node = GetNode(to_node_name); in UpdateFanouts() 900 NodeDef* node = GetNode(node_name); in AddRegularFanin() 902 NodeDef* fanin_node = GetNode(fanin.node()); in AddRegularFanin() [all …]
|
D | graph_topology_view_test.cc | 62 const NodeDef* a_by_name = graph_view.GetNode("a"); in TEST_F() 63 const NodeDef* a_by_idx = graph_view.GetNode(0); in TEST_F() 68 const NodeDef* b_by_name = graph_view.GetNode("b"); in TEST_F() 69 const NodeDef* b_by_idx = graph_view.GetNode(1); in TEST_F()
|
D | mutable_graph_view_test.cc | 63 MutableGraphView::InputPort input_port(graph.GetNode(tensor_id.node()), in CompareNodeFanouts() 74 NodeDef* node = graph.GetNode(node_name); in CheckNode() 108 EXPECT_EQ(&node, immutable_graph.GetNode(node.name())); in CheckGraph() 349 NodeDef* node = graph.GetNode(from_node_name); in TestUpdateNodeName() 916 NodeDef* node = graph.GetNode(node_name); in TestAddRegularFanin() 1048 NodeDef* node = graph.GetNode(node_name); in TestAddRegularFaninByPort() 1202 NodeDef* node = graph.GetNode(node_name); in TestRemoveRegularFanin() 1344 NodeDef* node = graph.GetNode(node_name); in TestRemoveRegularFaninByPort() 1447 NodeDef* node = graph.GetNode(node_name); in TestRemoveAllFanins() 1545 NodeDef* node = graph.GetNode(node_name); in TestUpdateFanin() [all …]
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTSkipGraph.h | 215 CPVRTSkipGraphNode<T>& GetNode() in GetNode() function 225 const CPVRTSkipGraphNode<T>& GetNode() const in GetNode() function 271 skipGraphNode = &m_aHashTable[iArrayElement].GetNode(); in AddNode() 337 RecursiveSortedListAdd(aOutputArray, m_aHashTable[ui32NodeID].GetNode()); in RetreiveSortedDependencyList() 398 return &m_aHashTable[ui32NodeID].GetNode().GetData(); in GetNodeData() 433 return &m_aHashTable[i].GetNode(); in FindNode()
|
/external/u-boot/tools/binman/ |
D | entry_test.py | 17 def GetNode(self): member in TestEntry 23 return dtb.GetNode('/binman/u-boot') 31 entry.Entry.Create(None, self.GetNode(), 'u-boot') 37 entry.Entry.Create(None, self.GetNode(), 'u-boot-spl')
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | noop_elimination.cc | 37 const auto& count_node = *graph.GetNode(take_node.input(1)); in IsTakeAll() 51 return IsConstNodeWithValue(*graph.GetNode(skip_node.input(1)), 0); in IsSkipNone() 57 return IsConstNodeWithValue(*graph.GetNode(repeat_node.input(1)), 1); in IsRepeatOne() 64 return IsConstNodeWithValue(*graph.GetNode(prefetch_node.input(1)), 0); in IsPrefetchZero()
|
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_widget.cpp | 211 if (pXFAWidgetHandler->HasEvent(hGroupWidget->GetNode()->GetWidgetAcc(), in HasXFAAAction() 218 return pXFAWidgetHandler->HasEvent(hWidget->GetNode()->GetWidgetAcc(), in HasXFAAAction() 260 CXFA_WidgetAcc* pAcc = hGroupWidget->GetNode()->GetWidgetAcc(); in OnXFAAAction() 268 CXFA_WidgetAcc* pAcc = hWidget->GetNode()->GetWidgetAcc(); in OnXFAAAction() 283 CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc(); in Synchronize() 366 if (CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc()) { in SynchronizeXFAValue() 376 if (CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc()) { in SynchronizeXFAValue() 384 if (CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc()) { in SynchronizeXFAValue() 393 if (CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc()) { in SynchronizeXFAValue() 407 if (CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc()) { in SynchronizeXFAValue() [all …]
|