aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/framework
diff options
context:
space:
mode:
authorGravatar Tom Hennigan <tomhennigan@google.com>2018-09-05 01:07:14 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-05 01:11:22 -0700
commitbd8df09cbd43c7244b4b66c62531eae557c1c468 (patch)
tree7bcef4a600f3f71398b81756b0777c47326c9478 /tensorflow/python/framework
parentc7bd1589d08e84ca215b3c8c4dc3023986522ef7 (diff)
Update `make_tensor_proto` docs to reference public symbol for `make_ndarray`.
PiperOrigin-RevId: 211592901
Diffstat (limited to 'tensorflow/python/framework')
-rw-r--r--tensorflow/python/framework/tensor_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/framework/tensor_util.py b/tensorflow/python/framework/tensor_util.py
index b14290c203..26170b000d 100644
--- a/tensorflow/python/framework/tensor_util.py
+++ b/tensorflow/python/framework/tensor_util.py
@@ -367,7 +367,7 @@ def make_tensor_proto(values, dtype=None, shape=None, verify_shape=False):
A `TensorProto`. Depending on the type, it may contain data in the
"tensor_content" attribute, which is not directly useful to Python programs.
To access the values you should convert the proto back to a numpy ndarray
- with `tensor_util.MakeNdarray(proto)`.
+ with `tf.make_ndarray(proto)`.
If `values` is a `TensorProto`, it is immediately returned; `dtype` and
`shape` are ignored.