首先我们选择一个随机的单元——或者实际上我们选取的是单元本身在每一维度上的索引值加上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.
首先我们选择一个随机的单元——或者实际上我们选取的是单元本身在每一维度上的索引值加上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.
应用推荐