Skip to content

Commit

Permalink
style(autoware_tensorrt_common): linting
Browse files Browse the repository at this point in the history
Signed-off-by: Amadeusz Szymko <[email protected]>
  • Loading branch information
amadeuszsz committed Dec 25, 2024
1 parent 5063ded commit 2941f1f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ class ConvProfiler : public tensorrt_common::Profiler
*/
explicit ConvProfiler(
const std::vector<Profiler> & src_profilers = std::vector<tensorrt_common::Profiler>())
: Profiler(src_profilers) {};
: Profiler(src_profilers)
{
}

/**
* @brief Set per-layer profile information for model.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Profiler : public nvinfer1::IProfiler
*
* @param[in] src_profilers Source profilers to merge.
*/
Profiler(const std::vector<Profiler> & src_profilers = std::vector<Profiler>());
explicit Profiler(const std::vector<Profiler> & src_profilers = std::vector<Profiler>());

/**
* @brief Report layer time.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <memory>
#include <string>
#include <utility>
#include <vector>

namespace autoware
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ namespace fs = ::std::experimental::filesystem;
#include <sstream>
#include <string>
#include <string_view>
#include <utility>

namespace autoware
{
Expand Down
3 changes: 3 additions & 0 deletions perception/autoware_tensorrt_common/src/profiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@

#include <autoware/tensorrt_common/profiler.hpp>

#include <algorithm>
#include <iomanip>
#include <string>
#include <vector>

namespace autoware
{
Expand Down

0 comments on commit 2941f1f

Please sign in to comment.