Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Hare (0.21 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_TRUE(absl::StrContains(s, expected))
          << "'" << s << "' does not contain '" << expected << "'";
    }
    
    // Returns the GPU device name if there is one (with arbitrary tie breaking if
    // 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();
    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)
  2. tensorflow/c/eager/c_api_test.cc

        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag << " -- " << TF_Message(status.get());
          continue;
        }
        TFE_DeleteTensorHandle(hdevice2);
    
        // Ensure that the contents are the same!
        TF_Tensor* tcopy = TFE_TensorHandleResolve(hcopy, status.get());
        TFE_DeleteTensorHandle(hcopy);
        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag;
          continue;
        }
    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)
Back to top