message: Apply a few sanitizer-suggested fixes.
diff: @@ -60,6 +60,7 @@ template <typename T>
  inline std::vector<float> Dequantize(const std::vector<T>& data, float scale,
  int32_t zero_point) {
  std::vector<float> f;
  + f.reserve(data.size());
  for (const T& q : data) {
  f.push_back(scale * (q - zero_point));
  }
  @@ -253,7 +254,7 @@ class SingleOpModel {
  flatbuffers::Offset<void> builtin_options);
  void SetCustomOp(const string& name,
  const std::vector<uint8_t>& custom_option,
  - const std::function<TfLiteRegistration*()>& registeration);
  + const std::function<TfLiteRegistration*()>& registration);
  // Build the interpreter for this model. Also, resize and allocate all
  // tensors given the shapes of the inputs.
  @@ -345,6 +346,7 @@ class SingleOpModel {
  std::vector<int> GetTensorShape(int index) {
  std::vector<int> result;
  TfLiteTensor* t = interpreter_->tensor(index);
  + result.reserve(t->dims->size);
  for (int i = 0; i < t->dims->size; ++i) {
  result.push_back(t->dims->data[i]);
  }
  @@ -608,6 +610,7 @@ class SingleOpTest : public ::testing::TestWithParam<string> {
  static std::vector<string> GetKernelTags(
  const std::map<string, TfLiteRegistration*>& kernel_map) {
  std::vector<string> tags;
  + tags.reserve(kernel_map.size());
  for (const auto& it : kernel_map) {
  tags.push_back(it.first);
  }
  