MCPcopy Create free account
hub / github.com/SooLab/CGFormer / num_labels

Method num_labels

bert/configuration_utils.py:118–119  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116
117 @property
118 def num_labels(self):
119 return len(self.id2label)
120
121 @num_labels.setter
122 def num_labels(self, num_labels):

Callers

nothing calls this directly

Calls 2

valuesMethod · 0.80
keysMethod · 0.80

Tested by

no test coverage detected