Skip to contents

Calls torchvision::transform_pad, see there for more information on the parameters. The preprocessing is applied row wise (no batch dimension).

Format

R6Class inheriting from PipeOpTaskPreprocTorch.

Parameters

IdTypeDefaultLevels
paddinguntyped-
filluntyped0
padding_modecharacterconstantconstant, edge, reflect, symmetric
stagescharacter-train, predict, both
affect_columnsuntypedselector_all()