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.cc245 const auto& regular_fanin_0 = node->GetRegularFanin(0); in EraseCancellableNodes()
255 const auto& fanin_to_forward = fanin_node->GetRegularFanin(0); in EraseCancellableNodes()
265 mutation->RemoveNode(node->GetRegularFanin(1).node_view()); in EraseCancellableNodes()
269 mutation->RemoveNode(fanin_node->GetRegularFanin(1).node_view()); in EraseCancellableNodes()
297 const auto& transpose_after_fanin = transpose_after->GetRegularFanin(0); in EraseCancellableNodesAroundPad()
302 const auto& pad_fanin_0 = pad->GetRegularFanin(0); in EraseCancellableNodesAroundPad()
319 const auto& pad_fanin_1 = pad->GetRegularFanin(1); in EraseCancellableNodesAroundPad()
Dremapper.cc589 const auto& regular_fanin_0 = node_view.GetRegularFanin(0); in IsBiasSemanticAdd()
592 const auto& regular_fanin_1 = node_view.GetRegularFanin(1); in IsBiasSemanticAdd()
673 const auto& regular_fanin_0 = node_view->GetRegularFanin(1 - bias_port); in FindContractionWithBias()
714 const auto& regular_fanin_0 = node_view->GetRegularFanin(0); in FindContractionWithBiasAndActivation()
728 bias_add_node_view->GetRegularFanin(1 - base.bias_port).node_view(); in FindContractionWithBiasAndActivation()
765 const auto& regular_fanin_0 = node_view->GetRegularFanin(0); in FindConvWithSqueezeAndBias()
778 const auto& squeeze_regular_fanin_0 = squeeze_node_view->GetRegularFanin(0); in FindConvWithSqueezeAndBias()
843 const auto& regular_fanin_0 = node_view->GetRegularFanin(0); in FindConv2DWithBatchNorm()
881 const auto& regular_fanin_0 = node_view->GetRegularFanin(0); in FindConv2DWithBatchNormAndActivation()
914 add_node_view.GetRegularFanin(port_id).node_view(); in FindContractionWithBiasInPort()
[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.cc378 auto& fanin_port = dst_node->GetRegularFanin(dst_port); in UpdateFaninEdgesWithOp()
586 const auto& regular_fanin = node.GetRegularFanin(port); in GetFaninPortRank()
601 const auto& regular_fanin = node.GetRegularFanin(port); in IsFaninPortDimsNIfConst()
844 const auto& fanin = node->GetRegularFanin(0); in TransposeNode()
991 const auto& data_fanin = node->GetRegularFanin(0); in TransposeNode()
1100 const auto& fanin = node.GetRegularFanin(pos); in IsAfterDstToSrcTransform()
1118 const auto& fanin = current_node->GetRegularFanin(pos); in IsAfterDstToSrcTransform()
1136 const auto& regular_fanin = node.GetRegularFanin(i); in GetVariadicNDFaninPorts()
1289 const auto& fanin = node->GetRegularFanin(vector_index); in MaybeReshapeVectorFanin()
1504 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.cc2014 graph_view_.GetRegularFanin(node_input); in NodeImplicitlyReadsNonResourceVariable()
2197 MutableGraphView::OutputPort src = graph_view_.GetRegularFanin(dst); in ChangeTypeAttrsAndAddCasts()
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.cc450 const MutableGraphView::OutputPort MutableGraphView::GetRegularFanin( in GetRegularFanin() function in tensorflow::grappler::MutableGraphView
452 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.cc81 return graph.GetRegularFanin(input_port).node; in GetInputNode()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dgraph_utils.cc282 return graph.GetRegularFanin(input_port).node; in GetInputNode()
289 return graph.GetRegularFanin(input_port).node; in GetInputNode()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc1005 const GraphView::OutputPort fanin = graph_.GetRegularFanin(port); in UpdateNode()
2322 GraphView::OutputPort fanin = shape_refiner->graph().GetRegularFanin(port); in UpdateEnter()
2494 GraphView::OutputPort fanin = shape_refiner->graph().GetRegularFanin(inp); in UpdateEnqueue()
2681 GraphView::OutputPort fanin = graph_view.GetRegularFanin(input); in InferStatically()