mediapipe/mediapipe/tasks/metadata/BUILD

49 lines
1.1 KiB
Python
Raw Normal View History

load("@flatbuffers//:build_defs.bzl", "flatbuffer_cc_library", "flatbuffer_py_library")
package(
default_visibility = [
"//visibility:public",
],
licenses = ["notice"], # Apache 2.0
)
exports_files(glob([
"*.fbs",
]))
# Generic schema for model metadata.
flatbuffer_cc_library(
name = "metadata_schema_cc",
srcs = ["metadata_schema.fbs"],
)
flatbuffer_py_library(
name = "schema_py",
srcs = ["@org_tensorflow//tensorflow/lite/schema:schema.fbs"],
)
flatbuffer_py_library(
name = "metadata_schema_py",
srcs = ["metadata_schema.fbs"],
)
flatbuffer_cc_library(
name = "image_segmenter_metadata_schema_cc",
srcs = ["image_segmenter_metadata_schema.fbs"],
)
flatbuffer_py_library(
name = "image_segmenter_metadata_schema_py",
srcs = ["image_segmenter_metadata_schema.fbs"],
)
flatbuffer_cc_library(
name = "object_detector_metadata_schema_cc",
srcs = ["object_detector_metadata_schema.fbs"],
)
flatbuffer_py_library(
name = "object_detector_metadata_schema_py",
srcs = ["object_detector_metadata_schema.fbs"],
)