Skip to content

Commit d4c59fc

Browse files
fix: [pre-commit.ci] auto fixes [...]
1 parent e85a6e5 commit d4c59fc

File tree

7 files changed

+5550
-2913
lines changed

7 files changed

+5550
-2913
lines changed

torchopt/nn/stateless.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def reparametrize(
8484
module: nn.Module,
8585
named_tensors: dict[str, torch.Tensor] | Iterable[tuple[str, torch.Tensor]],
8686
allow_missing: bool = False,
87-
) -> Generator[nn.Module, None, None]:
87+
) -> Generator[nn.Module]:
8888
"""Reparameterize the module parameters and/or buffers."""
8989
if not isinstance(named_tensors, dict):
9090
named_tensors = dict(named_tensors)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy