Skip to content

Commit

Permalink
comment clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
chancejohnstone committed Nov 1, 2024
1 parent 0de04ef commit dc54d4c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions baselines/fedht/fedht/aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,6 @@ def _aggregate_n_closest_weights(
# calls hardthreshold function for each list element in weights_all
def hardthreshold_list(weights_all, num_keep: int) -> NDArrays:
"""Call hardthreshold."""
# params = [
# val
# for sublist in (hardthreshold(each, num_keep) for each in weights_all)
# for val in sublist
# ]

params = [
hardthreshold(each, num_keep) for each in weights_all
Expand Down

0 comments on commit dc54d4c

Please sign in to comment.