tf.shape_n( input, out_type=tf.int32, name=None )
Defined in tensorflow/python/ops/array_ops.py
.
See the guide: Tensor Transformations > Shapes and Shaping
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
.
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/shape_n