diff options
author | 2017-05-08 09:20:04 -0800 | |
---|---|---|
committer | 2017-05-08 10:47:45 -0700 | |
commit | 697f34ca82c4488f3bb2d3b1e930b0088f63f8c5 (patch) | |
tree | 319800ad27eff84829f00fc72b68abf88e9d28fb /third_party/sycl | |
parent | ec8ffb9eafd98b65ed0b594e546c49af89c298c5 (diff) |
Extend tfprof to associate op stats with Python codes.
It's backward compatible. Stats of a source code line
are aggregated from all ops created by that line.
A example.
_TFProfRoot (0us/22.44ms)
model_analyzer_test.py:149:run_filename_as_m...:none (0us/22.44ms)
model_analyzer_test.py:33:_run_code_in_main:none (0us/22.44ms)
model_analyzer_test.py:208:<module>:test.main() (0us/22.44ms)
model_analyzer_test.py:132:testComplexCodeView:x = lib.BuildFull... (0us/22.44ms)
model_analyzer_testlib.py:63:BuildFullModel:return sgd_op.min... (0us/21.83ms)
model_analyzer_testlib.py:54:BuildFullModel:seq.append(array_... (0us/254us)
model_analyzer_testlib.py:42:BuildSmallModel:x = nn_ops.conv2d... (0us/134us)
...
model_analyzer_testlib.py:61:BuildFullModel:loss = nn_ops.l2_... (0us/28us)
model_analyzer_test.py:134:testComplexCodeView:sess.run(variable... (0us/0us)
Change: 155393864
Diffstat (limited to 'third_party/sycl')
0 files changed, 0 insertions, 0 deletions