deepness.processing.models.preprocessing_utils.transpose_nhwc_to_nchw

transpose_nhwc_to_nchw(tiles_batched: array) array

Transpose the input image from NHWC to NCHW

Parameters:

tiles_batched – Batch of tiles in NHWC format

Returns:

Batch of tiles in NCHW format