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