Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for TFE_ExecutorClearError (0.1 seconds)

  1. tensorflow/c/eager/c_api_experimental.cc

    }
    
    void TFE_ExecutorWaitForAllPendingNodes(TFE_Executor* executor,
                                            TF_Status* status) {
      status->status = executor->executor()->WaitForAllPendingNodes();
    }
    
    void TFE_ExecutorClearError(TFE_Executor* executor) {
      executor->executor()->ClearError();
    }
    
    void TFE_ContextSetExecutorForThread(TFE_Context* ctx, TFE_Executor* executor) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 35.9K bytes
    - Click Count (0)
  2. tensorflow/c/eager/c_api_experimental.h

    //
    // Note that outputs of discarded ops remain in a corrupt state and should not
    // be used for future calls.
    // TODO(agarwal): mark the affected handles and raise errors if they are used.
    TF_CAPI_EXPORT extern void TFE_ExecutorClearError(TFE_Executor*);
    
    // Sets a custom Executor for the current thread. All nodes created by this
    // thread will be added to this Executor. It will override the current executor.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
  3. tensorflow/c/eager/c_api_test.cc

        EXPECT_NE(TF_OK, TF_GetCode(status));
        TF_SetStatus(status, TF_OK, "");
        retvals[0] = nullptr;
        TFE_Execute(matmul2, &retvals[0], &num_retvals, status);
        EXPECT_NE(TF_OK, TF_GetCode(status));
        TFE_ExecutorClearError(executor);
        TFE_ExecutorWaitForAllPendingNodes(executor, status);
        ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_DeleteExecutor(executor);
      }
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
Back to Top