欧拉公式
$ e^{i\theta} = \cos\theta + i\sin\theta$ ,当 $\theta=\pi$ 时,$e^{i\pi} + 1 =0$.
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
B站视频:https://www.bilibili.com/video/BV1Yb411a7ty?spm_id_from=333.999.0.0
nodejs -v
npm -v
检查是否安装成功npm install -g cnpm --registry=https://registry.npm.taobao.org
-g
全局安装cnpm -v
检查是否安装成功cnpm install -g hexo-cli
hexo -v
nvcc -v 查看cuda版本
nvidia-smi 查看cuda版本
这俩有些区别
pip安装
pip3 install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio===0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
conda
NOTE: ‘conda-forge’ channel is required for cudatoolkit 11.1
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c conda-forge