code: def _get_cudnn_rnn_splitter(attr):
      in_dim = attr.input_dim
      h_dim = attr.hidden_dim
      gates = _get_rnn_gates(attr.op_type)
      # for unidirectional, W, H, b1, b2
      # for bidirectional, fw_W, fw_H, bw_W, bw_H, fw_b1, fw_b2, bw_b1, bw_b2
      multiplier = 2 if attr.bidirectional else 1
      splitter = [
          in_dim * h_dim * gates,
          h_dim * h_dim * gates,
      ] * multiplier + [h_dim * gates, h_dim * gates] * multiplier
  
      splitter = splitter[0:-1]
      return np.cumsum(splitter)
  
imports: import cntk
  import numpy
  from cntk.contrib import crosstalk
label_desc: Use image node_id 11 for calling a global function with example usage: _get_cudnn_rnn_splitter(attr) and returns: np