Missed TensorFlow World? Check out the recap. Learn more



Defined in tensorflow/python/debug/lib/debug_data.py.

Load a tensor from an Event proto.


  • event: The Event proto, assumed to hold a tensor value in its summary.value[0] field.


The tensor value loaded from the event file, as a numpy.ndarray, if representation of the tensor value by a numpy.ndarray is possible. For uninitialized Tensors, returns None. For Tensors of data types that cannot be represented as numpy.ndarray (e.g., tf.resource), return the TensorProto protobuf object without converting it to a numpy.ndarray.