code: def test_weights_ndim2_align():
      # Should return aligned 2 dimensional data
      geo = load("weights_avg", reduce="PCA", ndims=2, align=True)
      assert all(wt.shape == (100, 2) for wt in geo.transform())
  
file_path: hypertools/tests/test_load.py
imports: from hypertools.tools.load import load
  from hypertools.datageometry import DataGeometry
label_desc: Use image node_id 11 for calling a global function with example usage: test_weights_ndim2_align() without return types