r3stl355 commented on issue #18938:
URL: 
https://github.com/apache/incubator-mxnet/issues/18938#issuecomment-774783732


   Hey @szha, thank you for merging this. As for the expected shape of the 
returned array, SequenceLast by design returns an array with one dimension less 
than the input array, e.g. if input has shape [2, 3, 4], SequenceLast will 
return an array of shape [3, 4]. However, this becomes tricky if the first 
dimension of the input array is zero because following the same logic, 
SequenceLast will end up returning a non empty array given an empty array, e.g. 
given an array with shape [0, 3, 4], it will still return an array of shape [3, 
4]. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org
For additional commands, e-mail: issues-h...@mxnet.apache.org

Reply via email to