Powers of two could be preferred in all dimensions, so number of channels, spatial size etc.
However, as described before, internally padding could be used, so that you wouldn’t hit a performance cliff and should thus profile your workloads.