/TensorFlow 2.4


Return the reduction indices for computing gradients of s0 op s1 with broadcast.

This is typically used by gradient computations for a broadcasting operation.

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).
A tuple of Tensor objects (r0, r1).
r0 A Tensor. Has the same type as s0.
r1 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.