keras-team / keras-contrib

Keras community contributions
MIT License
1.59k stars 653 forks source link

what is the ouput of CRF? #543

Open yiyi123123132 opened 4 years ago

yiyi123123132 commented 4 years ago

crf = CRF(len(tag2idx)) logits = crf(bert_output)

what is the ouput of the CRF,when I print the logits, it shows the dimension (?,?,tag2idx), why the CRF don't output the best sequence? (?,?,1)