BachiLi / diffvg

Differentiable Vector Graphics Rasterization
https://people.csail.mit.edu/tzumao/diffvg/
Apache License 2.0
925 stars 157 forks source link

serialize_scene cpu conversion question #85

Open Goulustis opened 1 week ago

Goulustis commented 1 week ago

Hi,

Why are all the parameters converted to the CPU in pydiffvg.RenderFunction.serialize_scene? Wouldn't this have an overhead of moving to the parameters to cuda in pydiffvg.RenderFunction.apply when rendering?