Return a list of the names of slots created by the `Optimizer`. See `get_slot()`. Returns: A list of strings.
(self)
| 893 | return named_slots.get(_var_key(var), None) |
| 894 | |
| 895 | def get_slot_names(self): |
| 896 | """Return a list of the names of slots created by the `Optimizer`. |
| 897 | |
| 898 | See `get_slot()`. |
| 899 | |
| 900 | Returns: |
| 901 | A list of strings. |
| 902 | """ |
| 903 | return sorted(self._slots.keys()) |
| 904 | |
| 905 | def variables(self): |
| 906 | """A list of variables which encode the current state of `Optimizer`. |