import tensorflow as tf

            blk_indices_crop = tf.strided_slice(blk_indices, [0, 0, 0, 0], [
                blk_shape[0], q_shape[1] * strides[1], q_shape[2] * strides[2], 3
            ], strides)
            blk_indices_crop = blk_indices_crop // tf.stack([1, strides[1], strides[2]])
            return blk_indices_crop

