Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ LongTensor
Method
LongTensor
accelerator/cpu_accelerator.py:425–426 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
423
424
@property
425
def
LongTensor(self):
426
return
torch.LongTensor
427
428
_torch_pins_host_memory = False
429
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected