Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ IntTensor
Method
IntTensor
accelerator/mlu_accelerator.py:219–220 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
217
218
@property
219
def
IntTensor(self):
220
return
functools.partial(torch.tensor, dtype=torch.int, device=
'mlu'
)
221
222
@property
223
def
LongTensor(self):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected