Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now



Defined in tensorflow/python/debug/lib/

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.