weixin_39670246
2020-12-07 12:09permute for 3 dim tensor
Hi jaybdub,
If I got a tensor which has x.shape = [1,1024,22], and I want to permute the dims with x = x.permute(2,0,1) but it went wrong(AssertionError).What should I do to get the same result and the process can be transferred to tensorrt?
该提问来源于开源项目:NVIDIA-AI-IOT/torch2trt
- 点赞
- 回答
- 收藏
- 复制链接分享
4条回答
为你推荐
- main(sys.argv)报错:Error: too few arguments
- python
- 深度学习
- 机器学习
- 人工智能
- 1个回答
- ctc 验证码识别 ValueError: No gradients provided for any variable
- 深度学习
- tensorflow
- 神经网络
- 自然语言处理
- 1个回答
- 请问一下,在vs2019c++里面,这段代码总是报LNK2019的错误。
- c++
- 1个回答
- 附加到二维字符串切片时的奇怪行为
- string
- slice
- 1个回答
- 在php中使用泰国字符的字符串的排列
- php
- 1个回答
换一换