iqm.benchmarks.compressive_gst.mgst.additional_fns.batch#
- iqm.benchmarks.compressive_gst.mgst.additional_fns.batch(y: ndarray, J: ndarray, bsize: int) tuple[ndarray, ndarray]#
Returns random batch of sequences and corresponding measurements.
- Parameters:
- Returns:
Randomly subsampled columns of y J_b: Randomly subsampled rows of J in accordance the the columns selected in y_b
- Return type:
y_b