/external/tensorflow/tensorflow/tools/optimization/ |
D | optimization_pass_runner.cc | 125 DeviceSet device_set; in RunMain() local 127 device_set.AddDevice(device.get()); in RunMain() 129 options.device_set = &device_set; in RunMain()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ |
D | convert_graph_test.cc | 131 void SetDeviceSet(const DeviceSet* device_set) { device_set_ = device_set; } in SetDeviceSet() argument 191 DeviceSet device_set; in TEST() local 195 device_set.AddDevice(d); in TEST() 197 cluster.SetDeviceSet(&device_set); in TEST()
|
D | convert_graph.cc | 760 auto device_set = params.cluster->GetDeviceSet(); in GetDeviceAndAllocator() local 765 device_set->FindMatchingDevices(parsed_name, &devices); in GetDeviceAndAllocator()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | master.cc | 372 std::unique_ptr<DeviceSet> device_set; in CreateSession() local 429 device_set.reset(new DeviceSet); in CreateSession() 431 device_set->AddDevice(d.get()); in CreateSession() 436 device_set->set_client_device(d.get()); in CreateSession() 447 device_set.reset(new DeviceSet); in CreateSession() 449 device_set->AddDevice(d.get()); in CreateSession() 453 device_set->AddDevice(d); in CreateSession() 456 device_set->set_client_device(d); in CreateSession() 462 CHECK(device_set->client_device()) << "No client device found. Missing " in CreateSession() 474 std::move(device_set), std::move(filtered_worker_list)); in CreateSession()
|
D | master_env.h | 87 std::unique_ptr<DeviceSet> device_set,
|
D | master_session.h | 54 std::unique_ptr<DeviceSet> device_set,
|
D | collective_param_resolver_distributed.cc | 229 gr->device_set.insert(dn); in UpdateGroupCache()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | partitioning_utils.cc | 26 const DeviceSet& device_set, std::unique_ptr<Graph> graph, in PartitionFunctionGraph() argument 41 [&device_set](const string& name) -> int64 { in PartitionFunctionGraph() 42 const Device* d = device_set.FindDeviceByName(name); in PartitionFunctionGraph()
|
D | collective_param_resolver_local.cc | 81 if (!gr->device_set.empty()) { in CompleteGroupLocal() 98 auto it = gr->device_set.find(device); in CompleteGroupLocal() 99 if (it == gr->device_set.end()) { in CompleteGroupLocal() 100 if (gr->device_set.size() == gr->group.group_size) { in CompleteGroupLocal() 108 gr->device_set.insert(device); in CompleteGroupLocal() 120 << " dev_set=" << gr->device_set.size(); in CompleteGroupLocal() 128 << gr->device_set.size() << " gr " << gr; in CompleteGroupLocal() 130 if (gr->device_set.size() < gr->group.group_size) { in CompleteGroupLocal() 134 CHECK_EQ(gr->device_set.size(), gr->group.group_size); in CompleteGroupLocal()
|
D | graph_execution_state.cc | 62 device_set_(options.device_set), in GraphExecutionState() 202 combined_options.device_set = device_set_; in Extend() 292 Status LookupDevice(const DeviceSet& device_set, const string& tensor_name, in LookupDevice() argument 297 *out_device_attrs = &device_set.client_device()->attributes(); in LookupDevice() 302 *out_device_attrs = &device_set.client_device()->attributes(); in LookupDevice() 311 Device* device = device_set.FindDeviceByName( in LookupDevice() 569 optimization_options.device_set = device_set_; in InitBaseGraph() 785 optimization_options.device_set = device_set_; in BuildGraph()
|
D | process_function_library_runtime.cc | 305 const std::vector<string>& output_devices, const DeviceSet& device_set, in PinArgsAndRets() argument 362 device_set.FindMatchingDevices(parsed, &matching_devices); in PinArgsAndRets() 568 DeviceSet device_set; in InstantiateMultiDevice() local 570 device_set.AddDevice(d); in InstantiateMultiDevice() 574 options.input_devices, options.output_devices, device_set, graph.get())); in InstantiateMultiDevice() 589 optimization_options.device_set = &device_set; in InstantiateMultiDevice() 613 Placer placer(graph.get(), &device_set, default_device, in InstantiateMultiDevice() 629 &data->overlay_lib_, device_set, cpu_device, &graph); in InstantiateMultiDevice() 651 PartitionFunctionGraph(device_set, std::move(graph), &subgraphs)); in InstantiateMultiDevice()
|
D | partitioning_utils.h | 34 const DeviceSet& device_set, std::unique_ptr<Graph> graph,
|
D | optimization_registry.h | 49 const DeviceSet* device_set = nullptr; // Not owned. member
|
D | graph_execution_state.h | 42 const DeviceSet* device_set = nullptr; member
|
D | colocation_graph.h | 170 ColocationGraph(const Graph* graph, const DeviceSet* device_set,
|
D | colocation_graph.cc | 453 const DeviceSet* device_set, in ColocationGraph() argument 458 device_set_(device_set), in ColocationGraph() 459 device_types_(device_set->PrioritizedDeviceTypeList()), in ColocationGraph()
|
D | collective_param_resolver_local.h | 70 std::set<string> device_set GUARDED_BY(mu);
|
D | process_function_library_runtime.h | 244 const DeviceSet& device_set, Graph* graph) const;
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
D | virtual_cluster.cc | 46 VirtualCluster::VirtualCluster(const DeviceSet* device_set) in VirtualCluster() argument 48 device_set_ = device_set; in VirtualCluster()
|
D | virtual_cluster.h | 40 VirtualCluster(const DeviceSet* device_set);
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | client_library.cc | 83 se::Platform* platform, const absl::optional<std::set<int>>& device_set) { in GetOrCreateLocalClient() argument 86 default_options.set_allowed_devices(device_set); in GetOrCreateLocalClient()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | increase_dynamism_for_auto_jit_pass_test.cc | 68 std::unique_ptr<DeviceSet> device_set(new DeviceSet()); in IncreaseDynamismForAutoJit() local 70 device_set->AddDevice(device.get()); in IncreaseDynamismForAutoJit() 80 options.device_set = device_set.get(); in IncreaseDynamismForAutoJit()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | meta_optimizer.h | 133 FunctionLibraryDefinition* lib, const DeviceSet& device_set,
|
D | meta_optimizer.cc | 716 FunctionLibraryDefinition* flib, const DeviceSet& device_set, in OptimizeGraph() argument 730 for (const Device* d : device_set.devices()) { in OptimizeGraph() 749 tensorflow::grappler::VirtualCluster cluster(&device_set); in OptimizeGraph()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_server_lib.cc | 261 std::unique_ptr<DeviceSet> device_set, in Init() 265 std::move(worker_cache), std::move(device_set), in Init()
|