code: def _as_mat(x):
      if x.ndim == 2:
          return x
      return x.reshape(len(x), -1)
  
file_path: chainer/chainer/functions/noise/simplified_dropconnect.py
imports: import numpy
  from chainer import backend
  from chainer import function_node
  import chainer.functions
  from chainer.utils import type_check
  from chainer import variable
label_desc: Use image node_id 1 for calling a global function with example usage: _as_mat(x) and returns: x, x