Closed 0xzhouchenyu closed 1 year ago
Hello @0xzhouchenyu,
This example is indeed wrong (will be fixed in #400) and it should read:
n, m = 2, 3
x = torch.randn(n, m)
h = torch.randn(n, m)
c = torch.zeros(n, m)
kronecker = KroneckerLSTM(n, m)
y, new_h = kronecker(x, (h, c))
y.shape # (2, 3)
Thanks for pointing it out and apologies for the delay!
I tried to run the KronckerLSTM, but I failed. AS follows:
And the Error is:
Can you help me fix it? Thank you!