load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # To update TensorFlow to a new revision, # a) update URL and strip_prefix to the new git commit hash # b) get the sha256 hash of the commit by running: # curl -L https://github.com/tensorflow/tensorflow/archive/.tar.gz | sha256sum # and update the sha256 with the result. http_archive( name = "org_tensorflow", sha256 = "08ff41fc080ab239ce0bea609c10acd7ab6cb52d49f3411efec7de3b6d0c17da", strip_prefix = "tensorflow-7a0de7d64ffb723c2e420f8bfcaf1f60218991a0", urls = [ "https://github.com/tensorflow/tensorflow/archive/7a0de7d64ffb723c2e420f8bfcaf1f60218991a0.tar.gz", ], ) # For development, one can use a local TF repository instead. # local_repository( # name = "org_tensorflow", # path = "tensorflow", # ) load("//third_party/pocketfft:workspace.bzl", pocketfft = "repo") pocketfft() # Initialize TensorFlow's external dependencies. load("@org_tensorflow//tensorflow:workspace3.bzl", "workspace") workspace() load("@org_tensorflow//tensorflow:workspace2.bzl", "workspace") workspace() load("@org_tensorflow//tensorflow:workspace1.bzl", "workspace") workspace() load("@org_tensorflow//tensorflow:workspace0.bzl", "workspace") workspace()