On this page
tf.shape_n
Returns shape of tensors.
tf.shape_n(
    input,
    out_type=tf.dtypes.int32,
    name=None
)
| Args | |
|---|---|
| input | A list of at least 1 Tensorobject with the same type. | 
| out_type | The specified output type of the operation ( int32orint64). Defaults totf.int32(optional). | 
| name | A name for the operation (optional). | 
| Returns | |
|---|---|
| A list with the same length as inputofTensorobjects with typeout_type. | 
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
 https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/shape_n