utilsΒΆ

Defines utlity layers and operators for models in tiatoolbox.

Functions

centre_crop

A function to center crop image with given crop shape.

centre_crop_to_shape

A function to center crop image to shape.

Classes

UpSample2x

A layer to scale input by a factor of 2.