如何下标结构化的 Cupy 数组。我找不到关于它的文件...
arr = cp.zeros(shape=(100,), dtype=cp.dtype([('t', '<f4'), ('tri', '<i4'), ('u', '<f4'), ('v', '<f4')]))
# numpy...
arr[...]['tri']
# cupy
????
如何下标结构化的 Cupy 数组。我找不到关于它的文件...
arr = cp.zeros(shape=(100,), dtype=cp.dtype([('t', '<f4'), ('tri', '<i4'), ('u', '<f4'), ('v', '<f4')]))
# numpy...
arr[...]['tri']
# cupy
????
Currently, CuPy does not support structured arrays. In fact, only boolean and numeric ones are listed as the supported data types in the Overview documentation.