Bazel编译工具;tensorflow编译
- 什么是bazel
- https://docs.bazel.build/versions/master/bazel-overview.html
- 使用 bazel 构建 c++ 工程
- https://github.com/bazelbuild/examples/tree/master/cpp-tutorial
- https://docs.bazel.build/versions/master/tutorial/cpp.html
- https://docs.bazel.build/versions/master/bazel-and-cpp.html
- bazel 函数描述:
- https://docs.bazel.build/versions/master/be/overview.html
- 使用bazel 构建tensorflow:
- https://github.com/tensorflow/tensorflow
- https://github.com/tensorflow/custom-op
- bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package --local_ram_resources=2048 --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0"
tensorflow bazel 编译命令: (编译cpu支持的版本,限制编译的内存为2GB, 并兼容旧版本的ABI)
保持更新,更多内容请关注cnblogs.com/xuyaowen;
以上是 Bazel编译工具;tensorflow编译 的全部内容, 来源链接: utcz.com/z/510559.html