randint randint(start, end, (tensor size))torch.randint(3, 5, (3,))>>>tensor([4, 3, 4])torch.randint(3, 10, (2, 2))>>>tensor([[4, 5], [6, 7]])scatter VS scatter_ - scatter_(dim, index, value)- scatter(dim, index, value) dim - The dimension along which to scatter0 = scatter along rows (vertical)1 = scatter along columns (horizontal)index - A tensor containing the indices where to place the..