Commit 542fb58c authored by Yong Tang's avatar Yong Tang
Browse files

Fix np.float -> np.floating change



While running core_rnn_cell_test:
```
bazel test -s --verbose_failures --config=opt //tensorflow/contrib/rnn:core_rnn_cell_test
```
Noticed the following warning:
```
FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
```

This fix fixes the above warning.

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