'Reshapes the module for new input shapes.
Parameters
data_shapes : list of (str, tuple)
Typically is ``data_iter.provide_data``.
label_shapes : list of (str, tuple)
Typically is ``data_iter.provide_label``.'

def reshape(self, data_shapes, label_shapes=None):

    assert self.binded
    (self._data_shapes, self._label_shapes) = _parse_data_desc(self.data_names, self.label_names, data_shapes, label_shapes)
    self._exec_group.reshape(self._data_shapes, self._label_shapes)
