Open wangguan1995 opened 5 months ago
可以用这个https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/index_select_cn.html#index-select
可以用这个https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/index_select_cn.html#index-select
感谢,另外发现,如果给slice套一层tuple
slice = tuple(slice)
idea from : @lijialin03
bug描述 Describe the Bug
Paddle:
b107776367c3744deaa907b55eac29647fabe952
Device:
NVIDIA A100 40GB
Cuda:
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Tue_Mar__8_18:18:20_PST_2022 Cuda compilation tools, release 11.6, V11.6.124 Build cuda_11.6.r11.6/compiler.31057947_0
Bug:
按照官方文档,ParameterList和python内置List的行为一致
Log
其他补充信息 Additional Supplementary Information
No response