Commit 5c9672bd authored by Andrew Moylan's avatar Andrew Moylan Committed by Commit Bot

Roll ML Service mojoms from Chrome OS

This roll brings the removal of some workarounds for old Mojo, no longer
needed on Chrome OS side.

Mojoms rolled with:

cp ~/chromiumos/src/platform2/ml/mojom/*.mojom \
  chromeos/services/machine_learning/public/mojom/ && \
sed --in-place --regexp-extended \
  -e 's~^import "ml~import "chromeos/services/machine_learning/public~g' \
  -e 's/(GraphExecutor)& request/pending_receiver<\1> receiver/g' \
  chromeos/services/machine_learning/public/mojom/*.mojom

Bug: 917185
Change-Id: Ib03cfbd6903a935354d2688ab3e09cc7a6853707
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2012369
Commit-Queue: Andrew Moylan <amoylan@chromium.org>
Commit-Queue: Sam McNally <sammc@chromium.org>
Auto-Submit: Andrew Moylan <amoylan@chromium.org>
Reviewed-by: default avatarSam McNally <sammc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#733857}
parent 83286073
......@@ -28,8 +28,6 @@ enum ExecuteResult {
UNKNOWN_OUTPUT_ERROR = 7,
DUPLICATE_OUTPUT_ERROR = 8,
EXECUTION_ERROR = 9,
// Remove kMax and use builtin kMaxValue after Mojo uprev (crbug.com/909719).
kMax = EXECUTION_ERROR,
};
// API for performing inference on a TensorFlow graph. A given graph can be
......
......@@ -23,8 +23,6 @@ enum LoadModelResult {
OK = 0,
MODEL_SPEC_ERROR = 1,
LOAD_MODEL_ERROR = 2,
// Remove kMax and use builtin kMaxValue after Mojo uprev (crbug.com/909719).
kMax = LOAD_MODEL_ERROR,
};
// Top-level interface between Chromium and the ML Service daemon.
......
......@@ -44,8 +44,6 @@ enum CreateGraphExecutorResult {
OK = 0,
MODEL_INTERPRETATION_ERROR = 1,
MEMORY_ALLOCATION_ERROR = 2,
// Remove kMax and use builtin kMaxValue after Mojo uprev (crbug.com/909719).
kMax = MEMORY_ALLOCATION_ERROR,
};
// Model specification for builtin models.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment