Skip to content

Commit 28c76ee

Browse files
authored
Fix MLP initialization (ecmwf#2052)
1 parent 9600183 commit 28c76ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/weathergen/model/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def create(self) -> "Model":
437437
with_residual=False,
438438
dropout_rate=dropout_rate,
439439
norm_eps=self.cf.mlp_norm_eps,
440-
stream_name=f"embed_target_coords_{stream_name}",
440+
name=f"embed_target_coords_{stream_name}",
441441
)
442442
else:
443443
assert False

0 commit comments

Comments
 (0)