MiscΒΆ

GaussianBlur(kernel_size[, sigma, ...])

Blurs image with randomly chosen Gaussian blur.

Identity([batch_inplace, num_chunks, ...])

Lambda(lambd, *types)

Apply a user-defined function as a transform.

LinearTransformation(transformation_matrix, ...)

Transform a tensor image or video with a square transformation matrix and a mean_vector computed offline.

Normalize(mean, std[, inplace])

Normalize a tensor image or video with mean and standard deviation.

RandomGaussianBlur(kernel_size[, sigma, p, ...])

Blurs image with randomly chosen Gaussian blur.

SanitizeBoundingBoxes([min_size, labels_getter])

Remove degenerate/invalid bounding boxes and their corresponding labels and masks.

ToDtype(dtype[, scale])

Converts the input to a specific dtype, optionally scaling the values for images or videos.