parameters: (self, data_shape=None, label_shape=None)
docstring: Reshape iterator for data_shape or label_shape.
  
          Parameters
          ----------
          data_shape : tuple or None
              Reshape the data_shape to the new shape if not None
          label_shape : tuple or None
              Reshape label shape to new shape if not None
docstring_summary: Reshape iterator for data_shape or label_shape.
docstring_tokens: Reshape iterator for data_shape or label_shape .
function: def reshape(self, data_shape=None, label_shape=None):
          """Reshape iterator for data_shape or label_shape.
  
          Parameters
          ----------
          data_shape : tuple or None
              Reshape the data_shape to the new shape if not None
          label_shape : tuple or None
              Reshape label shape to new shape if not None
          """
          if data_shape is not None:
              self.check_data_shape(data_shape)
              self.provide_data = [(self.provide_data[0][0], (self.batch_size,) + data_shape)]
          if label_shape is not None:
              self.check_label_shape(label_shape)
              self.provide_label = [(self.provide_label[0][0], (self.batch_size,) + label_shape)]
function_tokens: def reshape ( self , data_shape = None , label_shape = None ) : if data_shape is not None : self . check_data_shape ( data_shape ) self . provide_data = [ ( self . provide_data [ 0 ] [ 0 ] , ( self . batch_size , ) + data_shape ) ] if label_shape is not None : self . check_label_shape ( label_shape ) self . provide_label = [ ( self . provide_label [ 0 ] [ 0 ] , ( self . batch_size , ) + label_shape ) ]