I have created a pull request addressing the indexing issue (#17) . Keras during run time adds another dimension at axis 0 which becomes the batch axis. Hence, sliced() function slices through the second last dimension viz. embedding and not the people_num.
I have created a pull request addressing the indexing issue (#17) . Keras during run time adds another dimension at
axis 0
which becomes the batch axis. Hence,sliced()
function slices through the second last dimension viz.embedding
and not thepeople_num
.