code: def transform(self, x, warn=True):
          
          # 1. split across last dimension
          # 2. re-use ranges
          # 3. Merge
          array_list = [encodeSplines(x[..., i].reshape((-1, 1)),
                                      n_bases=self.n_bases,
                                      spline_order=self.degree,
                                      warn=warn,
                                      start=self.data_min_[i],
                                      end=self.data_max_[i]).reshape(x[..., i].shape + (self.n_bases,))
                        for i in range(x.shape[-1])]
          return np.stack(array_list, axis=-2)
docs: Obtain the transformed values