Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/graph/
Dcontrol_flow.cc52 Frame& frame = frames[cf.frame_name]; in ValidateControlFlowInfo()
53 Frame* parent = &frames[cf_info[cf.parent_frame->id()].frame_name]; in ValidateControlFlowInfo()
56 frame.name = cf.frame_name; in ValidateControlFlowInfo()
60 cf.frame_name, "\": \"", parent->name, "\" vs \"", frame.parent->name, in ValidateControlFlowInfo()
73 "Invalid loop structure: Loop \"", cf.frame_name, in ValidateControlFlowInfo()
99 string frame_name; in BuildControlFlowInfo() local
108 frame_name = curr_info.frame_name; in BuildControlFlowInfo()
115 frame_name = parent_info.frame_name; in BuildControlFlowInfo()
137 const string& parent_frame = (*info)[out_parent->id()].frame_name; in BuildControlFlowInfo()
138 if (parent_frame != frame_name) { in BuildControlFlowInfo()
[all …]
Dgraph_partition.cc396 const string& device_name, const string& frame_name, in AddControlEnter() argument
400 node_builder.Attr("frame_name", frame_name); in AddControlEnter()
484 info->frame_name = src_info.frame_name; in AddControlFlowInfo()
501 const string& frame_name = src_info.frame_name; in AddControlLoop() local
517 Node* enter = AddControlEnter(g, enter_name, device_name, frame_name, in AddControlLoop()
628 const string& frame_name = cf_info[node->id()].frame_name; in AddControlFlow() local
629 DCHECK(!frame_name.empty()); in AddControlFlow()
630 frame_cond_map[frame_name] = node; in AddControlFlow()
660 const string& src_frame_name = cf_info[src_frame->id()].frame_name; in AddControlFlow()
661 const string& dst_frame_name = cf_info[dst_frame->id()].frame_name; in AddControlFlow()
[all …]
Dwhile_context.cc20 WhileContext::WhileContext(StringPiece frame_name, in WhileContext() argument
26 : frame_name_(frame_name), in WhileContext()
Dwhile_context.h37 WhileContext(StringPiece frame_name, std::vector<Node*> enter_nodes,
42 const string& frame_name() const { return frame_name_; } in frame_name() function
Dcontrol_flow.h30 string frame_name; // frame name of a node member
/external/tensorflow/tensorflow/cc/framework/
Dwhile_gradients.cc86 while_ctx->frame_name(), &outputs, in AddForwardLoopCounter()
122 string frame_name = BackPropFrameName(while_ctx->frame_name()); in AddBackPropLoopCounter() local
125 scope, {loop_count}, cond_fn, body_fn, frame_name, &outputs, in AddBackPropLoopCounter()
170 string frame_name = BackPropFrameName(while_ctx->frame_name()); in AddWhileGradientLoop() local
172 frame_name, grad_outputs, in AddWhileGradientLoop()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_cluster_util.cc145 auto GetOrAddFrameNodeId = [&frame_nodes, cycles](const string& frame_name) { in CreateCycleDetectionGraph() argument
146 int& frame_id = frame_nodes.emplace(frame_name, -1).first->second; in CreateCycleDetectionGraph()
163 const string& frame_name = in CreateCycleDetectionGraph() local
164 control_flow_info[edge->dst()->id()].frame_name; in CreateCycleDetectionGraph()
165 dst = GetOrAddFrameNodeId(frame_name); in CreateCycleDetectionGraph()
171 const string& frame_name = in CreateCycleDetectionGraph() local
172 control_flow_info[edge->src()->id()].frame_name; in CreateCycleDetectionGraph()
173 src = GetOrAddFrameNodeId(frame_name); in CreateCycleDetectionGraph()
Ddeadness_analysis_test.cc116 const string& frame_name, in CreateInductionVariable() argument
119 root.WithOpName(prefix + "/enter"), initial_value, frame_name); in CreateInductionVariable()
147 const string& frame_name, int32 init) { in CreateInductionVariable() argument
149 root, prefix, frame_name, in CreateInductionVariable()
188 const Scope& root, const string& prefix, const string& frame_name, in CreateDependentLoopInvariantValue() argument
191 value, frame_name); in CreateDependentLoopInvariantValue()
205 const Scope& root, const string& prefix, const string& frame_name, in CreateDependentLoopInvariantValue() argument
208 root, prefix, frame_name, loop_cond, in CreateDependentLoopInvariantValue()
/external/tensorflow/tensorflow/core/grappler/utils/
Dframe.cc75 absl::string_view frame_name = frame_name_attr->s(); in InferFromGraphView() local
78 if (frame_name_to_id.count(frame_name)) { in InferFromGraphView()
79 frame_id = frame_name_to_id[frame_name]; in InferFromGraphView()
82 frame_name_to_id[frame_name] = frame_id; in InferFromGraphView()
Dframe_test.cc45 AttrValue frame_name; in CreateNode() local
46 frame_name.set_s(frame); in CreateNode()
47 node.mutable_attr()->insert({"frame_name", frame_name}); in CreateNode()
/external/perfetto/src/trace_processor/
Dheap_profile_tracker_unittest.cc61 frame_name = context.storage->InternString("[frame]"); in HeapProfileTrackerDupTest()
101 kFirstPacket, kFirstPacketFrameNameId, frame_name); in InsertFrame()
103 kSecondPacket, kSecondPacketFrameNameId, frame_name); in InsertFrame()
136 StringId frame_name; member in perfetto::trace_processor::__anon3ddee9b20111::HeapProfileTrackerDupTest
165 ElementsAre(frame_name)); in TEST_F()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_RefEnter.pbtxt17 name: "frame_name"
36 The unique `frame_name` is used by the `Executor` to identify frames. If
Dapi_def_Enter.pbtxt17 name: "frame_name"
37 The unique `frame_name` is used by the `Executor` to identify frames. If
/external/tensorflow/tensorflow/python/kernel_tests/
Dcontrol_flow_util_test.py51 enter = gen_control_flow_ops.enter(1, frame_name="name").op
56 frame_name="name").op
60 const_enter = gen_control_flow_ops.enter(1, frame_name="name",
/external/tensorflow/tensorflow/cc/ops/
Dwhile_loop.cc174 const BodyGraphBuilderFn& body, const string& frame_name, in BuildWhileLoop() argument
186 enter_outputs[i] = internal::Enter(scope, inputs[i], frame_name); in BuildWhileLoop()
236 frame_name, ToNodes(enter_outputs), ToNodes(*outputs), in BuildWhileLoop()
Dwhile_loop.h67 const BodyGraphBuilderFn& body, const string& frame_name,
/external/tensorflow/tensorflow/core/grappler/costs/graph_properties_testdata/
Dloops_and_resource_vars.pbtxt138 key: "frame_name"
167 key: "frame_name"
367 key: "frame_name"
408 key: "frame_name"
437 key: "frame_name"
Dloops_and_queues.pbtxt100 key: "frame_name"
129 key: "frame_name"
295 key: "frame_name"
433 key: "frame_name"
462 key: "frame_name"
Dnested_loop.pbtxt63 key: "frame_name"
92 key: "frame_name"
280 key: "frame_name"
309 key: "frame_name"
Dwhile_loop.pbtxt56 key: "frame_name"
85 key: "frame_name"
Dwhile_loop_var_handle_op.pbtxt70 key: "frame_name"
91 key: "frame_name"
/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor.cc618 const string& frame_name = cf_info.frame_names[id]; in Initialize() local
619 FrameInfo* frame_info = EnsureFrameInfo(frame_name); in Initialize()
1043 string frame_name; member
1299 return strings::StrCat(frame->frame_name, ";", iter_id, ";", name); in MakeFrameName()
1405 root_frame_->InitializeFrameInfo(root_frame_->frame_name); in ExecutorState()
1412 outstanding_frames_.insert({root_frame_->frame_name, root_frame_}); in ExecutorState()
1434 string frame_name; in BuildControlFlowInfo() local
1441 cf_info->unique_frame_names.insert(frame_name); in BuildControlFlowInfo()
1455 GetNodeAttr(curr_node->attrs(), "frame_name", &frame_name)); in BuildControlFlowInfo()
1460 frame_name = cf_info->frame_names[parent->id()]; in BuildControlFlowInfo()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dnode_def_util.cc778 string frame_name; in ADD_ATTR() local
779 TF_RETURN_IF_ERROR(GetNodeAttr(*node_def, "frame_name", &frame_name)); in ADD_ATTR()
781 frame_name = strings::StrCat(prefix, frame_name, suffix); in ADD_ATTR()
782 attr.set_s(frame_name); in ADD_ATTR()
Dnode_def_util_test.cc556 string frame_name; in TEST() local
557 TF_ASSERT_OK(GetNodeAttr(node_def, "frame_name", &frame_name)); in TEST()
558 EXPECT_EQ("prefix/test_frame/suffix", frame_name); in TEST()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_while.cc614 << ") frame_name: " << cf.frame_name in FunctionalizeWhileLoop()
620 Frame& frame = frames[cf.frame_name]; in FunctionalizeWhileLoop()
621 Frame* parent = &frames[cf_info[cf.parent_frame->id()].frame_name]; in FunctionalizeWhileLoop()
624 frame.name = cf.frame_name; in FunctionalizeWhileLoop()

12