Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for policy (0.19 sec)

  1. 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  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 30 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.cc

      options->async = enable;
    }
    
    void TFE_ContextOptionsSetDevicePlacementPolicy(
        TFE_ContextOptions* options, TFE_ContextDevicePlacementPolicy policy) {
      options->device_placement_policy = policy;
    }
    
    void TFE_DeleteContextOptions(TFE_ContextOptions* options) { delete options; }
    
    TFE_Context* TFE_NewContext(const TFE_ContextOptions* opts, TF_Status* status) {
      if (opts->use_tfrt) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  4. 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 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

              "GraphOperation::Reset must be called before calling SetOpName.");
        }
        // TODO(b/145674566): We use Graph::NewName to get a unique name here but
        // this may not be consistent with python's naming policy.
        mutex_lock l(g_->mu);
        op_.reset(new TF_OperationDescription(g_, op_type_.c_str(),
                                              g_->graph.NewName(op_name).c_str()));
        return absl::OkStatus();
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  6. ci/devinfra/docker_windows/Dockerfile

    FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019
    
    # Set default powershell policy for this script (ProgressPreference='SilentlyContinue' makes
    # downloads with Invoke-WebRequest not show the progress bar and is MUCH faster).
    SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", "$ErrorActionPreference='Stop'; $ProgressPreference='SilentlyContinue'; $VerbosePreference = 'Continue';"]
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
Back to top