Learn R Programming

torchvision (version 0.5.1)

tensor_image_display: 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