tfdbg.load_tensor_from_event_file(event_file_path)
Defined in tensorflow/python/debug/lib/debug_data.py
.
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
. For Tensors of data types that cannot be converted to numpy.ndarray
(e.g., tf.resource
), return None
.
© 2018 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