code: def test_weights_ndim1():
      # Should return 1 dimensional data
      geo = load("weights_avg", reduce="PCA", ndims=1)
      assert all(wt.shape == (100, 1) 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 9 for calling a global function with example usage: test_weights_ndim1() without return types