tree: 83ebb51473a73b6cfce59114d5141942c3ea9cbb [path history] [tgz]
  1. dbus/
  2. init/
  3. mojom/
  4. seccomp/
  5. daemon.cc
  6. daemon.h
  7. graph_executor_impl.cc
  8. graph_executor_impl.h
  9. graph_executor_impl_test.cc
  10. machine_learning_service_impl.cc
  11. machine_learning_service_impl.h
  12. main.cc
  13. ml.gyp
  14. mojom_generator.gypi
  15. OWNERS
  16. README.md
  17. tensor_view.cc
  18. tensor_view.h
ml/README.md

CrosML: Chrome OS Machine Learning Service

Summary

The machine learing service provides a common runtime for evaluating machine learning models on device. The service wraps the TensorFlow runtime which has been optimized to support the set of built-in machine learning models with are installed on rootfs. See go/chromeos-ml-service for a design overview.

Mojo interface bootstrapped over D-Bus

The Mojo connections are bootstrapped by passing the file descriptor for the IPC pipe over D-Bus. The life-cycles for the loaded machine learning models and the runtime eval session are matched to the life-cycles of the Mojo interfaces. See go/chromeos-ml-service-mojo for a description of the Mojo interfaces and go/chromeos-ml-service-impl for details on bootstrapping the connection over D-Bus.