Package-level declarations
Types
CIFAR-10 normalization statistics.
Center crops an image to a square of the specified size.
Crops an image by removing pixels from the edges.
Resizes an image to the specified dimensions.
Rotates an image by the specified degrees.
Converts a platform image to a tensor.
Interpolation methods for image resizing operations.
Normalizes tensor values using channel-wise mean and standard deviation.
Rescales tensor values by dividing by a constant factor.
Reshapes a tensor to a new shape without changing the data.
Scales and shifts tensor values: output = input * scale + offset
Removes a dimension of size 1 at the specified position.
A transform that operates on tensors using an ExecutionContext.
Scope that provides tensor transform DSL with an implicit execution context.
Adds a dimension of size 1 at the specified position.
Functions
Chains an ImageCenterCrop transform that extracts a centered square.
Creates a standard CIFAR-10 preprocessing pipeline.
Android implementation of image crop using Bitmap APIs.
Crops a platform image to the specified region.
JVM implementation of image crop using Java2D.
Creates a standard ImageNet preprocessing pipeline.
Creates a standard MNIST preprocessing pipeline.
Android implementation of image padding using Canvas.
Pads a platform image with the specified margins.
JVM implementation of image padding using Java2D.
Chains a Reshape transform using vararg dimensions.
Chains a Reshape transform.
Chains an ImageResize transform.
Android implementation of image resize using Bitmap APIs.
Resizes a platform image to the specified dimensions.
JVM implementation of image resize using Java2D.
Chains an ImageRotate transform.
Android implementation of image rotation using Matrix.
Rotates a platform image by the specified degrees.
JVM implementation of image rotation using Java2D.
Chains an ImageToTensor transform that converts the image to a tensor.
Creates a transform scope with the given execution context.