Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPPL/ppl.nn
/ GetDevice
Method
GetDevice
tests/engines/tmp_engine_context.h:25–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
class TmpEngineContext final : public EngineContext {
24
public:
25
Device* GetDevice() const override {
26
return &device_;
27
}
28
const char* GetName() const override {
29
return
"tmp"
;
30
}
Callers
2
TEST
Function · 0.45
ConstructFp32TensorWithCpuDevice
Method · 0.45
Calls
no outgoing calls
Tested by
2
TEST
Function · 0.36
ConstructFp32TensorWithCpuDevice
Method · 0.36