Commit 27de8e71 authored by Yong Tang's avatar Yong Tang
Browse files

Improve shape function for CudnnRNNParamsSize



In cudnn_rnn_ops.cc, the CudnnRNNParamsSize does not
have restrictions on num_layers, num_units, and input_size,
though they all should be scalars.

This fix adds the shape check of num_layers, num_units, and input_size
for CudnnRNNParamsSize.

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