Skip to content

Commit 6a1e261

Browse files
Adam Mainzfacebook-github-bot
authored andcommitted
Refactor: bootcamp task T102453702
Summary: Removing mentions of "manifold" as described in https://www.internalfb.com/T102453702 Reviewed By: 99warriors Differential Revision: D31505378 fbshipit-source-id: 5493f833758491d2ef7155612dfc2ac4f916b50a
1 parent 0755f00 commit 6a1e261

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

captum/_utils/av.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(
5353
with the input `model_id`.
5454
5555
Args:
56-
path (str): The manifold path where the activation vectors
56+
path (str): The path where the activation vectors
5757
for the `layer` are stored.
5858
model_id (str): The name/version of the model for which layer
5959
activations are being computed and stored.
@@ -153,10 +153,10 @@ def exists(
153153
) -> bool:
154154
r"""
155155
Verifies whether the model + layer activations exist
156-
under the manifold path.
156+
under the path.
157157
158158
Args:
159-
path (str): The manifold path where the activation vectors
159+
path (str): The path where the activation vectors
160160
for the `model_id` are stored.
161161
model_id (str): The name/version of the model for which layer activations
162162
are being computed and stored.
@@ -197,7 +197,7 @@ def save(
197197
`layer` under the manifold `path`.
198198
199199
Args:
200-
path (str): The manifold path where the activation vectors
200+
path (str): The path where the activation vectors
201201
for the `layer` are stored.
202202
model_id (str): The name/version of the model for which layer activations
203203
are being computed and stored.
@@ -292,7 +292,7 @@ def _manage_loading_layers(
292292
Returns unsaved layers, and deletes saved layers if load_from_disk is False.
293293
294294
Args:
295-
path (str): The manifold path where the activation vectors
295+
path (str): The path where the activation vectors
296296
for the `layer` are stored.
297297
model_id (str): The name/version of the model for which layer activations
298298
are being computed and stored.
@@ -348,7 +348,7 @@ def generate_activation(
348348
Computes layer activations for the given inputs and specified `layers`
349349
350350
Args:
351-
path (str): The manifold path where the activation vectors
351+
path (str): The path where the activation vectors
352352
for the `layer` are stored.
353353
module (torch.nn.Module): An instance of pytorch model. This model should
354354
define all of its layers as attributes of the model.
@@ -444,7 +444,7 @@ def generate_dataset_activations(
444444
(see AV._unpack_data).
445445
446446
Args:
447-
path (str): The manifold path where the activation vectors
447+
path (str): The path where the activation vectors
448448
for the `layer` are stored.
449449
module (torch.nn.Module): An instance of pytorch model. This model should
450450
define all of its layers as attributes of the model.

0 commit comments

Comments
 (0)