Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UbiquitousLearning/mllm
/ cpu
Method
cpu
mllm/core/Tensor.cpp:452–455 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
450
}
451
452
Tensor Tensor::cpu() {
453
if (kCPU == impl_->device()) { return *this; }
454
return to(kCPU);
455
}
456
457
Tensor Tensor::cuda() {
458
if (kCUDA == impl_->device()) { return *this; }
Callers
1
TVM_FFI_STATIC_INIT_BLOCK
Function · 0.45
Calls
1
device
Method · 0.45
Tested by
no test coverage detected