File size: 171 Bytes
d2410ba
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from torch.autograd import Function

from sam2.csrc.backend import _backend

__all__ = ['connect']


def connect(mask):
    return _backend.get_connected_componnets(mask)