Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
ma-xu
/
LIVE
like
2
Runtime error
App
Files
Files
Community
2
98250a7
LIVE
/
pydiffvg
/
pixel_filter.py
Xu Ma
update
1c3c0d9
over 2 years ago
raw
Copy download link
history
blame
Safe
195 Bytes
import
torch
import
pydiffvg
class
PixelFilter
:
def
__init__
(
self,
type
,
radius = torch.tensor(
0.5
)
):
self.
type
=
type
self.radius = radius