aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/nn/python/ops/sampling_ops.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/nn/python/ops/sampling_ops.py')
-rw-r--r--tensorflow/contrib/nn/python/ops/sampling_ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/nn/python/ops/sampling_ops.py b/tensorflow/contrib/nn/python/ops/sampling_ops.py
index 63fc487dca..e65925610c 100644
--- a/tensorflow/contrib/nn/python/ops/sampling_ops.py
+++ b/tensorflow/contrib/nn/python/ops/sampling_ops.py
@@ -88,7 +88,7 @@ def _rank_resample(weights, biases, inputs, sampled_values, num_resampled,
return math_ops.reduce_logsumexp(
math_ops.matmul(embeddings, reweighted_inputs, transpose_b=True),
axis=1,
- keep_dims=False)
+ keepdims=False)
# Calling this protected form of embedding_lookup allows co-locating
# the logsumexp computation with the partitioned weights, which yields