input = torch.empty(2, 3) >>> torch.zeros_like(input) tensor([[ 0., 0., ... a = torch.empty(3, 3).uniform_(0, 1) # generate a uniform random ...
確定! 回上一頁