Improve the shape function for ParameterizedTruncatedNormal (#19215)
The parameters of ParameterizedTruncatedNormal should
be 0-D or 1-D, which is checked in ther kernel functions.
There is no check in the shape function of the ops.
This fix improves the shape function and checks the
parameters of ParameterizedTruncatedNormal whever possible.
Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
Loading
Please sign in to comment