Learn R Programming

torchvision (version 0.8.0)

base_loader: Base loader

Description

Loads an image using jpeg, png or tiff packages depending on the file extension.

Usage

base_loader(path)

Value

an channel-last array of image values with dim Height x Width x 3

Arguments

path

path or URL to load the image from.