Rate this Page
★ ★ ★ ★ ★

normalize_frame#

torchrl.render.video.normalize_frame(frame: Any) → ndarray[source]#

Converts a tensor-like image into an H x W x 3 uint8 array.