I figured out once but now I forgot…

  
      github.com/pytorch/pytorch
  
  
    



Issue: Documentation: Indexing output from bidirectional RNN (GRU,LSTM) 52


	
	opened by olofmogren
	on 2017-11-09
	
	
	


The documentation for RNNs (including GRU and LSTM) states the dimensionality of hidden state (num_layers * num_directions, batch, hidden_size) and output...




  
  
    
    
  
  


the above post might help