79163595

Date: 2024-11-06 17:16:19
Score: 1.5
Natty:
Report link

Why not do

torch.tensor(np.random.default_rng().choice(max_value, size=(num_samples,), replace=False))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): Why not
  • Low reputation (0.5):
Posted by: Fırat Kıyak