/external/tensorflow/tensorflow/core/grappler/ |
D | graph_view.cc | 66 bool HasSingleFanoutNode(const GraphView& graph_view, const NodeDef* node, in HasSingleFanoutNode() 68 const auto output = GraphView::OutputPort(node, port); in HasSingleFanoutNode() 72 bool HasFanouts(const GraphView& graph_view, const NodeDef* node, int port) { in HasFanouts() 73 const auto output = GraphView::OutputPort(node, port); in HasFanouts() 77 bool HasControlFanin(const GraphView& graph_view, const NodeDef* node) { in HasControlFanin() 78 const auto control_port = GraphView::InputPort(node, Graph::kControlSlot); in HasControlFanin() 82 bool HasControlFanout(const GraphView& graph_view, const NodeDef* node) { in HasControlFanout() 83 const auto control_port = GraphView::OutputPort(node, Graph::kControlSlot); in HasControlFanout() 87 bool HasControlFaninOrFanout(const GraphView& graph_view, const NodeDef* node) { in HasControlFaninOrFanout()
|
D | graph_view_test.cc | 41 GraphView graph_view(&graph_def); in TEST_F() 76 GraphView graph_view(&graph_def); in TEST_F() 108 GraphView graph_view(&graph_def); in TEST_F() 131 GraphView graph(&item.graph); in TEST_F() 133 GraphView::InputPort input = graph.GetInputPort("AddN", 0); in TEST_F() 136 GraphView::OutputPort fanin = graph.GetRegularFanin(input); in TEST_F() 147 GraphView::OutputPort output = graph.GetOutputPort("AddN", 0); in TEST_F() 189 GraphView graph(&item.graph); in TEST_F() 191 GraphView::OutputPort output = graph.GetOutputPort("a", -1); in TEST_F() 207 GraphView::InputPort input = graph.GetInputPort("d", -1); in TEST_F() [all …]
|
D | graph_topology_view.cc | 43 const absl::Span<const GraphView::Edge> ephemeral_edges, in InitializeFromGraph() 64 for (const GraphView::Edge& edge : ephemeral_edges) { in InitializeFromGraph() 145 const absl::Span<const GraphView::Edge> ephemeral_edges) { in InitializeFromGraph() 152 return InitializeFromGraph(graph, absl::Span<GraphView::Edge>(), in InitializeFromGraph() 157 return InitializeFromGraph(graph, absl::Span<GraphView::Edge>(), in InitializeFromGraph()
|
D | graph_view.h | 400 class GraphView 403 explicit GraphView(const GraphDef* graph) : GraphViewInternal(graph) { in GraphView() function 410 bool HasSingleFanoutNode(const GraphView& graph_view, const NodeDef* node, 414 bool HasFanouts(const GraphView& graph_view, const NodeDef* node, int port = 0); 416 bool HasControlFanin(const GraphView& graph_view, const NodeDef* node); 418 bool HasControlFanout(const GraphView& graph_view, const NodeDef* node); 420 bool HasControlFaninOrFanout(const GraphView& graph_view, const NodeDef* node);
|
D | mutable_graph_view.h | 53 const GraphView::OutputPort& port) const; 57 const GraphView::InputPort& port) const; 60 const OutputPort GetRegularFanin(const GraphView::InputPort& port) const;
|
D | graph_topology_view.h | 59 absl::Span<const GraphView::Edge> ephemeral_edges, 62 absl::Span<const GraphView::Edge> ephemeral_edges);
|
D | mutable_graph_view_test.cc | 89 GraphView immutable_graph(mutable_graph.graph()); in CheckGraph() 96 const absl::flat_hash_set<GraphView::Edge>& immutable_edges) { in CheckGraph() 99 GraphView::Edge immutable_edge( in CheckGraph() 116 GraphView::OutputPort immutable_fanin(fanin.node, fanin.port_id); in CheckGraph() 126 GraphView::InputPort immutable_fanout(fanout.node, fanout.port_id); in CheckGraph()
|
D | mutable_graph_view.cc | 417 MutableGraphView::GetFanout(const GraphView::OutputPort& port) const { in GetFanout() 423 const GraphView::InputPort& port) const { in GetFanin() 429 const GraphView::InputPort& port) const { in GetRegularFanin() 769 GetFanout(GraphView::OutputPort(from_node, Graph::kControlSlot)); in UpdateFanoutsInternal()
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | frame.cc | 29 Status FrameView::InferFromGraphView(const GraphView& graph_view) { in InferFromGraphView() 52 absl::flat_hash_set<GraphView::InputPort> fanouts = in InferFromGraphView() 55 for (const GraphView::InputPort& fanout : fanouts) { in InferFromGraphView() 123 return InferFromGraphView(GraphView(&graph)); in InferFromGraph()
|
D | topological_sort.cc | 35 std::vector<GraphView::Edge> MakeEphemeralEdges( in MakeEphemeralEdges() 37 std::vector<GraphView::Edge> ephemeral_edges; in MakeEphemeralEdges() 41 GraphView::OutputPort(dep.from, Graph::kControlSlot), in MakeEphemeralEdges() 42 GraphView::InputPort(dep.to, Graph::kControlSlot)); in MakeEphemeralEdges()
|
D | frame.h | 43 Status InferFromGraphView(const GraphView& graph_view);
|
/external/v8/tools/turbolizer/src/ |
D | graphmultiview.ts | 5 import {GraphView} from "./graph-view.js" 14 graph: GraphView; 36 this.graph = new GraphView(id, selectionBroker,
|
D | graph-view.ts | 30 export class GraphView extends View implements PhaseView { class
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | pin_to_host_optimizer.cc | 89 Status IsNodeOutputPortHostFriendly(const GraphView& graph, in IsNodeOutputPortHostFriendly() 218 Status IsNodeHostCandidate(const GraphView& graph, GraphProperties* properties, in IsNodeHostCandidate() 240 for (const GraphView::OutputPort& fanin : in IsNodeHostCandidate() 314 GraphView graph(optimized_graph); in Optimize() 361 for (const GraphView::InputPort& fanout : graph.GetFanouts(*node, false)) { in Optimize()
|
D | loop_optimizer_test.cc | 107 GraphView view(&graph); in TEST_F() 119 GraphView view(&output); in TEST_F() 158 GraphView view(&graph); in TEST_F() 170 GraphView view(&output); in TEST_F() 209 GraphView view(&graph); in TEST_F() 219 GraphView view(&output); in TEST_F() 273 GraphView view(&graph); in TEST_F() 287 GraphView view(&output); in TEST_F() 344 GraphView view(&graph); in TEST_F() 356 GraphView view(&output); in TEST_F() [all …]
|
D | remapper.cc | 57 GraphView graph_view; 240 const auto input_port = GraphView::InputPort(bias_add, 0); in FindConv2DWithBias() 271 const auto input_port = GraphView::InputPort(relu, 0); in FindConv2DWithBiasAndRelu() 303 const auto bias_input_port = GraphView::InputPort(bias_add, 0); in FindConv2DWithSqueezeAndBias() 321 const auto squeeze_input_port = GraphView::InputPort(squeeze.node, 0); in FindConv2DWithSqueezeAndBias() 368 const auto input_port = GraphView::InputPort(batch_norm, 0); in FindConv2DWithBatchNorm() 400 const auto input_port = GraphView::InputPort(node, 0); in FindConv2DWithBatchNormAndRelu() 457 for (GraphView::Edge edge : ctx.graph_view.GetFanoutEdges(*node, false)) { in FindFusedBatchNorm()
|
D | function_optimizer.cc | 311 const GraphView& graph_view() const { return graph_view_; } in graph_view() 468 GraphView graph_view_; 498 for (const GraphView::Edge& edge : node_fanout_edges) { in GetActiveOutputs() 1510 const GraphView::OutputPort output_port = in PlaceInlinedFunctionBody() 1601 GraphView::InputPort control_input_port = in InlineIndirectFunctionCall() 1603 GraphView::OutputPort control_output_port = in InlineIndirectFunctionCall() 1611 [](const GraphView::OutputPort port) { return port.node->name(); }); in InlineIndirectFunctionCall() 1621 [](const GraphView::InputPort port) { return port.node->name(); }); in InlineIndirectFunctionCall()
|
D | loop_optimizer.cc | 601 GraphView::InputPort switch_loopcond_port(&switch_node, 1); in CheckForDeadFanout() 613 GraphView::InputPort switch_input_port(&switch_node, 0); in CheckForDeadFanout() 744 absl::flat_hash_set<GraphView::OutputPort> identity_switches; in RemoveDeadBranches() 763 GraphView::OutputPort dead(&node, dead_fanout); in RemoveDeadBranches()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | executor.cc | 127 class GraphView; 210 friend class GraphView; 257 class GraphView { class 259 GraphView() : space_(nullptr) {} in GraphView() function in tensorflow::__anon675242740111::GraphView 260 ~GraphView(); 285 TF_DISALLOW_COPY_AND_ASSIGN(GraphView); 370 GraphView gview_; 395 GraphView::~GraphView() { in ~GraphView() 411 size_t GraphView::NodeItemBytes(const Node* n) { in NodeItemBytes() 444 char* GraphView::InitializeNode(char* ptr, const Node* n) { in InitializeNode() [all …]
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | graph_properties.cc | 549 const GraphView& graph, in SymbolicShapeRefiner() 560 const GraphView& graph() const { return graph_; } in graph() 762 const GraphView::InputPort port(node, dst_input); in UpdateNode() 763 const GraphView::OutputPort fanin = graph_.GetRegularFanin(port); in UpdateNode() 1689 const GraphView& graph_; 1802 for (const GraphView::Edge fanin : shape_refiner->graph().GetFaninEdges( in UpdateMerge() 1844 GraphView::InputPort port(node, 0); in UpdateEnter() 1845 GraphView::OutputPort fanin = shape_refiner->graph().GetRegularFanin(port); in UpdateEnter() 2016 GraphView::InputPort inp(enqueue_node, i); in UpdateEnqueue() 2017 GraphView::OutputPort fanin = shape_refiner->graph().GetRegularFanin(inp); in UpdateEnqueue() [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_timeline_test.cc | 63 TEST_F(TFProfTimelineTest, GraphView) { in TEST_F() argument
|