Merge pull request #26312 from 4d55397500:clean-up-backticks-linalgops
PiperOrigin-RevId: 236694603
This commit is contained in:
commit
c96eca31fe
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user