Skip to content

Commit

Permalink
Update save_pruned_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-ecm authored Feb 11, 2023
1 parent 66d17ae commit 4408024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion save_pruned_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def apply_pruning_to_dense(layer):
# Use `tf.keras.models.clone_model` to apply `apply_pruning_to_dense`
# to the layers of the model.
model_for_pruning = tf.keras.models.clone_model(
base_model,
model,
clone_function=apply_pruning_to_dense,
)

Expand Down

0 comments on commit 4408024

Please sign in to comment.