Download src/deps.py from edgetensor/giant: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/edgetensor/giant/resolve/main/src/deps.py
- Command line
-
hf download hf://edgetensor/giant/src/deps.py
-
curl -L -o deps.py https://huggingface.co/edgetensor/giant/resolve/main/src/deps.py
172 Bytes
| import torch | |
| def f(*_):return(isinstance(_[0],torch.nn.Conv2d)and _[0].__dict__['kernel_size']==(1,1)and 128 in[_[0].__dict__['in_channels'],_[0].__dict__['out_channels']]) |