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

Method deb

caffe2/python/optimizer_test.py:344–348  ·  view source on GitHub ↗
(self, val, beta, i, zero_debias)

Source from the content-addressed store, hash-verified

342 raise unittest.SkipTest("no sparse support")
343
344 def deb(self, val, beta, i, zero_debias):
345 if zero_debias:
346 return val / (1.0 - beta ** i)
347 else:
348 return val
349
350 def get_lr_mu(self, distance, grad_var, h_min, h_max):
351 # First tune based on dynamic range

Callers 1

caffe2_yellowfinMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected