Skip to content

Commit

Permalink
Merge pull request #687 from ice-world/master
Browse files Browse the repository at this point in the history
感谢!补全缺失的括号
  • Loading branch information
jiangzhonglian authored Jul 5, 2024
2 parents 6dee444 + 4a7950e commit 3da7eba
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 3da7eba

Please sign in to comment.