RSVP for your your local TensorFlow Everywhere event today!

tf.make_ndarray

TensorFlow 2 version View source on GitHub

Create a numpy ndarray from a tensor.

Create a numpy ndarray with the same shape and data as the tensor.

tensor A TensorProto.

A numpy array with the tensor contents.

TypeError if tensor has unsupported type.