Train ML models on large images and 3D volumes with spatial partitioning on Cloud TPUs