Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/c_api_experimental_test.cc

      TF_DeleteTensor(tensor_1X1X6);
      TF_DeleteTensor(tensor_1X6);
    }
    
    TEST(CAPI_EXPERIMENTAL, LibraryPluggableDeviceLoadFunctions) {
      // TODO(penpornk): Enable this test on Windows.
    #if !defined(PLATFORM_WINDOWS)
    #if !defined(TENSORFLOW_NO_SHARED_OBJECTS)
      // Load the library.
      TF_Status* status = TF_NewStatus();
      string lib_path =
          tensorflow::GetDataDependencyFilepath(tensorflow::io::JoinPath(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_experimental_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      ASSERT_EQ(0, device_id) << device_id;
    
      // Disable the test if no GPU is present.
      string gpu_device_name;
      if (GetDeviceName(ctx, &gpu_device_name, "GPU")) {
        TFE_TensorHandle* hgpu = TFE_TensorHandleCopyToDevice(
            hcpu, ctx, gpu_device_name.c_str(), status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
Back to top