Skip to content

Commit 08d2244

Browse files
Neural-Link Teamtensorflow-copybara
authored andcommitted
Fix the code snippet on homepage.
PiperOrigin-RevId: 267487477
1 parent 3a8a039 commit 08d2244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

g3doc/_index.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ landing_page:
5353
])
5454
5555
# Wrap the model with adversarial regularization.
56-
adv_config = nsl.lib.make_adv_reg_config(multiplier=0.2, adv_step_size=0.05)
56+
adv_config = nsl.configs.make_adv_reg_config(multiplier=0.2, adv_step_size=0.05)
5757
adv_model = nsl.keras.AdversarialRegularization(model, adv_config=adv_config)
5858
5959
# Compile, train, and evaluate.

0 commit comments

Comments
 (0)