Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for policy (0.17 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    // Configure soft device placement policy for the eager executor. Note this
    // policy is applied to any subsequent op executions.
    TF_CAPI_EXPORT void TFE_ContextSetSoftDevicePlacement(TFE_Context* ctx,
                                                          unsigned char enable,
                                                          TF_Status* status);
    
    // Configure device placement policy logging for the eager executor. Note this
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_context.h

      // Enables rewriting jit_compile functions.
      virtual void SetJitCompileRewrite(bool enable) = 0;
    
      // Sets the device placement policy for the current thread.
      virtual void SetThreadLocalDevicePlacementPolicy(
          ContextDevicePlacementPolicy policy) = 0;
      // Returns the device placement policy for the current thread.
      virtual ContextDevicePlacementPolicy GetDevicePlacementPolicy() const = 0;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    // ops.
    TF_CAPI_EXPORT extern void TFE_ContextClearCaches(TFE_Context* ctx);
    
    // Sets a thread-local device placement policy. After this call, other calls to
    // TFE_Execute in the same thread will use the device policy specified here
    // instead of the device policy used to construct the context. This has no
    // effect on the device policy used by other program threads.
    TF_CAPI_EXPORT extern void TFE_ContextSetThreadLocalDevicePlacementPolicy(
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_internal.h

    // c_api_experimental.h
    struct TFE_ContextOptions {
      TF_SessionOptions session_options;
      // true if async execution is enabled.
      bool async = false;
      TFE_ContextDevicePlacementPolicy device_placement_policy{
          TFE_DEVICE_PLACEMENT_SILENT};
      // If true, use TFRT backend
      bool use_tfrt = false;
      // Whether to run elementary eager ops wrapped in a call op.
      bool run_eager_op_as_function = false;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 18 19:26:34 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top