Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

      std::vector<std::unique_ptr<ParallelTensor>> parallel_results(
          std::move(maybe_parallel_results.value()));
      std::vector<MaybeParallelTensorOwned> result_content;
      result_content.reserve(parallel_results.size());
      for (std::unique_ptr<ParallelTensor>& parallel_result : parallel_results) {
        result_content.push_back(
            MaybeParallelTensorOwned(std::move(parallel_result)));
      }
      result.emplace(std::move(result_content));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
      ASSERT_EQ(outputs->size(), 1);
      ParallelTensor* parallel_result = (*outputs)[0].get();
      ExpectScalarEq<float>(parallel_result->tensor(0), 3.);
      ExpectScalarEq<float>(parallel_result->tensor(1), 3.);
    
      run_collective = parallel_device.ScalarsFromSequence<bool>(
          {true, false}, context.get(), status.get());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top