howardhsu/DE-CNN

mask value in crf

avinashsai opened this issue · 1 comments

Hi,
Thanks for the code.
I wanted to what is the x_mask and how is it calculated when passed to crf ??

It's a boolean matrix with non tokens a value of True and with a value of False, which is computed as:
X[offset:offset+batch_size]!=0