aboutsummaryrefslogtreecommitdiff
path: root/mojo/ml_service/interface.mojom
AgeCommit message (Collapse)Author
2018-05-04Add a library build rule for ml_service mojo filesAndrew Moylan
This library build rule is needed in order for platform2/ml to conveniently depend on & use these interfaces. Converted the 'action' to a 'rule' in order to build our multiple mojoms. Also fixed some typos in the existing mojoms that didn't have a build rule yet. TEST=Used from an in-progress platform2/ml CL on my machine. BUG=chromium:836091 Change-Id: Ia0b8ebffcfae3f5cd54599f89f0f24b466023335 Reviewed-on: https://chromium-review.googlesource.com/1032133 Commit-Ready: Andrew Moylan <amoylan@chromium.org> Tested-by: Andrew Moylan <amoylan@chromium.org> Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
2018-04-08Add main mojom files for the ML Service API.Claudio M
This CL adds two mojom files. 1) Datatype to specify a model. 2) Interface to load a model and execute inference on it. BUG=chromium:782499 TEST=None CQ-DEPEND=CL:930063 Change-Id: I78accdd58a3d5a50a5ccff9898ec68e84274a534 Reviewed-on: https://chromium-review.googlesource.com/967901 Commit-Ready: Claudio M <claudiomagni@chromium.org> Tested-by: Claudio M <claudiomagni@chromium.org> Reviewed-by: Eric Caruso <ejcaruso@chromium.org>