tree: e0c95ead9c93d4eb5bded3748987b2fc2c972b02 [path history] [tgz]
  1. dbus/
  2. init/
  3. seccomp/
  4. daemon.cc
  5. daemon.h
  6. main.cc
  7. ml.gyp
  8. OWNERS
  9. 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.