Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for decltype (0.29 sec)

  1. tensorflow/c/eager/c_api_test.cc

        EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      }
      TF_DeleteDeviceList(devices);
      TF_DeleteStatus(status);
    }
    
    TEST(CAPI, TensorHandle) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_test.cc

    // there are more than one), or "" otherwise.
    string GPUDeviceName(TF_Session* session) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TF_Status* s = status.get();
      std::unique_ptr<TF_DeviceList, decltype(&TF_DeleteDeviceList)> list(
          TF_SessionListDevices(session, s), TF_DeleteDeviceList);
      TF_DeviceList* device_list = list.get();
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top