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

Method __init__

models/nets/wrn.py:132–141  ·  view source on GitHub ↗
(self, first_stride=1, depth=28, widen_factor=2, bn_momentum=0.01, leaky_slope=0.0, dropRate=0.0,
                 use_embed=False, is_remix=False)

Source from the content-addressed store, hash-verified

130
131class build_WideResNet:
132 def __init__(self, first_stride=1, depth=28, widen_factor=2, bn_momentum=0.01, leaky_slope=0.0, dropRate=0.0,
133 use_embed=False, is_remix=False):
134 self.first_stride = first_stride
135 self.depth = depth
136 self.widen_factor = widen_factor
137 self.bn_momentum = bn_momentum
138 self.dropRate = dropRate
139 self.leaky_slope = leaky_slope
140 self.use_embed = use_embed
141 self.is_remix = is_remix
142
143 def build(self, num_classes):
144 return WideResNet(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected