code: def partial_flatten(x):
      """Flatten all but the first dimension of an ndarray."""
      return np.reshape(x, (x.shape[0], -1))
  
label_desc: Use image node_id 2 for calling a global function with example usage: partial_flatten(x) and returns: np