GithubHelp home page GithubHelp logo

magic3007 / autograd Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 0.0 5.24 MB

🎈 A C++ code generator for the automatic derivation of tensors with linear indexes. Implementation for the lesson Compiling Technology(2020 Spring, advised by Yun Liang) in Peking University.

License: MIT License

CMake 1.03% C++ 87.04% C 0.68% Shell 0.75% Yacc 0.16% Lex 0.04% Starlark 0.52% Python 9.77%
auto-differentiation

autograd's Introduction

Hi there 👋

Jing Mai's Instagram Jing Mai's Twitter Jing Mai's LinkedIN Jing Mai's Google Scholar



Hi, I'm Jing Mai, a third-year Ph.D. student 🚀 in the Department of Computer Science at Peking University associated with CECA. I am a member of the PKU-IDEA Lab, advised by 👨🏽‍💼Prof. @Yibo Lin.

My research focuses are machine learning-assisted EDA; my broader interests include MLSys, concurrency and probabilistic modeling.

Previously, I received the B.S. degree in Computer Science and Technology from Peking University in 2021.

I am also an open-source enthusiast and maintainer. I learned a lot from the open-source community and I love how collaboration and knowledge sharing happened through open-source.

📈 my github stats:

autograd's People

Contributors

easypickings avatar knowingnothing avatar magic3007 avatar narcissuslzx avatar zhanghaoyu9931 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

autograd's Issues

Meeting Progress[04/18/2020]

形如A[i,j] op B[j,k]的Einstein求和(op*|/|//|%)的计算:为每个不在LHS中出现的变量j生成一重For循环

TODO:

  • 确认Einstein求和式中的下标变量范围:变量r的范围是否会依赖另一个变量p?(e.g. p in [0,5), r in [0,3), p+r in [0,6))/ 是否会生成for r = 0 to p的代码
  • 词法分析RHS部分修改:引入新的Non-terminal分别表示RHS +|- RHSRHS *|/|//|% RHS的情况
  • 确认生成的C++代码是否保证Statement都在内循环里 / 是否会出现A<5,5>[i,j]=D<5,5>[i,j]+B<5,7>[i,k]*C<7,5>[k,j]的情况
  • 汇报bug:BNF无法处理case10括号的情况

建议大家都安装docker跑通代码

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.