h = tuple([each.data for each in h])
h stands for hidden state, my question is the data extension is built up function in LTSM?
h = tuple([each.data for each in h])
h stands for hidden state, my question is the data extension is built up function in LTSM?
no, it is a tensor property, doing the same as each.detach()
Thank you, very appreciated