Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TFE_ContextSetSoftDevicePlacement (0.13 seconds)

  1. tensorflow/c/eager/c_api_experimental.cc

      status->status = tensorflow::TensorHandle::CreatePackedHandle(
          std::move(tensor_handles), context, &handle);
      return tensorflow::wrap(handle);
    }
    
    void TFE_ContextSetSoftDevicePlacement(TFE_Context* ctx, unsigned char enable,
                                           TF_Status* status) {
      tensorflow::unwrap(ctx)->SetAllowSoftPlacement(enable);
    }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 35.9K bytes
    - Click Count (0)
  2. tensorflow/c/eager/c_api_experimental.h

        TF_Status* status);
    
    // 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);
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
Back to Top