aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/framework
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-10-05 10:48:51 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-05 10:52:21 -0700
commitdd8afaad37fdb284dce3518a9be22aca1c25e475 (patch)
tree919e850f88aa9c7f69abd7f0615a87f329337875 /tensorflow/python/framework
parente2f80439c5bfee56581875219ea83cc5307854f5 (diff)
Fix documentation.
PiperOrigin-RevId: 215930596
Diffstat (limited to 'tensorflow/python/framework')
-rw-r--r--tensorflow/python/framework/importer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/python/framework/importer.py b/tensorflow/python/framework/importer.py
index c6595918ae..c9ac27e788 100644
--- a/tensorflow/python/framework/importer.py
+++ b/tensorflow/python/framework/importer.py
@@ -370,7 +370,8 @@ def import_graph_def(graph_def,
Returns:
A list of `Operation` and/or `Tensor` objects from the imported graph,
- corresponding to the names in `return_elements`.
+ corresponding to the names in `return_elements`,
+ and None if `returns_elements` is None.
Raises:
TypeError: If `graph_def` is not a `GraphDef` proto,