MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetParam

Function GetParam

tensorflow/contrib/opt/python/training/shampoo.py:38–42  ·  view source on GitHub ↗
(var, timestep)

Source from the content-addressed store, hash-verified

36
37
38def GetParam(var, timestep):
39 if callable(var):
40 return var(timestep)
41 else:
42 return var
43
44
45class ShampooOptimizer(optimizer.Optimizer):

Callers 15

_apply_gradientMethod · 0.85
TEST_PFunction · 0.85
TEST_PFunction · 0.85
TEST_PFunction · 0.85
GetRegistrationMethod · 0.85
GetTestTypeMethod · 0.85
GetRegistrationMethod · 0.85
TEST_PFunction · 0.85
TEST_PFunction · 0.85
TEST_PFunction · 0.85
ConstantAxisMethod · 0.85
AxisTypeMethod · 0.85

Calls 1

varFunction · 0.50

Tested by 15

TEST_PFunction · 0.68
TEST_PFunction · 0.68
TEST_PFunction · 0.68
GetRegistrationMethod · 0.68
GetTestTypeMethod · 0.68
GetRegistrationMethod · 0.68
TEST_PFunction · 0.68
TEST_PFunction · 0.68
TEST_PFunction · 0.68
ConstantAxisMethod · 0.68
AxisTypeMethod · 0.68
OutputTypeMethod · 0.68