Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetAllowSoftPlacement (0.34 sec)

  1. tensorflow/c/eager/immediate_execution_context.h

      virtual const DeviceNameUtils::ParsedName& HostCPUParsedName() const = 0;
      virtual const string& HostCPUName() const = 0;
    
      // Configure soft device placement policy.
      virtual void SetAllowSoftPlacement(bool enable) = 0;
    
      // Configure device placement policy logging.
      virtual void SetLogDevicePlacement(bool enable) = 0;
    
      // Enables running eager ops as functions.
    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_experimental.cc

      return tensorflow::wrap(handle);
    }
    
    void TFE_ContextSetSoftDevicePlacement(TFE_Context* ctx, unsigned char enable,
                                           TF_Status* status) {
      tensorflow::unwrap(ctx)->SetAllowSoftPlacement(enable);
    }
    
    void TFE_ContextSetLogDevicePlacement(TFE_Context* ctx, unsigned char enable,
                                          TF_Status* status) {
      tensorflow::unwrap(ctx)->SetLogDevicePlacement(enable);
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top