Commit 6346745f authored by Yong Tang's avatar Yong Tang
Browse files

Allow partial shape inference for `tf.nn.conv2d_transpose`



This fix tries to address the issue raised in 8972 where
it was not possible to infer a partial shape for
`tf.nn.conv2d_transpose`. In case any dimensions are not
defined, the shape will be totally undefined.

This fix utilizes `tensor_util.constant_value_as_shape`
so that partial shape is possible.

This fix fixes 8972.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent e04b47d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment