Commit 10467d29 authored by Yong Tang's avatar Yong Tang
Browse files

Improve shape function check for `tf.roll`



The `tf.roll` op has requirements for the shape of inputs. However,
the shape of the inputs are only done at the runtime inside the kernel.
This fix improve the shape function so that the check could be
done early if shape is already known in the shape function.

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