Skip to content

Commit adff1ca

Browse files
authored
fix autoencoder memory tests (#13734)
1 parent 776282c commit adff1ca

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/models/autoencoders/test_models_autoencoder_kl.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ class AutoencoderKLTesterConfig(BaseModelTesterConfig):
4747
def model_class(self):
4848
return AutoencoderKL
4949

50+
@property
51+
def main_input_name(self) -> str:
52+
return "sample"
53+
5054
@property
5155
def output_shape(self):
5256
return (3, 32, 32)

0 commit comments

Comments
 (0)