MCPcopy Create free account
hub / github.com/NJUNLP/GTS / _cls_logits

Method _cls_logits

code/NNModel/model.py:47–50  ·  view source on GitHub ↗
(self, features)

Source from the content-addressed store, hash-verified

45 return context
46
47 def _cls_logits(self, features):
48 # features = self.dropout2(features)
49 tags = self.cls_linear(features)
50 return tags
51
52 def multi_hops(self, features, lengths, mask, k):
53 '''generate mask'''

Callers 1

multi_hopsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected