OneHot with zeros in input
kvitajakub opened this issue · comments
Jakub Kvita commented
Hello,
Thank you for the great packages. I am using dpnn
together with rnn
package and both of them are amazing.
Currently I have issue while using OneHot layer with MaskZero decorator from rnn, as OneHot (more specifically scatter) is not accepting zeros. I understand this works as intended, but It would be nice, if it worked together out of the box, probably with zeros as the output.
Jakub Kvita commented
Thank you for the solution idea (in the pull request).