code: public void rnnSetPreviousState(int layer, Map<String, INDArray> state) {
          rnnSetPreviousState(layers[layer].conf().getLayer().getLayerName(), state);
      }
docs: Set the state of the RNN layer, for use in {@link #rnnTimeStep(INDArray...)}
  
  @param layer The number/index of the layer.
  @param state The state to set the specified layer to