base_loader: Base loader

View source: R/folder-dataset.R

base_loaderR Documentation

Base loader

Description

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

Usage

base_loader(path)

Arguments

path

path or URL to load the image from.

Value

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


torchvision documentation built on Oct. 14, 2026, 1:09 a.m.