Skip to content

Commit

Permalink
补全缺失的括号
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-world committed Jul 5, 2024
1 parent 6dee444 commit 4a7950e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/2.0/tutorials/beginner/basics/buildmodel_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ pred_probab = softmax(logits)
print(f"Model structure: {model}\n\n")

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

输出:
Expand Down

0 comments on commit 4a7950e

Please sign in to comment.