ott.geometry.grid.Grid.src_mask#

property Grid.src_mask: Optional[jax._src.numpy.ndarray.ndarray]#

Mask of shape [num_a,] to compute cost_matrix statistics.

Specifically, it is used when computing:

Return type

Optional[ndarray]