From ae84b802d1afdb9af8ac1404caeae0020027bdf8 Mon Sep 17 00:00:00 2001 From: Peter Vieting Date: Tue, 6 Dec 2022 18:47:25 +0100 Subject: [PATCH] optional_mul: fix docstring --- returnn/tf/util/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/returnn/tf/util/basic.py b/returnn/tf/util/basic.py index 8579a1d4d..8b81292cd 100644 --- a/returnn/tf/util/basic.py +++ b/returnn/tf/util/basic.py @@ -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: