MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / IntTensor

Method IntTensor

accelerator/sdaa_accelerator.py:247–248  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

245
246 @property
247 def IntTensor(self):
248 return functools.partial(torch.tensor, dtype=torch.int, device='sdaa')
249
250 @property
251 def LongTensor(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected