Hi there,
I am trying to do an LU decomposition of a matrix as follows:
Q = 1e-8*torch.eye(4).double()
G = torch.eye(4)
Q_LU = Q.btrifact()
when I run, I get
AttributeError Traceback (most recent call last)
<ipython-input-37-e3cdbfd9e43b> in <module>()
19 Q = 1e-8*torch.eye(4).double()
20 G = torch.eye(4)
---> 21 Q_LU = Q.btrifact()
22
23 # G_invQ_GT
AttributeError: 'DoubleTensor' object has no attribute 'btrifact'
Can someone help me out? Thanks!