Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetDevicePlacementPolicy (0.25 sec)

  1. tensorflow/c/eager/immediate_execution_context.h

      virtual void SetThreadLocalDevicePlacementPolicy(
          ContextDevicePlacementPolicy policy) = 0;
      // Returns the device placement policy for the current thread.
      virtual ContextDevicePlacementPolicy GetDevicePlacementPolicy() const = 0;
    
      // Configure graph collection in RunMetadata.
      virtual void SetShouldStoreGraphs(bool value) = 0;
    
      // Return the collected RunMetadata. This method will transfer the ownership
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 08:34:00 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

    extern TFE_ContextDevicePlacementPolicy TFE_ContextGetDevicePlacementPolicy(
        TFE_Context* ctx) {
      return static_cast<TFE_ContextDevicePlacementPolicy>(
          tensorflow::unwrap(ctx)->GetDevicePlacementPolicy());
    }
    
    TFE_TensorHandle* TFE_NewTensorHandle(const TF_Tensor* t, TF_Status* status) {
      tensorflow::Tensor tensor;
      status->status = tensorflow::TF_TensorToTensor(t, &tensor);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top