code: def _rank2(array):
      return array.reshape((-1, array.shape[-1]))
  
file_path: stellargraph/tests/mapper/test_corrupted.py
imports: import pytest
  import numpy
  from stellargraph.mapper import *
  from ..test_utils.graphs import example_graph_random
label_desc: Use image node_id 5 for calling a global function with example usage: _rank2(array) and returns: array