You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, Tensor is used in some places where it does not make much sense to accept sparse arrays. In these cases it should be changed to Union[np.ndarray, torch.tensor].
The text was updated successfully, but these errors were encountered:
einbandi
changed the title
Rethink used of self.defined Tensor type
Rethink used of self-defined Tensor type
Jul 21, 2022
Right now,
Tensor
is used in some places where it does not make much sense to accept sparse arrays. In these cases it should be changed toUnion[np.ndarray, torch.tensor]
.The text was updated successfully, but these errors were encountered: