osc.data.utils.img_hwc_to_chw

img_hwc_to_chw(img: tensorflow.python.framework.ops.Tensor) tensorflow.python.framework.ops.Tensor[source]

Image channels […, H, W, C] -> […, C, H, W]

Return type

Tensor