Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_DeviceListMemoryBytes (0.12 sec)

  1. tensorflow/c/c_api.h

    // Retrieve the amount of memory associated with a given device.
    //
    // If index is out of bounds, an error code will be set in the status object,
    // and -1 will be returned.
    TF_CAPI_EXPORT extern int64_t TF_DeviceListMemoryBytes(
        const TF_DeviceList* list, int index, TF_Status* status);
    
    // Retrieve the incarnation number of a given device.
    //
    // If index is out of bounds, an error code will be set in the status object,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

    TF_DEVICELIST_METHOD(const char*, TF_DeviceListName, name().c_str(), nullptr);
    TF_DEVICELIST_METHOD(const char*, TF_DeviceListType, device_type().c_str(),
                         nullptr);
    TF_DEVICELIST_METHOD(int64_t, TF_DeviceListMemoryBytes, memory_limit(), -1);
    TF_DEVICELIST_METHOD(uint64_t, TF_DeviceListIncarnation, incarnation(), 0);
    
    #undef TF_DEVICELIST_METHOD
    
    }  // end extern "C"
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top