Spatial Representation Learning