|TensorFlow 1 version||View source on GitHub|
Computes the norm of vectors, matrices, and tensors.
tf.norm( tensor, ord='euclidean', axis=None, keepdims=None, name=None )
Used in the notebooks
|Used in the guide||Used in the tutorials|
This function can compute several different vector norms (the 1-norm, the Euclidean or 2-norm, the inf-norm, and in general the p-norm for p > 0) and matrix norms (Frobenius, 1-norm, 2-norm and inf-norm).
Order of the norm. Supported values are |