Home
last modified time | relevance | path

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

123

/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 …]
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
Dgraph_partition.cc421 const string& device_name, const string& frame_name, in AddControlEnter() argument
425 node_builder.Attr("frame_name", frame_name); in AddControlEnter()
509 info->frame_name = src_info.frame_name; in AddControlFlowInfo()
526 const string& frame_name = src_info.frame_name; in AddControlLoop() local
542 Node* enter = AddControlEnter(g, enter_name, device_name, frame_name, in AddControlLoop()
653 const string& frame_name = cf_info[node->id()].frame_name; in AddControlFlow() local
654 DCHECK(!frame_name.empty()); in AddControlFlow()
655 frame_cond_map[frame_name] = node; in AddControlFlow()
685 const string& src_frame_name = cf_info[src_frame->id()].frame_name; in AddControlFlow()
686 const string& dst_frame_name = cf_info[dst_frame->id()].frame_name; in AddControlFlow()
[all …]
Dcontrol_flow.h39 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/tf2xla/
Dfunctionalize_control_flow_util.cc59 << ") frame_name: " << cf.frame_name in ExtractWhileLoopFrames()
65 WhileLoopFrame& frame = (*frames)[cf.frame_name]; in ExtractWhileLoopFrames()
67 &(*frames)[cf_info[cf.parent_frame->id()].frame_name]; in ExtractWhileLoopFrames()
70 frame.name = cf.frame_name; in ExtractWhileLoopFrames()
/external/tensorflow/tensorflow/core/grappler/utils/
Dframe.cc77 const string& frame_name = frame_name_attr->s(); in InferFromGraphViewT() local
80 if (frame_name_to_id->contains(frame_name)) { in InferFromGraphViewT()
81 frame_id = (*frame_name_to_id)[frame_name]; in InferFromGraphViewT()
84 (*frame_name_to_id)[frame_name] = frame_id; in InferFromGraphViewT()
Dframe_test.cc52 AttrValue frame_name; in CreateNode() local
53 frame_name.set_s(frame); in CreateNode()
54 node.mutable_attr()->insert({"frame_name", frame_name}); in CreateNode()
/external/tensorflow/tensorflow/compiler/jit/
Ddeadness_analysis.cc1065 frame->push_back(cfi_iter->frame_name); in GetFullFrame()
1094 *frame = cfi_iter->frame_name; in GetRootFrame()
1126 absl::string_view frame_name = control_flow_info_[n->id()].frame_name; in HandleMerge() local
1127 auto insert_result = frame_to_merge_node_.insert({frame_name, n}); in HandleMerge()
1255 ++num_enters_for_frame[cf.frame_name]; in GetFrameBasedTopologicalOrder()
1257 ++num_exits_for_frame[cf.frame_name]; in GetFrameBasedTopologicalOrder()
1301 absl::string_view frame_name = control_flow_info_[out_id].frame_name; in GetFrameBasedTopologicalOrder() local
1303 ready_enters_per_frame[frame_name].push_back(out); in GetFrameBasedTopologicalOrder()
1319 absl::string_view frame_name = in GetFrameBasedTopologicalOrder() local
1320 control_flow_info_[ready_exits.front()->id()].frame_name; in GetFrameBasedTopologicalOrder()
[all …]
Dxla_cluster_util.cc138 auto GetOrAddFrameNodeId = [&frame_nodes, cycles](const string& frame_name) { in CreateCycleDetectionGraph() argument
139 int& frame_id = frame_nodes.emplace(frame_name, -1).first->second; in CreateCycleDetectionGraph()
156 const string& frame_name = in CreateCycleDetectionGraph() local
157 control_flow_info[edge->dst()->id()].frame_name; in CreateCycleDetectionGraph()
158 dst = GetOrAddFrameNodeId(frame_name); in CreateCycleDetectionGraph()
164 const string& frame_name = in CreateCycleDetectionGraph() local
165 control_flow_info[edge->src()->id()].frame_name; in CreateCycleDetectionGraph()
166 src = GetOrAddFrameNodeId(frame_name); in CreateCycleDetectionGraph()
/external/perfetto/src/trace_processor/importers/proto/
Dheap_profile_tracker.cc31 StringId frame_name; member
35 return std::tie(frame_name, mapping_name, parent_idx) < in operator <()
36 std::tie(o.frame_name, o.mapping_name, o.parent_idx); in operator <()
61 StringId frame_name = frames_tbl.name()[frame_idx]; in GetMergedCallsites() local
62 return {{frame_name, mapping_name, base::nullopt}}; in GetMergedCallsites()
129 row.name = merged_callsite.frame_name; in BuildNativeFlamegraph()
Dheap_profile_tracker_unittest.cc65 frame_name = context.storage->InternString("[frame]"); in HeapProfileTrackerDupTest()
109 StringId frame_name; member in perfetto::trace_processor::__anon76df17cb0111::HeapProfileTrackerDupTest
151 EXPECT_THAT(frames.name()[0], 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"
/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor.cc648 const string& frame_name = cf_info.frame_names[id]; in Initialize() local
649 FrameInfo* frame_info = EnsureFrameInfo(frame_name); in Initialize()
1088 string frame_name; member
1369 return strings::StrCat(frame->frame_name, ";", iter_id, ";", name); in MakeFrameName()
1484 root_frame_->InitializeFrameInfo(root_frame_->frame_name); in ExecutorState()
1491 outstanding_frames_.insert({root_frame_->frame_name, root_frame_}); in ExecutorState()
1513 string frame_name; in BuildControlFlowInfo() local
1520 cf_info->unique_frame_names.insert(frame_name); in BuildControlFlowInfo()
1534 GetNodeAttr(curr_node->attrs(), "frame_name", &frame_name)); in BuildControlFlowInfo()
1539 frame_name = cf_info->frame_names[parent->id()]; in BuildControlFlowInfo()
[all …]
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DEnter.pbtxt16 name: "frame_name"
DRefEnter.pbtxt18 name: "frame_name"

123