π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix warnings
vishnukvmdd0a85aa146d5
diff --git a/lib/services/semantic_search/frameworks/onnx/onnx_image_encoder.dart b/lib/services/semantic_search/frameworks/onnx/onnx_image_encoder.dartindex a9fd21f287..0d6de7d1e5 100644--- a/lib/services/semantic_search/frameworks/onnx/onnx_image_encoder.dart+++ b/lib/services/semantic_search/frameworks/onnx/onnx_image_encoder.dart@@ -101,9 +101,9 @@ class OnnxImageEncoder {final int inputSize = 3 * nx * ny;final inputImage = List.filled(inputSize, 0.toDouble());- final int nx2 = 224;- final int ny2 = 224;- final int totalSize = 3 * nx2 * ny2;+ const int nx2 = 224;+ const int ny2 = 224;+ const int totalSize = 3 * nx2 * ny2;// Load image into List<double> inputImagefor (int y = 0; y < ny; y++) {