Rate this Page
โ˜… โ˜… โ˜… โ˜… โ˜…

torch.is_storage#

torch.is_storage(obj, /)[source]#

Returns True if obj is a PyTorch storage object.

Parameters

obj (Object) โ€“ Object to test

Return type

typing_extensions.TypeIs[Union[TypedStorage, UntypedStorage]]