什么是tf_kernel_library和cc_library之间的区别
我正在学习Bazel构建以编译TensorFlow源代码。 在此bazel 我看到''''tf_kernel_library'''''''''cc_library'''。 这两个之间的确切区别是什么?
I am learning bazel build to compile the tensorflow source code.
In this bazel build file, I see '''tf_kernel_library''' and '''cc_library'''.
What is the exact difference between these two?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“ TF_KERNEL_LIBRARY”是 Custome规则和“ CC_Library”是 bazel buildin ulinin ulion
“ tf_kernel_library”是构建TensorFlow opkernel的规则。与“ cc_library”的最大区别是“ tf_kernel_library”编译
cu.cc
和cu.h
除.cc
和外.h
,而“ cc_library”不。“ cc_library”构建
.cc
和.h
仅适用于C ++"tf_kernel_library" is a custome rule and "cc_library" is a bazel buildin rule
"tf_kernel_library" is a rule to build a TensorFlow OpKernel. The biggest difference from "cc_library" is that "tf_kernel_library" compiles
cu.cc
andcu.h
in addition to.cc
and.h
, while "cc_library" does not."cc_library" builds
.cc
and.h
only for c++