Commit 5592a96a authored by Yong Tang's avatar Yong Tang Committed by Jonathan Hseu
Browse files

Fix WARNING in BatchNormalization (#18315)



The keep_dims for reduce_mean has been deprecated and replaced
with keepdims. This casues the following WARNING in BatchNormalization:
```
normalization.py:584: calling reduce_mean (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
```

This fix fixes the warning in BatchNormalization.

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