Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AsyncWait (0.06 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

            expected_max_outputs, cancellation_manager, step_id);
      }
    }
    
    void ParallelDevice::AsyncWait(TFE_Context* context, TF_Status* status) const {
      StatusPtr first_bad_status(nullptr);
    
      for (const auto& dt : device_threads_) {
        StatusPtr async_wait_status(TF_NewStatus());
        dt->AsyncWait(async_wait_status.get());
        // Prefer non cancelled errors to uncover real failures.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_context.h

      virtual absl::Status AddDevices(
          std::vector<std::unique_ptr<Device>> devices) = 0;
    
      // Block until all pending nodes are finished.
      virtual absl::Status AsyncWait() = 0;
    
      // Add a function (serialized FunctionDef protocol buffer) so that it can
      // be executed as an op. Return error if the function with the same name
      // already exists.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      absl::optional<std::vector<std::unique_ptr<ParallelTensor>>> Join(
          const std::vector<PartialTensorShape>& expected_output_shapes,
          TF_Status* status) const;
    
      void AsyncWait(TFE_Context* context, TF_Status* status) const;
    
      // Device strings for component devices that only include a
      // worker/task/replica if any of those differ across components. Useful for
      // printing debug messages.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.cc

    #if defined(IS_MOBILE_PLATFORM)
      status->status = tensorflow::OkStatus();
    #else   // !defined(IS_MOBILE_PLATFORM)
      status->status = tensorflow::unwrap(ctx)->AsyncWait();
    #endif  // !IS_MOBILE_PLATFORM
    }
    
    void TFE_ContextSetThreadLocalDevicePlacementPolicy(
        TFE_Context* ctx, TFE_ContextDevicePlacementPolicy policy) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top