Giter Club home page Giter Club logo

tensor's Introduction

Tensor

About

This is a project to implement the tensor calcuation library and (inference) neural netowrk in c++, can see it as a revision of PyTorch and ncnn, the differnece is that I remove all codes that not relate to CPU, maybe will support GPU after but not now.

The netowrk structure is same as Neural Network with some enhancement and is inspired by ConvNetJS, Darknet, Caffe and ncnn.

It aims to enhance the performance on mobile phone platform.

The main purpose of this project is used for NTHU電機系實作專題.

Add some function for image loading and saving, which is powered by stb_image.

Add some drawing for image, which is powered by OpenCV.

Feature

  • C++17
  • No dependencies
  • Multi-thread support with OpenMp
  • Symobolic operation
  • Arm optimization

Documentation

Build and run

Linux, MacOS

mkdir build && cd build
cmake ..
make -j 8

Windows

g++ -Os -fopenmp -mavx2 -mfma -o otter *.cpp

Run

  • $ ./otter

Thanks for and reference

tensor's People

Contributors

chenjunhao0315 avatar shihpinhsuan 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.