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 0f6dd5a commit 7b7fe53Copy full SHA for 7b7fe53
tensorflow_model_optimization/python/core/clustering/keras/cluster_wrapper.py
@@ -326,11 +326,11 @@ def trainable(self, value):
326
327
@property
328
def trainable_weights(self):
329
- return self.layer.trainable_weights + self._trainable_weights
+ return self.layer.trainable_weights
330
331
332
def non_trainable_weights(self):
333
- return self.layer.non_trainable_weights + self._non_trainable_weights
+ return self.layer.non_trainable_weights
334
335
336
def updates(self):
0 commit comments