@santi-pdp Thanks it worked , I am new to pytorch and deeplearning framework trying hard to learn 
I found out what I did wrong
from docs
" h_0 (num_layers * num_directions, batch, hidden_size): tensor containing the initial hidden state for each element in the batch. "
I got confused between num_layers * num_directions and treated them as two params instead of one , Thanks for help again