Home
last modified time | relevance | path

Searched refs:ListDevices (Results 1 – 25 of 57) sorted by relevance

123

/external/tensorflow/tensorflow/python/client/
Ddevice_lib.i74 std::vector<string> ListDevices(TF_Status* out_status) { in ListDevices() function
89 %unignore tensorflow::swig::ListDevices;
94 std::vector<string> ListDevices(TF_Status* out_status);
109 return ListDevices(status)
Dsession_ref.cc246 RUN_WITH_TIMESTAMP(ListDevices, response); in RecordListDevices()
444 Status SessionRef::ListDevices(std::vector<DeviceAttributes>* response) { in ListDevices() function in tensorflow::SessionRef
445 LOG_AND_RUN_OPERATION(ListDevices, response); in ListDevices()
Dsession_ref.h46 Status ListDevices(std::vector<DeviceAttributes>* response) override;
/external/tensorflow/tensorflow/core/distributed_runtime/
Dsession_mgr_test.cc51 env_.local_devices = device_mgr_->ListDevices(); in SessionMgrTest()
115 std::vector<Device*> devices_1 = session_1->device_mgr()->ListDevices(); in TEST_F()
121 std::vector<Device*> devices_2 = session_2->device_mgr()->ListDevices(); in TEST_F()
127 std::vector<Device*> devices_3 = session_3->device_mgr()->ListDevices(); in TEST_F()
133 std::vector<Device*> devices_4 = session_4->device_mgr()->ListDevices(); in TEST_F()
Dlocal_master.cc132 Status LocalMaster::ListDevices(CallOptions* call_options, in ListDevices() function in tensorflow::LocalMaster
137 master_impl_->ListDevices(request, response, [&n, &ret](const Status& s) { in ListDevices()
Dmaster.h59 void ListDevices(const ListDevicesRequest* req, ListDevicesResponse* resp,
Dlocal_master.h66 Status ListDevices(CallOptions* call_options,
Dmaster_interface.h88 virtual Status ListDevices(CallOptions* call_options,
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine.cc84 TF_RETURN_IF_ERROR(session_->ListDevices(&devices)); in Provision()
226 std::vector<Device*> devices = device_mgr->ListDevices(); in GetPeakMemoryUsage()
375 for (auto d : device_mgr->ListDevices()) { in ResetSession()
455 std::vector<Device*> devices = device_mgr->ListDevices(); in ClearAllocatorStats()
/external/tensorflow/tensorflow/core/common_runtime/data/
Dstandalone.cc52 Device* device = device_mgr->ListDevices()[0]; in FromGraph()
94 op_params.device = device_mgr_->ListDevices()[0]; in MakeIterator()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_master_service.cc112 ENQUEUE_REQUEST(ListDevices, false); in HandleRPCsLoop()
229 master_impl_->ListDevices(&call->request, &call->response, in ListDevicesHandler()
233 ENQUEUE_REQUEST(ListDevices, false); in ListDevicesHandler()
Dgrpc_remote_master.cc79 Status ListDevices(CallOptions* call_options, in ListDevices() function in tensorflow::GrpcRemoteMaster
83 &MasterServiceStub::ListDevices); in ListDevices()
Dgrpc_master_service_impl.h58 virtual ::grpc::Status ListDevices(::grpc::ClientContext* context,
92 ::grpc::Status ListDevices(::grpc::ClientContext* context,
Dgrpc_testlib.cc79 TF_RETURN_IF_ERROR(session->ListDevices(&ret->devices_)); in MakeTestCluster()
/external/tensorflow/tensorflow/python/grappler/
Dgraph_placer_test.py117 available_devices = [device.name for device in gcluster.ListDevices()]
134 available_devices = [device.name for device in gcluster.ListDevices()]
Dcluster.py73 def ListDevices(self): member in Cluster
Dcontroller.py56 self.devices = cluster.ListDevices()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc59 devices_(device_mgr->ListDevices()), in EagerContext()
103 for (auto* device : remote_device_manager_->ListDevices()) { in InitDeviceMapAndAsync()
438 devices_ = local_unowned_device_manager_->ListDevices(); in StoreCollectiveOpsServer()
481 devices_ = local_unowned_device_manager_->ListDevices(); in InitializeRemote()
/external/tensorflow/tensorflow/go/
Dcontext_test.go41 devs, err := c.ListDevices()
Dcontext.go101 func (c *Context) ListDevices() ([]Device, error) { func
/external/tensorflow/tensorflow/core/common_runtime/
Ddevice_mgr.h49 std::vector<Device*> ListDevices() const;
Dcollective_util.cc46 for (auto d : dev_mgr->ListDevices()) { in InitializeDeviceAndLocality()
Ddevice_mgr.cc70 std::vector<Device*> DeviceMgr::ListDevices() const { in ListDevices() function in tensorflow::DeviceMgr
/external/tensorflow/tensorflow/core/public/
Dsession.h180 virtual Status ListDevices(std::vector<DeviceAttributes>* response) = 0;
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfused_batchnorm_reserve_space_test.cc33 TF_RETURN_IF_ERROR(session->ListDevices(&devices)); in GetTestDevice()

123