assembly.pairwise_similarity¶
- assembly.pairwise_similarity(tensors)[source]¶
Computes the pairwise similarity overlap of the tensors.
- Parameters
- tensorslist of torch.Tensor
A list of binary vectors. Each entry can be either a single vector tensor (one incoming area) or a tuple of tensors (multiple incoming areas).
- Returns
- similarityfloat
The pairwise similarity from 0 to 1.