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.