pytorch学习笔记
来源:互联网 发布:nginx配置web目录 编辑:程序博客网 时间:2024/04/29 04:08
官方快速上手教程: http://pytorch.org/tutorials/beginner/blitz/tensor_tutorial.html
实战为王,建议工具: jupyter notebook
第一小节
What is PyTorch?
主要是numpy数据结构和torch tensor的转换,一点要注意的是“The torch Tensor and numpy array will share their underlying memory locations, and changing one will change the other.”
第二小节:
Autograd: automatic differentiation
主要讲基础求导的过程.
重要类型:
Variable, Function
有趣的大概就是这个backward函数了吧:gradients = torch.FloatTensor([0.1, 1.0, 0.0001])
y.backward(gradients)
print(x.grad) 。。。。。。(j计算dy/dx)
第三小节,有点屌的神经网络来了:
Neural Networks
这小节的api需要好好琢磨一下,主要用的都是torch.nn包里面的api,
阅读全文
0 0
- pytorch 学习笔记(一)
- pytorch 学习笔记(一)
- pytorch 学习笔记(一)
- pytorch学习笔记
- pytorch 学习笔记(一)
- Pytorch学习笔记
- pytorch学习笔记
- PyTorch 学习笔记
- pytorch学习笔记(1)--pytorch张量
- Pytorch学习笔记(一)
- Pytorch学习笔记(二)
- Pytorch学习笔记(三)
- Pytorch学习笔记(四)
- Pytorch学习笔记(五)
- Pytorch学习笔记(六)
- pytorch学习笔记(一) autograd
- Pytorch学习笔记(1)---Tensors
- pytorch学习笔记(九):PyTorch结构介绍
- Java设计模式之单例
- Codeforces Round #436 (Div. 2) 解题报告
- 写一个函数,检查字符是否是整数,如果是,返回其整数值
- Android中IntentService和Service的区别
- maven day01学习笔记
- pytorch学习笔记
- 微信小程序语音聊天智能对话(源码分享)
- Java-JDK各个版本的新特性
- C# 动态生成程序集
- input 样式问题总结
- 2017软开秋招之路--半程记录
- 3.感知机学习方法
- 遍历Map集合
- 2017icpc北京网络赛c题(最大连续子段和)