Home
last modified time | relevance | path

Searched refs:input_edge (Results 1 – 25 of 25) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dparallel_concat_optimizer.cc83 for (const Edge* input_edge : n->in_edges()) { in Run() local
84 if (input_edge->IsControlEdge()) { in Run()
85 g->AddControlEdge(input_edge->src(), start); in Run()
94 .Input(input_edge->src(), input_edge->src_output()) in Run()
Dshape_refiner.cc420 const Edge* input_edge; in EvaluateConstantTensorForEdge() local
421 TF_RETURN_IF_ERROR(node->input_edge(dst_idx, &input_edge)); in EvaluateConstantTensorForEdge()
422 OutputTensor tensor(input_edge->src(), input_edge->src_output()); in EvaluateConstantTensorForEdge()
454 const Edge* input_edge; in ConstantPartialShape() local
455 TF_RETURN_IF_ERROR(node->input_edge(dst_idx, &input_edge)); in ConstantPartialShape()
457 InferenceContext* src_context = GetContext(input_edge->src()); in ConstantPartialShape()
459 ShapeHandle src_shape = src_context->output(input_edge->src_output()); in ConstantPartialShape()
488 const string& src_op = input_edge->src()->type_string(); in ConstantPartialShape()
496 *result = src_context->input(input_edge->src_output()); in ConstantPartialShape()
503 TF_RETURN_IF_ERROR(EvaluateConstantIntScalarEdge(input_edge->src(), i, in ConstantPartialShape()
[all …]
Daccumulate_n_optimizer.cc100 for (const Edge* input_edge : n->in_edges()) { in rewriteNode() local
101 if (input_edge->IsControlEdge()) { in rewriteNode()
102 control_edges.push_back(input_edge); in rewriteNode()
104 data_edges.push_back(input_edge); in rewriteNode()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.h56 bool input_edge, int port) in EngineConnection()
63 is_input_edge(input_edge), in EngineConnection()
68 int in_id, bool input_edge) in EngineConnection()
75 is_input_edge(input_edge), in EngineConnection()
Dconvert_graph.cc78 for (const Edge* input_edge : input_edges) { in IsTensorRTCandidate() local
79 input_node_and_ports.emplace_back(&input_edge->src()->def(), in IsTensorRTCandidate()
80 input_edge->src_output()); in IsTensorRTCandidate()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dconst_analysis.cc81 status = pred->src()->input_edge(pred->src_output(), &pred); in BackwardsConstAnalysis()
111 status = edge->src()->input_edge(edge->src_output(), &edge); in BackwardsConstAnalysis()
Dfunctionalize_cond.cc122 TF_RETURN_IF_ERROR(switch_node.input_edge(1, &pred_edge)); in GetSwitchPredicate()
126 TF_RETURN_IF_ERROR(pred_edge->src()->input_edge(0, &pred_edge)); in GetSwitchPredicate()
134 TF_RETURN_IF_ERROR(switch_node.input_edge(0, &val_edge)); in GetSwitchValue()
414 TF_RETURN_IF_ERROR(switch_node->input_edge(0, &e)); in BuildArgumentNodes()
756 TF_RETURN_IF_ERROR(arg->input_edge(0, &in_edge)); in BuildIfNode()
1227 TF_RETURN_IF_ERROR(node->input_edge(0, &e)); in RemoveRedundantSwitch()
1230 TF_RETURN_IF_ERROR(val.node->input_edge(0, &e)); in RemoveRedundantSwitch()
1241 TF_RETURN_IF_ERROR(node->input_edge(0, &value_edge)); in RemoveRedundantSwitch()
Dfunctionalize_while.cc535 TF_RETURN_IF_ERROR(arg.enter->input_edge(0, &in_edge)); in FunctionalizeLoop()
551 TF_RETURN_IF_ERROR(arg.enter->input_edge(0, &in_edge)); in FunctionalizeLoop()
Dtf2xla_util.cc155 replace_node->input_edge(usages[i].dst_input, &usage_edge)); in ReplaceArgUsageWithConstNode()
/external/tensorflow/tensorflow/compiler/jit/
Dincrease_dynamism_for_auto_jit_pass.cc97 TF_RETURN_IF_ERROR(slice->input_edge(kSliceInputIndex, &slice_input_edge)); in GetSliceInputs()
99 TF_RETURN_IF_ERROR(slice->input_edge(kSliceSizeIndex, &slice_size_edge)); in GetSliceInputs()
101 TF_RETURN_IF_ERROR(slice->input_edge(kSliceBeginIndex, &slice_begin_edge)); in GetSliceInputs()
Dencapsulate_util.cc139 TF_RETURN_IF_ERROR(dst->input_edge(edges[i].dst_input, &e)); in PreprocessDataEdgesBetweenOutsideCompilations()
244 TF_RETURN_IF_ERROR(replace_node->input_edge(dst_input, &edge_to_replace)); in PostprocessDataEdgesBetweenOutsideCompilations()
Dnode_matchers.cc302 if (!node->input_edge(input_idx, &edge).ok()) { in MatchAndExplainInput()
Ddeadness_analysis.cc792 TF_RETURN_IF_ERROR(n->input_edge(1, &pred_edge)); in HandleSwitch()
Dextract_outside_compilation_pass.cc270 if (!send_from_host_node->input_edge(i, &e).ok()) { in GetInferredInputShapes()
Dencapsulate_subgraphs_pass.cc2059 !dst->input_edge(0, &existing_input_edge).ok()) { in DoStaticShapeInferenceForOutsideCompilationSend()
/external/tensorflow/tensorflow/core/graph/
Dgraph_test.cc228 TF_ASSERT_OK(c->input_edge(0, &e)); in TEST_F()
246 TF_ASSERT_OK(t->input_edge(1, &e)); in TEST_F()
273 TF_ASSERT_OK(c->input_edge(0, &a_new_c_edge)); in TEST_F()
278 TF_ASSERT_OK(c->input_edge(0, &b_new_c_edge)); in TEST_F()
284 TF_ASSERT_OK(c->input_edge(0, &b_new_c_edge)); in TEST_F()
Dgraph.cc238 Status Node::input_edge(int idx, const Edge** e) const { in input_edge() function in tensorflow::Node
291 TF_RETURN_IF_ERROR(input_edge(idx, &e)); in input_node()
309 TF_RETURN_IF_ERROR(input_edge(idx, &e)); in input_tensor()
Dgraph.h191 Status input_edge(int idx, const Edge** e) const;
Dmkl_layout_pass.cc3528 TF_CHECK_OK(n->input_edge(idx, &e)); in FixMklMetaDataEdges()
3552 TF_CHECK_OK(n->input_edge(e_meta_in_slot, &e_meta)); in FixMklMetaDataEdges()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dvectorization_utils.cc302 map_defun_fn_->ret_nodes[output_position]->input_edge(0, &ret_edge)); in ConvertOutput()
609 TF_RETURN_IF_ERROR(ret_node->input_edge(0, &in_edge)); in AddUnstackedTensorMappings()
/external/tensorflow/tensorflow/core/framework/
Dgraph_to_functiondef.cc156 TF_RETURN_IF_ERROR(node->input_edge(0, &edge)); in GraphToFunctionDef()
/external/tensorflow/tensorflow/core/nccl/
Dnccl_rewrite.cc145 TF_RETURN_IF_ERROR(node->input_edge(0, &in_edge)); in ReplaceBroadcast()
/external/tensorflow/tensorflow/core/kernels/hexagon/
Dgraph_transferer.cc732 TF_CHECK_OK(node.input_edge(1, &edge)); in RegisterPadNode()
873 TF_CHECK_OK(node.input_edge(idx, &edge)); in AddNodeInputByInputIndex()
/external/tensorflow/tensorflow/core/kernels/
Dremote_fused_graph_execute_utils.cc973 TF_RETURN_IF_ERROR(node->input_edge(i, &edge)); in FuseCluster()
/external/tensorflow/tensorflow/c/
Dc_api.cc1560 Status s = oper_in.oper->node.input_edge(oper_in.index, &edge); in TF_OperationInput()