書名: 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])
推薦閱讀
- FPGA從入門到精通(實戰篇)
- 電腦常見故障現場處理
- The Applied AI and Natural Language Processing Workshop
- Getting Started with Qt 5
- 單片機原理及應用系統設計
- Apple Motion 5 Cookbook
- 嵌入式系統中的模擬電路設計
- 微軟互聯網信息服務(IIS)最佳實踐 (微軟技術開發者叢書)
- Machine Learning Solutions
- Hands-On Artificial Intelligence for Banking
- “硬”核:硬件產品成功密碼
- Instant Website Touch Integration
- 微服務實戰
- The Applied Artificial Intelligence Workshop
- The Reinforcement Learning Workshop