7 Star 5 Fork 6

Gitee 极速下载 / tensorflow-quantum

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/tensorflow/quantum
克隆/下载
WORKSPACE 2.19 KB
一键复制 编辑 原始数据 按行查看 历史
MichaelBroughton 提交于 2024-05-16 09:35 . [WIP] Upgrade to tf2.15. (#809)
# This file includes external dependencies that are required to compile the
# TensorFlow op.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
EIGEN_COMMIT = "aa6964bf3a34fd607837dd8123bc42465185c4f8"
http_archive(
name = "eigen",
build_file_content = """
cc_library(
name = "eigen3",
textual_hdrs = glob(["Eigen/**", "unsupported/**"]),
visibility = ["//visibility:public"],
)
""",
strip_prefix = "eigen-{commit}".format(commit = EIGEN_COMMIT),
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/gitlab.com/libeigen/eigen/-/archive/{commit}/eigen-{commit}.tar.gz".format(commit = EIGEN_COMMIT),
"https://gitlab.com/libeigen/eigen/-/archive/{commit}/eigen-{commit}.tar.gz".format(commit = EIGEN_COMMIT),
],
)
http_archive(
name = "qsim",
sha256 = "b9c1eba09a885a938b5e73dfc2e02f5231cf3b01d899415caa24769346a731d5",
# patches = [
# "//third_party/tf:qsim.patch",
# ],
strip_prefix = "qsim-0.13.3",
urls = ["https://github.com/quantumlib/qsim/archive/refs/tags/v0.13.3.zip"],
)
http_archive(
name = "org_tensorflow",
patches = [
"//third_party/tf:tf.patch",
],
# sha256 = "e52cda3bae45f0ae0fccd4055e9fa29892b414f70e2df94df9a3a10319c75fff",
strip_prefix = "tensorflow-2.15.0",
urls = [
"https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.15.0.zip",
],
)
load("@org_tensorflow//tensorflow:workspace3.bzl", "tf_workspace3")
tf_workspace3()
load("@org_tensorflow//tensorflow:workspace2.bzl", "tf_workspace2")
tf_workspace2()
load("@org_tensorflow//tensorflow:workspace1.bzl", "tf_workspace1")
tf_workspace1()
load("@org_tensorflow//tensorflow:workspace0.bzl", "tf_workspace0")
tf_workspace0()
load("//third_party/tf:tf_configure.bzl", "tf_configure")
tf_configure(name = "local_config_tf")
http_archive(
name = "six_archive",
build_file = "@com_google_protobuf//:six.BUILD",
sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a",
url = "https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55",
)
bind(
name = "six",
actual = "@six_archive//:six",
)
C/C++
1
https://gitee.com/mirrors/tensorflow-quantum.git
git@gitee.com:mirrors/tensorflow-quantum.git
mirrors
tensorflow-quantum
tensorflow-quantum
master

搜索帮助