Gag*_*thu 5 python indexing tensorflow
我尝试使用tf.Tensor切片张量.getitem功能如下:
indices = [0, 5]
data[:,:,indices]
Run Code Online (Sandbox Code Playgroud)
但是我收到以下错误:
TypeError:只能将列表(不是"int")连接到列表.
有什么我做错了吗?
| 归档时间: |
|
| 查看次数: |
273 次 |
| 最近记录: |