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

Method HalfTensor

accelerator/mlu_accelerator.py:215–216  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

213
214 @property
215 def HalfTensor(self):
216 return functools.partial(torch.tensor, dtype=torch.half, device='mlu')
217
218 @property
219 def IntTensor(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected