Skip to contents

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

Format

R6Class inheriting from PipeOpTaskPreprocTorch.

Parameters

IdTypeDefaultLevelsRange
topinteger-\((-\infty, \infty)\)
leftinteger-\((-\infty, \infty)\)
heightinteger-\((-\infty, \infty)\)
widthinteger-\((-\infty, \infty)\)
stagescharacter-train, predict, both-
affect_columnsuntypedselector_all()-