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

Method FloatTensor

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

Source from the content-addressed store, hash-verified

209
210 @property
211 def FloatTensor(self):
212 return functools.partial(torch.tensor, dtype=torch.float, device='mlu')
213
214 @property
215 def HalfTensor(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected