code: def _adjust_lstm_gate_order(W):
      if len(W.shape) == 2:
          i, f, m, o = np.hsplit(W, 4)
          return np.concatenate((i, m, f, o), axis=1)
      elif len(W.shape) == 1:
          i, f, m, o = np.split(W, 4)
          return np.concatenate((i, m, f, o))
      else:
          raise Exception("invalid input")
  
imports: import cntk
  import numpy
  from cntk.contrib import crosstalk
label_desc: Use image node_id 13 for calling a global function with example usage: _adjust_lstm_gate_order(W) and returns: np, np