Skip to content

Commit

Permalink
deploy: d241b2a
Browse files Browse the repository at this point in the history
  • Loading branch information
facebook-github-bot committed Nov 8, 2024
1 parent f4669fa commit dfde6a1
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 20 deletions.
2 changes: 2 additions & 0 deletions api/_modules/captum/metrics/_core/infidelity.html
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@ <h1>Source code for captum.metrics._core.infidelity</h1><div class="highlight"><
<span class="sd"> repeated instances per example.</span>
<span class="sd"> """</span>

<span class="c1"># pyre-fixme[53]: Captured variable `baselines_expanded` is not annotated.</span>
<span class="c1"># pyre-fixme[53]: Captured variable `inputs_expanded` is not annotated.</span>
<span class="k">def</span> <span class="nf">call_perturb_func</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="p">(</span>
<span class="n">Tuple</span><span class="p">[</span><span class="n">TensorOrTupleOfTensorsGeneric</span><span class="p">,</span> <span class="n">TensorOrTupleOfTensorsGeneric</span><span class="p">]</span>
<span class="p">):</span>
Expand Down
2 changes: 2 additions & 0 deletions api/_modules/captum/metrics/_core/infidelity/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@ <h1>Source code for captum.metrics._core.infidelity</h1><div class="highlight"><
<span class="sd"> repeated instances per example.</span>
<span class="sd"> """</span>

<span class="c1"># pyre-fixme[53]: Captured variable `baselines_expanded` is not annotated.</span>
<span class="c1"># pyre-fixme[53]: Captured variable `inputs_expanded` is not annotated.</span>
<span class="k">def</span> <span class="nf">call_perturb_func</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="p">(</span>
<span class="n">Tuple</span><span class="p">[</span><span class="n">TensorOrTupleOfTensorsGeneric</span><span class="p">,</span> <span class="n">TensorOrTupleOfTensorsGeneric</span><span class="p">]</span>
<span class="p">):</span>
Expand Down
2 changes: 2 additions & 0 deletions api/_modules/captum/metrics/_core/sensitivity.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ <h1>Source code for captum.metrics._core.sensitivity</h1><div class="highlight">
<span class="c1"># pyre-fixme[33]: Given annotation cannot be `Any`.</span>
<span class="n">kwargs_copy</span><span class="p">:</span> <span class="n">Any</span> <span class="o">=</span> <span class="kc">None</span>

