Giter Club home page Giter Club logo

tengine's Introduction

Tengine Overview

GitHub license

Tengine, developed by Open AI lab, is a lite, high-performance, and modular inference engine for embedded device.

Tengine is composed of four modules: core/operator/serializer/executor.

  • core provides the basic components and functionalities of the system.

  • operator defines the schema of operators, such as convolution, relu, pooling, etc. al. Here are the current support operator list

  • serializer is to load the saved model. The serializer framework is extensible to support different format, including the customized one. Current version only support caffe model. Tensorflow and MXNet support will be the next.

  • executor implements the code to run graph and operators. Current version only provides a highly optimized implementation for single A72.

This version can load and run caffe model of mobilenet and squeezenet directly. For more details, please goto install.

NOTE: old caffe model has to be upgraded using upgrade_net_proto_binary/upgrade_net_proto_binary from caffe's package

Performance

The data is collected on single 1.8G A72 on chip RK3399, by repeating calling the forward interface to get the average time cost (ms) per run.

NN Caffe(Openblas) Tengine
squeezenet 147 91
mobilenet 306 122

For details to run benchmark, please visit benchmark page.

Build and Install

please refer to the install page

Develop New Operator

It is easy to add new operator to Tengine. Here is the guide on new operator

Support New Model Format

Tengine can be extended to support new serialization format, by building new serializer module.

How to build new serializer module

Release History

version 0.1.0 - 2018/01

Initial release of single A72 support

tengine's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.