Storage
MapStorage
[self] fill(value)
Fill the Storage with the given value. This method returns self, allowing things like:
x = torch.IntStorage(10):fill(0) -- x won't be nil!