1"""TensorFlow workspace initialization. Consult the WORKSPACE on how to use it."""
2
3load("//tensorflow:version_check.bzl", "check_bazel_version_at_least")
4load("//tensorflow:workspace.bzl", "tf_repositories")
5
6def workspace():
7    # Check the bazel version before executing any repository rules, in case
8    # those rules rely on the version we require here.
9    check_bazel_version_at_least("1.0.0")
10
11    # Load tf_repositories() before loading dependencies for other repository so
12    # that dependencies like com_google_protobuf won't be overridden.
13    tf_repositories()
14
15# Alias so it can be loaded without assigning to a different symbol to prevent
16# shadowing previous loads and trigger a buildifier warning.
17tf_workspace2 = workspace
18