未验证 提交 a48ac727 编写于 作者: H hummingg 提交者: GitHub

Update 03.md

换行
上级 f5513caf
......@@ -236,6 +236,7 @@ tensor([[6., 5., 6., 6.],
## <span id="jump">Tensor与Numpy的转化</span>
张量和`Numpy array`数组在CPU上可以共用一块内存区域, 改变其中一个另一个也会随之改变。
**1. 由张量变换为Numpy array数组**
```python
t = torch.ones(5)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册