why does it drop sometimes more, sometimes less than 3 elements in a 2x5 matrix, when I have given probability 0.3
y = torch.ones(2, 5)
x = nn.Dropout(0.3)
x(y)
if got this output
tensor([[1.4286, 1.4286, 1.4286, 0.0000, 0.0000],
[1.4286, 1.4286, 1.4286, 1.4286, 1.4286]])
on later execution, this output
tensor([[0.0000, 0.0000, 1.4286, 1.4286, 0.0000],
[1.4286, 0.0000, 0.0000, 1.4286, 1.4286]])