Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TFE_ContextSetExecutorForThread (0.14 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                               int expected_max_outputs,
                               std::vector<TensorHandlePtr>* outputs,
                               TF_Status* status) const {
      if (op_ == nullptr) {
        TFE_ContextSetExecutorForThread(context, executor_.get());
        op_.reset(TFE_NewOp(context, operation_name, status));
        if (TF_GetCode(status) != TF_OK) return;
        TFE_OpSetDevice(op_.get(), device_.c_str(), status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

      status->status = executor->executor()->WaitForAllPendingNodes();
    }
    
    void TFE_ExecutorClearError(TFE_Executor* executor) {
      executor->executor()->ClearError();
    }
    
    void TFE_ContextSetExecutorForThread(TFE_Context* ctx, TFE_Executor* executor) {
      tensorflow::unwrap(ctx)->SetExecutorForThread(executor->executor());
    }
    
    TFE_Executor* TFE_ContextGetExecutorForThread(TFE_Context* ctx) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top