utils¶
tiatoolbox
.models
.architecture
.utils
Define utility layers and operators for models in tiatoolbox.
Functions
A function to center crop image with given crop shape. |
|
A function to center crop image to shape. |
|
A decorator to compile a model using torch-compile. |
|
Check if the current GPU is compatible with torch-compile. |
Classes
A layer to scale input by a factor of 2. |