Tensor
[self] fill(value)
Fill the tensor with the given value.
value
> = torch.Tensor(4):fill(3.14) 3.1400 3.1400 3.1400 3.1400 [torch.Tensor of dimension 4]