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

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