tensor_image_browse {torchvision}R Documentation

Display image tensor

Description

Display image tensor into browser

Usage

tensor_image_browse(image, browser = getOption("browser"))

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

browser

argument passed to browseURL


[Package torchvision version 0.5.1 Index]