Skip to content

Commit c5623eb

Browse files
fixed indentation
1 parent cd2ec25 commit c5623eb

File tree

1 file changed

+2
-2
lines changed
  • content/pytorch/concepts/tensor-operations/terms/randint

1 file changed

+2
-2
lines changed

content/pytorch/concepts/tensor-operations/terms/randint/randint.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ print(single_die)
149149

150150
# Count the frequency of each number
151151
for i in range(1, 7):
152-
count = (single_die == i).sum().item()
153-
print(f"Number {i} appeared {count} times")
152+
count = (single_die == i).sum().item()
153+
print(f"Number {i} appeared {count} times")
154154

155155
# Simulate rolling 5 dice at once
156156
dice_rolls = torch.randint(1, 7, (5,))

0 commit comments

Comments
 (0)