Watch talks from the 2019 TensorFlow Dev Summit Watch now



Defined in tensorflow/python/debug/lib/

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.