tf.raw_ops.BroadcastArgs
Return the shape of s0 op s1 with broadcast.
tf.raw_ops.BroadcastArgs(
s0, s1, name=None
)
Given s0 and s1, tensors that represent shapes, compute r0, the broadcasted shape. s0, s1 and r0 are all integer vectors.
| Args | |
|---|---|
s0 | A Tensor. Must be one of the following types: int32, int64. |
s1 | A Tensor. Must have the same type as s0. |
name | A name for the operation (optional). |
| Returns | |
|---|---|
A Tensor. Has the same type as s0. |
© 2020 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/versions/r2.4/api_docs/python/tf/raw_ops/BroadcastArgs