PipeOpPreprocTorchTrafoRgbToGrayscale
Source:R/preprocess.R
PipeOpPreprocTorchTrafoRgbToGrayscale.Rd
Calls torchvision::transform_rgb_to_grayscale
,
see there for more information on the parameters.
The preprocessing is applied row wise (no batch dimension).
Format
R6Class
inheriting from PipeOpTaskPreprocTorch
.