tensor_image_browse: Display image tensor

View source: R/vision_utils.R

tensor_image_browseR 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


torchvision documentation built on April 14, 2023, 5:08 p.m.