Closed pengyuan-zhou closed 3 years ago
With previous code, if len(s_batch) is zero, a bug will appear. Because in that case state will have length~1 and not able to assign state[1, -1], state[2, -1] and so on.
With previous code, if len(s_batch) is zero, a bug will appear. Because in that case state will have length~1 and not able to assign state[1, -1], state[2, -1] and so on.