- 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])
推薦閱讀
- Aftershot Pro:Non-destructive photo editing and management
- Windows phone 7.5 application development with F#
- Learning AngularJS Animations
- Linux運維之道(第2版)
- VCD、DVD原理與維修
- OUYA Game Development by Example
- 電腦高級維修及故障排除實戰
- 單片機開發與典型工程項目實例詳解
- VMware Workstation:No Experience Necessary
- Spring Cloud微服務和分布式系統實踐
- 新編電腦組裝與硬件維修從入門到精通
- 電腦主板維修技術
- 施耐德M241/251可編程序控制器應用技術
- 主板維修實踐技術
- 電腦軟硬件維修寶典