在Python中切片列表:是否有类似于0的内容? 我有一个三维数组,想把它分成许多子卷。 这是我目前的代码: # this results in a 3D array arr = trainMasks[0, 0, :, :, :] crop = 3 ...2024-06-16 已阅读: n次