Searched refs:_save_slice_info (Results 1 – 8 of 8) sorted by relevance
172 if not variable._save_slice_info:175 slice_name = variable._save_slice_info.full_name176 elif slice_name != variable._save_slice_info.full_name:179 (slice_name, variable._save_slice_info.full_name))183 variable, variable._save_slice_info.spec, name)185 yield ResourceVariableSaveable(variable, variable._save_slice_info.spec,266 elif isinstance(var, variables.Variable) and var._save_slice_info:267 name = var._save_slice_info.full_name
324 self.assertEqual(expected_specs[i], slices[i]._save_slice_info.spec)358 var1_name = vs1[0]._save_slice_info.full_name359 var2_name = vs2[0]._save_slice_info.full_name378 var1_name = vs1[0]._save_slice_info.full_name379 var2_name = vs2[0]._save_slice_info.full_name395 var1_name = vs1[0]._save_slice_info.full_name396 var2_name = vs2[0]._save_slice_info.full_name
85 if isinstance(primary, variables.Variable) and primary._save_slice_info:94 slice_info = primary._save_slice_info
465 slice_info = v._save_slice_info # pylint:disable=protected-access
150 si = slot._save_slice_info
1209 self._save_slice_info = save_slice_info1212 return self._save_slice_info1865 self._save_slice_info = None1905 self._save_slice_info = Variable.SaveSliceInfo(1909 self._save_slice_info = None2672 if self._save_slice_info:2674 self._save_slice_info.to_proto(export_scope=export_scope))
411 self._save_slice_info = save_slice_info767 if self._save_slice_info:769 self._save_slice_info.to_proto(export_scope=export_scope))1884 self._save_slice_info = variables.Variable.SaveSliceInfo(1888 self._save_slice_info = None
635 def _save_slice_info(self): member in DistributedVariable636 return self._primary._save_slice_info # pylint: disable=protected-access