Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ DoubleTensor
Method
DoubleTensor
accelerator/mlu_accelerator.py:207–208 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
205
206
@property
207
def
DoubleTensor(self):
208
return
functools.partial(torch.tensor, dtype=torch.double, device=
'mlu'
)
209
210
@property
211
def
FloatTensor(self):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected