conv.py 328 Bytes
Newer Older
rusty1s's avatar
linting  
rusty1s committed
1
2
3
# import torch


rusty1s's avatar
rusty1s committed
4
5
6
7
8
9
10
11
12
def spline_conv(x,
                edge_index,
                pseudo,
                weight,
                kernel_size,
                is_open_spline,
                degree=1,
                root_weight=None,
                bias=None):
rusty1s's avatar
linting  
rusty1s committed
13
    pseudo = pseudo.unsqueeze(-1) if pseudo.dim() == 1 else pseudo