Thank you for your reply. i am very appreciate that you have help me resolve my question
And I I 'm confused that  what kind of situation  to get h_n or lstm_out? and h_0 should be random tensor or be a zero tensor ,Is there have any different?