/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | scheduler.cc | 31 pending->resize(graph->num_node_ids()); in InitializePending() 78 asap_times->resize(graph_->num_node_ids()); in ComputeAsap() 80 std::vector<int> pending_count(graph_->num_node_ids()); in ComputeAsap() 120 alap_times->resize(graph_->num_node_ids()); in ComputeAlap() 123 pending_count.resize(graph_->num_node_ids()); in ComputeAlap() 180 slacks->resize(graph_->num_node_ids()); in ComputeSlack() 214 std::vector<int> pending_count(graph_->num_node_ids()); in ComputeSchedule()
|
/external/tensorflow/tensorflow/core/graph/ |
D | costmodel.cc | 464 const int num_node_ids = g.num_node_ids(); in InitFromGraph() local 465 slot_bytes_.reserve(num_node_ids); in InitFromGraph() 466 count_.reserve(num_node_ids); in InitFromGraph() 467 time_.reserve(num_node_ids); in InitFromGraph() 468 max_mem_usage_.reserve(num_node_ids); in InitFromGraph() 469 max_exec_time_.reserve(num_node_ids); in InitFromGraph() 470 output_port_alloc_ids_.reserve(num_node_ids); in InitFromGraph()
|
D | validate.cc | 67 std::vector<int> pending_count(graph.num_node_ids(), 0); in ValidateGraphHasNoCycle() 69 for (int i = 0; i < graph.num_node_ids(); ++i) { in ValidateGraphHasNoCycle()
|
D | graph.h | 581 int num_node_ids() const { return nodes_.size(); } in num_node_ids() function 815 DCHECK_LE(id_, graph_->num_node_ids()); 817 if (id_ >= graph_->num_node_ids() || graph_->FindNodeId(id_) != nullptr) { 859 return gtl::make_range(NodeIter(this, 0), NodeIter(this, num_node_ids())); in nodes() 870 NodeIter end(this, num_node_ids()); in op_nodes()
|
D | control_flow.cc | 89 info->resize(g->num_node_ids()); in BuildControlFlowInfo() 92 parent_nodes.resize(g->num_node_ids()); in BuildControlFlowInfo()
|
D | graph_test.cc | 163 EXPECT_EQ(2, graph_.num_node_ids()); in TEST_F() 172 EXPECT_EQ(5, graph_.num_node_ids()); in TEST_F() 174 EXPECT_EQ(5, graph_.num_node_ids()); in TEST_F() 177 EXPECT_EQ(6, graph_.num_node_ids()); in TEST_F() 212 EXPECT_EQ(6, graph_.num_node_ids()); in TEST_F() 315 for (int id = 0; id < graph_.num_node_ids(); ++id) { in TEST_F() 719 sum += graph.num_node_ids(); in BM_GraphCreation()
|
D | algorithm.cc | 42 std::vector<bool> visited(g.num_node_ids(), false); in DFSFromHelper() 136 std::vector<bool> visited(g.num_node_ids(), false); in ReverseDFSFromHelper()
|
D | mkl_tfconversion_pass_test.cc | 286 int N = graph->num_node_ids(); in BM_RunMklToTfConversionPass()
|
D | graph_partition.cc | 553 info->device_types.resize(g.num_node_ids(), DEVICE_CPU); in BuildMemoryDeviceInfo() 622 int num_node_ids = g->num_node_ids(); in AddControlFlow() local 623 for (int i = 0; i < num_node_ids; ++i) { in AddControlFlow()
|
D | optimizer_cse_test.cc | 364 int N = graph->num_node_ids(); in BM_CSE()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_fusion_optimizer.cc | 236 std::vector<UnionFind<Cluster>> clusters(graph.num_node_ids()); in Optimize() 261 if (to >= graph.num_node_ids()) { in Optimize() 304 std::vector<int> effective_cluster_sizes(graph.num_node_ids()); in Optimize()
|
D | xla_cluster_util.cc | 47 int32 max_path_size = graph.num_node_ids() + 1; in DescribeCycle() 55 if (!FastBoundsCheck(node_id, graph.num_node_ids())) { in DescribeCycle() 116 for (int i = 0; i < graph->num_node_ids(); ++i) { in CreateCycleDetectionGraph()
|
D | mark_for_compilation_pass.cc | 458 std::vector<bool> compile_time_const_nodes(graph.num_node_ids(), false); in FindCompilationCandidates() 1111 std::vector<UnionFind<Cluster>> clusters(graph->num_node_ids()); in RunImpl() 1166 if (to >= graph->num_node_ids()) { in RunImpl() 1227 if (in_id >= graph->num_node_ids()) continue; in RunImpl() 1265 std::vector<int> effective_cluster_sizes(graph->num_node_ids()); in RunImpl() 1269 std::vector<bool> has_functional_control_flow(graph->num_node_ids()); in RunImpl()
|
D | resource_operation_safety_analysis.cc | 279 absl::make_unique<ResourceOpSet[]>(g.num_node_ids()); in ComputeIncompatibleResourceOperationPairs()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | functionalize_while.cc | 101 std::vector<bool> visited(graph.num_node_ids(), false); in CopySubgraph() 152 std::vector<Node*> node_map(graph.num_node_ids(), nullptr); in BuildLoopCondition() 153 std::vector<bool> squash_src_outputs(graph.num_node_ids(), false); in BuildLoopCondition() 189 std::vector<Node*> node_map(graph.num_node_ids(), nullptr); in BuildLoopBody() 190 std::vector<bool> squash_src_outputs(graph.num_node_ids(), false); in BuildLoopBody() 673 CheckNodeNotInCycle(node, graph->num_node_ids()), in FunctionalizeWhileLoop()
|
D | const_analysis.cc | 46 CHECK_EQ(compile_time_const_nodes->size(), g.num_node_ids()); in BackwardsConstAnalysis() 48 compile_time_const_nodes_impl.resize(g.num_node_ids()); in BackwardsConstAnalysis()
|
D | functionalize_cond.cc | 158 node_to_condid_map_.resize(graph->num_node_ids()); in StateMap() 159 node_to_ancestorid_map_.resize(graph->num_node_ids()); in StateMap() 556 std::vector<bool> visited(graph->num_node_ids(), false); in ExtractBodies() 557 node_maps_[branch_index].resize(graph->num_node_ids(), nullptr); in ExtractBodies() 907 CheckNodeNotInCycle(if_node_, graph->num_node_ids()), in BuildAndReplace() 1331 std::vector<bool> deleted(graph_->num_node_ids(), false); in DeleteReachableAndDeadNodes()
|
D | const_analysis_test.cc | 46 std::vector<bool> const_nodes(root.graph()->num_node_ids(), false); in TEST()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/ |
D | segment.cc | 128 int num_node_ids() const { return nodes_.size(); } in num_node_ids() function in tensorflow::tensorrt::segment::SimpleGraph 149 int n_nodes = g_->num_node_ids(); in SimpleGraph() 262 std::vector<bool> visited(g.num_node_ids(), false); in StableDFS() 426 for (int i = 0; i < graph->num_node_ids(); ++i) { in SegmentGraph() 474 order.reserve(graph->num_node_ids()); in SegmentGraph()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | lower_if_while.cc | 72 for (int i = 2; i < g->num_node_ids(); ++i) { in Run()
|
D | constant_folding.cc | 604 VLOG(1) << "Constant foldable " << constant_graph->num_node_ids() << " : " in ConstantFold() 605 << graph->num_node_ids(); in ConstantFold()
|
/external/tensorflow/tensorflow/core/common_runtime/sycl/ |
D | sycl_device.cc | 81 device_context_map->resize(graph->num_node_ids()); in FillContextMap()
|
/external/tensorflow/tensorflow/cc/client/ |
D | client_session.cc | 95 int num_nodes = graph_->num_node_ids(); in MaybeExtendGraph()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | gradients.cc | 168 std::vector<bool> reachable_nodes(scope_.graph()->num_node_ids(), false); in GetReachableNodes() 283 pending_.resize(scope_.graph()->num_node_ids(), 0); in Initialize()
|
/external/tensorflow/tensorflow/c/ |
D | c_api.cc | 773 const auto num_nodes = graph.num_node_ids(); in ExtendSessionGraphHelper() 1977 while (*pos < static_cast<size_t>(graph->graph.num_node_ids())) { in TF_GraphNextOperation() 2120 const int last_node_id = graph->graph.num_node_ids(); in GraphImportGraphDefLocked() 2127 for (int i = last_node_id; i < graph->graph.num_node_ids(); ++i) { in GraphImportGraphDefLocked() 2439 const int first_new_node_id = parent->graph.num_node_ids(); in TF_FinishWhileHelper() 2450 for (int i = first_new_node_id; i < parent->graph.num_node_ids(); ++i) { in TF_FinishWhileHelper() 2505 const int first_new_node_id = g->graph.num_node_ids(); in TF_AddGradientsWithPrefix() 2541 for (int i = first_new_node_id; i < g->graph.num_node_ids(); ++i) { in TF_AddGradientsWithPrefix() 2656 session->last_num_graph_nodes = graph->graph.num_node_ids(); in TF_LoadSessionFromSavedModel()
|