Return an array representing the indices of a grid.
Computes an array where the subarrays contain index values 0, 1, … varying
only along the corresponding axis. The result has shape
[dimensions.length, ...dimensions].
If sparse is set, returns one array per dimension instead, each with shape
1 in all dimensions except its own.
Return an array representing the indices of a grid.
Computes an array where the subarrays contain index values 0, 1, … varying
only along the corresponding axis. The result has shape
[dimensions.length, ...dimensions].
If sparse is set, returns one array per dimension instead, each with shape
1 in all dimensions except its own.
Return an array representing the indices of a grid.
Computes an array where the subarrays contain index values 0, 1, … varying only along the corresponding axis. The result has shape
[dimensions.length, ...dimensions].If
sparseis set, returns one array per dimension instead, each with shape 1 in all dimensions except its own.