tf.broadcast_static_shape(
shape_x,
shape_y
)
Defined in tensorflow/python/ops/array_ops.py.
See the guide: Tensor Transformations > Shapes and Shaping
Returns the broadcasted static shape between shape_x and shape_y.
shape_x: A TensorShape
shape_y: A TensorShape
A TensorShape representing the broadcasted shape.
ValueError: If the two shapes can not be broadcasted.
© 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/broadcast_static_shape