MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / get_classifier

Method get_classifier

timm/models/xception.py:175–176  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

173 m.bias.data.zero_()
174
175 def get_classifier(self):
176 return self.fc
177
178 def reset_classifier(self, num_classes, global_pool='avg'):
179 self.num_classes = num_classes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected