MCPcopy
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_propsFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by 1

get_q_propsFunction · 0.36