Skip to content

Commit 7c7ed94

Browse files
authored
Fix typo in the model parameters section in Update buildmodel_tutorial.py
1 parent 06f9c4b commit 7c7ed94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/basics/buildmodel_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def forward(self, x):
182182
print(f"Model structure: {model}\n\n")
183183

184184
for name, param in model.named_parameters():
185-
print(f"Layer: {name} | Size: {param.size()} | Values : {param[:2]} \n")
185+
print(f"Layer: {name} | Size: {param.size()} | Values: {param[:2]} \n")
186186

187187
######################################################################
188188
# --------------

0 commit comments

Comments
 (0)