配置
1 | [distutils] |
打包
1 | python setup.py sdist |
上传
1 | pip install twine |
更新
1 | rm -rf dist |
热爱平淡,向往未知
1 | next(model.parameters()).is_cuda # returns a boolean |
\sqrt(-i) = \sqrt(2)/2-\sqrt(2)/2i
把复数轴切成8等份,然后一个位置就是一个解。
⌥⌘L
直接永久性添加PYTHONPATH一劳永逸
export PYTHONPATH="$PYTHONPATH:./lib"
1 | module = nn.SpatialConvolution(nInputPlane, nOutputPlane, kW, kH, [dW], [dH], [padW], [padH]) |
kernel size, shift size, padding size
1 | require 'cutorch' |
1 | # For the current repository |
1 | sudo groupadd tomandruser |
然后需要退出重新登录。