searchsorted

omnipose.utils.searchsorted(tensor, value)[source]

Find the indices where value should be inserted in tensor to maintain order.