1workspace(name = "org_tensorflow") 2 3# Initialize the TensorFlow repository and all dependencies. 4# 5# The cascade of load() statements and tf_workspace?() calls works around the 6# restriction that load() statements need to be at the top of .bzl files. 7# E.g. we can not retrieve a new repository with http_archive and then load() 8# a macro from that repository in the same file. 9load("@//tensorflow:workspace3.bzl", "tf_workspace3") 10 11tf_workspace3() 12 13load("@//tensorflow:workspace2.bzl", "tf_workspace2") 14 15tf_workspace2() 16 17load("@//tensorflow:workspace1.bzl", "tf_workspace1") 18 19tf_workspace1() 20 21load("@//tensorflow:workspace0.bzl", "tf_workspace0") 22 23tf_workspace0() 24