From 7c01f684b1d10091fb8df35ae9e97e627645baf8 Mon Sep 17 00:00:00 2001 From: 4d55397500 <4d55397500@users.noreply.github.com> Date: Mon, 4 Mar 2019 00:46:31 -0800 Subject: [PATCH] clean up backticks in docs for tf.norm --- tensorflow/python/ops/linalg_ops.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tensorflow/python/ops/linalg_ops.py b/tensorflow/python/ops/linalg_ops.py index 66960304c78..ce132872509 100644 --- a/tensorflow/python/ops/linalg_ops.py +++ b/tensorflow/python/ops/linalg_ops.py @@ -437,13 +437,13 @@ def norm_v2(tensor, Args: tensor: `Tensor` of types `float32`, `float64`, `complex64`, `complex128` - ord: Order of the norm. Supported values are 'fro', 'euclidean', + ord: Order of the norm. Supported values are `'fro'`, `'euclidean'`, `1`, `2`, `np.inf` and any positive real number yielding the corresponding - p-norm. Default is 'euclidean' which is equivalent to Frobenius norm if + p-norm. Default is `'euclidean'` which is equivalent to Frobenius norm if `tensor` is a matrix and equivalent to 2-norm for vectors. Some restrictions apply: - a) The Frobenius norm `fro` is not defined for vectors, - b) If axis is a 2-tuple (matrix norm), only 'euclidean', 'fro', `1`, + a) The Frobenius norm `'fro'` is not defined for vectors, + b) If axis is a 2-tuple (matrix norm), only `'euclidean'`, '`fro'`, `1`, `2`, `np.inf` are supported. See the description of `axis` on how to compute norms for a batch of vectors or matrices stored in a tensor.