Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TFE_SetLogicalCpuDevices (0.17 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

      buf->length = op_names_str.length();
      buf->data_deallocator = [](void* data, size_t length) {
        tensorflow::port::Free(data);
      };
      status->status = absl::OkStatus();
    }
    
    void TFE_SetLogicalCpuDevices(TFE_Context* ctx, int num_cpus,
                                  const char* prefix, TF_Status* status) {
      std::vector<std::unique_ptr<tensorflow::Device>> devices;
    
      if (prefix == nullptr || strlen(prefix) == 0)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.h

    // Set logical devices to the context's device manager.
    // If logical devices are already configured at context initialization
    // through TFE_ContextOptions, this method should not be called.
    TF_CAPI_EXPORT extern void TFE_SetLogicalCpuDevices(TFE_Context* ctx,
                                                        int num_cpus,
                                                        const char* prefix,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
Back to top