Create all slots needed by the variables. Args: var_list: A list of `Variable` objects.
(self, var_list)
| 1035 | [dtypes.float16, dtypes.bfloat16, dtypes.float32, dtypes.float64]) |
| 1036 | |
| 1037 | def _create_slots(self, var_list): |
| 1038 | """Create all slots needed by the variables. |
| 1039 | |
| 1040 | Args: |
| 1041 | var_list: A list of `Variable` objects. |
| 1042 | """ |
| 1043 | # No slots needed by default |
| 1044 | pass |
| 1045 | |
| 1046 | def _prepare(self): |
| 1047 | """Create all needed tensors before applying gradients. |