tensor_image_display: Display image tensor

View source: R/vision_utils.R

tensor_image_displayR Documentation

Display image tensor

Description

Display image tensor onto the X11 device

Usage

tensor_image_display(image, animate = TRUE)

Arguments

image

torch_tensor() of shape (1, W, H) for grayscale image or (3, W, H) for color image, of type torch_uint8() to display

animate

support animations in the X11 display


torchvision documentation built on June 22, 2024, 11:25 a.m.