MCPcopy Create free account
hub / github.com/TorchSSL/TorchSSL / build

Method build

models/nets/wrn_var.py:147–155  ·  view source on GitHub ↗
(self, num_classes)

Source from the content-addressed store, hash-verified

145 self.is_remix = is_remix
146
147 def build(self, num_classes):
148 return WideResNetVar(
149 first_stride=self.first_stride,
150 depth=self.depth,
151 num_classes=num_classes,
152 widen_factor=self.widen_factor,
153 drop_rate=self.dropRate,
154 is_remix=self.is_remix,
155 )
156
157
158if __name__ == '__main__':

Callers 1

wrn_var.pyFile · 0.45

Calls 1

WideResNetVarClass · 0.85

Tested by

no test coverage detected