def transform(self, X):
        """Transform the provided data.

        Parameters
        ----------
        X : array-like, shape = (n_samples, n_timestamps)
            Test samples.

        Returns
        -------
        X_new : array, shape = (n_samples, 2 * n_kernels)
            Extracted features from the kernels.

        """
        X = check_array(X, dtype='float64')
        check_is_fitted(self, ['weights_', 'length_', 'bias_',
                               'dilation_', 'padding_'])
        X_new = apply_all_kernels(
            X, self.weights_, self.length_, self.bias_,
            self.dilation_, self.padding_
        )
        return X_new
Transform the provided data.

        Parameters
        ----------
        X : array-like, shape = (n_samples, n_timestamps)
            Test samples.

        Returns
        -------
        X_new : array, shape = (n_samples, 2 * n_kernels)
            Extracted features from the kernels.

        
pyts/transformation/rocket.py