def set_batch_size(self, batch_size):
        self._img_shape = tuple([batch_size] + list(self._img_shape[1:]))
.. todo::
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/linear/cudnn2d.py/Cudnn2D.set_batch_size