Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AddDevices (0.2 sec)

  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;
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.3K bytes
    - Viewed (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) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (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(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (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
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top