Skip to content

Commit

Permalink
Productionize CRF layer in PyText (pytorch#10362)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#10362

This diff implements a manual export from PyText's CRF module to the caffe2 CRF layer.
Note that most of the changes in caffe2/python/crf.py are just formatting changes, the only relevant change is the new class CRFUtils.

Reviewed By: hikushalhere

Differential Revision: D9234126

fbshipit-source-id: 1a67d709034660e8b3d5ac840560b56de63e3f69
  • Loading branch information
ahhegazy authored and PenghuiCheng committed Sep 11, 2018
1 parent f665bf9 commit 33c05ed
Showing 1 changed file with 155 additions and 217 deletions.

0 comments on commit 33c05ed

Please sign in to comment.