Identity
An identity transform that returns its input unchanged.
This transform is useful as a starting point for building pipelines and as a no-op placeholder when a transform is required but no actual transformation is needed.
Example:
// Start a pipeline with identity
val pipeline = pipeline<Image>()
.resize(224, 224)
.toTensor()
.normalize(mean, std)Content copied to clipboard
Parameters
T
The type that passes through unchanged