/external/tensorflow/tensorflow/core/graph/ |
D | control_flow.cc | 52 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 …]
|
D | graph_partition.cc | 396 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 …]
|
D | while_context.cc | 20 WhileContext::WhileContext(StringPiece frame_name, in WhileContext() argument 26 : frame_name_(frame_name), in WhileContext()
|
D | while_context.h | 37 WhileContext(StringPiece frame_name, std::vector<Node*> enter_nodes, 42 const string& frame_name() const { return frame_name_; } in frame_name() function
|
D | control_flow.h | 30 string frame_name; // frame name of a node member
|
/external/tensorflow/tensorflow/cc/framework/ |
D | while_gradients.cc | 86 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/ |
D | xla_cluster_util.cc | 145 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()
|
D | deadness_analysis_test.cc | 116 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/ |
D | frame.cc | 75 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()
|
D | frame_test.cc | 45 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/ |
D | heap_profile_tracker_unittest.cc | 61 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/ |
D | api_def_RefEnter.pbtxt | 17 name: "frame_name" 36 The unique `frame_name` is used by the `Executor` to identify frames. If
|
D | api_def_Enter.pbtxt | 17 name: "frame_name" 37 The unique `frame_name` is used by the `Executor` to identify frames. If
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | control_flow_util_test.py | 51 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/ |
D | while_loop.cc | 174 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()
|
D | while_loop.h | 67 const BodyGraphBuilderFn& body, const string& frame_name,
|
/external/tensorflow/tensorflow/core/grappler/costs/graph_properties_testdata/ |
D | loops_and_resource_vars.pbtxt | 138 key: "frame_name" 167 key: "frame_name" 367 key: "frame_name" 408 key: "frame_name" 437 key: "frame_name"
|
D | loops_and_queues.pbtxt | 100 key: "frame_name" 129 key: "frame_name" 295 key: "frame_name" 433 key: "frame_name" 462 key: "frame_name"
|
D | nested_loop.pbtxt | 63 key: "frame_name" 92 key: "frame_name" 280 key: "frame_name" 309 key: "frame_name"
|
D | while_loop.pbtxt | 56 key: "frame_name" 85 key: "frame_name"
|
D | while_loop_var_handle_op.pbtxt | 70 key: "frame_name" 91 key: "frame_name"
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | executor.cc | 618 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/ |
D | node_def_util.cc | 778 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()
|
D | node_def_util_test.cc | 556 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/ |
D | functionalize_while.cc | 614 << ") 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()
|