Skip to content

Commit 7cc40ca

Browse files
authored
Merge branch 'main' into linear-gramian-computer
2 parents 30fdc00 + 9ac9421 commit 7cc40ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/unit/autogram/test_engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
InstanceNormMobileNetV2,
1818
InstanceNormResNet18,
1919
InterModuleParamReuse,
20+
IntraModuleParamReuse,
2021
MIMOBranched,
2122
MISOBranched,
2223
ModelAlsoUsingSubmoduleParamsDirectly,
@@ -40,7 +41,6 @@
4041
Randomness,
4142
RequiresGradOfSchrodinger,
4243
SimpleBranched,
43-
SimpleParamReuse,
4444
SingleInputPyTreeOutput,
4545
SIPOBranched,
4646
SomeFrozenParam,
@@ -99,7 +99,7 @@
9999
(ModuleFactory(PIPOBranched), 32),
100100
(ModuleFactory(WithNoTensorOutput), 32),
101101
(ModuleFactory(WithBuffered), 32),
102-
(ModuleFactory(SimpleParamReuse), 32),
102+
(ModuleFactory(IntraModuleParamReuse), 32),
103103
(ModuleFactory(ModuleReuse), 32),
104104
(ModuleFactory(SomeUnusedParam), 32),
105105
(ModuleFactory(SomeFrozenParam), 32),

tests/utils/architectures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def forward(self, input: Tensor) -> Tensor:
423423
return self.linear(input)
424424

425425

426-
class SimpleParamReuse(ShapedModule):
426+
class IntraModuleParamReuse(ShapedModule):
427427
"""Module that reuses the same nn.Parameter for two computations directly inside of it."""
428428

429429
INPUT_SHAPES = (50,)

0 commit comments

Comments
 (0)