aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/layers/maxout.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/layers/maxout.py')
-rw-r--r--tensorflow/python/layers/maxout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/layers/maxout.py b/tensorflow/python/layers/maxout.py
index 20ce6c9770..765a1c4fda 100644
--- a/tensorflow/python/layers/maxout.py
+++ b/tensorflow/python/layers/maxout.py
@@ -106,6 +106,6 @@ class MaxOut(base.Layer):
if shape[i] is None:
shape[i] = gen_array_ops.shape(inputs)[i]
outputs = math_ops.reduce_max(
- gen_array_ops.reshape(inputs, shape), -1, keep_dims=False)
+ gen_array_ops.reshape(inputs, shape), -1, keepdims=False)
return outputs