Skip to content

Commit

Permalink
Use axis instead of reduction_indices in logsumexp
Browse files Browse the repository at this point in the history
  • Loading branch information
linxihui authored and fchollet committed May 5, 2017
1 parent 1c7e63e commit 61c9cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras/backend/tensorflow_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ def logsumexp(x, axis=None, keepdims=False):
The reduced tensor.
"""
axis = _normalize_axis(axis, ndim(x))
return tf.reduce_logsumexp(x, reduction_indices=axis, keep_dims=keepdims)
return tf.reduce_logsumexp(x, axis=axis, keep_dims=keepdims)


def round(x):
Expand Down

0 comments on commit 61c9cdc

Please sign in to comment.