Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tensorflow_model_optimization/BUILD
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Placeholder: load py_library
load("@rules_license//rules:license.bzl", "license")

# Description:
#
# TensorFlow Optimization is a repository for the training-time
# portion of the Tensorflow Model Optimization Toolkit,
# used to optimize machine learning models for deployment and execution.
#
# https://github.com/tensorflow/model-optimization
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")

# Placeholder: load py_binary
# Placeholder: load py_library
load("@rules_license//rules:license.bzl", "license")

package(
default_applicable_licenses = [":license"],
Expand Down Expand Up @@ -36,7 +36,7 @@ py_library(
],
)

py_strict_binary(
py_binary(
name = "build_docs",
srcs = ["build_docs.py"],
deps = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
# Placeholder: load py_binary

package(
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
)

licenses(["notice"])

py_strict_binary(
py_binary(
name = "mnist_cnn",
srcs = [
"mnist_cnn.py",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
# Placeholder: load py_binary

package(
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
Expand All @@ -12,7 +12,7 @@ filegroup(
srcs = glob(["**"]),
)

py_strict_binary(
py_binary(
name = "mnist_cnn",
srcs = [
"mnist_cnn.py",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
# Placeholder: load py_binary

package(
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
)

licenses(["notice"])

py_strict_binary(
py_binary(
name = "mnist_cnn",
srcs = [
"mnist_cnn.py",
Expand All @@ -19,7 +19,7 @@ py_strict_binary(
],
)

py_strict_binary(
py_binary(
name = "mnist_cnn_cont_quant",
srcs = [
"mnist_cnn_cont_quant.py",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
# Placeholder: load py_binary

package(
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
)

licenses(["notice"])

py_strict_binary(
py_binary(
name = "mnist_cnn",
srcs = [
"mnist_cnn.py",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
# Placeholder: load py_binary

package(
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
Expand All @@ -12,7 +12,7 @@ filegroup(
srcs = glob(["**"]),
)

py_strict_binary(
py_binary(
name = "imdb_lstm",
srcs = [
"imdb_lstm.py",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
# Placeholder: load py_binary

package(
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
Expand All @@ -12,7 +12,7 @@ filegroup(
srcs = glob(["**"]),
)

py_strict_binary(
py_binary(
name = "mnist_cnn",
srcs = [
"mnist_cnn.py",
Expand All @@ -29,7 +29,7 @@ py_strict_binary(
],
)

py_strict_binary(
py_binary(
name = "mnist_e2e",
srcs = [
"mnist_e2e.py",
Expand All @@ -47,7 +47,7 @@ py_strict_binary(
],
)

py_strict_binary(
py_binary(
name = "mnist_e2e_sparsity2x4",
srcs = ["mnist_e2e_sparsity2x4.py"],
deps = [
Expand Down
Loading