pipeline
Creates a pipeline starting point with an identity transform.
This is the idiomatic way to start building a transform pipeline:
val preprocessing = pipeline<BufferedImage>()
.resize(224, 224)
.toTensor()
.normalize(imagenetMean, imagenetStd)Content copied to clipboard
Return
An identity transform that can be chained with other transforms
Parameters
T
The input type for the pipeline