2022-10-02 06:50:22 +02:00
|
|
|
load("@flatbuffers//:build_defs.bzl", "flatbuffer_cc_library", "flatbuffer_py_library")
|
2022-09-06 23:29:51 +02:00
|
|
|
|
|
|
|
package(
|
|
|
|
default_visibility = [
|
|
|
|
"//visibility:public",
|
|
|
|
],
|
|
|
|
licenses = ["notice"], # Apache 2.0
|
|
|
|
)
|
|
|
|
|
2023-03-15 00:58:07 +01:00
|
|
|
exports_files(glob([
|
|
|
|
"*.fbs",
|
|
|
|
]))
|
2022-09-06 23:29:51 +02:00
|
|
|
|
|
|
|
# Generic schema for model metadata.
|
|
|
|
flatbuffer_cc_library(
|
|
|
|
name = "metadata_schema_cc",
|
|
|
|
srcs = ["metadata_schema.fbs"],
|
|
|
|
)
|
2022-10-02 06:50:22 +02:00
|
|
|
|
|
|
|
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"],
|
|
|
|
)
|
2023-03-15 00:58:07 +01:00
|
|
|
|
|
|
|
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"],
|
|
|
|
)
|
2023-04-25 23:56:38 +02:00
|
|
|
|
|
|
|
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"],
|
|
|
|
)
|