Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions captum/module/stochastic_gates_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class StochasticGatesBase(Module, ABC):
extend this class and implement the distribution specific functions.
"""

mask: Optional[Tensor]

def __init__(
self,
n_gates: int,
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def report(*args):
"ufmt",
"scikit-learn",
"annoy",
"click<8.2.0",
]
)

Expand Down
Loading