pytorch / 1 / 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

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/1.13/generated/torch.is_storage.html