Element-Research / dpnn

deep extensions to nn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OneHot with zeros in input

kvitajakub opened this issue · comments

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.

Thank you for the solution idea (in the pull request).