Skip to content

Commit 163d10b

Browse files
print version
1 parent 32f6f67 commit 163d10b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_torch.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@
33
import torchstain
44
import torchstain.torch
55
import torch
6+
import torchvision
67
import time
78
import numpy as np
89
from torchvision import transforms
910
from skimage.metrics import structural_similarity as ssim
1011

12+
13+
def setup_function(fn):
14+
print("torch version:", torch.__version__, "torchvision version:", torchvision.__version__)
15+
1116
def test_cov():
1217
x = np.random.randn(10, 10)
1318
cov_np = np.cov(x)

0 commit comments

Comments
 (0)