We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd2ec25 commit c5623ebCopy full SHA for c5623eb
content/pytorch/concepts/tensor-operations/terms/randint/randint.md
@@ -149,8 +149,8 @@ print(single_die)
149
150
# Count the frequency of each number
151
for i in range(1, 7):
152
- count = (single_die == i).sum().item()
153
- print(f"Number {i} appeared {count} times")
+ count = (single_die == i).sum().item()
+ print(f"Number {i} appeared {count} times")
154
155
# Simulate rolling 5 dice at once
156
dice_rolls = torch.randint(1, 7, (5,))
0 commit comments