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

Method build_optimizer

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

Source from the content-addressed store, hash-verified

233
234class TestAdadelta(OptimizerTestBase, LRModificationTestBase, TestCase):
235 def build_optimizer(self, model, **kwargs):
236 self._skip_gpu = False
237 return build_adadelta(model, base_learning_rate=1.0, decay=0.995, **kwargs)
238
239 def check_optimizer(self, optimizer):
240 self.assertFalse(optimizer.get_auxiliary_parameters().shared)

Callers

nothing calls this directly

Calls 1

build_adadeltaFunction · 0.90

Tested by

no test coverage detected