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