Skip to content

Commit

Permalink
Rename differentially_private_aggregate -> optax.contrib
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 628022474
  • Loading branch information
Conchylicultor authored and Scenic Authors committed Apr 25, 2024
1 parent 2fb6ace commit 3ae42de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scenic/train_lib/optax.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def make(config: ml_collections.ConfigDict,
# with *zero* noise.
grad_clip_norm_tx = [
optax.masked(
optax.differentially_private_aggregate(
optax.contrib.differentially_private_aggregate(
config.max_grad_norm, 0.0, 0),
not_frozen_mask),
aggregate_gradients_pmean(axis_name=axis_name)]
Expand Down

0 comments on commit 3ae42de

Please sign in to comment.