Skip to content

Commit

Permalink
remove alpha_mask from device
Browse files Browse the repository at this point in the history
  • Loading branch information
russellkune committed Feb 22, 2023
1 parent 06037b7 commit b38e7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectra/spectra_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def __init__(self, X, labels, adj_matrix, L, weights = None, lam = 10e-4, delta=
self.n_cell_typesp1 = len(ct_order)

#just need to construct these masks once
self.alpha_mask = torch.zeros((self.n,self.L_tot)).to(device)
self.alpha_mask = torch.zeros((self.n,self.L_tot))
self.B_mask = torch.zeros((self.n_cell_typesp1, self.L_tot, self.L_tot)).to(device) #need to double check that this works
self.factor_to_celltype = torch.zeros((self.L_tot, self.n_cell_typesp1)).to(device)

Expand Down

0 comments on commit b38e7df

Please sign in to comment.