Missed TensorFlow World? Check out the recap. Learn more



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.