Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(autoware_tensorrt_common): multi-TensorRT compatibility & tensorrt_common as unified lib for all perception components #9762

Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
e5578de
refactor(autoware_tensorrt_common): multi-TensorRT compatibility & te…
amadeuszsz Dec 24, 2024
5063ded
style(pre-commit): autofix
pre-commit-ci[bot] Dec 24, 2024
2941f1f
style(autoware_tensorrt_common): linting
amadeuszsz Dec 25, 2024
b65f646
Merge branch 'main' into refactor/tensorrt_common-API-compat
amadeuszsz Dec 25, 2024
75f82f1
style(autoware_lidar_centerpoint): typo
amadeuszsz Jan 7, 2025
0f19bab
docs(autoware_tensorrt_common): grammar
amadeuszsz Jan 7, 2025
fa498ad
fix(autoware_lidar_transfusion): reuse cast variable
amadeuszsz Jan 7, 2025
76cff71
fix(autoware_tensorrt_common): remove deprecated inference API
amadeuszsz Jan 7, 2025
4112498
style(autoware_tensorrt_common): grammar
amadeuszsz Jan 7, 2025
2f03ff3
style(autoware_tensorrt_common): grammar
amadeuszsz Jan 7, 2025
ec72c65
fix(autoware_tensorrt_common): const pointer
amadeuszsz Jan 8, 2025
45be672
fix(autoware_tensorrt_common): remove unused method declaration
amadeuszsz Jan 8, 2025
e155555
style(pre-commit): autofix
pre-commit-ci[bot] Jan 8, 2025
f9db321
refactor(autoware_tensorrt_common): readability
amadeuszsz Jan 8, 2025
b707837
fix(autoware_tensorrt_common): return if layer not registered
amadeuszsz Jan 8, 2025
e9a9369
refactor(autoware_tensorrt_common): readability
amadeuszsz Jan 8, 2025
7ebc429
fix(autoware_tensorrt_common): rename struct
amadeuszsz Jan 8, 2025
cd234d6
style(pre-commit): autofix
pre-commit-ci[bot] Jan 8, 2025
949119e
Merge branch 'main' into refactor/tensorrt_common-API-compat
amadeuszsz Jan 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor(autoware_tensorrt_common): readability
Co-authored-by: Kotaro Uetake <60615504+ktro2828@users.noreply.github.com>
amadeuszsz and ktro2828 authored Jan 8, 2025
commit f9db3210c08091b437867e50c7a2073ed8ebfe67
10 changes: 5 additions & 5 deletions perception/autoware_tensorrt_common/src/profiler.cpp
Original file line number Diff line number Diff line change
@@ -28,13 +28,13 @@ Profiler::Profiler(const std::vector<Profiler> & src_profilers)
{
index_ = 0;
for (const auto & src_profiler : src_profilers) {
for (const auto & rec : src_profiler.profile_) {
auto it = profile_.find(rec.first);
for (const auto & [name, record] : src_profiler.profile_) {
auto it = profile_.find(name);
if (it == profile_.end()) {
profile_.insert(rec);
profile_.emplace(name, record);
} else {
it->second.time += rec.second.time;
it->second.count += rec.second.count;
it->second.time += record.time;
it->second.count += record.count;
}
}
}
Loading