tfm.vision.box_ops.get_non_empty_box_indices

Gets indices for non-empty boxes.