Shortcuts

torch.is_storage

torch.is_storage(obj)[源代码]

如果 obj 是 PyTorch 存储对象,则返回 True。

Parameters

obj (对象) – 要测试的对象

优云智算