10 lines
195 B
Python
10 lines
195 B
Python
import torch
|
|
import pydiffvg
|
|
|
|
class PixelFilter:
|
|
def __init__(self,
|
|
type,
|
|
radius = torch.tensor(0.5)):
|
|
self.type = type
|
|
self.radius = radius
|