Reorder `learning/BUILD` targets.
@@ -80,24 +80,23 @@ py_library(
)
py_library(
- name = "model_utils",
- srcs = ["model_utils.py"],
+ name = "model_examples",
+ srcs = ["model_examples.py"],
deps = [
":model",
- "//tensorflow_federated/python/common_libs:py_typecheck",
- "//tensorflow_federated/python/tensorflow_libs:tensor_utils",
+ "//tensorflow_federated/python/core/api",
"@org_tensorflow//tensorflow:tensorflow_py",
],
)
py_test(
- name = "model_utils_test",
- size = "large",
- srcs = ["model_utils_test.py"],
+ name = "model_examples_test",
+ size = "small",
+ srcs = ["model_examples_test.py"],
deps = [
":model_examples",
- ":model_utils",
"//tensorflow_federated/python/common_libs:test",
+ "//tensorflow_federated/python/core/api",
"@absl_py//absl/testing:parameterized",
"@org_tensorflow//tensorflow:tensorflow_py",
"@six_archive//:six",
@@ -105,23 +104,24 @@ py_test(
)
py_library(
- name = "model_examples",
- srcs = ["model_examples.py"],
+ name = "model_utils",
+ srcs = ["model_utils.py"],
deps = [
":model",
- "//tensorflow_federated/python/core/api",
+ "//tensorflow_federated/python/common_libs:py_typecheck",
+ "//tensorflow_federated/python/tensorflow_libs:tensor_utils",
"@org_tensorflow//tensorflow:tensorflow_py",
],
)
py_test(
- name = "model_examples_test",
- size = "small",
- srcs = ["model_examples_test.py"],
+ name = "model_utils_test",
+ size = "large",
+ srcs = ["model_utils_test.py"],
deps = [
":model_examples",
+ ":model_utils",
"//tensorflow_federated/python/common_libs:test",
- "//tensorflow_federated/python/core/api",
"@absl_py//absl/testing:parameterized",
"@org_tensorflow//tensorflow:tensorflow_py",
"@six_archive//:six",
