function_space.rows_of
function_space.rows_of(inputs, index, /)The examples index of inputs.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| inputs | Inputs | Inputs with one entry per example along the leading axis of each leaf that is not shared (is_shared). |
required |
| index | Tensor | The indices of the examples to keep, moved to each leaf’s device. | required |
Returns
| Name | Type | Description |
|---|---|---|
| Inputs | The inputs at index. Shared leaves stay as they are. |