Skip to content

Commit e430160

Browse files
actually use the TFNO blocks
1 parent 21e51f6 commit e430160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

the_well/benchmark/models/tfno/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def forward(self, x: torch.Tensor, output_shape=None, **kwargs):
4545
x = self.domain_padding.pad(x)
4646

4747
for layer_idx in range(self.n_layers):
48-
self.optional_checkpointing(
48+
x = self.optional_checkpointing(
4949
self.fno_blocks, x, layer_idx, output_shape=output_shape[layer_idx]
5050
)
5151

0 commit comments

Comments
 (0)