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
Consider, a = torch.randn(2, 3, 4) b = tn.Tensor(a, ranks_cp=2)
If I want to view the values of the approximated tensor b, how do I do that? Can I get a numpy array or torch tensor like a? Since I need to perform operations like element-wise subtraction between the true tensor and approximated one.
The text was updated successfully, but these errors were encountered:
Consider,
a = torch.randn(2, 3, 4)
b = tn.Tensor(a, ranks_cp=2)
If I want to view the values of the approximated tensor
b
, how do I do that? Can I get a numpy array or torch tensor likea
? Since I need to perform operations like element-wise subtraction between the true tensor and approximated one.The text was updated successfully, but these errors were encountered: