Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for AddDevices (0.07 seconds)

  1. tensorflow/c/eager/immediate_execution_context.h

      // Add `devices` into context's device manager. Context's device manager
      // will take ownership and maintain devices' lifetime.
      virtual absl::Status AddDevices(
          std::vector<std::unique_ptr<Device>> devices) = 0;
    
      // Block until all pending nodes are finished.
      virtual absl::Status AsyncWait() = 0;
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  2. tensorflow/c/eager/c_api_experimental.cc

        if (absl::StrContains(d->get()->name(), "CPU:0")) {
          d = devices.erase(d);
        } else {
          ++d;
        }
      }
    
      status->status = tensorflow::unwrap(ctx)->AddDevices(std::move(devices));
    }
    
    void TFE_InsertConfigKeyValue(TFE_Context* ctx, const char* key,
                                  const char* value, TF_Status* status) {
    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)
  3. tensorflow/c/eager/c_api.cc

        status->status = tensorflow::errors::Unimplemented("TFRT is not supported");
        return nullptr;
      }
      std::vector<std::unique_ptr<tensorflow::Device>> devices;
      status->status = tensorflow::DeviceFactory::AddDevices(
          opts->session_options.options, "/job:localhost/replica:0/task:0",
          &devices);
      if (!status->status.ok()) return nullptr;
      std::unique_ptr<tensorflow::DeviceMgr> device_mgr(
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Nov 07 05:55:21 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  4. RELEASE.md

        `state_is_tuple=True`. For a quick fix while transitioning to the new
        default, simply pass the argument `state_is_tuple=False`.
    *   DeviceFactory's AddDevices and CreateDevices functions now return a Status
        instead of void.
    *   Int32 elements of list(type) arguments are no longer placed in host memory
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
Back to Top