Isn't this more economical (albeit longer): a = torch.zeros(10, dtype=torch.bool) or, in older versions, a = torch.zeros(10, dtype=torch.uint8) (Thanks ...
確定! 回上一頁