pytorch / 1.8.0 / generated / torch.is_storage.html /

torch.is_storage

torch.is_storage(obj) [source]

Returns True if obj is a PyTorch storage object.

Parameters

obj (Object) – Object to test

© 2019 Torch Contributors
Licensed under the 3-clause BSD License.
https://pytorch.org/docs/1.8.0/generated/torch.is_storage.html