Rate this Page
★ ★ ★ ★ ★

write_png#

torchrl.render.video.write_png(frame: Any, path: str | Path) → Path[source]#

Writes one RGB frame as a PNG file using Pillow.