- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TF_DeprecatedSessionListDevices (0.17 seconds)
-
tensorflow/c/c_api.h
// Lists all devices in a TF_Session. // // Caller takes ownership of the returned TF_DeviceList* which must eventually // be freed with a call to TF_DeleteDeviceList. TF_CAPI_EXPORT extern TF_DeviceList* TF_DeprecatedSessionListDevices( TF_DeprecatedSession* session, TF_Status* status); // Deallocates the device list. TF_CAPI_EXPORT extern void TF_DeleteDeviceList(TF_DeviceList* list);Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
tensorflow/c/c_api.cc
TF_DeviceList* response = new TF_DeviceList; if (session && session->session) status->status = session->session->ListDevices(&response->response); return response; } TF_DeviceList* TF_DeprecatedSessionListDevices(TF_DeprecatedSession* session, TF_Status* status) { TF_DeviceList* response = new TF_DeviceList; if (session && session->session)
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0)