From b498eeca2b3abb2b4a370d4fdf39f172f2105bcf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Sun, 7 Jan 2024 11:56:06 +0100 Subject: [PATCH] Update. --- mygpt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mygpt.py b/mygpt.py index 984ae67..e3ff21f 100755 --- a/mygpt.py +++ b/mygpt.py @@ -472,9 +472,9 @@ def flash_back_time_src(N, H, t0, t1, CL, CH, proba, device): fb_body = fb_body.cumsum(dim=2) fb_start = fb_start * (fb_body == 1) - # Set a origin source time (at what time start the chunck to copy - # here) We set it as a multiple of CL to be consistent with the - # "rolling" caterpillar + # Set a origin source time (starting time of the chunck to copy + # here) We set it as the current time minus a multiple of CL to be + # consistent with the "rolling" caterpillar t = torch.arange(fb_start.size(2), device=fb_start.device)[None, None, :] src_time = fb_start * ( t -- 2.20.1