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

Method _get_beta_accumulators

tensorflow/python/training/adam.py:113–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

111 self._epsilon_t = None
112
113 def _get_beta_accumulators(self):
114 with ops.init_scope():
115 if context.executing_eagerly():
116 graph = None
117 else:
118 graph = ops.get_default_graph()
119 return (self._get_non_slot_variable("beta1_power", graph=graph),
120 self._get_non_slot_variable("beta2_power", graph=graph))
121
122 def _create_slots(self, var_list):
123 # Create the beta1 and beta2 accumulators on the same device as the first

Callers 15

doTestSparseMethod · 0.95
doTestBasicMethod · 0.95
testSharingMethod · 0.95
_initialized_modelMethod · 0.95
_apply_denseMethod · 0.95
_resource_apply_denseMethod · 0.95
_apply_sparse_sharedMethod · 0.95
_finishMethod · 0.95

Calls 2

executing_eagerlyMethod · 0.80

Tested by 15

doTestSparseMethod · 0.76
doTestBasicMethod · 0.76
testSharingMethod · 0.76
_initialized_modelMethod · 0.76
testSaveRestoreMethod · 0.76
_initialized_modelMethod · 0.76
doTestSparseMethod · 0.36
doTestBasicMethod · 0.36