cr.nimble.dsp.nonzero_values¶
- cr.nimble.dsp.nonzero_values(x)[source]¶
Returns the values of non-zero entries in x
- Parameters
x (jax.numpy.ndarray) – A sparse signal
- Returns
The signal stripped of its zero values
- Return type
Note
This function cannot be JIT compiled as the size of output is data dependent.