Updated the Begin/EndLoopCalculator to be able to handle mediapipe::Tensor

type.

PiperOrigin-RevId: 508552066
This commit is contained in:
MediaPipe Team
2023-02-09 20:33:40 -08:00
committed by Copybara-Service
parent 8a49a5f822
commit d61b7dbef8
6 changed files with 131 additions and 13 deletions
+4
View File
@@ -198,6 +198,7 @@ cc_library(
"//mediapipe/framework/formats:landmark_cc_proto",
"//mediapipe/framework/formats:matrix",
"//mediapipe/framework/formats:rect_cc_proto",
"//mediapipe/framework/formats:tensor",
"//mediapipe/framework/port:integral_types",
"//mediapipe/framework/port:ret_check",
"//mediapipe/framework/port:status",
@@ -220,6 +221,7 @@ cc_library(
"//mediapipe/framework/formats:landmark_cc_proto",
"//mediapipe/framework/formats:matrix",
"//mediapipe/framework/formats:rect_cc_proto",
"//mediapipe/framework/formats:tensor",
"//mediapipe/framework/port:integral_types",
"//mediapipe/framework/port:ret_check",
"//mediapipe/framework/port:status",
@@ -236,10 +238,12 @@ cc_test(
":begin_loop_calculator",
":end_loop_calculator",
":gate_calculator",
":pass_through_calculator",
"//mediapipe/framework:calculator_context",
"//mediapipe/framework:calculator_contract",
"//mediapipe/framework:calculator_framework",
"//mediapipe/framework:packet",
"//mediapipe/framework/formats:tensor",
"//mediapipe/framework/port:gtest_main",
"//mediapipe/framework/port:integral_types",
"//mediapipe/framework/port:parse_text_proto",