Depending on "inference_calculator_cpu" when the mediapipe tasks can only support cpu inference.

PiperOrigin-RevId: 492205954
This commit is contained in:
Jiuqiang Tang 2022-12-01 08:41:33 -08:00 committed by Copybara-Service
parent e7eee27c1c
commit 3ee37800e2
4 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@ cc_library(
"//mediapipe/calculators/core:side_packet_to_stream_calculator",
"//mediapipe/calculators/tensor:audio_to_tensor_calculator",
"//mediapipe/calculators/tensor:audio_to_tensor_calculator_cc_proto",
"//mediapipe/calculators/tensor:inference_calculator",
"//mediapipe/calculators/tensor:inference_calculator_cpu",
"//mediapipe/framework:calculator_cc_proto",
"//mediapipe/framework:calculator_framework",
"//mediapipe/framework/api2:builder",

View File

@ -56,7 +56,7 @@ cc_library(
"//mediapipe/calculators/core:side_packet_to_stream_calculator",
"//mediapipe/calculators/tensor:audio_to_tensor_calculator",
"//mediapipe/calculators/tensor:audio_to_tensor_calculator_cc_proto",
"//mediapipe/calculators/tensor:inference_calculator",
"//mediapipe/calculators/tensor:inference_calculator_cpu",
"//mediapipe/framework:calculator_cc_proto",
"//mediapipe/framework:calculator_framework",
"//mediapipe/framework/api2:builder",

View File

@ -47,7 +47,7 @@ cc_library(
name = "text_classifier_graph",
srcs = ["text_classifier_graph.cc"],
deps = [
"//mediapipe/calculators/tensor:inference_calculator",
"//mediapipe/calculators/tensor:inference_calculator_cpu",
"//mediapipe/framework:calculator_cc_proto",
"//mediapipe/framework:calculator_framework",
"//mediapipe/framework/api2:builder",

View File

@ -48,8 +48,8 @@ cc_library(
name = "text_embedder_graph",
srcs = ["text_embedder_graph.cc"],
deps = [
"//mediapipe/calculators/tensor:inference_calculator",
"//mediapipe/calculators/tensor:inference_calculator_cc_proto",
"//mediapipe/calculators/tensor:inference_calculator_cpu",
"//mediapipe/framework:calculator_cc_proto",
"//mediapipe/framework:calculator_framework",
"//mediapipe/framework/api2:builder",