e3x.ops.indexed.sparse_to_dense_indices

e3x.ops.indexed.sparse_to_dense_indices(dst_idx, src_idx, pad_idx=None)[source]

Converts a sparse index list to a dense index list.

Note: Not compatible with jax.jit or jax.vmap because boolean arrays are not concrete.

Parameters:
Return type:

<class 'Integer[Array, '... N M']'>

Returns:

The corresponding dense index list.