Add public visibility to the model maker public API.

PiperOrigin-RevId: 489701768
This commit is contained in:
MediaPipe Team 2022-11-19 10:51:20 -08:00 committed by Copybara-Service
parent bbcbd5fc6c
commit 977ee4272e
3 changed files with 21 additions and 0 deletions

View File

@ -21,9 +21,16 @@ package(
licenses(["notice"]) licenses(["notice"])
######################################################################
# Public target of the MediaPipe Model Maker TextCassifier APIs.
# Please see https://developers.google.com/mediapipe/solutions/text/text_classifier/customize for
# more information about the MediaPipe Model Maker TextCassifier APIs.
######################################################################
py_library( py_library(
name = "text_classifier_import", name = "text_classifier_import",
srcs = ["__init__.py"], srcs = ["__init__.py"],
visibility = ["//visibility:public"],
deps = [ deps = [
":dataset", ":dataset",
":model_options", ":model_options",

View File

@ -103,9 +103,16 @@ py_library(
], ],
) )
######################################################################
# Public target of the MediaPipe Model Maker GestureRecognizer APIs.
# Please see https://developers.google.com/mediapipe/solutions/vision/gesture_recognizer/customize
# for more information about the MediaPipe Model Maker GestureRecognizer APIs.
######################################################################
py_library( py_library(
name = "gesture_recognizer_import", name = "gesture_recognizer_import",
srcs = ["__init__.py"], srcs = ["__init__.py"],
visibility = ["//visibility:public"],
deps = [ deps = [
":dataset", ":dataset",
":gesture_recognizer", ":gesture_recognizer",

View File

@ -21,9 +21,16 @@ package(
default_visibility = ["//mediapipe:__subpackages__"], default_visibility = ["//mediapipe:__subpackages__"],
) )
######################################################################
# Public target of the MediaPipe Model Maker ImageClassifier APIs.
# Please see https://developers.google.com/mediapipe/solutions/vision/image_classifier/customize for
# more information about the MediaPipe Model Maker ImageClassifier APIs.
######################################################################
py_library( py_library(
name = "image_classifier_import", name = "image_classifier_import",
srcs = ["__init__.py"], srcs = ["__init__.py"],
visibility = ["//visibility:public"],
deps = [ deps = [
":dataset", ":dataset",
":hyperparameters", ":hyperparameters",