Fix for the warning.

This commit is contained in:
Elena Zhelezina 2020-03-24 16:12:36 +00:00
parent 6707e3c01d
commit eb00bf17d3

View File

@ -266,7 +266,6 @@ class SingleOpModel {
// Quantize and populate data for bias with per channel quantization.
void PerChannelQuantizeBias(int index, const std::vector<float>& input_data) {
const int32_t num_inputs = input_data.size();
TfLiteTensor* t = interpreter_->tensor(index);
auto* params =
reinterpret_cast<TfLiteAffineQuantization*>(t->quantization.params);