Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: components/translate/core/browser/proto/translate_ranker_model.proto

Issue 2726043003: Revert "[translate] Add translate ranker model loader." (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/translate/core/browser/proto/translate_ranker_model.proto
diff --git a/components/translate/core/browser/proto/translate_ranker_model.proto b/components/translate/core/browser/proto/translate_ranker_model.proto
index efe59cda5fe9a0a9efd810f21e3a56fd42c49ebb..567470bebf2ab86e5c19e6567b565de2aefa39a7 100644
--- a/components/translate/core/browser/proto/translate_ranker_model.proto
+++ b/components/translate/core/browser/proto/translate_ranker_model.proto
@@ -10,7 +10,7 @@ option optimize_for = LITE_RUNTIME;
package chrome_intelligence;
-// Defines a Chrome Ranker Translate Model.
+// Defines a Chrome Ranker Translate model.
// Next tag: 12
message TranslateRankerModel {
// A number that identifies the version of this model.
@@ -36,8 +36,5 @@ message TranslateRankerModel {
map<string, float> country_weight = 7;
map<string, float> locale_weight = 8;
}
-
- oneof model_revision {
- LogisticRegressionModel logistic_regression_model = 2;
- }
+ optional LogisticRegressionModel logistic_regression_model = 2;
}
« no previous file with comments | « components/translate/core/browser/proto/ranker_model.proto ('k') | components/translate/core/browser/ranker_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698