Skip to content

Commit

Permalink
deploy: 7b28054
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 1, 2023
1 parent 86c43b7 commit d610876
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion api/privacy_engine.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<span class="gp">&gt;&gt;&gt; </span><span class="n">model</span> <span class="o">=</span> <span class="n">MyCustomModel</span><span class="p">()</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">optimizer</span> <span class="o">=</span> <span class="n">torch</span><span class="o">.</span><span class="n">optim</span><span class="o">.</span><span class="n">SGD</span><span class="p">(</span><span class="n">model</span><span class="o">.</span><span class="n">parameters</span><span class="p">(),</span> <span class="n">lr</span><span class="o">=</span><span class="mf">0.05</span><span class="p">)</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">privacy_engine</span> <span class="o">=</span> <span class="n">PrivacyEngine</span><span class="p">()</span>
<span class="go">&gt;&gt;&gt;</span>
<span class="gp">&gt;&gt;&gt;</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">model</span><span class="p">,</span> <span class="n">optimizer</span><span class="p">,</span> <span class="n">dataloader</span> <span class="o">=</span> <span class="n">privacy_engine</span><span class="o">.</span><span class="n">make_private</span><span class="p">(</span>
<span class="gp">... </span> <span class="n">module</span><span class="o">=</span><span class="n">model</span><span class="p">,</span>
<span class="gp">... </span> <span class="n">optimizer</span><span class="o">=</span><span class="n">optimizer</span><span class="p">,</span>
Expand Down
2 changes: 1 addition & 1 deletion api/privacy_engine/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<span class="gp">&gt;&gt;&gt; </span><span class="n">model</span> <span class="o">=</span> <span class="n">MyCustomModel</span><span class="p">()</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">optimizer</span> <span class="o">=</span> <span class="n">torch</span><span class="o">.</span><span class="n">optim</span><span class="o">.</span><span class="n">SGD</span><span class="p">(</span><span class="n">model</span><span class="o">.</span><span class="n">parameters</span><span class="p">(),</span> <span class="n">lr</span><span class="o">=</span><span class="mf">0.05</span><span class="p">)</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">privacy_engine</span> <span class="o">=</span> <span class="n">PrivacyEngine</span><span class="p">()</span>
<span class="go">&gt;&gt;&gt;</span>
<span class="gp">&gt;&gt;&gt;</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">model</span><span class="p">,</span> <span class="n">optimizer</span><span class="p">,</span> <span class="n">dataloader</span> <span class="o">=</span> <span class="n">privacy_engine</span><span class="o">.</span><span class="n">make_private</span><span class="p">(</span>
<span class="gp">... </span> <span class="n">module</span><span class="o">=</span><span class="n">model</span><span class="p">,</span>
<span class="gp">... </span> <span class="n">optimizer</span><span class="o">=</span><span class="n">optimizer</span><span class="p">,</span>
Expand Down
2 changes: 1 addition & 1 deletion js/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tutorials/building_text_classifier.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tutorials/building_text_classifier/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tutorials/intro_to_advanced_features.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tutorials/intro_to_advanced_features/index.html

Large diffs are not rendered by default.

0 comments on commit d610876

Please sign in to comment.