Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetExecutorForThread (0.32 sec)

  1. tensorflow/c/eager/immediate_execution_context.h

      // Executor is only used in current TF but not in TFRT.
      virtual EagerExecutor& Executor() = 0;
      // Update the Eager Executor for current thread.
      virtual void SetExecutorForThread(EagerExecutor* executor) = 0;
    
      // Return a list of local tensorflow::Device*.
      // TODO(tfrt-devs): We shouldn't expose legacy device in this API.
      virtual std::vector<tensorflow::Device*> ListLocalTfDevices() = 0;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

    }
    
    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) {
      return new TFE_Executor(&tensorflow::unwrap(ctx)->Executor());
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
Back to top