Home
last modified time | relevance | path

Searched refs:device_set_ (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dpartitioning_utils_test.cc53 device_set_.AddDevice(d); in SetUp()
71 Placer placer(graph, &device_set_, device0_); in SwapGraph()
87 Placer placer(graph, &device_set_, device0_); in TwoDeviceSwapGraph()
101 Placer placer(subgraph, &device_set_, device0_); in SubGraph()
108 DeviceSet device_set_; member in tensorflow::__anone4792f6c0111::PartitioningUtilsTest
117 PartitionFunctionGraph(device_set_, std::move(graph), &subgraphs); in TEST_F()
128 PartitionFunctionGraph(device_set_, std::move(graph), &subgraphs); in TEST_F()
143 PartitionFunctionGraph(device_set_, std::move(graph), &subgraphs); in TEST_F()
Dgraph_execution_state.cc62 device_set_(options.device_set), in GraphExecutionState()
202 combined_options.device_set = device_set_; in Extend()
455 TF_RETURN_IF_ERROR(LookupDevice(*device_set_, feed, in PruneGraph()
475 TF_RETURN_IF_ERROR(LookupDevice(*device_set_, fetch, in PruneGraph()
493 &device_set_->client_device()->attributes(); in PruneGraph()
569 optimization_options.device_set = device_set_; in InitBaseGraph()
574 Placer placer(new_graph.get(), device_set_, /* default_device= */ nullptr, in InitBaseGraph()
684 for (const auto& device : device_set_->devices()) { in OptimizeGraph()
691 grappler::VirtualCluster cluster(device_set_); in OptimizeGraph()
785 optimization_options.device_set = device_set_; in BuildGraph()
Dcolocation_graph.cc458 device_set_(device_set), in ColocationGraph()
713 device_set_->FindMatchingDevices( in GetDevicesForNode()
733 device_set_->FindMatchingDevices(soft_device_name, &devices); in GetDevicesForNode()
756 device_set_->FindMatchingDevices(specified_device_name, in GetDevicesForNode()
762 for (const Device* device : device_set_->devices()) { in GetDevicesForNode()
810 if (device_set_->devices().empty()) { in GetDevicesForNode()
814 device_set_->devices(), members_[node_root].supported_device_types(), in GetDevicesForNode()
922 device_set_->FindDeviceByName(assigned_device_name); in InitializeMemberWithAssignedDevice()
955 for (Device* d : device_set_->devices()) { in InitializeMember()
Dgraph_execution_state.h195 const DeviceSet* device_set_; // Not owned variable
Dcolocation_graph.h244 const DeviceSet* device_set_; // Not owned. variable
Ddirect_session.cc320 device_set_.AddDevice(d); in DirectSession()
326 device_set_.set_client_device(d); in DirectSession()
370 options.device_set = &device_set_; in MaybeInitializeExecutionState()
1332 input, device_set_.client_device()->attributes(), FrameAndIter(0, 0)); in CreateExecutors()
1337 GetRendezvousKey(output, device_set_.client_device()->attributes(), in CreateExecutors()
1473 prune_options.device_set = &device_set_; in CreateGraphs()
Ddirect_session.h318 DeviceSet device_set_; variable
/external/tensorflow/tensorflow/core/grappler/clusters/
Dvirtual_cluster.h51 const DeviceSet* GetDeviceSet() const override { return device_set_; } in GetDeviceSet()
55 const DeviceSet* device_set_ = nullptr; variable
Dsingle_machine.h46 const DeviceSet* GetDeviceSet() const override { return device_set_.get(); } in GetDeviceSet()
78 std::unique_ptr<DeviceSet> device_set_; variable
Dvirtual_cluster.cc48 device_set_ = device_set; in VirtualCluster()
49 for (const auto& device : device_set_->devices()) { in VirtualCluster()
Dsingle_machine.cc372 device_set_.reset(new DeviceSet); in ResetSession()
376 device_set_->AddDevice(d); in ResetSession()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph_test.cc131 void SetDeviceSet(const DeviceSet* device_set) { device_set_ = device_set; } in SetDeviceSet()
133 const DeviceSet* GetDeviceSet() const override { return device_set_; } in GetDeviceSet()
147 const DeviceSet* device_set_; member in tensorflow::tensorrt::convert::FakeCluster