0%

\sqrt(-i) = \sqrt(2)/2-\sqrt(2)/2i

把复数轴切成8等份,然后一个位置就是一个解。

直接永久性添加PYTHONPATH一劳永逸

export PYTHONPATH="$PYTHONPATH:./lib"

1
module = nn.SpatialConvolution(nInputPlane, nOutputPlane, kW, kH, [dW], [dH], [padW], [padH])

kernel size, shift size, padding size

1
2
3
4
5
6
7
8
9
10
11
require 'cutorch'
require 'cudnn'
require 'torch'
require 'nn'
require 'nnx'
require 'optim'
require 'nngraph'

m = torch.load('foo.t7')
m = m:float()
torch.save('foo.cpu.t8',m)

1
2
3
4
5
# For the current repository
git config core.filemode false

# Globally
git config --global core.filemode false

1
2
3
4
5
6
7
sudo groupadd tomandruser

sudo usermod -a -G tomandruser tomcat6
sudo usermod -a -G tomandruser ruser

sudo chgrp -R tomandruser /path/to/the/directory
sudo chmod -R 770 /path/to/the/directory

然后需要退出重新登录。