Skip to content

Commit

Permalink
4-1删除多余代码
Browse files Browse the repository at this point in the history
  • Loading branch information
songlt committed Nov 28, 2024
1 parent f7f797e commit c7a7f86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 4-1,张量的结构操作.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@
},
{
"cell_type": "code",
"execution_count": 34,
"execution_count": null,
"id": "1cdbf318",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -1063,7 +1063,7 @@
"#将分数小于60分的分数赋值成60分\n",
"b = torch.masked_fill(scores,scores<60,60)\n",
"#等价于b = scores.masked_fill(scores<60,60)\n",
"b\n"
"\n"
]
},
{
Expand Down

0 comments on commit c7a7f86

Please sign in to comment.