Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/client/
Dsession_list_devices_test.py47 size = tf_session.TF_DeviceListCount(raw_device_list)
Dsession.py735 size = tf_session.TF_DeviceListCount(raw_device_list)
Dtf_session_wrapper.cc1050 [](const TF_DeviceList* list) { return TF_DeviceListCount(list); }); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/c/eager/
Dc_api_test_util.cc214 const int num_devices = TF_DeviceListCount(devices); in GetDeviceName()
Dc_api_test.cc142 const int num_devices = TF_DeviceListCount(devices); in TEST()
185 const int num_devices = TF_DeviceListCount(devices); in TensorHandleCopyBetweenDevices()
302 const int num_devices = TF_DeviceListCount(devices); in TensorHandleCopyBetweenTwoGPUDevices()
Dc_api_experimental_test.cc515 int num_devices = TF_DeviceListCount(devices); in TEST()
/external/tensorflow/tensorflow/go/
Dsession.go87 for i := 0; i < int(C.TF_DeviceListCount(list)); i++ {
/external/tensorflow/tensorflow/c/
Dc_api.h1386 TF_CAPI_EXPORT extern int TF_DeviceListCount(const TF_DeviceList* list);
Dc_api.cc603 int TF_DeviceListCount(const TF_DeviceList* list) { in TF_DeviceListCount() function
Dc_api_test.cc76 const int num_devices = TF_DeviceListCount(device_list); in GPUDeviceName()
/external/tensorflow/tensorflow/python/
Dtfe_wrapper.cc774 m.def("TF_DeviceListCount", &TF_DeviceListCount); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/python/eager/
Dcontext.py471 for i in range(pywrap_tfe.TF_DeviceListCount(device_list)):