Skip to content

Commit

Permalink
Fix printing of Mean and Variance
Browse files Browse the repository at this point in the history
  • Loading branch information
mebelz authored and tysam-code committed Jan 31, 2023
1 parent e44a18d commit 8959293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,4 +639,4 @@ def main():
acc_list = []
for run_num in range(25):
acc_list.append(torch.tensor(main()))
print("Mean and variance:", (torch.mean(torch.stack(acc_list)), torch.var(torch.stack(acc_list)).item()).item())
print("Mean and variance:", (torch.mean(torch.stack(acc_list)).item(), torch.var(torch.stack(acc_list)).item()))

0 comments on commit 8959293

Please sign in to comment.