TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-08

tensorplay.linalg.vector_norm

tensorplay.linalg.vector_norm(x, ord=2, dim=None, keepdim=False) → Tensor[source]

dim=None norms the whole tensor: the input is flattened first, and keepdim then restores the reduced axes as ones.

On this page

Ask DeepWiki