Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve docs #639

Open
wants to merge 659 commits into
base: master-0-new-1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
659 commits
Select commit Hold shift + click to select a range
130513b
Changes to tutorial based on feedback
ProGamerGov Jan 25, 2021
fae868b
Address notebook feedback - part 2
ProGamerGov Jan 25, 2021
b9cbf02
Better wording for new sentence
ProGamerGov Jan 25, 2021
4d85d13
get_expanded_weights -> extract_expanded_weights
ProGamerGov Jan 26, 2021
83921ed
Improve weight vis notebook introduction
ProGamerGov Jan 26, 2021
f45b208
Change NMF link location
ProGamerGov Jan 26, 2021
bc7fa97
Add return to _check_layer_in_model test
ProGamerGov Jan 26, 2021
162e47a
Remove return
ProGamerGov Jan 26, 2021
2fc46d0
GPU Test Fix
ProGamerGov Jan 26, 2021
99f872c
Merge pull request #574 from ProGamerGov/optim-wip-circuits
NarineK Jan 26, 2021
948be8d
Merge branch 'optim-wip' into optim-wip-objectives-images
greentfrapp Jan 28, 2021
4196735
Initialize SimpleModel weights for better reproducibility
greentfrapp Jan 28, 2021
ed2d33c
Fix bare except
greentfrapp Jan 28, 2021
580733c
Add supports_gpu arg to ChannelReducer
greentfrapp Jan 29, 2021
96905a6
Optim-wip: Fix _check_layer_in_model test
ProGamerGov Jan 30, 2021
af13138
Merge pull request #606 from ProGamerGov/patch-2
NarineK Jan 30, 2021
b0c8a2c
Switch ImageTensor to inherit from nn.Parameter
greentfrapp Feb 2, 2021
cd62aa7
Fix lint
greentfrapp Feb 2, 2021
f54ed45
Fix ImageTensor
greentfrapp Feb 2, 2021
9eb37b7
Add default empty value for ImageTensor
greentfrapp Feb 2, 2021
4012577
Correct weight visualization citation
ProGamerGov Feb 5, 2021
35ecedc
Add research paper links to weight viz notebook
ProGamerGov Feb 5, 2021
defba84
Merge pull request #611 from ProGamerGov/patch-3
NarineK Feb 5, 2021
7c918f6
Add transforms from @ProGamerGov
greentfrapp Feb 6, 2021
488e2bc
Remove unittest.main from optim tests
greentfrapp Feb 10, 2021
5e1a800
Use collect_activations in test_loss
greentfrapp Feb 10, 2021
b8dd499
Use assertTrue instead of assert
greentfrapp Feb 10, 2021
7f0cef0
Move self.cleanup to `finally` block
greentfrapp Feb 10, 2021
cec5b1a
Rely on parent for self.target=target
greentfrapp Feb 10, 2021
36492d0
Truncate too big arg instead of not showing
greentfrapp Feb 10, 2021
2071063
Add assert checks for AlphaChannelLoss
greentfrapp Feb 10, 2021
dece597
Check for torch version instead of doing try except in get_fft_funcs
greentfrapp Feb 10, 2021
c0c9e13
Change torch.__version__ == "1.2.0" to <= "1.2.0"
greentfrapp Feb 10, 2021
62376e8
Remove tutorials/optim
greentfrapp Feb 10, 2021
1658278
Remove unused imports
greentfrapp Feb 10, 2021
3e5ebfd
Move torch.__version__ out
greentfrapp Feb 10, 2021
6a487f8
Hardcode superclass Loss because we are using a wrapper
greentfrapp Feb 10, 2021
bf0560f
Lint fix
greentfrapp Feb 10, 2021
dadbc71
Fix incorrect check for torch version
greentfrapp Feb 10, 2021
d97b8aa
Check torch.__version__ for passing align_corners
greentfrapp Feb 11, 2021
d49fcd0
Move test model to helpers.basic_models
greentfrapp Feb 11, 2021
a21d459
Merge branch 'optim-wip' into optim-wip-objectives-images
greentfrapp Feb 11, 2021
7c9c636
Add cuda test for ImageTensor
greentfrapp Feb 11, 2021
eca3a0f
Lint fix
greentfrapp Feb 11, 2021
30d662a
Add tests for TypeError in CompositeLoss
greentfrapp Feb 11, 2021
a5d5c72
Move show and export functions to optim._utils.image.common
greentfrapp Feb 11, 2021
bb60940
Enforce target property in Loss subclasses
greentfrapp Feb 11, 2021
bb61e13
Update tutorials to use new InputOptimization
greentfrapp Feb 11, 2021
3610764
Fix AlmostEqual tests in optim/test_loss
greentfrapp Feb 11, 2021
8b26b0b
Fix several tests
greentfrapp Feb 11, 2021
a18b6cb
Use less strict test for InputOptimization
greentfrapp Feb 11, 2021
02a99fa
Remove unnecessary except statement
greentfrapp Feb 12, 2021
83b2b35
Add tests for ChannelReducer
greentfrapp Feb 12, 2021
dfd368c
Lint fix
greentfrapp Feb 12, 2021
a0a2da5
Fix inceptionv1 model layers for attributions
ProGamerGov Feb 22, 2021
52bcd5c
Revert LocalResponseNorm values to previous values
ProGamerGov Feb 22, 2021
70feca0
Return model layers back to normal & use Ludwig's LRN values
ProGamerGov Feb 23, 2021
0690061
Remove unused import
ProGamerGov Feb 23, 2021
d5b49ab
Merge pull request #621 from ProGamerGov/optim-wip-fix-inceptionv1-at…
NarineK Feb 25, 2021
da65e79
Update objectives.py to optimization.py
greentfrapp Mar 22, 2021
6c86d1d
Fix tests
greentfrapp Mar 22, 2021
6ac8fe5
Fix composite losses
greentfrapp Mar 22, 2021
ae14a3a
Fix documentation and remove unused function
greentfrapp Mar 22, 2021
f08194e
Lint fix
greentfrapp Mar 22, 2021
30ad997
Lint fix
greentfrapp Mar 22, 2021
56a8778
Add typehints
greentfrapp Mar 22, 2021
00a6707
Add optional batch_index to losses
greentfrapp Mar 22, 2021
df0f586
Update tutorials
greentfrapp Mar 22, 2021
255c459
Change rand_select to _rand_select
greentfrapp Mar 22, 2021
bf7a6a0
Fix tests
greentfrapp Mar 22, 2021
48f2149
Fix tests
greentfrapp Mar 23, 2021
cf29b6d
Update batch_index in losses
greentfrapp Mar 25, 2021
52f03a4
Use torch ReLU and LocalResponseNorm instead of custom layers
greentfrapp Mar 25, 2021
f2d9002
Remove warnings from notebooks
greentfrapp Mar 25, 2021
cfec15e
Add summarize_loss
greentfrapp Mar 25, 2021
237ffab
Remove supports_gpu arg and raise more informative error if TypeError…
greentfrapp Mar 25, 2021
1c73a2d
Lint fix
greentfrapp Mar 25, 2021
ce6dc54
Add CUDA test for ImageTensor
greentfrapp Mar 25, 2021
eff57aa
Fix ImageTensor CUDA test
greentfrapp Mar 25, 2021
24cabcd
Remove if statement from RedirectedReluLayer
greentfrapp Mar 26, 2021
b5b7e2c
Remove unnecessary device variable
greentfrapp Mar 26, 2021
4c89e8f
Add typehint for module_op
greentfrapp Mar 26, 2021
ca81f23
Fix bugs in tutorials
greentfrapp Mar 26, 2021
848bcff
Add todo note to Conv2dSame
greentfrapp Mar 26, 2021
a3bd393
Make WeightVisualization tutorial CUDA-compatible
greentfrapp Mar 26, 2021
5832e36
Lint fix
greentfrapp Mar 26, 2021
3fdc801
Add typehints for math ops
greentfrapp Mar 26, 2021
c37cc14
Fix typehints
greentfrapp Mar 26, 2021
2fd8f8e
Use forward declaration for typehints
greentfrapp Mar 26, 2021
ee912a2
Update notebooks
greentfrapp Mar 26, 2021
e7b7720
Restructure models folder and add inception5h classes
greentfrapp Mar 27, 2021
2fdbf49
Expose RedirectedReluLayer via optim.models
greentfrapp Mar 27, 2021
bb7f466
Lint fix
greentfrapp Mar 27, 2021
c78eba7
Use independent random inits for each image in batch
greentfrapp Mar 27, 2021
19b90ab
Add more tests
greentfrapp Mar 27, 2021
30d1104
Lint fix
greentfrapp Mar 27, 2021
ecdd801
Update googlenet import in tutorials
greentfrapp Mar 27, 2021
6257f73
Remove extra print statement
greentfrapp Mar 27, 2021
46e479c
Small change to wording in tutorial
greentfrapp Mar 27, 2021
c67c889
Set default param to same device as model for optimization
greentfrapp Mar 27, 2021
d89d58b
Add notebook for reproducing Lucid tutorial
greentfrapp Mar 27, 2021
1c055eb
Move ReLU out of InceptionModule
greentfrapp Mar 27, 2021
d0c5a04
Remove extra code in CompositeLoss tutorial
greentfrapp Mar 27, 2021
2839976
Small fix for CompositeLoss tutorial
greentfrapp Mar 27, 2021
9d5c5cb
Fix Diversity loss
greentfrapp Mar 27, 2021
ee8465f
Add Interpolation tutorial
greentfrapp Mar 27, 2021
0704af6
Add negative sign to Alignment loss
greentfrapp Mar 28, 2021
ef8d147
Set AlphaChannelLoss as ToDo
greentfrapp Mar 28, 2021
d85f4e5
Rename SimpleLoss to BaseLoss and add batch_index to CustomModules
greentfrapp Mar 28, 2021
0fc0de9
Add typehint to default_loss_summarize and add to CustomModules tutorial
greentfrapp Mar 28, 2021
66744cc
Fix small bug in CustomModules batch_index
greentfrapp Mar 28, 2021
a82070c
Add typehint to InceptionModule
greentfrapp Mar 28, 2021
2b5ad0d
Add typehint to AuxBranch
greentfrapp Mar 28, 2021
229e1aa
Update and combine tutorials
greentfrapp Mar 29, 2021
d7e6ef2
Expose skip_layers in optim.models
greentfrapp Mar 29, 2021
9f8c9fa
Fix conflict
greentfrapp Mar 30, 2021
5f5ceb0
Resolve conflicts
greentfrapp Mar 30, 2021
443b796
Merge branch 'pytorch-optim-wip' into optim-wip-objectives-images
greentfrapp Mar 30, 2021
ec1a79b
Fix bug from resolving conflicts
greentfrapp Mar 30, 2021
322f882
Refactor __init__ files
greentfrapp Mar 30, 2021
f652f79
Move lr arg to optimize and add typehints for InputOptimization methods
greentfrapp Mar 30, 2021
65b66dc
Add description to default_loss_summarize
greentfrapp Mar 30, 2021
140d62d
Update tutorials
greentfrapp Mar 30, 2021
f0f9a7d
Update __init__
greentfrapp Mar 31, 2021
0e6fa8f
Restructure submodules
greentfrapp Apr 1, 2021
24379d5
Lint and update tests
greentfrapp Apr 1, 2021
aab4c80
Expose inception5h classes via optim.models.INCEPTION5H_CLASSES
greentfrapp Apr 1, 2021
fa44939
Lint fix
greentfrapp Apr 1, 2021
93cb190
Add ChannelAttribution tutorial
greentfrapp Apr 1, 2021
3c03173
Clean up notebooks
greentfrapp Apr 1, 2021
1cac260
Remove Neuron Groups
greentfrapp Apr 1, 2021
6b7ff8c
Update submodule folder structure
greentfrapp Apr 3, 2021
9596e28
Add __all__ to submodule files
greentfrapp Apr 4, 2021
3bb726d
Expose loss_wrapper in losses.py
greentfrapp Apr 5, 2021
b4064ee
Remove warnings import
greentfrapp Apr 5, 2021
6e3ea9c
Add typehints
greentfrapp Apr 6, 2021
05c3518
Add and fix typehints
greentfrapp Apr 7, 2021
33c5da6
Add typehints to tutorials
greentfrapp Apr 7, 2021
1156f7a
Remove str from device type
greentfrapp Apr 7, 2021
4d954a6
Lint fix
greentfrapp Apr 7, 2021
c3cea2e
Remove AvgPool2dConstrained
greentfrapp Apr 8, 2021
a506d90
Remove unused tests and lint
greentfrapp Apr 8, 2021
3fe9102
Add check for AvgPool2d
greentfrapp Apr 8, 2021
9bfb477
Add note on loss_wrapper
greentfrapp Apr 9, 2021
53b873c
Add typehints and other small fixes
greentfrapp Apr 9, 2021
4cdce41
More typehints and add weight banding article reference
greentfrapp Apr 10, 2021
35db053
Fix typo in test
greentfrapp Apr 10, 2021
c91256a
Fix weird mypy error
greentfrapp Apr 10, 2021
1ab9397
Fix small bug in pad and show
greentfrapp Apr 12, 2021
a1fcdf8
Fix _dot_cossim function
greentfrapp Apr 12, 2021
c40e6db
Move _dot_cossim to common.py
greentfrapp Apr 12, 2021
f591157
Lint fix
greentfrapp Apr 12, 2021
d6fa517
Change AbortForwardException to warning
greentfrapp Apr 12, 2021
72ade8d
Add test for input-based optimization
greentfrapp Apr 13, 2021
e17569a
Use eps in _dot_cossim
greentfrapp Apr 13, 2021
af931a2
Fix nits and fix warning suppression
greentfrapp Apr 19, 2021
c4d2158
Remove unnecessary self.batch and use torch.fft.fftfreq
greentfrapp Apr 19, 2021
c97d180
Small fixes for FFTImage
greentfrapp Apr 24, 2021
78a82ae
Add missing Callable
greentfrapp Apr 24, 2021
bc744a3
Add back transforms
greentfrapp Apr 25, 2021
6e3eb60
Merge pull request #552 from greentfrapp/optim-wip-objectives-images
NarineK Apr 26, 2021
d600559
Fix the Inception5h model's download link
ProGamerGov Apr 26, 2021
8612fee
Fix black error
ProGamerGov Apr 26, 2021
d31d60d
Ensure history has no gradient
ProGamerGov Apr 26, 2021
bd3c7fe
Remove .cpu() to improve optimization speed
ProGamerGov Apr 26, 2021
bbebf22
Temporarily disable nightly build tests affected by pytorch/pytorch#5…
ProGamerGov May 3, 2021
0fb9eb5
Fix flake8 error
ProGamerGov May 3, 2021
7c453e0
Remove ImageTensor test skips & add new tests
ProGamerGov May 6, 2021
5d0d143
Fix ImageTensor __new__ list test
ProGamerGov May 6, 2021
50455bf
Fix NaturalImage device bug
ProGamerGov May 12, 2021
c9ece95
Set decorrelate_init default back to True
ProGamerGov May 12, 2021
4bd8e5b
Check for presence of Pillow / PIL library in ImageTensor applicable …
ProGamerGov May 12, 2021
71a370d
Update Conda installation script to latest version
ProGamerGov May 17, 2021
e7fcdc0
Add SkipLayer to models __init__
ProGamerGov May 19, 2021
015890e
Make SkipLayer work if there are any additional init or forward argum…
ProGamerGov May 19, 2021
1bcac93
Minor correction to optimize's loss summarizer setup
ProGamerGov May 20, 2021
811a269
Fix _rand_select bug
ProGamerGov May 21, 2021
1f2d421
Increase number of steps in optimization test
ProGamerGov May 22, 2021
8227b79
Fix FFTImage support for images with odd width values
ProGamerGov May 22, 2021
f10fa86
Fix test_rfft2d_freqs & add more SkipLayer tests
ProGamerGov May 22, 2021
9157524
Remove duplicate imports
ProGamerGov May 23, 2021
6359321
Make it possible to load RGBA images with ImageTensor
ProGamerGov May 23, 2021
e4a1310
Remove unused line: 'h, w = self.size'
ProGamerGov May 24, 2021
9ca0f9b
Change NumPy rfft2d_freqs to match PyTorch version
ProGamerGov May 26, 2021
681e3ee
Fix PCA ChannelReducer test
ProGamerGov May 26, 2021
8aaf1a2
Fix failing nodejs
ProGamerGov May 26, 2021
27145c7
Resolve the ToRGB device issue with NaturalImage
ProGamerGov May 26, 2021
15a7db6
Fix no color decorrelation test
ProGamerGov May 26, 2021
02fc2d7
Add ToDos and better SkipLayer docs
ProGamerGov Jun 1, 2021
7f078f9
Fix lint and FFTImage init device
ProGamerGov Jun 1, 2021
d9b4620
Fix NaturalImage device issues
ProGamerGov Jun 1, 2021
5aaece3
Improve NaturalImage fix
ProGamerGov Jun 1, 2021
c72adc5
Remove redundant NaturalImage device fix
ProGamerGov Jun 2, 2021
1eae61c
Improve SkipLayer documentation
ProGamerGov Jun 7, 2021
46e16e4
Merge pull request #656 from ProGamerGov/patch-6
NarineK Jun 7, 2021
e7835de
Optim-wip: Add a ton of missing docs (#571)
ProGamerGov Jul 31, 2021
6e7f0bd
Optim-wip: Add Activation Atlas sample collection tutorial & supporti…
ProGamerGov Sep 27, 2021
82ab88d
Optim-wip: Add main Activation Atlas tutorial & functions (#782)
ProGamerGov Jan 27, 2022
c36f160
Fix bug with nn.Sequential targets
ProGamerGov Feb 10, 2022
02b8567
Fix target bug in `sum_loss_list`
ProGamerGov Feb 10, 2022
fe810d7
Move inception test helpers to separate file
ProGamerGov Feb 12, 2022
f97d2e3
Use `check_layer_in_model` helper for both True and False tests
ProGamerGov Mar 17, 2022
aae34d0
Merge pull request #863 from ProGamerGov/optim-wip-helpers-1
aobo-y Mar 17, 2022
32aaf0a
Fix `InputOptimization` init function model type hint
ProGamerGov Mar 18, 2022
0bf7334
Check for `list` type instead of `__iter__` & `nn.Module`
ProGamerGov Mar 21, 2022
425226c
Check for `list` type instead of `__iter__` & `nn.Module`
ProGamerGov Mar 22, 2022
af09263
Fix issues with `get_model_layers`
ProGamerGov Mar 23, 2022
5106d06
Change `prefix` variable to `str` & remove `hasattr` check
ProGamerGov Mar 23, 2022
7287e5d
Merge pull request #861 from ProGamerGov/optim-wip-fix-model-layers-bug
aobo-y Mar 24, 2022
911b205
Use `next` instead of `list`
ProGamerGov Mar 25, 2022
6215f48
Add optional to docs and remove old & unused doc
ProGamerGov Mar 25, 2022
ebf52b3
Merge pull request #858 from ProGamerGov/optim-wip-fix-target-bug
aobo-y Mar 30, 2022
3df1c0a
Optim-wip: Add Class Activation Atlas Tutorial Notebook (#850)
ProGamerGov Apr 14, 2022
cbc6aac
Fix & Update WeightVisualization Notebook (#820)
ProGamerGov May 8, 2022
cd672a0
Optim-wip: Add JIT support to all transforms & some image parameteriz…
ProGamerGov May 8, 2022
77c80f0
Add MIT Places 365 GoogleNet model (#935)
ProGamerGov May 10, 2022
c500ab5
Merge branch 'optim-wip-master-1' into captum-master
ProGamerGov May 11, 2022
f365ee1
Merge branch 'master' into 'optim-wip'
ProGamerGov May 11, 2022
1290094
Fix linting, depreciations, & version checks
ProGamerGov May 11, 2022
cf86e1f
Fix test errors
ProGamerGov May 11, 2022
90b5bd5
Fix linting, version checks, and other issues
ProGamerGov May 12, 2022
dc3a07b
Remove old version checks & fix test version checks
ProGamerGov May 12, 2022
167dbc9
Merges updates from master branch
ProGamerGov May 12, 2022
f11f271
Formatting changes for black 22.3.0
May 12, 2022
9bb7d47
Merge updates from master branch
ProGamerGov May 12, 2022
e2ba3df
Merge pull request #939 from ProGamerGov/optim-wip-master-1
aobo-y May 12, 2022
cf67101
Optim-wip: Fix the Channel Attr notebook image download & metadata fi…
ProGamerGov May 15, 2022
ba84783
Optim-wip: Miscellaneous Changes & Fixes (#827)
ProGamerGov May 15, 2022
5c92e09
Optim-wip: Add descriptions and argument documentation to losses (#831)
greentfrapp May 15, 2022
5e18711
Optim-wip: Add new StackImage parameterization & JIT support for Shar…
ProGamerGov May 17, 2022
4e5e50c
Optim-wip: Improve ModuleOutputsHook, testing coverage (#834)
ProGamerGov May 17, 2022
d272be7
Optim-wip: Add better colorspace support, image grids, & user agent t…
ProGamerGov May 17, 2022
e2e58da
Improve loss objective docs + batch_index
ProGamerGov May 18, 2022
c905352
Fix NeuronActivation docs
ProGamerGov May 18, 2022
00927a1
Improve loss docs
ProGamerGov Jun 2, 2022
857f26c
Add CompositeLoss to __all__
ProGamerGov Jun 20, 2022
5e3a80f
Add docs for loss_fn in sum_loss_list
ProGamerGov Jun 24, 2022
5f849aa
Fix Sphinx loss doc duplication bug
ProGamerGov Jun 26, 2022
5837745
Improve loss docs for Sphinx
ProGamerGov Jun 27, 2022
407f769
Improve DeepDream docs
ProGamerGov Jul 15, 2022
6f10b76
Improve doc grammar
ProGamerGov Jul 15, 2022
eb5a961
Fix nn.Module type hints
ProGamerGov Jul 15, 2022
f781265
Fix loss doc type formating
ProGamerGov Jul 16, 2022
42b18ca
Add more assert checks
ProGamerGov Jul 17, 2022
a9eabfd
Fix loss docstring type hint formatting
ProGamerGov Jul 18, 2022
a7fb6d9
Max line length doesn't apply to urls
ProGamerGov Jul 21, 2022
819a0a8
Remove `loss_wrapper`
ProGamerGov Jul 27, 2022
61a0be9
Fix lint errors
ProGamerGov Jul 27, 2022
f2f7ea5
Fix typehint mistake
ProGamerGov Jul 28, 2022
03cea17
callable -> Callable
ProGamerGov Aug 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions captum/optim/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Captum "optim" module

This is a WIP PR to integrate existing feature visualization code from the authors of `tensorflow/lucid` into captum.
It is also an opportunity to review which parts of such interpretability tools still feel rough to implement in a system like PyTorch, and to make suggestions to the core PyTorch team for how to improve these aspects.

## Roadmap

* unify API with Captum API: a single class that's callable per "technique"(? check for details before implementing)
* Consider if we need an abstraction around "an optimization process" (in terms of stopping criteria, reporting losses, etc) or if there are sufficiently strong conventions in PyTorch land for such tasks
* integrate Eli's FFT param changes (mostly for simplification)
* make a table of PyTorch interpretability tools for readme?
* do we need image viewing helpers and io helpers or throw those out?
* can we integrate paper references closer with the code?
36 changes: 36 additions & 0 deletions captum/optim/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
"""optim submodule."""

from captum.optim import models
from captum.optim._core import loss, optimization # noqa: F401
from captum.optim._core.optimization import InputOptimization # noqa: F401
from captum.optim._param.image import images, transforms # noqa: F401
from captum.optim._param.image.images import ImageTensor # noqa: F401
from captum.optim._utils import circuits, reducer # noqa: F401
from captum.optim._utils.image import atlas # noqa: F401
from captum.optim._utils.image.common import ( # noqa: F401
hue_to_rgb,
make_grid_image,
nchannels_to_rgb,
save_tensor_as_image,
show,
weights_to_heatmap_2d,
)

__all__ = [
"InputOptimization",
"ImageTensor",
"loss",
"optimization",
"images",
"transforms",
"circuits",
"models",
"reducer",
"make_grid_image",
"atlas",
"hue_to_rgb",
"nchannels_to_rgb",
"save_tensor_as_image",
"show",
"weights_to_heatmap_2d",
]
Empty file added captum/optim/_core/__init__.py
Empty file.
Loading