Fills the input Tensor with the scalar value 1. Parameters. tensor – an n-dimensional torch.Tensor. Examples >>> w = torch.empty(3, 5) >> ...
確定! 回上一頁