Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
CVPR
/
LIVE
like
35
Runtime error
App
Files
Files
Community
3
main
LIVE
/
pydiffvg
/
pixel_filter.py
Xu Ma
upload all files
28958dc
over 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
195 Bytes
import
torch
import
pydiffvg
class
PixelFilter
:
def
__init__
(
self,
type
,
radius = torch.tensor(
0.5
)
):
self.
type
=
type
self.radius = radius