tree: 88eef16faacf3605e001529aa3c533213c986e11 [path history] [tgz]
  1. dbus/
  2. init/
  3. mojom/
  4. seccomp/
  5. daemon.cc
  6. daemon.h
  7. machine_learning_service_impl.cc
  8. machine_learning_service_impl.h
  9. main.cc
  10. ml.gyp
  11. mojom_generator.gypi
  12. OWNERS
  13. README.md
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.