We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b8ddb4 commit a68b3a7Copy full SHA for a68b3a7
TFNetwork.py
@@ -728,6 +728,8 @@ def get_saveable_params_list(self):
728
for layer_name, layer in sorted(self.layers.items()):
729
assert isinstance(layer, LayerBase)
730
for param_name, param in sorted(layer.get_saveable_params_dict().items()):
731
+ if param in l: # could happen with reuse_params
732
+ continue
733
l.append(param)
734
l += self.get_auxiliary_params()
735
l += self.extra_vars_to_save
0 commit comments