Views
No views yet
dummy.pydummy_weights.binvanilla.pyvanilla_weights.bin1import torch as tr
2from huggingface_hub import snapshot_download
3
4repo = snapshot_download("AI417UPM/A4_4312595_Tithkar")
5
6model = tr.hub.load(repo, "DummyNet", source="local")
7model.eval()
8
9x = tr.randn(1, 784)
10y = model(x)
11print(y.shape) # torch.Size([1, 10])