You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Hey, this is the MXNet Label Bot.
Thank you for submitting the issue! I will try and suggest some labels so that the appropriate MXNet community members can help resolve it.
Here are my recommended labels: Feature
Hi @sxjscience . I agree this is an annoying issue now, causing you to cast your sequence length tensor to be the same type of your data tensor. I fixed this back in January in this PR: #13880
It didn't get merged in time to make it into MXNet 1.4, but it will be in MXNet 1.5 when that release happens. So hang tight :)
Currently, the SequenceMask operator does not support different dtypes for data and sequence_length. Usually, we could set data.dtype = np.float32 and sequence_length.dtype = np.int32. However, it's not allowed due to this line: https://github.com/apache/incubator-mxnet/blob/master/src/operator/sequence_mask-inl.h#L220
We should fix it.
The text was updated successfully, but these errors were encountered: