STT-tensorflow/tensorflow/python/client
Shanqing Cai a8950d70bf [tfdbg2] Add tfdbg_run_id to metadata of data dumps
- A data dump file set generated by tfdbg2 can contain
  multiple subsets when there are multiple hosts involved
  in the instrumented TensorFlow job (e.g., TPUs and Parameter Servers).
  Currently, there is no bit in those subset of files that
  indicates they belong to the same instrumented TF job.
  - This CL addresses this problem by adding a field to the
    metadata proto used by those files (`tfdbg_run_id`)
- The DebugEventsWriter code is revised, so that this new
  field is written to the metadata file of the file set on the writer's
  construction.
- Also in this CL: remove the previous 1-arg `GetDebugEventsWriter(dump_root)`
  that creates the writer object if it doesn't exist at the specified
  dump_root. Replace it with `LookUpDebugEventsWriter(dump_root)` that only
  looks up the writer object and returns a non-OK status if such an object
  hasn't been created at `dump_root`. This makes the code less error prone by
  keeping only the fully-explicit, 3-arg `GetDebugEventsWriter()`.

PiperOrigin-RevId: 316537044
Change-Id: Id5be0b771fbf37c0fc796f1514ed858a0e6d38f0
2020-06-15 13:52:52 -07:00
..
__init__.py
client_lib.py
debug_events_writer_wrapper.cc [tfdbg2] Add tfdbg_run_id to metadata of data dumps 2020-06-15 13:52:52 -07:00
device_lib.py
device_lib_test.py
device_lib_wrapper.cc systemlibs: unbundle pybind11 2020-04-08 03:38:38 +08:00
events_writer_test.py
events_writer_wrapper.cc systemlibs: unbundle pybind11 2020-04-08 03:38:38 +08:00
notebook.py
pywrap_tf_session.py
session.py tf.SparseTensor to tf.sparse.SparseTensor 2020-03-25 10:49:19 +08:00
session_benchmark.py
session_clusterspec_prop_test.py
session_list_devices_test.py
session_partial_run_test.py
session_ref.cc
session_ref.h
session_test.py Add tf.function test for device placement logging 2020-05-21 20:45:29 -07:00
test_construction_fails_op.cc
tf_session_helper.cc Implement Numpy to tensor conversion for TFRT. 2020-05-08 17:18:26 -07:00
tf_session_helper.h
tf_session_wrapper.cc throwTypeError -> ThrowTypeError 2020-04-16 10:46:01 -07:00
timeline.py Merge pull request #38864 from zhuzilin:timeline-dev-fix 2020-04-27 09:27:47 -07:00
timeline_test.py
virtual_gpu_test.py