code: def test_reshape_as_raster():
      img_arr = np.random.randn(718, 791, 3)
      rast_arr = plot.reshape_as_raster(img_arr)
      assert img_arr.shape[-1] == rast_arr.shape[0]
  
imports: import numpy
  from rasterio import plot
  import rasterio
label_desc: Use image node_id 3 for calling a global function with example usage: test_reshape_as_raster() without return types