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

Method __init__

models/nets/wrn_var.py:136–145  ·  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

134
135class build_WideResNetVar:
136 def __init__(self, first_stride=1, depth=28, widen_factor=2, bn_momentum=0.01, leaky_slope=0.0, dropRate=0.0,
137 use_embed=False, is_remix=False):
138 self.first_stride = first_stride
139 self.depth = depth
140 self.widen_factor = widen_factor
141 self.bn_momentum = bn_momentum
142 self.dropRate = dropRate
143 self.leaky_slope = leaky_slope
144 self.use_embed = use_embed
145 self.is_remix = is_remix
146
147 def build(self, num_classes):
148 return WideResNetVar(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected