Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Dexter
/
compvis
like
0
arxiv:
1910.02190
Model card
Files
Files and versions
xet
Community
main
compvis
/
test
/
smoke_test.py
Dexter
Upload folder using huggingface_hub
36c95ba
verified
5 months ago
raw
Copy download link
history
blame
contribute
delete
194 Bytes
import
pytest
import
torch
@pytest.mark.parametrize(
"batch_size"
, [
1
,
2
,
5
]
)
def
test_smoke
(
batch_size
):
x = torch.rand(batch_size,
2
,
3
)
assert
x.shape == (batch_size,
2
,
3
), x.shape