我找不到有关如何构建 Tensorflow 分析器 UI 的任何内容,但分析器 UI 的图像显示在快速入门部分 (https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/profiler#quick-start( 中。
你可以拉 https://github.com/tensorflow
,然后运行以下命令:
bazel build tensorflow/core/profiler:profiler
对于 Tensorflow-UI,您可以设置: https://github.com/tensorflow/profiler-ui
TensorBoard 具有 Profiler UI 功能。 您可以查看以下链接
https://www.tensorflow.org/api_docs/python/tf/profiler/experimental/start