(self)
| 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 |