class_docstr: Transform n-dimensional array into 2D array of n_samples by n_features.
  
  This class reshapes an n-dimensional array into an n_samples * n_features
  array, usable by the estimators and transformers of scikit-learn.
  
  Attributes
  ----------
  features_shape_ : tuple
       Stores the original shape of data.
  
  Examples
  --------
  clf = make_pipeline(SpatialFilter(), _XdawnTransformer(), Vectorizer(),
                      LogisticRegression())
docstr: Store the shape of the features of X.
  
  Parameters
  ----------
  X : array-like
      The data to fit. Can be, for example a list, or an array of at
      least 2d. The first dimension must be of length n_samples, where
      samples are the independent samples used by the estimator
      (e.g. n_epochs for epoched data).
  y : None | array, shape (n_samples,)
      Used for scikit-learn compatibility.
  
  Returns
  -------
  self : instance of Vectorizer
      Return the modified instance.
docstr_tok: ["Store","the","shape","of","the","features","of","X.","Parameters","--","--","--","--","--","X",":","array-like","The","data","to","fit",".","Can","be",",","for","example","a","list",",","or","an","array","of","at","least","2d",".","The","first","dimension","must","be","of","length","n_samples",",","where","samples","are","the","independent","samples","used","by","the","estimator","(","e.g",".","n_epochs","for","epoched","data",")",".","y",":","None","|","array",",","shape","(","n_samples",",",")","Used","for","scikit-learn","compatibility",".","Returns","--","--","--","-","self",":","instance","of","Vectorizer","Return","the","modified","instance","."]
code: def fit(self, X, y=None):
      """Store the shape of the features of X.
  
      Parameters
      ----------
      X : array-like
          The data to fit. Can be, for example a list, or an array of at
          least 2d. The first dimension must be of length n_samples, where
          samples are the independent samples used by the estimator
          (e.g. n_epochs for epoched data).
      y : None | array, shape (n_samples,)
          Used for scikit-learn compatibility.
  
      Returns
      -------
      self : instance of Vectorizer
          Return the modified instance.
      """
      X = np.asarray(X)
      self.features_shape_ = X.shape[1:]
      return self
  
imports: import numpy
  from .._fiff.pick import _pick_data_channels, _picks_by_type, _picks_to_idx, pick_info, pick_types
  from ..cov import _check_scalings_user
  from ..filter import filter_data
  from ..time_frequency import psd_array_multitaper
  from ..utils import _check_option, _validate_type, fill_doc, verbose
  from .base import BaseEstimator
  from .mixin import TransformerMixin
label_desc: Use image node_id 1 for calling the Vectorizer obj's underlying member method code with example usage: obj.fit(X, y) and returns: self