... filled with zeros t = torch.ones(3,2) # torch.zeros(size) <- Create tensor of certain size filled with ones t = torch.Tensor( [[3,2],[1,0]] ) # torch.
確定! 回上一頁