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

Method FloatTensor

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

Source from the content-addressed store, hash-verified

237
238 @property
239 def FloatTensor(self):
240 return functools.partial(torch.tensor, dtype=torch.float, device='sdaa')
241
242 @property
243 def HalfTensor(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected