Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/deepspeedai/DeepSpeed
/ IntTensor
Method
IntTensor
accelerator/hpu_accelerator.py:227–228 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
225
226
@property
227
def
IntTensor(self):
228
return
functools.partial(torch.tensor, dtype=torch.int, device=
'hpu'
)
229
230
@property
231
def
LongTensor(self):
Callers
3
get_q_props
Function · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
1
get_q_props
Function · 0.36