message: Mark tensor as const in a function that does not mutate a tensor.
diff: @@ -53,13 +53,13 @@ inline TfLiteTensor* GetOptionalInputTensor(TfLiteContext* context,
  }
  // Determines whether tensor is constant.
  -inline bool IsConstantTensor(TfLiteTensor* tensor) {
  +inline bool IsConstantTensor(const TfLiteTensor* tensor) {
  return tensor->allocation_type == kTfLiteMmapRo;
  }
  // Determines whether tensor is dynamic. Note that a tensor can be non-const and
  // not dynamic. This function specifically checks for a dynamic tensor.
  -inline bool IsDynamicTensor(TfLiteTensor* tensor) {
  +inline bool IsDynamicTensor(const TfLiteTensor* tensor) {
  return tensor->allocation_type == kTfLiteDynamic;
  }
  