loadImage {animl}R Documentation

Load an image and return the full size image as an image tensor.

Description

Load an image and return the full size an image tensor. Internal function to be called by image generator function.

Usage

loadImage(file, standardize = FALSE)

Arguments

file

path to a JPEG file

standardize

standardize the image, TRUE or FALSE.

Value

An image tensor.


[Package animl version 1.1.0 Index]