summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/ui/webui/chromeos/machine_learning/machine_learning_internals_page_handler.mojom
blob: 3e56bc185cfc5da0ca8a1a4974a4b862d217ba67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module chromeos.machine_learning.mojom;

import "chromeos/services/machine_learning/public/mojom/machine_learning_service.mojom";
import "chromeos/services/machine_learning/public/mojom/model.mojom";
import "chromeos/services/machine_learning/public/mojom/graph_executor.mojom";

interface PageHandler {
  // Loads the specified model by forwarding it to Chrome OS ML Service.
  LoadModel(ModelSpec spec, Model& request) => (LoadModelResult result);
};