Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for above (0.15 sec)

  1. tensorflow/c/eager/c_api.cc

    }
    
    // This function will block till the operation that produces `h` has
    // completed. This is only valid on local TFE_TensorHandles. Returns the size in
    // bytes of the memory pointed to by the device pointer returned above.
    size_t TFE_TensorHandleDeviceMemorySize(TFE_TensorHandle* h,
                                            TF_Status* status) {
      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  2. tensorflow/c/eager/c_api_unified_experimental_test.cc

      TF_ExecutionContextGetTFEContext(graph_ctx, status.get());
      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get()));
    
      TF_DeleteExecutionContext(graph_ctx);
    }
    
    // The above tests are run for a combination of:
    // - graphdef and MLIR tracing engine
    INSTANTIATE_TEST_SUITE_P(Tracing, UnifiedCAPI,
                             ::testing::Combine(::testing::Values("graphdef",
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
Back to top