self.Xd = gpuarray.GPUArray((self.M, self.N), np.float64, order="F")
self.Xd.set(Xd_)
self.Xf = gpuarray.GPUArray((self.M, self.N), np.float32, order="F")self.Xf.set(Xf_)
def test_pca_ortho_type_and_shape_float64_all_comp(self):
// test that the shape is what we think it should be
Td_all = self.test_pca.fit_transform(self.Xd)
After Change
self.Xd = gpuarray.to_gpu(Xd_)
self.Xf = gpuarray.to_gpu(Xf_)
self.XdT = gpuarray.to_gpu(Xd_.T.copy())
self.XfT = gpuarray.to_gpu(Xf_.T.copy())
def test_pca_ortho_type_and_shape_float64_all_comp(self):
// test that the shape is what we think it should be