TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

tensorplay.nn.functional.pdist

tensorplay.nn.functional.pdist(input: Tensor, p: float = 2.0) → Tensor[source]

Computes the pairwise distance between rows of input.

Returns the flattened upper triangle of the N x N distance matrix —

On this page

Ask DeepWiki