Git Product home page Git Product logo

athena's Introduction

Athena

Athena is a deep learning framework in C++17. It is designed for maxima performance and the ablity to run on any systems and accelerators without being vender locked-in.

Introduction

Athena provides

  • The ablity to easily implement a computation backend
  • Tensor operators colsely resambles numpy's
  • High level neural netowrk API
  • Native NNPACK support
  • Integration with xtensor

Tensor and Backends

Athena handles tensor like how a game engine handles shaders and meshes. The Tensor class does not creare nor operate a tensor itself. Instead, it calls a Backend that does all the job. This design allows Athena to load backends at runtime and even utilize multiple backened at once.
Backends in Athena can do more than performing tensor operations. Algoritms can be inserted into a backend then quary at runtime to perforem specific tasks if the uderlying library has a way to do such operation faster then using tensor operations.

Currently there are 3 backends avliable. XtensorBackend using the xtensor, NNPackBackend using NNPACK, ArrayFireBackend using ArrayFire. XtensorBackend is aimed at providing full fledged tensor operators and useable algorithms. And the NNPackBackend provides fast algorithms for other backends if running on sutable machine.

The ArrayFireBackend is capable of using the CPU the GPU to compute. But it have sevier limits. Ex: tensors created from ArrayFireBackend can only have at mose 4 dimentions. And the ArrayFireBackend suffers from performance and stablity issue within ArrayFire it self. This is under addressing now. Use it at your own risk.

More backends built on faster libraries like Eigen and, MIOpen are planed.

Examples

example1 in the examples folder demostrates how to implement a MLP to solve the XOR problem in Athena.
mnist contains an example using a MLP to classify MNIST digits.

Development and contribution

Since deep learning and it's community is rapidly growing, we'd love to get contribution from you to accelerate Athena's development. Feel free to open a pull request or an issue to report a bug or request features.

athena's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

dualword

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.