Pytorch: Create an boolean tensor (type: torch.ByteTensor)?
I want to create a tensor only containing boolean values. 
In Matlab that would be 

a = false(10,1)


Already found it:

a = torch.zeros(10)
b = a.type(torch.ByteTensor)

