Home
last modified time | relevance | path

Searched refs:GetRegularFanin (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer.cc238 const auto& regular_fanin_0 = node->GetRegularFanin(0); in EraseCancellableNodes()
248 const auto& fanin_to_forward = fanin_node->GetRegularFanin(0); in EraseCancellableNodes()
258 mutation->RemoveNode(node->GetRegularFanin(1).node_view()); in EraseCancellableNodes()
262 mutation->RemoveNode(fanin_node->GetRegularFanin(1).node_view()); in EraseCancellableNodes()
290 const auto& transpose_after_fanin = transpose_after->GetRegularFanin(0); in EraseCancellableNodesAroundPad()
295 const auto& pad_fanin_0 = pad->GetRegularFanin(0); in EraseCancellableNodesAroundPad()
312 const auto& pad_fanin_1 = pad->GetRegularFanin(1); in EraseCancellableNodesAroundPad()
Dremapper.cc414 const auto& regular_fanin_0 = node_view->GetRegularFanin(0); in IsCpuCompatibleDataType()
454 const auto& regular_fanin_0 = node_view->GetRegularFanin(0); in IsCpuCompatibleDataType()
468 bias_add_node_view->GetRegularFanin(0).node_view(); in IsCpuCompatibleDataType()
502 const auto& regular_fanin_0 = node_view->GetRegularFanin(0); in IsCpuCompatibleDataType()
522 const auto& squeeze_regular_fanin_0 = squeeze_node_view->GetRegularFanin(0); in IsCpuCompatibleDataType()
572 const auto& regular_fanin_0 = node_view->GetRegularFanin(0); in IsCpuCompatibleDataType()
606 const auto& regular_fanin_0 = node_view->GetRegularFanin(0); in IsCpuCompatibleDataType()
640 add_node_view.GetRegularFanin(port_id).node_view(); in IsCpuCompatibleDataType()
744 const auto& regular_fanin_0 = node_view->GetRegularFanin(0); in IsCpuCompatibleDataType()
755 add_node_view->GetRegularFanin(base.port_id).node_view(); in IsCpuCompatibleDataType()
[all …]
Dshape_optimizer.cc91 graph.GetRegularFanin(MutableGraphView::InputPort(fanout.node, 1)); in Optimize()
149 graph.GetRegularFanin(MutableGraphView::InputPort(&node, 0)); in Optimize()
151 graph.GetRegularFanin(MutableGraphView::InputPort(&node, 1)); in Optimize()
Dgeneric_layout_optimizer_transposer.cc381 auto& fanin_port = dst_node->GetRegularFanin(dst_port); in UpdateFaninEdgesWithOp()
591 const auto& regular_fanin = node.GetRegularFanin(port); in GetFaninPortRank()
606 const auto& regular_fanin = node.GetRegularFanin(port); in IsFaninPortDimsNIfConst()
849 const auto& fanin = node->GetRegularFanin(0); in TransposeNode()
996 const auto& data_fanin = node->GetRegularFanin(0); in TransposeNode()
1105 const auto& fanin = node.GetRegularFanin(pos); in IsAfterDstToSrcTransform()
1123 const auto& fanin = current_node->GetRegularFanin(pos); in IsAfterDstToSrcTransform()
1141 const auto& regular_fanin = node.GetRegularFanin(i); in GetVariadicNDFaninPorts()
1294 const auto& fanin = node->GetRegularFanin(vector_index); in MaybeReshapeVectorFanin()
1509 const auto& regular_fanin_1 = node.GetRegularFanin(1); in IsReduceAxisSupported()
[all …]
Dloop_optimizer.cc605 view.GetRegularFanin(switch_loopcond_port).node; in CheckForDeadFanout()
620 const NodeDef* switch_input = view.GetRegularFanin(switch_input_port).node; in CheckForDeadFanout()
634 NodeDef* switch_ctrl_node = view.GetRegularFanin({switch_predicate, 0}).node; in CheckForDeadFanout()
Dimplementation_selector.cc114 backward_node->GetRegularFanin(last_input_index); in FindForwardNode()
Dmemory_optimizer.cc915 MutableGraphView::OutputPort fanin = graph.GetRegularFanin(input); in IsSwappable()
931 MutableGraphView::OutputPort generator = view.GetRegularFanin(swap); in FindSwapOutTrigger()
Dgeneric_layout_optimizer_test.cc204 const auto& fanin = node->GetRegularFanin(port); in VerifyRegularFaninMatch()
Dauto_mixed_precision.cc1834 graph_view_.GetRegularFanin(node_input); in NodeImplicitlyReadsNonResourceVariable()
Dgeneric_layout_optimizer_transposer_test.cc77 const auto& fanin = node->GetRegularFanin(port); in VerifyRegularFaninMatch()
/external/tensorflow/tensorflow/core/grappler/
Dgraph_view_test.cc137 GraphView::OutputPort fanin = graph.GetRegularFanin(input); in TEST_F()
144 fanin = graph.GetRegularFanin(input); in TEST_F()
285 auto d_output_0 = graph.GetRegularFanin({d_node, 0}); in TEST_F()
287 auto d_output_1 = graph.GetRegularFanin({d_node, 1}); in TEST_F()
289 auto d_output_2 = graph.GetRegularFanin({d_node, 2}); in TEST_F()
291 auto d_output_control = graph.GetRegularFanin({d_node, Graph::kControlSlot}); in TEST_F()
431 graph_view.GetRegularFanin({node, 0}); in BM_GraphViewGetRegularFanin()
Dmutable_graph_view.h59 using GraphViewInternal::GetRegularFanin;
60 const OutputPort GetRegularFanin(const GraphView::InputPort& port) const;
Dgraph_view.h147 OutputPort regular_fanin = GetRegularFanin(port); in GetFanin()
170 const OutputPort GetRegularFanin(const InputPort& port) const { in GetRegularFanin() function
Dmutable_graph_view.cc428 const MutableGraphView::OutputPort MutableGraphView::GetRegularFanin( in GetRegularFanin() function in tensorflow::grappler::MutableGraphView
430 return GetRegularFanin(MutableGraphView::InputPort( in GetRegularFanin()
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view_test.cc350 TYPED_TEST(TypedFaninTest, GetRegularFanin) { in TYPED_TEST() argument
367 const auto& a_fanin_0 = a_node->GetRegularFanin(0); in TYPED_TEST()
369 const auto& a_fanin_1 = a_node->GetRegularFanin(1); in TYPED_TEST()
371 const auto& a_fanin_2 = a_node->GetRegularFanin(2); in TYPED_TEST()
373 const auto& a_fanin_3 = a_node->GetRegularFanin(3); in TYPED_TEST()
380 const auto& a_fanin_4 = a_node->GetRegularFanin(4); in TYPED_TEST()
382 const auto& a_fanin_5 = a_node->GetRegularFanin(5); in TYPED_TEST()
384 const auto& a_fanin_control = a_node->GetRegularFanin(Graph::kControlSlot); in TYPED_TEST()
386 const auto& a_fanin_bad = a_node->GetRegularFanin(-2); in TYPED_TEST()
823 const auto& expected_fanin = expected_node_view.GetRegularFanin(i); in CompareGraphViewWithGraph()
[all …]
Dgraph_view_internal.h174 const FanoutViewT& GetRegularFanin(int i) const { in GetRegularFanin() function
510 const auto& existing_fanin = node_view->GetRegularFanin(index); in AddOrUpdateRegularFanin()
730 node_view->GetRegularFanin(i).node_view()->GetName(); in IsWellFormed()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dcompute_batch_size_op.cc79 return graph.GetRegularFanin(input_port).node; in GetInputNode()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dgraph_utils.cc274 return graph.GetRegularFanin(input_port).node; in GetInputNode()
281 return graph.GetRegularFanin(input_port).node; in GetInputNode()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc976 const GraphView::OutputPort fanin = graph_.GetRegularFanin(port); in UpdateNode()
2278 GraphView::OutputPort fanin = shape_refiner->graph().GetRegularFanin(port); in UpdateEnter()
2450 GraphView::OutputPort fanin = shape_refiner->graph().GetRegularFanin(inp); in UpdateEnqueue()
2637 GraphView::OutputPort fanin = graph_view.GetRegularFanin(input); in InferStatically()