Validate the shape of count for RepeatDataset (#18150)
* Validate the shape of count for RepeatDataset The count in RepeatDataset requires a scalar though the validation is only done in ops, not in shape function. This fix validates the shape of count for RepeatDataset. Signed-off-by:Yong Tang <yong.tang.github@outlook.com> * Sanitize with clang-foramt -i Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Add test case for shape validation of count with RepeatDataset Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
Loading
Please sign in to comment