Retire the visibility group "//mediapipe/framework:mediapipe_internal" in the "mediapipe/calculators/tensor" dir.
PiperOrigin-RevId: 493895834
This commit is contained in:
parent
9ae2e43b70
commit
13f8fa5139
|
@ -24,7 +24,7 @@ load("//mediapipe/framework:encode_binary_proto.bzl", "encode_binary_proto")
|
||||||
|
|
||||||
licenses(["notice"])
|
licenses(["notice"])
|
||||||
|
|
||||||
package(default_visibility = ["//visibility:private"])
|
package(default_visibility = ["//visibility:public"])
|
||||||
|
|
||||||
exports_files(
|
exports_files(
|
||||||
glob(["testdata/image_to_tensor/*"]),
|
glob(["testdata/image_to_tensor/*"]),
|
||||||
|
@ -44,9 +44,6 @@ selects.config_setting_group(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "audio_to_tensor_calculator_proto",
|
name = "audio_to_tensor_calculator_proto",
|
||||||
srcs = ["audio_to_tensor_calculator.proto"],
|
srcs = ["audio_to_tensor_calculator.proto"],
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -64,9 +61,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":audio_to_tensor_calculator_cc_proto",
|
":audio_to_tensor_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -113,9 +107,6 @@ cc_test(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "tensors_to_audio_calculator_proto",
|
name = "tensors_to_audio_calculator_proto",
|
||||||
srcs = ["tensors_to_audio_calculator.proto"],
|
srcs = ["tensors_to_audio_calculator.proto"],
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -125,9 +116,6 @@ mediapipe_proto_library(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "tensors_to_audio_calculator",
|
name = "tensors_to_audio_calculator",
|
||||||
srcs = ["tensors_to_audio_calculator.cc"],
|
srcs = ["tensors_to_audio_calculator.cc"],
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":tensors_to_audio_calculator_cc_proto",
|
":tensors_to_audio_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -164,9 +152,6 @@ cc_test(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "feedback_tensors_calculator_proto",
|
name = "feedback_tensors_calculator_proto",
|
||||||
srcs = ["feedback_tensors_calculator.proto"],
|
srcs = ["feedback_tensors_calculator.proto"],
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -184,9 +169,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":feedback_tensors_calculator_cc_proto",
|
":feedback_tensors_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -216,9 +198,6 @@ cc_test(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "bert_preprocessor_calculator_proto",
|
name = "bert_preprocessor_calculator_proto",
|
||||||
srcs = ["bert_preprocessor_calculator.proto"],
|
srcs = ["bert_preprocessor_calculator.proto"],
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -228,9 +207,6 @@ mediapipe_proto_library(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "bert_preprocessor_calculator",
|
name = "bert_preprocessor_calculator",
|
||||||
srcs = ["bert_preprocessor_calculator.cc"],
|
srcs = ["bert_preprocessor_calculator.cc"],
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":bert_preprocessor_calculator_cc_proto",
|
":bert_preprocessor_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -274,9 +250,6 @@ cc_test(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "regex_preprocessor_calculator_proto",
|
name = "regex_preprocessor_calculator_proto",
|
||||||
srcs = ["regex_preprocessor_calculator.proto"],
|
srcs = ["regex_preprocessor_calculator.proto"],
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -286,9 +259,6 @@ mediapipe_proto_library(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "regex_preprocessor_calculator",
|
name = "regex_preprocessor_calculator",
|
||||||
srcs = ["regex_preprocessor_calculator.cc"],
|
srcs = ["regex_preprocessor_calculator.cc"],
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":regex_preprocessor_calculator_cc_proto",
|
":regex_preprocessor_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -330,9 +300,6 @@ cc_test(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "text_to_tensor_calculator",
|
name = "text_to_tensor_calculator",
|
||||||
srcs = ["text_to_tensor_calculator.cc"],
|
srcs = ["text_to_tensor_calculator.cc"],
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_context",
|
"//mediapipe/framework:calculator_context",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -366,9 +333,6 @@ cc_test(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "universal_sentence_encoder_preprocessor_calculator",
|
name = "universal_sentence_encoder_preprocessor_calculator",
|
||||||
srcs = ["universal_sentence_encoder_preprocessor_calculator.cc"],
|
srcs = ["universal_sentence_encoder_preprocessor_calculator.cc"],
|
||||||
visibility = [
|
|
||||||
"//mediapipe/framework:mediapipe_internal",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_context",
|
"//mediapipe/framework:calculator_context",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -408,7 +372,6 @@ cc_test(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "inference_calculator_proto",
|
name = "inference_calculator_proto",
|
||||||
srcs = ["inference_calculator.proto"],
|
srcs = ["inference_calculator.proto"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -435,7 +398,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":inference_calculator_cc_proto",
|
":inference_calculator_cc_proto",
|
||||||
":inference_calculator_options_lib",
|
":inference_calculator_options_lib",
|
||||||
|
@ -460,7 +422,6 @@ cc_library(
|
||||||
name = "inference_calculator_gl",
|
name = "inference_calculator_gl",
|
||||||
srcs = ["inference_calculator_gl.cc"],
|
srcs = ["inference_calculator_gl.cc"],
|
||||||
tags = ["nomac"], # config problem with cpuinfo via TF
|
tags = ["nomac"], # config problem with cpuinfo via TF
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":inference_calculator_cc_proto",
|
":inference_calculator_cc_proto",
|
||||||
":inference_calculator_interface",
|
":inference_calculator_interface",
|
||||||
|
@ -478,7 +439,6 @@ cc_library(
|
||||||
name = "inference_calculator_gl_advanced",
|
name = "inference_calculator_gl_advanced",
|
||||||
srcs = ["inference_calculator_gl_advanced.cc"],
|
srcs = ["inference_calculator_gl_advanced.cc"],
|
||||||
tags = ["nomac"],
|
tags = ["nomac"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":inference_calculator_interface",
|
":inference_calculator_interface",
|
||||||
"@com_google_absl//absl/memory",
|
"@com_google_absl//absl/memory",
|
||||||
|
@ -509,7 +469,6 @@ cc_library(
|
||||||
"-framework MetalKit",
|
"-framework MetalKit",
|
||||||
],
|
],
|
||||||
tags = ["ios"],
|
tags = ["ios"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"inference_calculator_interface",
|
"inference_calculator_interface",
|
||||||
"//mediapipe/gpu:MPPMetalHelper",
|
"//mediapipe/gpu:MPPMetalHelper",
|
||||||
|
@ -538,7 +497,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_context",
|
"//mediapipe/framework:calculator_context",
|
||||||
"//mediapipe/framework/formats:tensor",
|
"//mediapipe/framework/formats:tensor",
|
||||||
|
@ -558,7 +516,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":inference_runner",
|
":inference_runner",
|
||||||
"//mediapipe/framework:mediapipe_profiling",
|
"//mediapipe/framework:mediapipe_profiling",
|
||||||
|
@ -588,7 +545,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":inference_calculator_interface",
|
":inference_calculator_interface",
|
||||||
":inference_calculator_utils",
|
":inference_calculator_utils",
|
||||||
|
@ -635,7 +591,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":inference_calculator_interface",
|
":inference_calculator_interface",
|
||||||
":inference_calculator_utils",
|
":inference_calculator_utils",
|
||||||
|
@ -651,7 +606,6 @@ cc_library(
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "inference_calculator_gl_if_compute_shader_available",
|
name = "inference_calculator_gl_if_compute_shader_available",
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = selects.with_or({
|
deps = selects.with_or({
|
||||||
":compute_shader_unavailable": [],
|
":compute_shader_unavailable": [],
|
||||||
"//conditions:default": [
|
"//conditions:default": [
|
||||||
|
@ -667,7 +621,6 @@ cc_library(
|
||||||
# inference_calculator_interface.
|
# inference_calculator_interface.
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "inference_calculator",
|
name = "inference_calculator",
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":inference_calculator_interface",
|
":inference_calculator_interface",
|
||||||
":inference_calculator_cpu",
|
":inference_calculator_cpu",
|
||||||
|
@ -681,7 +634,6 @@ cc_library(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "tensor_converter_calculator_proto",
|
name = "tensor_converter_calculator_proto",
|
||||||
srcs = ["tensor_converter_calculator.proto"],
|
srcs = ["tensor_converter_calculator.proto"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -706,7 +658,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":tensor_converter_calculator_cc_proto",
|
":tensor_converter_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -725,6 +676,7 @@ cc_library(
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "tensor_converter_calculator_gpu_deps",
|
name = "tensor_converter_calculator_gpu_deps",
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = select({
|
deps = select({
|
||||||
"//mediapipe:android": [
|
"//mediapipe:android": [
|
||||||
"//mediapipe/gpu:gl_calculator_helper",
|
"//mediapipe/gpu:gl_calculator_helper",
|
||||||
|
@ -769,7 +721,6 @@ cc_test(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "tensors_to_detections_calculator_proto",
|
name = "tensors_to_detections_calculator_proto",
|
||||||
srcs = ["tensors_to_detections_calculator.proto"],
|
srcs = ["tensors_to_detections_calculator.proto"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -794,7 +745,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":tensors_to_detections_calculator_cc_proto",
|
":tensors_to_detections_calculator_cc_proto",
|
||||||
"//mediapipe/framework/formats:detection_cc_proto",
|
"//mediapipe/framework/formats:detection_cc_proto",
|
||||||
|
@ -817,6 +767,7 @@ cc_library(
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "tensors_to_detections_calculator_gpu_deps",
|
name = "tensors_to_detections_calculator_gpu_deps",
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = select({
|
deps = select({
|
||||||
"//mediapipe:ios": [
|
"//mediapipe:ios": [
|
||||||
"//mediapipe/gpu:MPPMetalUtil",
|
"//mediapipe/gpu:MPPMetalUtil",
|
||||||
|
@ -832,7 +783,6 @@ cc_library(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "tensors_to_landmarks_calculator_proto",
|
name = "tensors_to_landmarks_calculator_proto",
|
||||||
srcs = ["tensors_to_landmarks_calculator.proto"],
|
srcs = ["tensors_to_landmarks_calculator.proto"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -849,7 +799,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":tensors_to_landmarks_calculator_cc_proto",
|
":tensors_to_landmarks_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -864,7 +813,6 @@ cc_library(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "landmarks_to_tensor_calculator_proto",
|
name = "landmarks_to_tensor_calculator_proto",
|
||||||
srcs = ["landmarks_to_tensor_calculator.proto"],
|
srcs = ["landmarks_to_tensor_calculator.proto"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -882,7 +830,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":landmarks_to_tensor_calculator_cc_proto",
|
":landmarks_to_tensor_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -915,7 +862,6 @@ cc_test(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "tensors_to_floats_calculator_proto",
|
name = "tensors_to_floats_calculator_proto",
|
||||||
srcs = ["tensors_to_floats_calculator.proto"],
|
srcs = ["tensors_to_floats_calculator.proto"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -932,7 +878,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":tensors_to_floats_calculator_cc_proto",
|
":tensors_to_floats_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -970,7 +915,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":tensors_to_classification_calculator_cc_proto",
|
":tensors_to_classification_calculator_cc_proto",
|
||||||
"@com_google_absl//absl/container:node_hash_map",
|
"@com_google_absl//absl/container:node_hash_map",
|
||||||
|
@ -1001,7 +945,6 @@ cc_library(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "tensors_to_classification_calculator_proto",
|
name = "tensors_to_classification_calculator_proto",
|
||||||
srcs = ["tensors_to_classification_calculator.proto"],
|
srcs = ["tensors_to_classification_calculator.proto"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -1039,7 +982,6 @@ cc_library(
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
features = ["-layering_check"], # allow depending on image_to_tensor_calculator_gpu_deps
|
features = ["-layering_check"], # allow depending on image_to_tensor_calculator_gpu_deps
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":image_to_tensor_calculator_cc_proto",
|
":image_to_tensor_calculator_cc_proto",
|
||||||
":image_to_tensor_converter",
|
":image_to_tensor_converter",
|
||||||
|
@ -1068,6 +1010,7 @@ cc_library(
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "image_to_tensor_calculator_gpu_deps",
|
name = "image_to_tensor_calculator_gpu_deps",
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = selects.with_or({
|
deps = selects.with_or({
|
||||||
"//mediapipe:android": [
|
"//mediapipe:android": [
|
||||||
":image_to_tensor_converter_gl_buffer",
|
":image_to_tensor_converter_gl_buffer",
|
||||||
|
@ -1091,7 +1034,6 @@ cc_library(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "image_to_tensor_calculator_proto",
|
name = "image_to_tensor_calculator_proto",
|
||||||
srcs = ["image_to_tensor_calculator.proto"],
|
srcs = ["image_to_tensor_calculator.proto"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -1154,7 +1096,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":image_to_tensor_utils",
|
":image_to_tensor_utils",
|
||||||
"//mediapipe/framework/formats:image",
|
"//mediapipe/framework/formats:image",
|
||||||
|
@ -1174,7 +1115,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":image_to_tensor_converter",
|
":image_to_tensor_converter",
|
||||||
":image_to_tensor_utils",
|
":image_to_tensor_utils",
|
||||||
|
@ -1194,6 +1134,7 @@ cc_library(
|
||||||
name = "image_to_tensor_converter_gl_buffer",
|
name = "image_to_tensor_converter_gl_buffer",
|
||||||
srcs = ["image_to_tensor_converter_gl_buffer.cc"],
|
srcs = ["image_to_tensor_converter_gl_buffer.cc"],
|
||||||
hdrs = ["image_to_tensor_converter_gl_buffer.h"],
|
hdrs = ["image_to_tensor_converter_gl_buffer.h"],
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = ["//mediapipe/framework:port"] + selects.with_or({
|
deps = ["//mediapipe/framework:port"] + selects.with_or({
|
||||||
"//mediapipe:apple": [],
|
"//mediapipe:apple": [],
|
||||||
"//conditions:default": [
|
"//conditions:default": [
|
||||||
|
@ -1227,6 +1168,7 @@ cc_library(
|
||||||
name = "image_to_tensor_converter_gl_texture",
|
name = "image_to_tensor_converter_gl_texture",
|
||||||
srcs = ["image_to_tensor_converter_gl_texture.cc"],
|
srcs = ["image_to_tensor_converter_gl_texture.cc"],
|
||||||
hdrs = ["image_to_tensor_converter_gl_texture.h"],
|
hdrs = ["image_to_tensor_converter_gl_texture.h"],
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = ["//mediapipe/framework:port"] + select({
|
deps = ["//mediapipe/framework:port"] + select({
|
||||||
"//mediapipe/gpu:disable_gpu": [],
|
"//mediapipe/gpu:disable_gpu": [],
|
||||||
"//conditions:default": [
|
"//conditions:default": [
|
||||||
|
@ -1251,6 +1193,7 @@ cc_library(
|
||||||
name = "image_to_tensor_converter_gl_utils",
|
name = "image_to_tensor_converter_gl_utils",
|
||||||
srcs = ["image_to_tensor_converter_gl_utils.cc"],
|
srcs = ["image_to_tensor_converter_gl_utils.cc"],
|
||||||
hdrs = ["image_to_tensor_converter_gl_utils.h"],
|
hdrs = ["image_to_tensor_converter_gl_utils.h"],
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = ["//mediapipe/framework:port"] + select({
|
deps = ["//mediapipe/framework:port"] + select({
|
||||||
"//mediapipe/gpu:disable_gpu": [],
|
"//mediapipe/gpu:disable_gpu": [],
|
||||||
"//conditions:default": [
|
"//conditions:default": [
|
||||||
|
@ -1280,6 +1223,7 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = ["//mediapipe/framework:port"] + select({
|
deps = ["//mediapipe/framework:port"] + select({
|
||||||
"//mediapipe:apple": [
|
"//mediapipe:apple": [
|
||||||
":image_to_tensor_converter",
|
":image_to_tensor_converter",
|
||||||
|
@ -1311,7 +1255,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":image_to_tensor_calculator_cc_proto",
|
":image_to_tensor_calculator_cc_proto",
|
||||||
"@com_google_absl//absl/status",
|
"@com_google_absl//absl/status",
|
||||||
|
@ -1354,7 +1297,6 @@ selects.config_setting_group(
|
||||||
mediapipe_proto_library(
|
mediapipe_proto_library(
|
||||||
name = "tensors_to_segmentation_calculator_proto",
|
name = "tensors_to_segmentation_calculator_proto",
|
||||||
srcs = ["tensors_to_segmentation_calculator.proto"],
|
srcs = ["tensors_to_segmentation_calculator.proto"],
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_options_proto",
|
"//mediapipe/framework:calculator_options_proto",
|
||||||
"//mediapipe/framework:calculator_proto",
|
"//mediapipe/framework:calculator_proto",
|
||||||
|
@ -1372,7 +1314,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
":tensors_to_segmentation_calculator_cc_proto",
|
":tensors_to_segmentation_calculator_cc_proto",
|
||||||
"@com_google_absl//absl/strings:str_format",
|
"@com_google_absl//absl/strings:str_format",
|
||||||
|
@ -1430,7 +1371,6 @@ cc_library(
|
||||||
],
|
],
|
||||||
"//conditions:default": [],
|
"//conditions:default": [],
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_context",
|
"//mediapipe/framework:calculator_context",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user