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

Method ByteTensor

accelerator/xpu_accelerator.py:380–381  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

378
379 @property
380 def ByteTensor(self):
381 return functools.partial(torch.tensor, dtype=torch.uint8, device=self._name)
382
383 @property
384 def DoubleTensor(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected