You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Require same shape for x and y in shape function of ApproximateEqual (tensorflow#19878)
* Require same shape for `x` and `y` in shape function of `ApproximateEqual`
In the kernel implementation of `ApproximateEqual` the shape of inputs
`x` and `y` should be the same. Though in the shape function of `ApproximateEqual`
there was no such validation. This fix adds the shape validation in the
shape function to make sure `x` and `y` are of the same shape, if they are known.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add test case for shape function of ApproximateEqual
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
0 commit comments