ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


TensorFlow 1 version View source on GitHub

Returns shape of tensors.

input A list of at least 1 Tensor object with the same type.
out_type The specified output type of the operation (int32 or int64). Defaults to tf.int32(optional).
name A name for the operation (optional).

A list with the same length as input of Tensor objects with type out_type.