Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/MNN
/ tensorConvert
Function
tensorConvert
source/backend/tensorrt/backend/TRTBackend.cpp:88–91 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
86
}
87
88
ErrorCode tensorConvert(const Tensor* input, const Tensor* output) {
89
MNNCPUCopyBuffer(input, output);
90
return NO_ERROR;
91
}
92
93
void TRTBackend::init() {
94
if (mRuntime == nullptr) {
Callers
1
onCopyBuffer
Method · 0.70
Calls
1
MNNCPUCopyBuffer
Function · 0.85
Tested by
no test coverage detected