得到选择的索引
Obtain the selected index
以上为机器翻译结果,长、整句建议使用 人工翻译 。
首先我们选择一个随机的单元——或者实际上我们选取的是单元本身在每一维度上的索引值加上1,因为我们通过. shape调用得到的是长度而不是最大的索引值。
First we pick a random cell — or actually we pick one more than the cell itself in each dimension, since.shape gives us the length rather than the maximum index.
youdao
应用推荐
模块上移
模块下移
不移动