Project import generated by Copybara.

GitOrigin-RevId: d073f8e21be2fcc0e503cb97c6695078b6b75310
This commit is contained in:
MediaPipe Team
2021-02-27 03:30:05 -05:00
committed by chuoling
parent 39309bedba
commit 350fbb2100
755 changed files with 16391 additions and 11075 deletions
+2 -2
View File
@@ -25,12 +25,12 @@
namespace mediapipe {
// static
mediapipe::StatusOr<Executor*> ThreadPoolExecutor::Create(
absl::StatusOr<Executor*> ThreadPoolExecutor::Create(
const MediaPipeOptions& extendable_options) {
auto& options =
extendable_options.GetExtension(ThreadPoolExecutorOptions::ext);
if (!options.has_num_threads()) {
return mediapipe::InvalidArgumentError(
return absl::InvalidArgumentError(
"num_threads is not specified in ThreadPoolExecutorOptions.");
}
if (options.num_threads() <= 0) {