Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AsyncWait (0.18 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.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  2. 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.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/immediate_execution_context.h

      // will take ownership and maintain devices' lifetime.
      virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0;
    
      // Block until all pending nodes are finished.
      virtual 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.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K 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) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top