-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
triagedIssue has been triaged by maintainersIssue has been triaged by maintainers
Description
Description
if using the tensorRT engine, the network input should be NCHW now ?
the cv::Mat &input should be NCHW?
const cv::Mat &input
void *data = malloc(Len);
memcpy(data, input.ptr<float>(0), Len);
cudaMemcpyAsync(buffers[0], data, \
inputLen, cudaMemcpyHostToDevice, stream);
// infernece
m_context->enqueueV2(buffers, stream, nullptr);
Environment
TensorRT Version: 8.6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
triagedIssue has been triaged by maintainersIssue has been triaged by maintainers