LIVE / pydiffvg /pixel_filter.py
Xu Ma
update
1c3c0d9
raw
history blame
195 Bytes
import torch
import pydiffvg
class PixelFilter:
def __init__(self,
type,
radius = torch.tensor(0.5)):
self.type = type
self.radius = radius