BUILD 579 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package(default_visibility = [":internal"])
  2. licenses(["notice"]) # Apache 2.0
  3. exports_files(["LICENSE"])
  4. package_group(
  5. name = "internal",
  6. packages = [
  7. "//resnet/...",
  8. ],
  9. )
  10. filegroup(
  11. name = "py_srcs",
  12. data = glob([
  13. "**/*.py",
  14. ]),
  15. )
  16. py_library(
  17. name = "resnet_model",
  18. srcs = ["resnet_model.py"],
  19. )
  20. py_binary(
  21. name = "resnet_main",
  22. srcs = [
  23. "resnet_main.py",
  24. ],
  25. deps = [
  26. ":cifar_input",
  27. ":resnet_model",
  28. ],
  29. )
  30. py_library(
  31. name = "cifar_input",
  32. srcs = ["cifar_input.py"],
  33. )