diff options
Diffstat (limited to 'tensorflow/python/eager/execute.py')
-rw-r--r-- | tensorflow/python/eager/execute.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/python/eager/execute.py b/tensorflow/python/eager/execute.py index c6457232e9..983c1ea73e 100644 --- a/tensorflow/python/eager/execute.py +++ b/tensorflow/python/eager/execute.py @@ -47,7 +47,8 @@ def execute(op_name, num_outputs, inputs, attrs, ctx, name=None): name: Customized name for the operation. Returns: - List of output Tensor objects. The list is empty if there are no outputs + None if there are no outputs, a single Tensor object if there is one output + and a list of Tensor objects if there are multiple outputs. Raises: An exception on error. |