MCPcopy Create free account
hub / github.com/pytorch/pytorch / build_optimizer

Method build_optimizer

caffe2/python/optimizer_test.py:223–225  ·  view source on GitHub ↗
(self, model, **kwargs)

Source from the content-addressed store, hash-verified

221
222class TestStorm(OptimizerTestBase, LRModificationTestBase, TestCase):
223 def build_optimizer(self, model, **kwargs):
224 self._skip_gpu = True
225 return build_storm(model, base_learning_rate=2.0, **kwargs)
226
227 def check_optimizer(self, optimizer):
228 self.assertFalse(optimizer.get_auxiliary_parameters().shared)

Callers

nothing calls this directly

Calls 1

build_stormFunction · 0.90

Tested by

no test coverage detected