Skip to content

Commit 42bc06f

Browse files
committed
chore: Apply linting
Signed-off-by: Dheeraj Peri <[email protected]>
1 parent 2b69742 commit 42bc06f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/runtime/TRTEngine.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ TRTEngine::TRTEngine(std::string mod_name, std::string serialized_engine, CudaDe
4545

4646
name = slugify(mod_name) + "_engine";
4747

48-
cuda_engine = std::shared_ptr<nvinfer1::ICudaEngine>(rt->deserializeCudaEngine(serialized_engine.c_str(), serialized_engine.size()));
48+
cuda_engine = std::shared_ptr<nvinfer1::ICudaEngine>(
49+
rt->deserializeCudaEngine(serialized_engine.c_str(), serialized_engine.size()));
4950
TRTORCH_CHECK((cuda_engine != nullptr), "Unable to deserialize the TensorRT engine");
5051

5152
exec_ctx = std::shared_ptr<nvinfer1::IExecutionContext>(cuda_engine->createExecutionContext());

0 commit comments

Comments
 (0)