tfdbg.load_tensor_from_event_file(event_file_path)
See the guide: TensorFlow Debugger > Functions for loading debug-dump data
Load a tensor from an event file.
Assumes that the event file contains a Event
protobuf and the Event
protobuf contains a Tensor
value.
event_file_path
: (str
) path to the event file.The tensor value loaded from the event file, as a numpy.ndarray
. For uninitialized tensors, returns None.
Defined in tensorflow/python/debug/lib/debug_data.py
.
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tfdbg/load_tensor_from_event_file