代码拉取完成,页面将自动刷新
同步操作将从 Ascend/tensorflow 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Build tf_adapter workspace(Calling by tf_adapter)
def extend_base():
return "../"
def tf_adapter_workspace():
native.new_local_repository(
name = "tf_adapter_cloud_host_libs",
path = extend_base() + "out/cloud/host/obj/lib",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "tf_adapter_mini_host_libs",
path = extend_base() + "out/mini/host/obj/lib",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "tf_adapter_onetrack_host_libs",
path = extend_base() + "out/onetrack/host/obj/lib",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "tf_adapter_extend_hdrs",
path = extend_base() + "inc",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "graphengine_extend_hdrs",
path = extend_base() + "graphengine/inc",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "metadef_extend_hdrs",
path = extend_base() + "metadef/inc",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name="installed_tensorflow",
path=extend_base() + "third_party/tensorflow/compile_deps/tf-1.15.0",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name="installed_tensorflow_libs",
path="{TF_INSTALL_LIB_PATH}",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "local_nlohmann_json_lib",
path = extend_base() + "third_party/json/include/",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "sec_lib",
path = extend_base() + "libc_sec/include/",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "python_include",
path = "{PYTHON_INCLUDE_PATH}",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。