Commit 5dcad95a authored by 袁通's avatar 袁通
Browse files

update

parent 852040d2
Loading
Loading
Loading
Loading
(14 KiB)

File changed.

No diff preview for this file type.

.vscode/settings.json

0 → 100644
+3 −0
Original line number Diff line number Diff line
{
    "python.pythonPath": "/Users/tongyuan/opt/anaconda3/envs/DIP/bin/python"
}
 No newline at end of file
+1.77 MiB (7.79 MiB)

File changed.

No diff preview for this file type.

LAB3/dtfs.py

0 → 100644
+0 −0

Empty file added.

LAB3/flop_test.py

0 → 100644
+7 −0
Original line number Diff line number Diff line
from flopth import flopth
import torchvision.models as models

alexnet = models.alexnet()
a = 1+1
sum_flops = flopth(alexnet, in_size=[1])
print(sum_flops)
 No newline at end of file