<span class="c1"># pyre-fixme[53]: Captured variable `bsz` is not annotated.</span>
<span class="c1"># pyre-fixme[53]: Captured variable `expl_inputs` is not annotated.</span>
<span class="k">def</span> <span class="nf">_next_sensitivity_max</span><span class="p">(</span><span class="n">current_n_perturb_samples</span><span class="p">:</span> <span class="nb">int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Tensor</span><span class="p">:</span>
<span class="n">inputs_perturbed</span> <span class="o">=</span> <span class="n">_generate_perturbations</span><span class="p">(</span><span class="n">current_n_perturb_samples</span><span class="p">)</span>

Expand Down
2 changes: 2 additions & 0 deletions api/_modules/captum/metrics/_core/sensitivity/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ <h1>Source code for captum.metrics._core.sensitivity</h1><div class="highlight">
<span class="c1"># pyre-fixme[33]: Given annotation cannot be `Any`.</span>
<span class="n">kwargs_copy</span><span class="p">:</span> <span class="n">Any</span> <span class="o">=</span> <span class="kc">None</span>

<span class="c1"># pyre-fixme[53]: Captured variable `bsz` is not annotated.</span>
<span class="c1"># pyre-fixme[53]: Captured variable `expl_inputs` is not annotated.</span>
<span class="k">def</span> <span class="nf">_next_sensitivity_max</span><span class="p">(</span><span class="n">current_n_perturb_samples</span><span class="p">:</span> <span class="nb">int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Tensor</span><span class="p">:</span>
<span class="n">inputs_perturbed</span> <span class="o">=</span> <span class="n">_generate_perturbations</span><span class="p">(</span><span class="n">current_n_perturb_samples</span><span class="p">)</span>

Expand Down
8 changes: 4 additions & 4 deletions tutorials/CIFAR_TorchVision_Captum_Insights.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ <h1 id="Getting-started-with-Captum-Insights:-a-simple-model-on-CIFAR10-dataset"
<div class="output">
<div class="output_area">
<div class="prompt"></div>
<div id="a51a907b-5c7e-41ea-bde4-fb1bbf8f87c6"></div>
<div id="14010a4e-b9ef-4cf0-a632-8a29e97a209c"></div>
<div class="output_subarea output_widget_view">
<script type="text/javascript">
var element = $('#a51a907b-5c7e-41ea-bde4-fb1bbf8f87c6');
var element = $('#14010a4e-b9ef-4cf0-a632-8a29e97a209c');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "a16715bdfba9454bb4180e852cc98c1c", "version_major": 2, "version_minor": 0}
Expand All @@ -246,10 +246,10 @@ <h1 id="Getting-started-with-Captum-Insights:-a-simple-model-on-CIFAR10-dataset"
</div>
<div class="output_area">
<div class="prompt"></div>
<div id="2e0c7947-4fcc-4165-8391-95f5c4f6f167"></div>
<div id="07df4c5f-9c72-49d9-bdf3-d807cba65677"></div>
<div class="output_subarea output_widget_view">
<script type="text/javascript">
var element = $('#2e0c7947-4fcc-4165-8391-95f5c4f6f167');
var element = $('#07df4c5f-9c72-49d9-bdf3-d807cba65677');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "4b44b7e00f004ef7a56a34200ff2a64f", "version_major": 2, "version_minor": 0}
Expand Down
8 changes: 4 additions & 4 deletions tutorials/CIFAR_TorchVision_Captum_Insights/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ <h1 id="Getting-started-with-Captum-Insights:-a-simple-model-on-CIFAR10-dataset"
<div class="output">
<div class="output_area">
<div class="prompt"></div>
<div id="a51a907b-5c7e-41ea-bde4-fb1bbf8f87c6"></div>
<div id="14010a4e-b9ef-4cf0-a632-8a29e97a209c"></div>
<div class="output_subarea output_widget_view">
<script type="text/javascript">
var element = $('#a51a907b-5c7e-41ea-bde4-fb1bbf8f87c6');
var element = $('#14010a4e-b9ef-4cf0-a632-8a29e97a209c');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "a16715bdfba9454bb4180e852cc98c1c", "version_major": 2, "version_minor": 0}
Expand All @@ -246,10 +246,10 @@ <h1 id="Getting-started-with-Captum-Insights:-a-simple-model-on-CIFAR10-dataset"
</div>
<div class="output_area">
<div class="prompt"></div>
<div id="2e0c7947-4fcc-4165-8391-95f5c4f6f167"></div>
<div id="07df4c5f-9c72-49d9-bdf3-d807cba65677"></div>
<div class="output_subarea output_widget_view">
<script type="text/javascript">
var element = $('#2e0c7947-4fcc-4165-8391-95f5c4f6f167');
var element = $('#07df4c5f-9c72-49d9-bdf3-d807cba65677');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "4b44b7e00f004ef7a56a34200ff2a64f", "version_major": 2, "version_minor": 0}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/Llama2_LLM_Attribution.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ <h2 id="Preparation">Preparation<a class="anchor-link" href="#Preparation">¶</a
<div class="output">
<div class="output_area">
<div class="prompt"></div>
<div id="a8c35aa1-5e6e-4b61-b85e-e752a595e9a1"></div>
<div id="97de23b2-e457-4579-85dd-633bf29b11cb"></div>
<div class="output_subarea output_widget_view">
<script type="text/javascript">
var element = $('#a8c35aa1-5e6e-4b61-b85e-e752a595e9a1');
var element = $('#97de23b2-e457-4579-85dd-633bf29b11cb');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "c0dfcd33dfc448e5980b3ca3c9a0b024", "version_major": 2, "version_minor": 0}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/Llama2_LLM_Attribution/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ <h2 id="Preparation">Preparation<a class="anchor-link" href="#Preparation">¶</a
<div class="output">
<div class="output_area">
<div class="prompt"></div>
<div id="a8c35aa1-5e6e-4b61-b85e-e752a595e9a1"></div>
<div id="97de23b2-e457-4579-85dd-633bf29b11cb"></div>
<div class="output_subarea output_widget_view">
<script type="text/javascript">
var element = $('#a8c35aa1-5e6e-4b61-b85e-e752a595e9a1');
var element = $('#97de23b2-e457-4579-85dd-633bf29b11cb');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "c0dfcd33dfc448e5980b3ca3c9a0b024", "version_major": 2, "version_minor": 0}
Expand Down
8 changes: 4 additions & 4 deletions tutorials/Multimodal_VQA_Captum_Insights.html
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,10 @@ <h1 id="Using-the-Insights-API">Using the Insights API<a class="anchor-link" hre
<div class="output">
<div class="output_area">
<div class="prompt"></div>
<div id="6998f0fb-2a61-4b4e-b292-c3ad2cdc27bf"></div>
<div id="9467aacf-f5c8-4c34-a032-57ce2c6b218c"></div>
<div class="output_subarea output_widget_view">
<script type="text/javascript">
var element = $('#6998f0fb-2a61-4b4e-b292-c3ad2cdc27bf');
var element = $('#9467aacf-f5c8-4c34-a032-57ce2c6b218c');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "2033d6dad6c54502ac460d417074440e", "version_major": 2, "version_minor": 0}
Expand All @@ -651,10 +651,10 @@ <h1 id="Using-the-Insights-API">Using the Insights API<a class="anchor-link" hre
</div>
<div class="output_area">
<div class="prompt"></div>
<div id="6515b12d-9ad3-4948-b887-b99679fefeea"></div>
<div id="bdfd4dfd-e02e-46f0-a43b-48e88bf6fc16"></div>
<div class="output_subarea output_widget_view">
<script type="text/javascript">
var element = $('#6515b12d-9ad3-4948-b887-b99679fefeea');
var element = $('#bdfd4dfd-e02e-46f0-a43b-48e88bf6fc16');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "1217799e7d9c4791a9506cb08eb193fe", "version_major": 2, "version_minor": 0}
Expand Down
8 changes: 4 additions & 4 deletions tutorials/Multimodal_VQA_Captum_Insights/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,10 @@ <h1 id="Using-the-Insights-API">Using the Insights API<a class="anchor-link" hre
<div class="output">
<div class="output_area">
<div class="prompt"></div>
<div id="6998f0fb-2a61-4b4e-b292-c3ad2cdc27bf"></div>
<div id="9467aacf-f5c8-4c34-a032-57ce2c6b218c"></div>
<div class="output_subarea output_widget_view">
<script type="text/javascript">
var element = $('#6998f0fb-2a61-4b4e-b292-c3ad2cdc27bf');
var element = $('#9467aacf-f5c8-4c34-a032-57ce2c6b218c');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "2033d6dad6c54502ac460d417074440e", "version_major": 2, "version_minor": 0}
Expand All @@ -651,10 +651,10 @@ <h1 id="Using-the-Insights-API">Using the Insights API<a class="anchor-link" hre
</div>
<div class="output_area">
<div class="prompt"></div>
<div id="6515b12d-9ad3-4948-b887-b99679fefeea"></div>
<div id="bdfd4dfd-e02e-46f0-a43b-48e88bf6fc16"></div>
<div class="output_subarea output_widget_view">
<script type="text/javascript">
var element = $('#6515b12d-9ad3-4948-b887-b99679fefeea');
var element = $('#bdfd4dfd-e02e-46f0-a43b-48e88bf6fc16');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "1217799e7d9c4791a9506cb08eb193fe", "version_major": 2, "version_minor": 0}
Expand Down

0 comments on commit dfde6a1

Please sign in to comment.