Skip to content

Commit

Permalink
optional_mul: fix docstring (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
vieting committed Dec 6, 2022
1 parent 90f0d7b commit 180ec6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion returnn/tf/util/basic.py
Expand Up @@ -3883,7 +3883,7 @@ def optional_mul(*args):
"""
:param tf.Tensor|None|int|float args:
:rtype: tf.Tensor|int|float|None
:return: sums all non-None values, or returns None if there are none
:return: multiplies all non-None values, or returns None if there are none
"""
y = None
for v in args:
Expand Down

0 comments on commit 180ec6e

Please sign in to comment.