title: Jupyter Notebook/PyTorch, module 'torch' has no attribute 'BoolTensor'
body: <p>I am working in PyTorch and I need to use a BoolTensor, which is available according to the documentation <a href="https://pytorch.org/docs/stable/tensors.html" rel="nofollow noreferrer">https://pytorch.org/docs/stable/tensors.html</a></p>
  
  <p>However, when I try to initialize the BoolTensor I get the error: "AttributeError: module 'torch' has no attribute 'BoolTensor'"</p>
  
  <p>All other tensors do work normally, like LongTensor or DoubleTensor</p>
  
  <p>I have no idea what could cause this particular error, since it seems pretty strange that only one type of tensor doesn't work to me...</p>