rowsByIndices

Builds tensor from rows of the input tensor.

Return

tensor with rows corresponding to row by indices

Parameters

indices

the IntArray of 1-dimensional indices