From 679c210fdde56edfaf2a1859881139e9d6e81664 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Mon, 18 Dec 2023 05:14:35 +0100 Subject: [PATCH 1/1] Update. --- pscan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pscan.py b/pscan.py index c547823..891ec55 100755 --- a/pscan.py +++ b/pscan.py @@ -55,8 +55,8 @@ class PScan(torch.autograd.Function): # # returns Y of same shape as X, with # - # Y[:,t] = A[:,0] * Y_init + X[:,0] if t == 0 - # = A[:,t] * Y[:,t-1] + X[:,t] otherwise + # Y[:, t] = A[:, 0] * Y_init + X[:, 0] if t == 0 + # = A[:, t] * Y[:, t-1] + X[:, t] otherwise @staticmethod def forward(ctx, A, X, Y_init): -- 2.39.5