MCPcopy Create free account
hub / github.com/NVIDIA-AI-IOT/CUDA-PointPillars / construct

Method construct

src/common/tensorrt.cpp:158–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 virtual ~EngineImplement() = default;
157
158 bool construct(const void *data, size_t size, const char *message_name) {
159 context_ = std::make_shared<__native_engine_context>();
160 if (!context_->construct(data, size, message_name)) {
161 return false;
162 }
163
164 setup();
165 return true;
166 }
167
168 bool load(const std::string &file) {
169 auto data = load_file(file);

Callers 1

loadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected