Require same shape for `x` and `y` in shape function of `ApproximateEqual` (#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>
Loading
Please sign in to comment