be11144
1
2
3
4
5
6
7
8
9
10
import torch import pydiffvg class PixelFilter: def __init__(self, type, radius = torch.tensor(0.5)): self.type = type self.radius = radius