- Deep Learning with PyTorch
- Vishnu Subramanian
- 33字
- 2021-06-24 19:16:23
Vectors (1-D tensors)
A vector is simply an array of elements. For example, we can use a vector to store the average temperature for the last week:
temp = torch.FloatTensor([23,24,24.5,26,27.2,23.0])
temp.size()
Output - torch.Size([6])
推薦閱讀
- Cortex-M3 + μC/OS-II嵌入式系統(tǒng)開發(fā)入門與應(yīng)用
- 網(wǎng)絡(luò)服務(wù)器配置與管理(第3版)
- Applied Unsupervised Learning with R
- 電腦軟硬件維修從入門到精通
- CC2530單片機技術(shù)與應(yīng)用
- 計算機組裝維修與外設(shè)配置(高等職業(yè)院校教改示范教材·計算機系列)
- 基于Proteus仿真的51單片機應(yīng)用
- 電腦橫機使用與維修
- 嵌入式系統(tǒng)原理及應(yīng)用:基于ARM Cortex-M4體系結(jié)構(gòu)
- Instant Website Touch Integration
- 筆記本電腦維修技能實訓(xùn)
- Applied Deep Learning with Keras
- Hands-On Markov Models with Python
- Arduino+3D打印創(chuàng)新電子制作2
- 51單片機應(yīng)用開發(fā)從入門到精通