Temporary fix of bad torch.isTensor