File tree 2 files changed +4
-5
lines changed
perception/autoware_tensorrt_classifier/include/autoware/tensorrt_classifier
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -270,19 +270,19 @@ class Int8LegacyCalibrator : public nvinfer1::IInt8LegacyCalibrator
270
270
output.write (reinterpret_cast <const char *>(cache), length);
271
271
}
272
272
273
- double getQuantile () const noexcept
273
+ double getQuantile () const noexcept override
274
274
{
275
275
printf (" Quantile %f\n " , m_quantile);
276
276
return m_quantile;
277
277
}
278
278
279
- double getRegressionCutoff (void ) const noexcept
279
+ double getRegressionCutoff (void ) const noexcept override
280
280
{
281
281
printf (" Cutoff %f\n " , m_cutoff);
282
282
return m_cutoff;
283
283
}
284
284
285
- const void * readHistogramCache (std::size_t & length) noexcept
285
+ const void * readHistogramCache (std::size_t & length) noexcept override
286
286
{
287
287
hist_cache_.clear ();
288
288
std::ifstream input (histogram_cache_file_, std::ios::binary);
@@ -301,7 +301,7 @@ class Int8LegacyCalibrator : public nvinfer1::IInt8LegacyCalibrator
301
301
}
302
302
return length ? &hist_cache_[0 ] : nullptr ;
303
303
}
304
- void writeHistogramCache (void const * ptr, std::size_t length) noexcept
304
+ void writeHistogramCache (void const * ptr, std::size_t length) noexcept override
305
305
{
306
306
std::ofstream output (histogram_cache_file_, std::ios::binary);
307
307
output.write (reinterpret_cast <const char *>(ptr), length);
Original file line number Diff line number Diff line change @@ -107,7 +107,6 @@ class TrtClassifier
107
107
std::vector<float > input_h_;
108
108
CudaUniquePtr<float []> input_d_;
109
109
110
- bool needs_output_decode_;
111
110
size_t out_elem_num_;
112
111
size_t out_elem_num_per_batch_;
113
112
CudaUniquePtr<float []> out_prob_d_;
You can’t perform that action at this time.
0 commit comments