Commit fdc7a55 1 parent d240d2e commit fdc7a55 Copy full SHA for fdc7a55
File tree 1 file changed +4
-4
lines changed
perception/autoware_tensorrt_yolox/include/autoware/tensorrt_yolox
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -248,19 +248,19 @@ class Int8LegacyCalibrator : public nvinfer1::IInt8LegacyCalibrator
248
248
output.write (reinterpret_cast <const char *>(cache), length);
249
249
}
250
250
251
- double getQuantile () const noexcept
251
+ double getQuantile () const noexcept override
252
252
{
253
253
printf (" Quantile %f\n " , quantile_);
254
254
return quantile_;
255
255
}
256
256
257
- double getRegressionCutoff (void ) const noexcept
257
+ double getRegressionCutoff (void ) const noexcept override
258
258
{
259
259
printf (" Cutoff %f\n " , cutoff_);
260
260
return cutoff_;
261
261
}
262
262
263
- const void * readHistogramCache (std::size_t & length) noexcept
263
+ const void * readHistogramCache (std::size_t & length) noexcept override
264
264
{
265
265
hist_cache_.clear ();
266
266
std::ifstream input (histogram_cache_file_, std::ios::binary);
@@ -279,7 +279,7 @@ class Int8LegacyCalibrator : public nvinfer1::IInt8LegacyCalibrator
279
279
}
280
280
return length ? &hist_cache_[0 ] : nullptr ;
281
281
}
282
- void writeHistogramCache (void const * ptr, std::size_t length) noexcept
282
+ void writeHistogramCache (void const * ptr, std::size_t length) noexcept override
283
283
{
284
284
std::ofstream output (histogram_cache_file_, std::ios::binary);
285
285
output.write (reinterpret_cast <const char *>(ptr), length);
You can’t perform that action at this time.
0 commit comments