Files
diffvg/pydiffvg/pixel_filter.py
2020-09-03 22:30:30 -04:00

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